I've made a spec file and patches to build a Fail2ban 0.8.0 RPM for
RHEL 4 with Python 2.3.
I've run into a slight problem though - the log reading threads hang
in DateDetector.sortTemplate when the lock is released in the
However, commenting out the list sort fixes the issue and fail2ban
works fine (at least so far :)), though presumably with reduced
efficiency as the date regex list won't be in the optimum
order. Otherwise my changes more or less reflect those to remove
python 2.4 dependency in the 0.9 branch (r583).
My hack to datedetector.py is in the attached patch. I'm not a python
expert so I can't think of a reason why the list sort would cause the
Lock.release() method to hang. Suggestions for debugging greatly
Also, where would be best to put the fail2ban.spec file and patches,
assuming anyone is interested in them? Is posting to the list acceptable?
David Nutter Tel: +44 (0)131 650 4888
Biomathematics & Statistics Scotland
The King's Buildings, Mayfield Rd
Edinburgh EH9 3JZ, Scotland, UK.