e4a4a5ab3204b990514340d4cdec89567b61de45
[iptables.git] / extensions / libipt_dstlimit.man
1 This module allows you to limit the packet per second (pps) rate on a per
2 destination IP or per destination port base.  As opposed to the `limit' match,
3 every destination ip / destination port has it's own limit.
4 .TP
5 .BI "--dstlimit " "avg"
6 Maximum average match rate (packets per second unless followed by /sec /minute /hour /day postfixes).
7 .TP
8 .BI "--dstlimit-mode " "mode"
9 The limiting hashmode.  Is the specified limit per
10 .B dstip, dstip-dstport
11 tuple, 
12 .B srcip-dstip
13 tuple, or per
14 .B srcipdstip-dstport
15 tuple.
16 .TP
17 .BI "--dstlimit-name " "name"
18 Name for /proc/net/ipt_dstlimit/* file entry
19 .TP
20 .BI "[" "--dstlimit-burst " "burst" "]"
21 Number of packets to match in a burst.  Default: 5
22 .TP
23 .BI "[" "--dstlimit-htable-size " "size" "]"
24 Number of buckets in the hashtable
25 .TP
26 .BI "[" "--dstlimit-htable-max " "max" "]"
27 Maximum number of entries in the hashtable
28 .TP
29 .BI "[" "--dstlimit-htable-gcinterval " "interval" "]"
30 Interval between garbage collection runs of the hashtable (in miliseconds).
31 Default is 1000 (1 second).
32 .TP
33 .BI "[" "--dstlimit-htable-expire " "time"
34 After which time are idle entries expired from hashtable (in miliseconds)?
35 Default is 10000 (10 seconds).