fail2ban-0.8.3 uses the python library md5. This library has been deprecated for some time in python and with the recent stabilization of python-2.6, its use now generates a visible warning message. md5 is trivially replaced by the use of hashlib. Reproducible: Always Steps to Reproduce: 1. Run fail2ban-regex (maybe others?) under python 2.6 Actual Results: Visible warning message about use of md5 Expected Results: No warnings
Created attachment 203098 [details, diff] Convert md5 usage to hashlib Use hashlib instead of the deprecated md5 library.
0.8.3 is no longer on tree
Still relevant for 0.8.4.
+*fail2ban-0.8.4-r1 (05 Nov 2010) + + 05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> + +files/fail2ban-0.8.4-hashlib.patch, files/fail2ban-logrotate, + +fail2ban-0.8.4-r1.ebuild, +files/fail2ban-0.8.4-sshd-breakin.patch: + Bugfix revision. Fixes bug 260337,283629,301139,315073,343955. Thanks to + Robert Trace <bugzilla-gentoo@farcaster.org>, Harley Peters + <harley@thepetersclan.com> for the patches. +