On Thu, 30 Jul 2015, Sean DuBois wrote:

> > A question for you: Why does the tool monitor the fail2ban log? Why not
> > design it as an action which could be added to the existing actions for
> > a jail?


> > >    i know there are other ideas out there for this need, but zeromq looked
> > >    appropiate enough, and is well supported on Debian/Ubuntu for python3
> > >    I have to polish the code, add docs, and also try configuring it as a
> > >    fail2ban action instead of an ad-hoc app that monitors the log, but it 
> > > is
> > >    working.

> > >    If anyone wants to help me polish and test it, that'd be awesome.

why not to just push it into public location and share a link? ;)

I would also second reusing fail2ban mechanisms instead of relying on
parsing its log file (we know how things could go wrong with
parsing/monitoring ;) ).  Especially since actions could be defined in
pure python (see eg config/action.d/*py) and that would avoid "small
scripts" issue, would guarantee staying coherent and tested within
fail2ban.

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to