version 1.6, 2002/10/21 19:15:10
|
version 1.7, 2002/10/29 18:34:33
|
Line 56 sub handler {
|
Line 56 sub handler {
|
if (!$reqhost && $r->get_remote_host(REMOTE_NOLOOKUP) eq $r->get_server_name()) { |
if (!$reqhost && $r->get_remote_host(REMOTE_NOLOOKUP) eq $r->get_server_name()) { |
$reqhost = $r->get_server_name(); |
$reqhost = $r->get_server_name(); |
} |
} |
unless ($reqhost) |
unless ($reqhost) { |
$r->log_reason("Spoof request from ".$ENV{'REMOTE_ADDR'}); |
$r->log_reason("Spoof request from ".$ENV{'REMOTE_ADDR'}); |
return FORBIDDEN; |
return FORBIDDEN; |
} |
} |