httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] desy access if browser machine doesn't tell his hostname
Date Fri, 25 Oct 2002 23:42:13 GMT
Harald Falkenberg wrote:

> Hi,
>
> in httpd.conf we configured
> 	HostnameLookups on
> In the past we noticed attacks from host, that do not have an IP-address
> resulotion to a valid hostname.
>
> Question: is ther a way to desy access for certain areas when the hostname
> is not available?


This is not a good idea, because you'll deny access to a bunch of people 
coming from clueless ISPs.  But if you really want to:

SetEnIfNoCase Remote_Host [a-z]+ got_hostname
Order allow,deny
allow from all
deny from env=got_hostname

Joshua.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message