If you use iptables you can flush each chain rather than delete the 
rules individually, but if you restart f2b then the rules will reappear.

On 16/10/2016 20:01, sideshow_...@fastmail.net wrote:
> Dear members and developers,
>
> Why, in the name of God, is there no option to unban *ALL* IP addresses
> at once - either for
> one jail or across all jails?
>
> I've Googled everywhere, and the only thing I came up with was a bash
> script that had looped
> through all banned IP values and unbanned them one by one.
>
> I just can't believe that such a simple and obvious feature is missing.
> Surely you would realise
> that admins, when configuring fail2ban, would make mistakes and ban way
> too many IPs at
> once and would need a way to unban all IPs at once?!   As far as I can
> tell, there isn't even a
> way to unban multiple IPs at once!  What is one supposed to do when you
> have hundreds of
> IPs banned?  Unban them one by one?
>
> It's mind boggling.
>
> When do you think this capability will be included in the next fail2ban
> release?
>
> regards,
>
> - Sideshow Bob
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Fail2ban-users mailing list
> Fail2ban-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to