That’s what it’s supposed to do — the attacker gets redirected to an invalid IP without causing a PHP load on your server. It seemed to work, but since a networking expert was never willing to respond to this thread I didn’t implement it on my server permanently.