From: Arturo 'B. B. <bu...@bu...> - 2009-05-14 16:26:49
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 To ban an IP for a certain jail (takes the jail's bantime parameters into account), use the fail2ban-client 'banip' command... but you need a patch for that. Once Cyril grants me svn commit access, I'll apply it to trunk. In the meantime, http://blogs.buanzo.com.ar/2009/04/fail2ban-patch-ban-ip-address-manually.html Yaroslav Halchenko wrote: > not quite answering your question but have you looked at output of > > /usr/bin/fail2ban-client --help > > which pretty much lists the commands which are used by client when > communicating to the server? > > look into the code of client to get sense on how communication is done > ;) > > On Sat, 18 Apr 2009, Developer wrote: > >> Hello, >> Any API (please send me location of documentation) or method to "talk" >> with fail2ban from PHP, Python, etc, from localhost. > >> For example something like this: > >> "Ban this IP 600seconds" >> "unBan this IP" >> "is banned this IP?" - -- Arturo "Buanzo" Busleiman / Arturo Busleiman @ 4:900/107 Independent Linux and Security Consultant - SANS - OISSG - OWASP http://www.buanzo.com.ar/pro/eng.html Mailing List Archives at http://archiver.mailfighter.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkoMKsUACgkQAlpOsGhXcE3WGACeJ1oHTIVmzWwlr9ILPAYYtCG4 JlQAn0n69zbGO1r9luT+bjWS6dpm61hk =9I6H -----END PGP SIGNATURE----- |