Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 268173 Details for
Bug 360795
net-analyzer/fail2ban-0.8.4-r2: action iptables-allports fails to run once out of two runs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/fail2ban/actions.d/iptables-allports.conf patch that detects when the chain allready exists
iptables-allports.conf.patch (text/plain), 656 bytes, created by
john
on 2011-04-02 02:03:20 UTC
(
hide
)
Description:
/etc/fail2ban/actions.d/iptables-allports.conf patch that detects when the chain allready exists
Filename:
MIME Type:
Creator:
john
Created:
2011-04-02 02:03:20 UTC
Size:
656 bytes
patch
obsolete
>--- fail2ban/iptables-allports.conf 2011-04-02 03:59:01.178912076 +0200 >+++ /etc/fail2ban/action.d/iptables-allports.conf 2011-04-02 04:00:07.988912036 +0200 >@@ -13,9 +13,12 @@ > # Notes.: command executed once at the start of Fail2Ban. > # Values: CMD > # >-actionstart = iptables -N fail2ban-<name> >+actionstart = sleep 1 >+ iptables -n -L fail2ban-sshd &> /dev/null && exit 0 >+ iptables -N fail2ban-<name> > iptables -A fail2ban-<name> -j RETURN > iptables -I INPUT -p <protocol> -j fail2ban-<name> >+ sleep 1 > > # Option: actionstop > # Notes.: command executed once at the end of Fail2Ban
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 360795
:
267401
|
268173
|
268207