[firewall_new] fucking 3 connections / min
Ignore-this: 2797ee4c2dcaf129d7de5f8530744651 darcs-hash:20121201013422-3a55a-e4753dc41d3d9fead889d706807776b2d8d8ead7.gz
This commit is contained in:
parent
a9beffbe84
commit
4c7cfd1615
1 changed files with 1 additions and 1 deletions
|
@ -990,7 +990,7 @@ class firewall_komaz(firewall_crans) :
|
||||||
print OK
|
print OK
|
||||||
# Attention les règles sont à l'envers. Hint '-I'
|
# Attention les règles sont à l'envers. Hint '-I'
|
||||||
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\
|
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\
|
||||||
-m recent --name SSH --update --seconds 60 --hitcount 4 --rttl -j DROP")
|
-m recent --name SSH --update --seconds 60 --hitcount 40 --rttl -j DROP")
|
||||||
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\
|
iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\
|
||||||
-m recent --name SSH --set")
|
-m recent --name SSH --set")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue