I have a working sshguard-pf installed happily from ports, and successfully blocking ssh bruteforce attempts.
Using pure-ftpd from ports and now looking to get it also working with sshguard-pf as there seem to be an increasing amount of bruteforce attempts with FTP too (and sadly I can't turn that service off due to end-user requirements).
Logging of the pure-ftpd failures is working via the usual ftp syslog facility, e.g.
I know this isn't a problem with pf, since it is blocking the sshguard table entries just fine.
So it just seems sshguard isn't recognising the pure-ftpd logs. I've confirmed the relevant log entries are definitely being to sshguard via syslog (i.e. are in ftp.info).
Here is the current syslog.conf entry:
I am using the latest sshguard from ports (sshguard-pf-1.3). I can see there is an sshguard 1.4 release now, which isn't in ports yet it seems, but pure-ftpd support looks like it should have been there since 1.1rc1 so I doubt this version is the problem.
Any help most appreciated.
Using pure-ftpd from ports and now looking to get it also working with sshguard-pf as there seem to be an increasing amount of bruteforce attempts with FTP too (and sadly I can't turn that service off due to end-user requirements).
Logging of the pure-ftpd failures is working via the usual ftp syslog facility, e.g.
Code:
Nov 18 13:29:39 ftpserver pure-ftpd[4552]: (?@10.1.2.3) [WARNING] Authentication failed for user [fakeuser]
I know this isn't a problem with pf, since it is blocking the sshguard table entries just fine.
So it just seems sshguard isn't recognising the pure-ftpd logs. I've confirmed the relevant log entries are definitely being to sshguard via syslog (i.e. are in ftp.info).
Here is the current syslog.conf entry:
Code:
auth.info;authpriv.info;ftp.info |exec /usr/local/sbin/sshguard -f 100:/var/run/sshd.pid -f 320:/var/run/pure-ftpd.pid -a 2 -p 300 -s 36000
I am using the latest sshguard from ports (sshguard-pf-1.3). I can see there is an sshguard 1.4 release now, which isn't in ports yet it seems, but pure-ftpd support looks like it should have been there since 1.1rc1 so I doubt this version is the problem.
Any help most appreciated.