summaryrefslogtreecommitdiffstats
path: root/tests/py/any/limit.t.payload
blob: b0cc84b42ff392317d5d8e75ac3c2a02672cacc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# limit rate 400/minute
ip test-ip4 output
  [ limit rate 400/minute burst 0 type packets flags 0x0 ]

# limit rate 20/second
ip test-ip4 output
  [ limit rate 20/second burst 0 type packets flags 0x0 ]

# limit rate 400/hour
ip test-ip4 output
  [ limit rate 400/hour burst 0 type packets flags 0x0 ]

# limit rate 400/week
ip test-ip4 output
  [ limit rate 400/week burst 0 type packets flags 0x0 ]

# limit rate 40/day
ip test-ip4 output
  [ limit rate 40/day burst 0 type packets flags 0x0 ]

# limit rate 1023/second burst 10 packets
ip test-ip4 output
  [ limit rate 1023/second burst 10 type packets flags 0x0 ]

# limit rate 1 kbytes/second
ip test-ip4 output
  [ limit rate 1024/second burst 0 type bytes flags 0x0 ]

# limit rate 2 kbytes/second
ip test-ip4 output
  [ limit rate 2048/second burst 0 type bytes flags 0x0 ]

# limit rate 1025 kbytes/second
ip test-ip4 output
  [ limit rate 1049600/second burst 0 type bytes flags 0x0 ]

# limit rate 1023 mbytes/second
ip test-ip4 output
  [ limit rate 1072693248/second burst 0 type bytes flags 0x0 ]

# limit rate 10230 mbytes/second
ip test-ip4 output
  [ limit rate 10726932480/second burst 0 type bytes flags 0x0 ]

# limit rate 1023000 mbytes/second
ip test-ip4 output
  [ limit rate 1072693248000/second burst 0 type bytes flags 0x0 ]

# limit rate 1025 bytes/second burst 512 bytes
ip test-ip4 output
  [ limit rate 1025/second burst 512 type bytes flags 0x0 ]

# limit rate 1025 kbytes/second burst 1023 kbytes
ip test-ip4 output
  [ limit rate 1049600/second burst 1047552 type bytes flags 0x0 ]

# limit rate 1025 mbytes/second burst 1025 kbytes
ip test-ip4 output
  [ limit rate 1074790400/second burst 1049600 type bytes flags 0x0 ]

# limit rate 1025000 mbytes/second burst 1023 mbytes
ip test-ip4 output
  [ limit rate 1074790400000/second burst 1072693248 type bytes flags 0x0 ]

# limit rate over 400/minute
ip test-ip4 output
  [ limit rate 400/minute burst 0 type packets flags 0x1 ]

# limit rate over 20/second
ip test-ip4 output
  [ limit rate 20/second burst 0 type packets flags 0x1 ]

# limit rate over 400/hour
ip test-ip4 output
  [ limit rate 400/hour burst 0 type packets flags 0x1 ]

# limit rate over 400/week
ip test-ip4 output
  [ limit rate 400/week burst 0 type packets flags 0x1 ]

# limit rate over 40/day
ip test-ip4 output
  [ limit rate 40/day burst 0 type packets flags 0x1 ]

# limit rate over 1023/second burst 10 packets
ip test-ip4 output
  [ limit rate 1023/second burst 10 type packets flags 0x1 ]

# limit rate over 1 kbytes/second
ip test-ip4 output
  [ limit rate 1024/second burst 0 type bytes flags 0x1 ]

# limit rate over 2 kbytes/second
ip test-ip4 output
  [ limit rate 2048/second burst 0 type bytes flags 0x1 ]

# limit rate over 1025 kbytes/second
ip test-ip4 output
  [ limit rate 1049600/second burst 0 type bytes flags 0x1 ]

# limit rate over 1023 mbytes/second
ip test-ip4 output
  [ limit rate 1072693248/second burst 0 type bytes flags 0x1 ]

# limit rate over 10230 mbytes/second
ip test-ip4 output
  [ limit rate 10726932480/second burst 0 type bytes flags 0x1 ]

# limit rate over 1023000 mbytes/second
ip test-ip4 output
  [ limit rate 1072693248000/second burst 0 type bytes flags 0x1 ]

# limit rate over 1025 bytes/second burst 512 bytes
ip test-ip4 output
  [ limit rate 1025/second burst 512 type bytes flags 0x1 ]

# limit rate over 1025 kbytes/second burst 1023 kbytes
ip test-ip4 output
  [ limit rate 1049600/second burst 1047552 type bytes flags 0x1 ]

# limit rate over 1025 mbytes/second burst 1025 kbytes
ip test-ip4 output
  [ limit rate 1074790400/second burst 1049600 type bytes flags 0x1 ]

# limit rate over 1025000 mbytes/second burst 1023 mbytes
ip test-ip4 output
  [ limit rate 1074790400000/second burst 1072693248 type bytes flags 0x1 ]