fail2ban/fail2ban — pull request #307 by Jamyn (2013-07-27 04:01:52+00:00)
Title: Fix dropbear regex for new versions. Add testcase log.

https://github.com/fail2ban/fail2ban/issues/306

Fix regex for latest dropbear (keep backwards compatibility). Add test case logfiles.

I have one concern, and would appreciate some dev review here.

The dropbear service does not log the YEAR by default, but the test logs MUST have a year. My initial research indicates the year will default to 2005 (in the fail2ban parser) if no year is provided, so I've set that in my test logs. However, I'm not 100% sure it will behave identically on all systems (ie: I'm not sure if the 2005 default is consistent across all platforms). If it is, great. If not, is there a way to provide a test log without a year? My attempts to do so resulted in error.

Signed-off-by: Jamyn Shanley