Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 9th May 2012, 22:16
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

A follow-up as to whether or not it is possible un-ban an IP address, manually, in fail2ban: the short answer is, "No."

I'm not sure how drewb0y was able to un-ban an IP address, manually, with the command he cited, because according to an authoritative source (Yaroslav Halchenko), "actionunban" does not work that way (which explains why I received "Invalid command" errors).

From Yaroslav's response to my mailing-list inquiry:

Quote:
actionunban specifies the command for the action, .e.g like in a config
file -- it is not to call it, e.g. like it would be 'unbanip' command to
supplement 'banip'

in those rare cases I need to do it I just iptables -D it manually

but it is a valid feature request -- feel free to submit an issue on
github
So, there you have it, folks. As of fail2ban 0.8.6:

a.) The recommended means by which to un-ban individual IP addresses is to use the "iptables -D" command.

b.) There is a chance that if fail2ban is restarted after removing the rule, the rule will be re-added to iptables. (This will occur if "your original scanned logs still happen to have those entries within findtime from now".)
Reply With Quote
The Following User Says Thank You to cbj4074 For This Useful Post:
falko (11th May 2012)
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Fail2ban florix.net Installation/Configuration 4 26th January 2011 00:53
Fail2ban attacker Toucan General 2 5th October 2010 23:00
fail2ban is doing nothing? rlischer Server Operation 16 29th June 2010 07:29
Fail2ban only ban on first time. ivomendonca Installation/Configuration 1 30th October 2009 18:48
Need help with fail2ban on centos 5.3 rlischer Installation/Configuration 3 14th August 2009 11:47


All times are GMT +2. The time now is 08:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.