Skip to contentSkip to conversation

trivial connlimit manpage fix

PATCH Applied Phil Oester 2 participants 2 messages May 29, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trivial connlimit manpage fix

As pointed out by Sérgio Luís Martins in bug #475, the connlimit example is missing a chain.

Phil

extensions/libipt_connlimit.man +2 -2
diff -ru ipt-orig/extensions/libipt_connlimit.man ipt-new/extensions/libipt_connlimit.man
@@ -10,10 +10,10 @@
 Examples:
 .TP
 # allow 2 telnet connections per client host
-iptables -p tcp --syn --dport 23 -m connlimit --connlimit-above 2 -j REJECT
+iptables -A INPUT -p tcp --syn --dport 23 -m connlimit --connlimit-above 2 -j REJECT
 .TP
 # you can also match the other way around:
-iptables -p tcp --syn --dport 23 -m connlimit ! --connlimit-above 2 -j ACCEPT
+iptables -A INPUT -p tcp --syn --dport 23 -m connlimit ! --connlimit-above 2 -j ACCEPT
 .TP
 # limit the nr of parallel http requests to 16 per class C sized \
 network (24 bit netmask)
#1 lore raw
Quoted 2 lines · Phil Oester

As pointed out by Sérgio Luís Martins in bug #475, the connlimit example is missing a chain.

Applied, thanks.