Travel Travel reports, it is all about food
Montreal: Schwartz's, Le Petit Alep
Albums: Pictures and some notes
ITRANS Song Book Hindi, Urdu, Marathi song lyrics
Online ITRANS Web Interface
BlockHosts block hosts
BlockHosts FAQ
BlockHosts Forum
CD Inserts & Envelopes Web Interface
Nisha Ganatra's Films
Cake: starring Heather Graham
Email: avinash@aczoom.com
more examples?
Is there any other line printed in the /var/log/secure or other files? The example log line given above is actally from pam_unix, there may be other log lines that come directly from wu-ftpd, that may be better suited for use with blockhosts.
Given just the log line above, here's the match that will trap that line:
"WUFTPD-Fail": re.compile(r"""wu-ftpd\[\d+\]: \(pam_unix\) .* rhost=(?P\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"""),
Note that the code snippet above is a single line, and requires proper python indentation in blockhosts.cfg or blockhosts.py
RE: more examples?
Sorry, it took me so long to get back with you. I was busy over the weekend and didn't have time to get on the computer. I use Debian, so it is /var/log/auth.log instead. I did not find any other lines in there related to the wu-ftpd login failures. That's not to say that there might not be other types of failures, but that's the only one that I'm seeing so far.
I just grepped through all the log files, and there are also connect messages in daemon.log, but they don't show any failures. Nothing else in any of the other log files.
Thanks for the regexp. I didn't know Python well enough to figure it out on my own. I'll try it and let you know if it works for me.