dump 459 KB
Newer Older
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1 2 3 4 5 6 7 8 9 10
Dnat 1                 {"in":["_fw","A"]}
(zone)                 
  inet/nat/OUTPUT      -j REDIRECT
  inet/nat/PREROUTING  -i eth0 -j REDIRECT

Dnat 2                 {"in":"B"}
(zone)                 
  inet/nat/PREROUTING  -i eth1 -s 10.0.0.0/12 -j REDIRECT


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
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 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356
Filter 1                           {}
(filter)                           
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Filter 2                           {"action":"accept"}
(filter)                           
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Filter 3                           {"action":"drop"}
(filter)                           
  inet/filter/FORWARD              -j logdrop-0
  inet6/filter/FORWARD             -j logdrop-0
  inet/filter/INPUT                -j logdrop-0
  inet6/filter/INPUT               -j logdrop-0
  inet/filter/OUTPUT               -j logdrop-0
  inet6/filter/OUTPUT              -j logdrop-0
  inet/filter/logdrop-0            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-0           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-0            -j DROP
  inet6/filter/logdrop-0           -j DROP

Filter 4                           {"action":"pass"}
(filter)                           
  inet/filter/FORWARD              
  inet6/filter/FORWARD             
  inet/filter/INPUT                
  inet6/filter/INPUT               
  inet/filter/OUTPUT               
  inet6/filter/OUTPUT              

Filter 5                           {"action":"reject"}
(filter)                           
  inet/filter/FORWARD              -j logreject-0
  inet6/filter/FORWARD             -j logreject-0
  inet/filter/INPUT                -j logreject-0
  inet6/filter/INPUT               -j logreject-0
  inet/filter/OUTPUT               -j logreject-0
  inet6/filter/OUTPUT              -j logreject-0
  inet/filter/logreject-0          -m limit --limit 1/second -j LOG
  inet6/filter/logreject-0         -m limit --limit 1/second -j LOG
  inet/filter/logreject-0          -j REJECT
  inet6/filter/logreject-0         -j REJECT

Filter 6                           {"action":"tarpit"}
(filter)                           
  inet/filter/FORWARD              -j logtarpit-0
  inet6/filter/FORWARD             -j logtarpit-0
  inet/filter/INPUT                -j logtarpit-0
  inet6/filter/INPUT               -j logtarpit-0
  inet/filter/OUTPUT               -j logtarpit-0
  inet6/filter/OUTPUT              -j logtarpit-0
  inet/filter/logtarpit-0          -m limit --limit 1/second -j LOG
  inet6/filter/logtarpit-0         -m limit --limit 1/second -j LOG
  inet/filter/logtarpit-0          -j tarpit
  inet6/filter/logtarpit-0         -j tarpit
  inet/raw/PREROUTING              -j CT --notrack
  inet6/raw/PREROUTING             -j CT --notrack
  inet/raw/OUTPUT                  -j CT --notrack
  inet6/raw/OUTPUT                 -j CT --notrack

Filter 7                           {"conn-limit":1,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-0
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-0
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-0
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-0
  inet/filter/limit-0              -m recent --name limit-0 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-1
  inet6/filter/limit-0             -m recent --name limit-0 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-1
  inet/filter/logdrop-1            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-1           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-1            -j DROP
  inet6/filter/logdrop-1           -j DROP
  inet/filter/limit-0              -m recent --name limit-0 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-0             -m recent --name limit-0 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 8                           {"action":"pass","conn-limit":1,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-1
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-1
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-1
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-1
  inet/filter/limit-1              -m recent --name limit-1 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-2
  inet6/filter/limit-1             -m recent --name limit-1 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-2
  inet/filter/logdrop-2            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-2           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-2            -j DROP
  inet6/filter/logdrop-2           -j DROP
  inet/filter/limit-1              -m recent --name limit-1 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-1             -m recent --name limit-1 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 9                           {"conn-limit":1,"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-2
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-2
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-2
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-2
  inet/filter/limit-2              -m recent --name limit-2 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-3
  inet6/filter/limit-2             -m recent --name limit-2 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-3
  inet/filter/logdrop-3            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-3           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-3            -j DROP
  inet6/filter/logdrop-3           -j DROP
  inet/filter/limit-2              -m limit --limit 1/second -j LOG
  inet6/filter/limit-2             -m limit --limit 1/second -j LOG
  inet/filter/limit-2              -m recent --name limit-2 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-2             -m recent --name limit-2 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 10                          {"action":"pass","conn-limit":1,"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-3
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-3
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-3
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-3
  inet/filter/limit-3              -m recent --name limit-3 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-4
  inet6/filter/limit-3             -m recent --name limit-3 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-4
  inet/filter/logdrop-4            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-4           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-4            -j DROP
  inet6/filter/logdrop-4           -j DROP
  inet/filter/limit-3              -m recent --name limit-3 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-3             -m recent --name limit-3 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 11                          {"conn-limit":1,"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-4
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-4
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-4
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-4
  inet/filter/limit-4              -m recent --name limit-4 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-5
  inet6/filter/limit-4             -m recent --name limit-4 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-5
  inet/filter/logdrop-5            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-5           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-5            -j DROP
  inet6/filter/logdrop-5           -j DROP
  inet/filter/limit-4              -m recent --name limit-4 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-4             -m recent --name limit-4 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 12                          {"action":"pass","conn-limit":1,"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-5
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-5
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-5
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-5
  inet/filter/limit-5              -m recent --name limit-5 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-6
  inet6/filter/limit-5             -m recent --name limit-5 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-6
  inet/filter/logdrop-6            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-6           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-6            -j DROP
  inet6/filter/logdrop-6           -j DROP
  inet/filter/limit-5              -m recent --name limit-5 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-5             -m recent --name limit-5 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 13                          {"conn-limit":{"count":1},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-6
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-6
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-6
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-6
  inet/filter/limit-6              -m recent --name limit-6 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-7
  inet6/filter/limit-6             -m recent --name limit-6 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-7
  inet/filter/logdrop-7            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-7           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-7            -j DROP
  inet6/filter/logdrop-7           -j DROP
  inet/filter/limit-6              -m recent --name limit-6 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-6             -m recent --name limit-6 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 14                          {"action":"pass","conn-limit":{"count":1},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-7
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-7
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-7
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-7
  inet/filter/limit-7              -m recent --name limit-7 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-8
  inet6/filter/limit-7             -m recent --name limit-7 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-8
  inet/filter/logdrop-8            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-8           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-8            -j DROP
  inet6/filter/logdrop-8           -j DROP
  inet/filter/limit-7              -m recent --name limit-7 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-7             -m recent --name limit-7 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 15                          {"conn-limit":{"count":1},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-8
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-8
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-8
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-8
  inet/filter/limit-8              -m recent --name limit-8 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-9
  inet6/filter/limit-8             -m recent --name limit-8 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-9
  inet/filter/logdrop-9            -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-9           -m limit --limit 1/second -j LOG
  inet/filter/logdrop-9            -j DROP
  inet6/filter/logdrop-9           -j DROP
  inet/filter/limit-8              -m limit --limit 1/second -j LOG
  inet6/filter/limit-8             -m limit --limit 1/second -j LOG
  inet/filter/limit-8              -m recent --name limit-8 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-8             -m recent --name limit-8 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 16                          {"action":"pass","conn-limit":{"count":1},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-9
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-9
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-9
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-9
  inet/filter/limit-9              -m recent --name limit-9 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-10
  inet6/filter/limit-9             -m recent --name limit-9 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-10
  inet/filter/logdrop-10           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-10          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-10           -j DROP
  inet6/filter/logdrop-10          -j DROP
  inet/filter/limit-9              -m recent --name limit-9 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-9             -m recent --name limit-9 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 17                          {"conn-limit":{"count":1},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-10
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-10
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-10
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-10
  inet/filter/limit-10             -m recent --name limit-10 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-11
  inet6/filter/limit-10            -m recent --name limit-10 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-11
  inet/filter/logdrop-11           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-11          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-11           -j DROP
  inet6/filter/logdrop-11          -j DROP
  inet/filter/limit-10             -m recent --name limit-10 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-10            -m recent --name limit-10 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 18                          {"action":"pass","conn-limit":{"count":1},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-11
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-11
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-11
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-11
  inet/filter/limit-11             -m recent --name limit-11 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-12
  inet6/filter/limit-11            -m recent --name limit-11 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-12
  inet/filter/logdrop-12           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-12          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-12           -j DROP
  inet6/filter/logdrop-12          -j DROP
  inet/filter/limit-11             -m recent --name limit-11 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-11            -m recent --name limit-11 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 19                          {"conn-limit":{"count":1,"name":"foo"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-12
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-12
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-12
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-12
  inet/filter/limit-12             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-13
  inet6/filter/limit-12            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-13
  inet/filter/logdrop-13           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-13          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-13           -j DROP
  inet6/filter/logdrop-13          -j DROP
  inet/filter/limit-12             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-12            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 20                          {"action":"pass","conn-limit":{"count":1,"name":"foo"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-13
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-13
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-13
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-13
  inet/filter/limit-13             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-14
  inet6/filter/limit-13            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-14
  inet/filter/logdrop-14           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-14          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-14           -j DROP
  inet6/filter/logdrop-14          -j DROP
  inet/filter/limit-13             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-13            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 21                          {"conn-limit":{"count":1,"name":"foo"},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-14
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-14
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-14
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-14
  inet/filter/limit-14             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-15
  inet6/filter/limit-14            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-15
  inet/filter/logdrop-15           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-15          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-15           -j DROP
  inet6/filter/logdrop-15          -j DROP
  inet/filter/limit-14             -m limit --limit 1/second -j LOG
  inet6/filter/limit-14            -m limit --limit 1/second -j LOG
  inet/filter/limit-14             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-14            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 22                          {"action":"pass","conn-limit":{"count":1,"name":"foo"},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-15
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-15
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-15
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-15
  inet/filter/limit-15             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-16
  inet6/filter/limit-15            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-16
  inet/filter/logdrop-16           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-16          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-16           -j DROP
  inet6/filter/logdrop-16          -j DROP
  inet/filter/limit-15             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-15            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 23                          {"conn-limit":{"count":1,"name":"foo"},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-16
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-16
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-16
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-16
  inet/filter/limit-16             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-17
  inet6/filter/limit-16            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-17
  inet/filter/logdrop-17           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-17          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-17           -j DROP
  inet6/filter/logdrop-17          -j DROP
  inet/filter/limit-16             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-16            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 24                          {"action":"pass","conn-limit":{"count":1,"name":"foo"},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-17
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-17
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-17
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-17
  inet/filter/limit-17             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-18
  inet6/filter/limit-17            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-18
  inet/filter/logdrop-18           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-18          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-18           -j DROP
  inet6/filter/logdrop-18          -j DROP
  inet/filter/limit-17             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-17            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
357
Filter 25                          {"conn-limit":{"count":1,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
358 359 360 361 362
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-18
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-18
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-18
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-18
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
363 364 365 366 367 368 369 370
  inet/filter/limit-18             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-19
  inet6/filter/limit-18            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-19
  inet/filter/logdrop-19           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-19          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-19           -j DROP
  inet6/filter/logdrop-19          -j DROP
  inet/filter/limit-18             -j ACCEPT
  inet6/filter/limit-18            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
371

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
372
Filter 26                          {"action":"pass","conn-limit":{"count":1,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
373
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
374 375 376 377
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-20
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-20
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-20
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-20
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
378

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
379
Filter 27                          {"conn-limit":{"count":1,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
380 381 382 383 384
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-20
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-20
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-20
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-20
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
385 386 387 388 389 390
  inet/filter/limit-20             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-21
  inet6/filter/limit-20            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-21
  inet/filter/logdrop-21           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-21          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-21           -j DROP
  inet6/filter/logdrop-21          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
391 392
  inet/filter/limit-20             -m limit --limit 1/second -j LOG
  inet6/filter/limit-20            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
393 394
  inet/filter/limit-20             -j ACCEPT
  inet6/filter/limit-20            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
395

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
396
Filter 28                          {"action":"pass","conn-limit":{"count":1,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
397 398 399 400 401
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-21
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-21
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-21
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-21
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
402 403 404 405 406 407 408 409
  inet/filter/limit-21             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-22
  inet6/filter/limit-21            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-22
  inet/filter/logdrop-22           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-22          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-22           -j DROP
  inet6/filter/logdrop-22          -j DROP
  inet/filter/limit-21             -m limit --limit 1/second -j LOG
  inet6/filter/limit-21            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
410

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
411
Filter 29                          {"conn-limit":{"count":1,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
412 413 414 415 416
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-22
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-22
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-22
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-22
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
417 418 419 420 421 422 423 424
  inet/filter/limit-22             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-23
  inet6/filter/limit-22            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-23
  inet/filter/logdrop-23           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-23          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-23           -j DROP
  inet6/filter/logdrop-23          -j DROP
  inet/filter/limit-22             -j ACCEPT
  inet6/filter/limit-22            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
425

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
426
Filter 30                          {"action":"pass","conn-limit":{"count":1,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
427
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
428 429 430 431
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-24
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-24
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-24
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-24
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
432

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
433
Filter 31                          {"conn-limit":{"count":1,"log":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
434 435 436 437 438
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-24
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-24
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-24
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-24
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
439 440 441 442
  inet/filter/limit-24             -m recent --name limit-24 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-24            -m recent --name limit-24 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-24             -m recent --name limit-24 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-24            -m recent --name limit-24 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
443

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
444
Filter 32                          {"action":"pass","conn-limit":{"count":1,"log":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
445 446 447 448 449
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-25
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-25
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-25
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-25
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
450 451 452 453
  inet/filter/limit-25             -m recent --name limit-25 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-25            -m recent --name limit-25 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-25             -m recent --name limit-25 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-25            -m recent --name limit-25 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
454

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
455
Filter 33                          {"conn-limit":{"count":1,"log":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
456 457 458 459 460
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-26
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-26
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-26
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-26
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
461 462
  inet/filter/limit-26             -m recent --name limit-26 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-26            -m recent --name limit-26 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
463 464
  inet/filter/limit-26             -m limit --limit 1/second -j LOG
  inet6/filter/limit-26            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
465 466
  inet/filter/limit-26             -m recent --name limit-26 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-26            -m recent --name limit-26 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
467

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
468
Filter 34                          {"action":"pass","conn-limit":{"count":1,"log":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
469 470 471 472 473
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-27
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-27
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-27
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-27
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
474 475 476 477
  inet/filter/limit-27             -m recent --name limit-27 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-27            -m recent --name limit-27 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-27             -m recent --name limit-27 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-27            -m recent --name limit-27 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
478

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
479
Filter 35                          {"conn-limit":{"count":1,"log":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
480 481 482 483 484
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-28
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-28
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-28
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-28
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
485 486 487 488
  inet/filter/limit-28             -m recent --name limit-28 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-28            -m recent --name limit-28 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-28             -m recent --name limit-28 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-28            -m recent --name limit-28 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
489

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
490
Filter 36                          {"action":"pass","conn-limit":{"count":1,"log":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
491 492 493 494 495
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-29
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-29
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-29
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
496 497 498 499
  inet/filter/limit-29             -m recent --name limit-29 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-29            -m recent --name limit-29 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-29             -m recent --name limit-29 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-29            -m recent --name limit-29 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
500

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
501
Filter 37                          {"conn-limit":{"count":1,"log":false,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
502 503 504 505 506
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-30
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-30
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-30
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
507 508 509 510
  inet/filter/limit-30             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-30            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-30             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-30            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
511

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
512
Filter 38                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
513 514 515 516 517
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-31
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-31
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-31
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-31
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
518 519 520 521
  inet/filter/limit-31             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-31            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-31             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-31            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
522

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
523
Filter 39                          {"conn-limit":{"count":1,"log":false,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
524 525 526 527 528
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-32
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-32
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-32
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-32
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
529 530
  inet/filter/limit-32             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-32            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
531 532
  inet/filter/limit-32             -m limit --limit 1/second -j LOG
  inet6/filter/limit-32            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
533 534
  inet/filter/limit-32             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-32            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
535

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
536
Filter 40                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
537 538 539 540 541
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-33
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-33
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-33
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-33
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
542 543 544 545
  inet/filter/limit-33             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-33            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-33             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-33            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
546

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
547
Filter 41                          {"conn-limit":{"count":1,"log":false,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
548 549 550 551 552
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-34
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-34
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-34
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-34
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
553 554 555 556
  inet/filter/limit-34             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-34            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-34             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-34            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
557

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
558
Filter 42                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
559 560 561 562 563
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-35
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-35
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-35
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-35
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
564 565 566 567
  inet/filter/limit-35             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-35            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-35             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-35            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
568

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
569
Filter 43                          {"conn-limit":{"count":1,"log":false,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
570 571 572 573 574
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-36
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-36
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-36
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-36
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
575 576 577 578
  inet/filter/limit-36             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-36            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-36             -j ACCEPT
  inet6/filter/limit-36            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
579

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
580
Filter 44                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
581
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
582 583 584 585
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
586

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
587
Filter 45                          {"conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
588 589 590 591 592
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-38
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-38
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-38
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-38
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
593 594
  inet/filter/limit-38             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-38            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
595 596
  inet/filter/limit-38             -m limit --limit 1/second -j LOG
  inet6/filter/limit-38            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
597 598
  inet/filter/limit-38             -j ACCEPT
  inet6/filter/limit-38            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
599

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
600
Filter 46                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
601 602 603 604 605
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-39
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-39
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-39
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-39
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
606 607 608 609
  inet/filter/limit-39             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-39            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-39             -m limit --limit 1/second -j LOG
  inet6/filter/limit-39            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
610

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
611
Filter 47                          {"conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
612 613 614 615 616
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-40
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-40
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-40
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-40
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
617 618 619 620
  inet/filter/limit-40             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-40            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-40             -j ACCEPT
  inet6/filter/limit-40            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
621

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
622
Filter 48                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
623
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
624 625 626 627
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
628

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
629
Filter 49                          {"conn-limit":{"count":1,"log":"none"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
630 631 632 633 634
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-42
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-42
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-42
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-42
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
635 636 637 638
  inet/filter/limit-42             -m recent --name limit-42 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-42            -m recent --name limit-42 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-42             -m recent --name limit-42 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-42            -m recent --name limit-42 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
639

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
640
Filter 50                          {"action":"pass","conn-limit":{"count":1,"log":"none"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
641 642 643 644 645
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-43
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-43
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-43
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-43
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
646 647 648 649
  inet/filter/limit-43             -m recent --name limit-43 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-43            -m recent --name limit-43 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-43             -m recent --name limit-43 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-43            -m recent --name limit-43 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
650

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
651
Filter 51                          {"conn-limit":{"count":1,"log":"none"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
652 653 654 655 656
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-44
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-44
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-44
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-44
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
657 658
  inet/filter/limit-44             -m recent --name limit-44 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-44            -m recent --name limit-44 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
659 660
  inet/filter/limit-44             -m limit --limit 1/second -j LOG
  inet6/filter/limit-44            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
661 662
  inet/filter/limit-44             -m recent --name limit-44 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-44            -m recent --name limit-44 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
663

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
664
Filter 52                          {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
665 666 667 668 669
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-45
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-45
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-45
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-45
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
670 671 672 673
  inet/filter/limit-45             -m recent --name limit-45 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-45            -m recent --name limit-45 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-45             -m recent --name limit-45 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-45            -m recent --name limit-45 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
674

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
675
Filter 53                          {"conn-limit":{"count":1,"log":"none"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
676 677 678 679 680
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-46
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-46
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-46
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-46
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
681 682 683 684
  inet/filter/limit-46             -m recent --name limit-46 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-46            -m recent --name limit-46 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-46             -m recent --name limit-46 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-46            -m recent --name limit-46 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
685

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
686
Filter 54                          {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
687 688 689 690 691
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-47
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-47
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-47
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-47
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
692 693 694 695
  inet/filter/limit-47             -m recent --name limit-47 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-47            -m recent --name limit-47 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-47             -m recent --name limit-47 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-47            -m recent --name limit-47 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
696

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
697
Filter 55                          {"conn-limit":{"count":1,"log":"none","name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
698 699 700 701 702
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-48
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-48
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-48
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-48
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
703 704 705 706
  inet/filter/limit-48             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-48            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-48             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-48            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
707

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
708
Filter 56                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
709 710 711 712 713
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-49
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-49
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-49
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-49
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
714 715 716 717
  inet/filter/limit-49             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-49            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-49             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-49            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
718

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
719
Filter 57                          {"conn-limit":{"count":1,"log":"none","name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
720 721 722 723 724
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-50
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-50
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-50
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-50
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
725 726 727 728 729 730
  inet/filter/limit-50             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-50            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-50             -m limit --limit 1/second -j LOG
  inet6/filter/limit-50            -m limit --limit 1/second -j LOG
  inet/filter/limit-50             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-50            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
731

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
732
Filter 58                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
733 734 735 736 737
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-51
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-51
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-51
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-51
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
738 739 740 741
  inet/filter/limit-51             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-51            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-51             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-51            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
742

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
743
Filter 59                          {"conn-limit":{"count":1,"log":"none","name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
744 745 746 747 748
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-52
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-52
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-52
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-52
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
749 750 751 752
  inet/filter/limit-52             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-52            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-52             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-52            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
753

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
754
Filter 60                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
755 756 757 758 759
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-53
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-53
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-53
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-53
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
760 761 762 763
  inet/filter/limit-53             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-53            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-53             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-53            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
764

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
765
Filter 61                          {"conn-limit":{"count":1,"log":"none","name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
766 767 768 769 770
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-54
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-54
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-54
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-54
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
771 772 773 774
  inet/filter/limit-54             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-54            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-54             -j ACCEPT
  inet6/filter/limit-54            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
775

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
776
Filter 62                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
777
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
778 779 780 781
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
782

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
783
Filter 63                          {"conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
784 785 786 787 788
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-56
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-56
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-56
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-56
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
789 790 791 792 793 794
  inet/filter/limit-56             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-56            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-56             -m limit --limit 1/second -j LOG
  inet6/filter/limit-56            -m limit --limit 1/second -j LOG
  inet/filter/limit-56             -j ACCEPT
  inet6/filter/limit-56            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
795

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
796
Filter 64                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
797 798 799 800 801
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-57
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-57
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-57
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-57
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020
  inet/filter/limit-57             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-57            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-57             -m limit --limit 1/second -j LOG
  inet6/filter/limit-57            -m limit --limit 1/second -j LOG

Filter 65                          {"conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-58
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-58
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-58
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-58
  inet/filter/limit-58             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-58            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-58             -j ACCEPT
  inet6/filter/limit-58            -j ACCEPT

Filter 66                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP

Filter 67                          {"conn-limit":30,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-60
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-60
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-60
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-60
  inet/filter/limit-60             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-60 -j ACCEPT
  inet6/filter/limit-60            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-60 -j ACCEPT
  inet/filter/limit-60             -m limit --limit 1/second -j LOG
  inet6/filter/limit-60            -m limit --limit 1/second -j LOG
  inet/filter/limit-60             -j DROP
  inet6/filter/limit-60            -j DROP

Filter 68                          {"action":"pass","conn-limit":30,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-61
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-61
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-61
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-61
  inet/filter/limit-61             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-61 -j RETURN
  inet6/filter/limit-61            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-61 -j RETURN
  inet/filter/limit-61             -m limit --limit 1/second -j LOG
  inet6/filter/limit-61            -m limit --limit 1/second -j LOG
  inet/filter/limit-61             -j DROP
  inet6/filter/limit-61            -j DROP

Filter 69                          {"conn-limit":30,"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-62
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-62
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-62
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-62
  inet/filter/limit-62             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-62 -j logaccept-0
  inet6/filter/limit-62            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-62 -j logaccept-0
  inet/filter/logaccept-0          -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-0         -m limit --limit 1/second -j LOG
  inet/filter/logaccept-0          -j ACCEPT
  inet6/filter/logaccept-0         -j ACCEPT
  inet/filter/limit-62             -m limit --limit 1/second -j LOG
  inet6/filter/limit-62            -m limit --limit 1/second -j LOG
  inet/filter/limit-62             -j DROP
  inet6/filter/limit-62            -j DROP

Filter 70                          {"conn-limit":30,"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-63
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-63
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-63
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-63
  inet/filter/limit-63             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-63 -j ACCEPT
  inet6/filter/limit-63            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-63 -j ACCEPT
  inet/filter/limit-63             -m limit --limit 1/second -j LOG
  inet6/filter/limit-63            -m limit --limit 1/second -j LOG
  inet/filter/limit-63             -j DROP
  inet6/filter/limit-63            -j DROP

Filter 71                          {"conn-limit":{"count":30},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-64
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-64
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-64
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-64
  inet/filter/limit-64             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-64 -j ACCEPT
  inet6/filter/limit-64            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-64 -j ACCEPT
  inet/filter/limit-64             -m limit --limit 1/second -j LOG
  inet6/filter/limit-64            -m limit --limit 1/second -j LOG
  inet/filter/limit-64             -j DROP
  inet6/filter/limit-64            -j DROP

Filter 72                          {"action":"pass","conn-limit":{"count":30},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-65
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-65
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-65
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-65
  inet/filter/limit-65             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-65 -j RETURN
  inet6/filter/limit-65            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-65 -j RETURN
  inet/filter/limit-65             -m limit --limit 1/second -j LOG
  inet6/filter/limit-65            -m limit --limit 1/second -j LOG
  inet/filter/limit-65             -j DROP
  inet6/filter/limit-65            -j DROP

Filter 73                          {"conn-limit":{"count":30},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-66
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-66
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-66
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-66
  inet/filter/limit-66             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-66 -j logaccept-1
  inet6/filter/limit-66            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-66 -j logaccept-1
  inet/filter/logaccept-1          -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-1         -m limit --limit 1/second -j LOG
  inet/filter/logaccept-1          -j ACCEPT
  inet6/filter/logaccept-1         -j ACCEPT
  inet/filter/limit-66             -m limit --limit 1/second -j LOG
  inet6/filter/limit-66            -m limit --limit 1/second -j LOG
  inet/filter/limit-66             -j DROP
  inet6/filter/limit-66            -j DROP

Filter 74                          {"conn-limit":{"count":30},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-67
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-67
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-67
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-67
  inet/filter/limit-67             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-67 -j ACCEPT
  inet6/filter/limit-67            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-67 -j ACCEPT
  inet/filter/limit-67             -m limit --limit 1/second -j LOG
  inet6/filter/limit-67            -m limit --limit 1/second -j LOG
  inet/filter/limit-67             -j DROP
  inet6/filter/limit-67            -j DROP

Filter 75                          {"conn-limit":{"count":30,"log":false},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-68
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-68
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-68
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-68
  inet/filter/limit-68             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-68 -j ACCEPT
  inet6/filter/limit-68            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-68 -j ACCEPT
  inet/filter/limit-68             -j DROP
  inet6/filter/limit-68            -j DROP

Filter 76                          {"action":"pass","conn-limit":{"count":30,"log":false},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-69
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-69
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-69
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-69
  inet/filter/limit-69             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-69 -j RETURN
  inet6/filter/limit-69            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-69 -j RETURN
  inet/filter/limit-69             -j DROP
  inet6/filter/limit-69            -j DROP

Filter 77                          {"conn-limit":{"count":30,"log":false},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-70
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-70
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-70
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-70
  inet/filter/limit-70             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-70 -j logaccept-2
  inet6/filter/limit-70            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-70 -j logaccept-2
  inet/filter/logaccept-2          -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-2         -m limit --limit 1/second -j LOG
  inet/filter/logaccept-2          -j ACCEPT
  inet6/filter/logaccept-2         -j ACCEPT
  inet/filter/limit-70             -j DROP
  inet6/filter/limit-70            -j DROP

Filter 78                          {"conn-limit":{"count":30,"log":false},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-71
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-71
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-71
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-71
  inet/filter/limit-71             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-71 -j ACCEPT
  inet6/filter/limit-71            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-71 -j ACCEPT
  inet/filter/limit-71             -j DROP
  inet6/filter/limit-71            -j DROP

Filter 79                          {"conn-limit":{"count":30,"log":"none"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-72
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-72
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-72
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-72
  inet/filter/limit-72             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-72 -j ACCEPT
  inet6/filter/limit-72            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-72 -j ACCEPT
  inet/filter/limit-72             -j DROP
  inet6/filter/limit-72            -j DROP

Filter 80                          {"action":"pass","conn-limit":{"count":30,"log":"none"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-73
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-73
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-73
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-73
  inet/filter/limit-73             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-73 -j RETURN
  inet6/filter/limit-73            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-73 -j RETURN
  inet/filter/limit-73             -j DROP
  inet6/filter/limit-73            -j DROP

Filter 81                          {"conn-limit":{"count":30,"log":"none"},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-74
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-74
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-74
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-74
  inet/filter/limit-74             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-74 -j logaccept-3
  inet6/filter/limit-74            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-74 -j logaccept-3
  inet/filter/logaccept-3          -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-3         -m limit --limit 1/second -j LOG
  inet/filter/logaccept-3          -j ACCEPT
  inet6/filter/logaccept-3         -j ACCEPT
  inet/filter/limit-74             -j DROP
  inet6/filter/limit-74            -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1021

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1022
Filter 82                          {"conn-limit":{"count":30,"log":"none"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1023
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1024 1025 1026 1027 1028 1029 1030 1031
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-75
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-75
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-75
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-75
  inet/filter/limit-75             -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-75 -j ACCEPT
  inet6/filter/limit-75            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-75 -j ACCEPT
  inet/filter/limit-75             -j DROP
  inet6/filter/limit-75            -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1032

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1033
Filter 83                          {"flow-limit":1}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1034 1035 1036 1037 1038 1039 1040
(filter-limit)                     
  inet/filter/FORWARD              -j limit-76
  inet6/filter/FORWARD             -j limit-76
  inet/filter/INPUT                -j limit-76
  inet6/filter/INPUT               -j limit-76
  inet/filter/OUTPUT               -j limit-76
  inet6/filter/OUTPUT              -j limit-76
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1041 1042 1043 1044 1045 1046
  inet/filter/limit-76             -m recent --name limit-76 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-25
  inet6/filter/limit-76            -m recent --name limit-76 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-25
  inet/filter/logdrop-25           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-25          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-25           -j DROP
  inet6/filter/logdrop-25          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1047 1048 1049 1050 1051 1052 1053 1054 1055
  inet/filter/limit-76             -m recent --name limit-76 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-76            -m recent --name limit-76 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1056
Filter 84                          {"action":"pass","flow-limit":1}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1057 1058 1059 1060 1061 1062 1063
(filter-limit)                     
  inet/filter/FORWARD              -j limit-77
  inet6/filter/FORWARD             -j limit-77
  inet/filter/INPUT                -j limit-77
  inet6/filter/INPUT               -j limit-77
  inet/filter/OUTPUT               -j limit-77
  inet6/filter/OUTPUT              -j limit-77
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1064 1065 1066 1067 1068 1069
  inet/filter/limit-77             -m recent --name limit-77 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-26
  inet6/filter/limit-77            -m recent --name limit-77 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-26
  inet/filter/logdrop-26           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-26          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-26           -j DROP
  inet6/filter/logdrop-26          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1070 1071 1072
  inet/filter/limit-77             -m recent --name limit-77 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-77            -m recent --name limit-77 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1073
Filter 85                          {"flow-limit":1,"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1074 1075 1076 1077 1078 1079 1080
(filter-limit)                     
  inet/filter/FORWARD              -j limit-78
  inet6/filter/FORWARD             -j limit-78
  inet/filter/INPUT                -j limit-78
  inet6/filter/INPUT               -j limit-78
  inet/filter/OUTPUT               -j limit-78
  inet6/filter/OUTPUT              -j limit-78
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1081 1082 1083 1084 1085 1086
  inet/filter/limit-78             -m recent --name limit-78 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-27
  inet6/filter/limit-78            -m recent --name limit-78 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-27
  inet/filter/logdrop-27           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-27          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-27           -j DROP
  inet6/filter/logdrop-27          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1087 1088
  inet/filter/limit-78             -m recent --name limit-78 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-78            -m recent --name limit-78 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
  inet/filter/FORWARD              -j logaccept-final-0
  inet6/filter/FORWARD             -j logaccept-final-0
  inet/filter/INPUT                -j logaccept-final-0
  inet6/filter/INPUT               -j logaccept-final-0
  inet/filter/OUTPUT               -j logaccept-final-0
  inet6/filter/OUTPUT              -j logaccept-final-0
  inet/filter/logaccept-final-0    -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-0   -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-0    -j ACCEPT
  inet6/filter/logaccept-final-0   -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1099

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1100
Filter 86                          {"action":"pass","flow-limit":1,"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1101 1102 1103 1104 1105 1106 1107
(filter-limit)                     
  inet/filter/FORWARD              -j limit-79
  inet6/filter/FORWARD             -j limit-79
  inet/filter/INPUT                -j limit-79
  inet6/filter/INPUT               -j limit-79
  inet/filter/OUTPUT               -j limit-79
  inet6/filter/OUTPUT              -j limit-79
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1108 1109 1110 1111 1112 1113
  inet/filter/limit-79             -m recent --name limit-79 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-28
  inet6/filter/limit-79            -m recent --name limit-79 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-28
  inet/filter/logdrop-28           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-28          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-28           -j DROP
  inet6/filter/logdrop-28          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1114 1115 1116
  inet/filter/limit-79             -m recent --name limit-79 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-79            -m recent --name limit-79 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1117
Filter 87                          {"flow-limit":1,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1118 1119 1120 1121 1122 1123 1124
(filter-limit)                     
  inet/filter/FORWARD              -j limit-80
  inet6/filter/FORWARD             -j limit-80
  inet/filter/INPUT                -j limit-80
  inet6/filter/INPUT               -j limit-80
  inet/filter/OUTPUT               -j limit-80
  inet6/filter/OUTPUT              -j limit-80
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1125 1126 1127 1128 1129 1130
  inet/filter/limit-80             -m recent --name limit-80 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-29
  inet6/filter/limit-80            -m recent --name limit-80 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-29
  inet/filter/logdrop-29           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-29          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-29           -j DROP
  inet6/filter/logdrop-29          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1131 1132 1133 1134 1135 1136 1137 1138 1139
  inet/filter/limit-80             -m recent --name limit-80 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-80            -m recent --name limit-80 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1140
Filter 88                          {"action":"pass","flow-limit":1,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1141 1142 1143 1144 1145 1146 1147
(filter-limit)                     
  inet/filter/FORWARD              -j limit-81
  inet6/filter/FORWARD             -j limit-81
  inet/filter/INPUT                -j limit-81
  inet6/filter/INPUT               -j limit-81
  inet/filter/OUTPUT               -j limit-81
  inet6/filter/OUTPUT              -j limit-81
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1148 1149 1150 1151 1152 1153
  inet/filter/limit-81             -m recent --name limit-81 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-30
  inet6/filter/limit-81            -m recent --name limit-81 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-30
  inet/filter/logdrop-30           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-30          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-30           -j DROP
  inet6/filter/logdrop-30          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1154 1155 1156
  inet/filter/limit-81             -m recent --name limit-81 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-81            -m recent --name limit-81 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1157
Filter 89                          {"flow-limit":{"count":1}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1158 1159 1160 1161 1162 1163 1164
(filter-limit)                     
  inet/filter/FORWARD              -j limit-82
  inet6/filter/FORWARD             -j limit-82
  inet/filter/INPUT                -j limit-82
  inet6/filter/INPUT               -j limit-82
  inet/filter/OUTPUT               -j limit-82
  inet6/filter/OUTPUT              -j limit-82
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1165 1166 1167 1168 1169 1170 1171 1172
  inet/filter/limit-82             -m recent --name limit-82 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-31
  inet6/filter/limit-82            -m recent --name limit-82 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-31
  inet/filter/logdrop-31           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-31          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-31           -j DROP
  inet6/filter/logdrop-31          -j DROP
  inet/filter/limit-82             -m recent --name limit-82 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-82            -m recent --name limit-82 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1173 1174 1175 1176 1177 1178 1179
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1180
Filter 90                          {"action":"pass","flow-limit":{"count":1}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1181 1182 1183 1184 1185 1186 1187
(filter-limit)                     
  inet/filter/FORWARD              -j limit-83
  inet6/filter/FORWARD             -j limit-83
  inet/filter/INPUT                -j limit-83
  inet6/filter/INPUT               -j limit-83
  inet/filter/OUTPUT               -j limit-83
  inet6/filter/OUTPUT              -j limit-83
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1188 1189 1190 1191 1192 1193 1194 1195
  inet/filter/limit-83             -m recent --name limit-83 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-32
  inet6/filter/limit-83            -m recent --name limit-83 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-32
  inet/filter/logdrop-32           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-32          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-32           -j DROP
  inet6/filter/logdrop-32          -j DROP
  inet/filter/limit-83             -m recent --name limit-83 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-83            -m recent --name limit-83 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1196

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1197
Filter 91                          {"flow-limit":{"count":1},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1198 1199 1200 1201 1202 1203 1204
(filter-limit)                     
  inet/filter/FORWARD              -j limit-84
  inet6/filter/FORWARD             -j limit-84
  inet/filter/INPUT                -j limit-84
  inet6/filter/INPUT               -j limit-84
  inet/filter/OUTPUT               -j limit-84
  inet6/filter/OUTPUT              -j limit-84
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
  inet/filter/limit-84             -m recent --name limit-84 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-33
  inet6/filter/limit-84            -m recent --name limit-84 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-33
  inet/filter/logdrop-33           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-33          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-33           -j DROP
  inet6/filter/logdrop-33          -j DROP
  inet/filter/limit-84             -m recent --name limit-84 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-84            -m recent --name limit-84 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD              -j logaccept-final-1
  inet6/filter/FORWARD             -j logaccept-final-1
  inet/filter/INPUT                -j logaccept-final-1
  inet6/filter/INPUT               -j logaccept-final-1
  inet/filter/OUTPUT               -j logaccept-final-1
  inet6/filter/OUTPUT              -j logaccept-final-1
  inet/filter/logaccept-final-1    -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-1   -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-1    -j ACCEPT
  inet6/filter/logaccept-final-1   -j ACCEPT

Filter 92                          {"action":"pass","flow-limit":{"count":1},"log":true}
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1226 1227 1228 1229 1230 1231
  inet/filter/FORWARD              -j limit-85
  inet6/filter/FORWARD             -j limit-85
  inet/filter/INPUT                -j limit-85
  inet6/filter/INPUT               -j limit-85
  inet/filter/OUTPUT               -j limit-85
  inet6/filter/OUTPUT              -j limit-85
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1232 1233 1234 1235 1236 1237 1238 1239
  inet/filter/limit-85             -m recent --name limit-85 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-34
  inet6/filter/limit-85            -m recent --name limit-85 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-34
  inet/filter/logdrop-34           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-34          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-34           -j DROP
  inet6/filter/logdrop-34          -j DROP
  inet/filter/limit-85             -m recent --name limit-85 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-85            -m recent --name limit-85 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1240

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1241
Filter 93                          {"flow-limit":{"count":1},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1242 1243 1244 1245 1246 1247 1248
(filter-limit)                     
  inet/filter/FORWARD              -j limit-86
  inet6/filter/FORWARD             -j limit-86
  inet/filter/INPUT                -j limit-86
  inet6/filter/INPUT               -j limit-86
  inet/filter/OUTPUT               -j limit-86
  inet6/filter/OUTPUT              -j limit-86
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1249 1250 1251 1252 1253 1254 1255 1256
  inet/filter/limit-86             -m recent --name limit-86 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-35
  inet6/filter/limit-86            -m recent --name limit-86 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-35
  inet/filter/logdrop-35           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-35          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-35           -j DROP
  inet6/filter/logdrop-35          -j DROP
  inet/filter/limit-86             -m recent --name limit-86 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-86            -m recent --name limit-86 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1257 1258 1259 1260 1261 1262 1263
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1264
Filter 94                          {"action":"pass","flow-limit":{"count":1},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1265 1266 1267 1268 1269 1270 1271
(filter-limit)                     
  inet/filter/FORWARD              -j limit-87
  inet6/filter/FORWARD             -j limit-87
  inet/filter/INPUT                -j limit-87
  inet6/filter/INPUT               -j limit-87
  inet/filter/OUTPUT               -j limit-87
  inet6/filter/OUTPUT              -j limit-87
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1272 1273 1274 1275 1276 1277 1278 1279
  inet/filter/limit-87             -m recent --name limit-87 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-36
  inet6/filter/limit-87            -m recent --name limit-87 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-36
  inet/filter/logdrop-36           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-36          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-36           -j DROP
  inet6/filter/logdrop-36          -j DROP
  inet/filter/limit-87             -m recent --name limit-87 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-87            -m recent --name limit-87 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1280

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1281
Filter 95                          {"flow-limit":{"count":1,"name":"foo"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1282 1283 1284 1285 1286 1287 1288
(filter-limit)                     
  inet/filter/FORWARD              -j limit-88
  inet6/filter/FORWARD             -j limit-88
  inet/filter/INPUT                -j limit-88
  inet6/filter/INPUT               -j limit-88
  inet/filter/OUTPUT               -j limit-88
  inet6/filter/OUTPUT              -j limit-88
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1289 1290 1291 1292 1293 1294 1295 1296
  inet/filter/limit-88             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-37
  inet6/filter/limit-88            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-37
  inet/filter/logdrop-37           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-37          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-37           -j DROP
  inet6/filter/logdrop-37          -j DROP
  inet/filter/limit-88             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-88            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1297 1298 1299 1300 1301 1302 1303
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1304
Filter 96                          {"action":"pass","flow-limit":{"count":1,"name":"foo"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1305 1306 1307 1308 1309 1310 1311
(filter-limit)                     
  inet/filter/FORWARD              -j limit-89
  inet6/filter/FORWARD             -j limit-89
  inet/filter/INPUT                -j limit-89
  inet6/filter/INPUT               -j limit-89
  inet/filter/OUTPUT               -j limit-89
  inet6/filter/OUTPUT              -j limit-89
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1312 1313 1314 1315 1316 1317 1318 1319
  inet/filter/limit-89             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-38
  inet6/filter/limit-89            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-38
  inet/filter/logdrop-38           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-38          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-38           -j DROP
  inet6/filter/logdrop-38          -j DROP
  inet/filter/limit-89             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-89            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1320

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1321
Filter 97                          {"flow-limit":{"count":1,"name":"foo"},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1322 1323 1324 1325 1326 1327 1328
(filter-limit)                     
  inet/filter/FORWARD              -j limit-90
  inet6/filter/FORWARD             -j limit-90
  inet/filter/INPUT                -j limit-90
  inet6/filter/INPUT               -j limit-90
  inet/filter/OUTPUT               -j limit-90
  inet6/filter/OUTPUT              -j limit-90
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346
  inet/filter/limit-90             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-39
  inet6/filter/limit-90            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-39
  inet/filter/logdrop-39           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-39          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-39           -j DROP
  inet6/filter/logdrop-39          -j DROP
  inet/filter/limit-90             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-90            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD              -j logaccept-final-2
  inet6/filter/FORWARD             -j logaccept-final-2
  inet/filter/INPUT                -j logaccept-final-2
  inet6/filter/INPUT               -j logaccept-final-2
  inet/filter/OUTPUT               -j logaccept-final-2
  inet6/filter/OUTPUT              -j logaccept-final-2
  inet/filter/logaccept-final-2    -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-2   -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-2    -j ACCEPT
  inet6/filter/logaccept-final-2   -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1347

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1348
Filter 98                          {"action":"pass","flow-limit":{"count":1,"name":"foo"},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1349 1350 1351 1352 1353 1354 1355
(filter-limit)                     
  inet/filter/FORWARD              -j limit-91
  inet6/filter/FORWARD             -j limit-91
  inet/filter/INPUT                -j limit-91
  inet6/filter/INPUT               -j limit-91
  inet/filter/OUTPUT               -j limit-91
  inet6/filter/OUTPUT              -j limit-91
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1356 1357 1358 1359 1360 1361 1362 1363
  inet/filter/limit-91             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-40
  inet6/filter/limit-91            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-40
  inet/filter/logdrop-40           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-40          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-40           -j DROP
  inet6/filter/logdrop-40          -j DROP
  inet/filter/limit-91             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-91            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1364

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1365
Filter 99                          {"flow-limit":{"count":1,"name":"foo"},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1366 1367 1368 1369 1370 1371 1372
(filter-limit)                     
  inet/filter/FORWARD              -j limit-92
  inet6/filter/FORWARD             -j limit-92
  inet/filter/INPUT                -j limit-92
  inet6/filter/INPUT               -j limit-92
  inet/filter/OUTPUT               -j limit-92
  inet6/filter/OUTPUT              -j limit-92
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1373 1374 1375 1376 1377 1378 1379 1380
  inet/filter/limit-92             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-41
  inet6/filter/limit-92            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-41
  inet/filter/logdrop-41           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-41          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-41           -j DROP
  inet6/filter/logdrop-41          -j DROP
  inet/filter/limit-92             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-92            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1381 1382 1383 1384 1385 1386 1387
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1388
Filter 100                         {"action":"pass","flow-limit":{"count":1,"name":"foo"},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1389 1390 1391 1392 1393 1394 1395
(filter-limit)                     
  inet/filter/FORWARD              -j limit-93
  inet6/filter/FORWARD             -j limit-93
  inet/filter/INPUT                -j limit-93
  inet6/filter/INPUT               -j limit-93
  inet/filter/OUTPUT               -j limit-93
  inet6/filter/OUTPUT              -j limit-93
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1396 1397 1398 1399 1400 1401 1402 1403
  inet/filter/limit-93             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-42
  inet6/filter/limit-93            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-42
  inet/filter/logdrop-42           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-42          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-42           -j DROP
  inet6/filter/logdrop-42          -j DROP
  inet/filter/limit-93             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-93            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1404

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1405
Filter 101                         {"flow-limit":{"count":1,"name":"foo","update":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1406 1407 1408 1409 1410 1411 1412
(filter-limit)                     
  inet/filter/FORWARD              -j limit-94
  inet6/filter/FORWARD             -j limit-94
  inet/filter/INPUT                -j limit-94
  inet6/filter/INPUT               -j limit-94
  inet/filter/OUTPUT               -j limit-94
  inet6/filter/OUTPUT              -j limit-94
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1413 1414 1415 1416 1417 1418
  inet/filter/limit-94             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-43
  inet6/filter/limit-94            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-43
  inet/filter/logdrop-43           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-43          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-43           -j DROP
  inet6/filter/logdrop-43          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1419 1420 1421 1422 1423 1424 1425
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1426
Filter 102                         {"action":"pass","flow-limit":{"count":1,"name":"foo","update":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1427 1428 1429 1430 1431 1432 1433
(filter-limit)                     
  inet/filter/FORWARD              -j limit-95
  inet6/filter/FORWARD             -j limit-95
  inet/filter/INPUT                -j limit-95
  inet6/filter/INPUT               -j limit-95
  inet/filter/OUTPUT               -j limit-95
  inet6/filter/OUTPUT              -j limit-95
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1434 1435 1436 1437 1438 1439
  inet/filter/limit-95             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-44
  inet6/filter/limit-95            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-44
  inet/filter/logdrop-44           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-44          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-44           -j DROP
  inet6/filter/logdrop-44          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1440

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1441
Filter 103                         {"flow-limit":{"count":1,"name":"foo","update":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1442 1443 1444 1445 1446 1447 1448
(filter-limit)                     
  inet/filter/FORWARD              -j limit-96
  inet6/filter/FORWARD             -j limit-96
  inet/filter/INPUT                -j limit-96
  inet6/filter/INPUT               -j limit-96
  inet/filter/OUTPUT               -j limit-96
  inet6/filter/OUTPUT              -j limit-96
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464
  inet/filter/limit-96             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-45
  inet6/filter/limit-96            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-45
  inet/filter/logdrop-45           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-45          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-45           -j DROP
  inet6/filter/logdrop-45          -j DROP
  inet/filter/FORWARD              -j logaccept-final-3
  inet6/filter/FORWARD             -j logaccept-final-3
  inet/filter/INPUT                -j logaccept-final-3
  inet6/filter/INPUT               -j logaccept-final-3
  inet/filter/OUTPUT               -j logaccept-final-3
  inet6/filter/OUTPUT              -j logaccept-final-3
  inet/filter/logaccept-final-3    -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-3   -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-3    -j ACCEPT
  inet6/filter/logaccept-final-3   -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1465

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1466
Filter 104                         {"action":"pass","flow-limit":{"count":1,"name":"foo","update":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1467 1468 1469 1470 1471 1472 1473
(filter-limit)                     
  inet/filter/FORWARD              -j limit-97
  inet6/filter/FORWARD             -j limit-97
  inet/filter/INPUT                -j limit-97
  inet6/filter/INPUT               -j limit-97
  inet/filter/OUTPUT               -j limit-97
  inet6/filter/OUTPUT              -j limit-97
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1474 1475 1476 1477 1478 1479 1480 1481
  inet/filter/limit-97             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-46
  inet6/filter/limit-97            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-46
  inet/filter/logdrop-46           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-46          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-46           -j DROP
  inet6/filter/logdrop-46          -j DROP
  inet/filter/limit-97             -m limit --limit 1/second -j LOG
  inet6/filter/limit-97            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1482

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1483
Filter 105                         {"flow-limit":{"count":1,"name":"foo","update":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1484 1485 1486 1487 1488 1489 1490
(filter-limit)                     
  inet/filter/FORWARD              -j limit-98
  inet6/filter/FORWARD             -j limit-98
  inet/filter/INPUT                -j limit-98
  inet6/filter/INPUT               -j limit-98
  inet/filter/OUTPUT               -j limit-98
  inet6/filter/OUTPUT              -j limit-98
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1491 1492 1493 1494 1495 1496
  inet/filter/limit-98             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-47
  inet6/filter/limit-98            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-47
  inet/filter/logdrop-47           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-47          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-47           -j DROP
  inet6/filter/logdrop-47          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1497 1498 1499 1500 1501 1502 1503
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1504
Filter 106                         {"action":"pass","flow-limit":{"count":1,"name":"foo","update":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1505 1506 1507 1508 1509 1510 1511
(filter-limit)                     
  inet/filter/FORWARD              -j limit-99
  inet6/filter/FORWARD             -j limit-99
  inet/filter/INPUT                -j limit-99
  inet6/filter/INPUT               -j limit-99
  inet/filter/OUTPUT               -j limit-99
  inet6/filter/OUTPUT              -j limit-99
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1512 1513 1514 1515 1516 1517
  inet/filter/limit-99             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-48
  inet6/filter/limit-99            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-48
  inet/filter/logdrop-48           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-48          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-48           -j DROP
  inet6/filter/logdrop-48          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1518

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1519
Filter 107                         {"flow-limit":{"count":1,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1520 1521 1522 1523 1524 1525 1526
(filter-limit)                     
  inet/filter/FORWARD              -j limit-100
  inet6/filter/FORWARD             -j limit-100
  inet/filter/INPUT                -j limit-100
  inet6/filter/INPUT               -j limit-100
  inet/filter/OUTPUT               -j limit-100
  inet6/filter/OUTPUT              -j limit-100
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1527 1528 1529 1530
  inet/filter/limit-100            -m recent --name limit-100 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-100           -m recent --name limit-100 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-100            -m recent --name limit-100 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-100           -m recent --name limit-100 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1531 1532 1533 1534 1535 1536 1537
  inet/filter/FORWARD              -j ACCEPT
  inet6/filter/FORWARD             -j ACCEPT
  inet/filter/INPUT                -j ACCEPT
  inet6/filter/INPUT               -j ACCEPT
  inet/filter/OUTPUT               -j ACCEPT
  inet6/filter/OUTPUT              -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1538
Filter 108                         {"action":"pass","flow-limit":{"count":1,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1539 1540 1541 1542 1543 1544 1545
(filter-limit)                     
  inet/filter/FORWARD              -j limit-101
  inet6/filter/FORWARD             -j limit-101
  inet/filter/INPUT                -j limit-101
  inet6/filter/INPUT               -j limit-101
  inet/filter/OUTPUT               -j limit-101
  inet6/filter/OUTPUT              -j limit-101
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1546 1547 1548 1549
  inet/filter/limit-101            -m recent --name limit-101 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-101           -m recent --name limit-101 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-101            -m recent --name limit-101 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-101           -m recent --name limit-101 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1550