diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-02-14 03:02:55 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-14 09:09:49 +0200 |
commit | e24815d8a1b2755182fe983582a56fcc47153804 (patch) | |
tree | 74521e49f0274dd0ff7831d9b71d25ef020820b5 /extensions/libip6t_connlimit.man | |
parent | 23545c2a7a31c68c1e49c7c901b632c2f1c59968 (diff) |
Combine ipt and ip6t manpages
Combine ipt and ip6t manpages
Diffstat (limited to 'extensions/libip6t_connlimit.man')
-rw-r--r-- | extensions/libip6t_connlimit.man | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/extensions/libip6t_connlimit.man b/extensions/libip6t_connlimit.man deleted file mode 100644 index d1a4447a..00000000 --- a/extensions/libip6t_connlimit.man +++ /dev/null @@ -1,27 +0,0 @@ -Allows you to restrict the number of parallel connections to a server per -client IP address (or client address block). -.TP -[\fB!\fR] \fB--connlimit-above \fIn\fR -Match if the number of existing connections is (not) above \fIn\fR. -.TP -\fB--connlimit-mask\fR \fIprefix_length\fR -Group hosts using the prefix length. For IPv4, this must be a number between -(including) 0 and 32. For IPv6, between 0 and 128. -.P -Examples: -.TP -# allow 2 telnet connections per client host -ip6tables -A INPUT -p tcp --syn --dport 23 -m connlimit --connlimit-above 2 -j REJECT -.TP -# you can also match the other way around: -ip6tables -A INPUT -p tcp --syn --dport 23 -m connlimit ! --connlimit-above 2 -j ACCEPT -.TP -# limit the number of parallel HTTP requests to 16 per class C sized \ -network (24 bit netmask) -ip6tables -p tcp --syn --dport 80 -m connlimit --connlimit-above 16 ---connlimit-mask 24 -j REJECT -.TP -# limit the number of parallel HTTP requests to 16 for the link local network \ -(ipv6) -ip6tables -p tcp --syn --dport 80 -s fe80::/64 -m connlimit --connlimit-above -16 --connlimit-mask 64 -j REJECT |