Reply to comment

Does catch those lines...

This should be caught - the regex line is meant to catch above lines, for example, I fed the first three lines from your log, and ran blockhosts in debug mode, here's the output I got:


found failed access for SSHD-Fail , IP-pid: 195.140.143.60-10058
found failed access for SSHD-Fail , IP-pid: 195.140.143.60-10060
found failed access for SSHD-Fail , IP-pid: 195.140.143.60-10062

So, it got the host, and added the count to the hosts.allow file:

#bh: ip: 195.140.143.60 : 3 : 2005-12-05-09-58

I am using the latest version 1.0.3 - but this regex pattern has always existed, so should work in previous versions also.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <b> <span> <pre> <hr>
  • Lines and paragraphs break automatically.
  • You may use [acidfree:xx] tags to display acidfree videos or images inline.
  • [l:URL text] input tags replaced with HTML links. URL may be Drupal internal path. [ Link Filter Tips ]

More information about formatting options