Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 268207 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]
iptables action for fail2ban using locking
iptables-allports.conf.patch (text/plain), 708 bytes, created by
john
on 2011-04-02 13:16:37 UTC
(
hide
)
Description:
iptables action for fail2ban using locking
Filename:
MIME Type:
Creator:
john
Created:
2011-04-02 13:16:37 UTC
Size:
708 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 15:11:47.441713873 +0200 >@@ -13,9 +13,12 @@ > # Notes.: command executed once at the start of Fail2Ban. > # Values: CMD > # >-actionstart = iptables -N fail2ban-<name> >+actionstart = ( flock -x 200 >+ 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> >+ ) 200>/var/lock/fail2ban-iptables-allports > > # 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