Preventing reverse DNS lookups

Jason Clifford jason at ukpost.com
Fri Dec 14 14:39:48 UTC 2007


On Fri, 2007-12-14 at 09:29 -0500, Eric Smith wrote:
> I've googled this for several hours and gotten nowhere, so I'm turning 
> to this list in hopes someone can point me in the right direction.
> 
> I want to prevent reverse DNS lookups on log lines like this:
> 
> Dec 13 20:13:14 myhost vsftpd: pam_unix(vsftpd:auth): authentication 
> failure; logname= uid=0 euid=0 tty=ftp ruser=adrian 
> rhost=s42.deinprovider.de
> 
> I want to see the actual IP address in the rhost= part, 

>From memory it's not PAM that does the lookup but rather the application
so you should look at the source there.

Jason




More information about the Pam-list mailing list