Reverse DNS lookups on accept in network

Anders Kaseorg andersk at MIT.EDU
Tue Apr 9 23:00:06 CEST 2013

On 04/09/2013 10:24 AM, Yitzchak Gale wrote:
> As for the Hackage problem, this problem is inherent to CGI, which is
> what Hackage currently uses. The CGI protocol supplies the resolved
> client host name to the web application in an environment variable.
> So the web server (Apache in this case) will always have do a reverse
> DNS lookup by definition. (Environment variables are strict. Too
> bad.)

This is not required by the CGI protocol.  Apache only provides 
REMOTE_HOST if the HostnameLookups directive is set to On (the default 
is Off).  So this should be easily fixable.


More information about the Libraries mailing list