From: Michel D. <md...@ar...> - 2013-11-21 12:54:34
|
Hi, Just for info : Concern the MD5 error I met too this last day as : /usr/share/fail2ban/server/filter.py:442: DeprecationWarning: the md5 module is deprecated; use hashlib instead I modified the line 442 of the file /usr/share/fail2ban/server/filter.py #import md5 by this one : from hashlib import md5 and the warning is gone.... in the Le jeudi 21 novembre 2013, 10:12:14 Carlo Piscicelli a écrit : > On Thu, Nov 21, 2013 at 9:50 AM, Daniel Black > > <dan...@in...> wrote: > > On 11/21/2013 07:16 PM, Carlo Piscicelli wrote: > >> Hello, > >> > >> I first tried to install fail2ban on my debian squeeze system using > >> the debian package but the install was unsuccessful. > > > > how? > > The status check was ok and it would create a chain in iptables but > would not scan the log files. If forced to do so with fail2ban-regex > it would give some deprecation errors about MD5 and not perform the > scan anyway. No meaningful info in the fail2ban log. > > >> I therefore > >> downloaded and unpacked the latest stable .gz file and installed > >> fail2ban using the command "python setup.py install". > >> > >> Fail2ban is now up and running but it does not start automatically on > >> boot (among other things, the installer did not create a fail2ban file > >> in the init.d directory). > > > > Yes. this is left to the distro packagers. > > > >> Could someone kindly help with getting fail2ban to start on boot on > >> debian? > > > > you can use the debian initscript > > Where can I find it given that I uninstalled the debian package? I > would not want to install the package again over the python > installation to avoid risking messing up the whole install. > > > and edit /etc/default/fail2ban > > DAEMON=/usr/local/bin/fail2ban-client > > > > set to the path on the new version of fail2ban-client > > Thank you! > > > -------------------------------------------------------------------------- > > ---- Shape the Mobile Experience: Free Subscription > > Software experts and developers: Be at the forefront of tech innovation. > > Intel(R) Software Adrenaline delivers strategic insight and game-changing > > conversations that shape the rapidly evolving mobile landscape. Sign up > > now. > > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clkt > > rk _______________________________________________ > > Fail2ban-users mailing list > > Fai...@li... > > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > > ---------------------------------------------------------------------------- > -- Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Fail2ban-users mailing list > Fai...@li... > https://lists.sourceforge.net/lists/listinfo/fail2ban-users -- .-"-. .-"-. .-"-. .-"-. .-"-. .-"-. "-.-" "-.-" "-.-" "-.-" "-.-" "-.-" Michel Dubois Ingénieur Support CIM PACA Conception Tel : 04 92 38 85 53 Mobile : 06 09 65 71 76 |