I've got question about pure-ftpd server, I'm running. I want to setup it to log IP addresses instead of hostnames, but none of configuration works.
I tried:
- Writing "yes" or "1" to /etc/pure-ftpd/conf/DontResolve (as I found somewhere)
- Running with -H argument as it is in docs
I tried also restart service after change but without change.
None of it works and my auth.log looks still the same:
Aug 18 19:46:38 vps pure-ftpd: pam_unix(pure-ftpd:auth): authentication failure; logname= uid=0 euid=0 tty=pure-ftpd ruser=webmaster rhost=is-being-WHORED-by.TAUG-Clan.com
It shows the reason I want to see the IP. I receive many attempts to login with obfuscated hostname and Fail2Ban can't stop it.
I'm using version 1.0.28-3+squeeze1 from Debian repositories. Is problem with my installation, or I'm doing something wrong?
I'm using pure-ftpd 1.0.35 Ubuntu 12.04.3 LTS. Don't work
The parameter 'DontResolve' changes '/var/log/syslog' but it don't change '/var/log/auth.log'. So for Fail2ban