From: Ian N. <IA...@fu...> - 2012-04-25 13:40:44
|
We're trying to use sshguard-pf version 1.5.0 with vsftpd on FreeBSD 8.2. It's blocking invalid users using ssh, but it does not appear to block any FTP traffic. Vsftpd is writing to the default /var/log/xferlog and using the xferlog_std_format setting. We have confirmed that the connection attempts are being logged to the file. The sshguard syslog entry looks like this: auth.info;authpriv.info;ftp.info |exec /usr/local/sbin/sshguard -a 1 Auth.info;authpriv.info /var/log/auth.log ftp.info /var/log/xferlog When we pass an invalid user connection attempt string from the /var/log/xferlog file to sshguard in debug mode it does process it and add the address to the pf table, but does not appear to be reading the /var/log/xferlog file, only the auth.log. Any suggestions? Thanks. |