dump 1.17 MB
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":{"addr":"dest","count":1,"name":"foo"},"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 443 444 445 446
  inet/filter/limit-24             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-25
  inet6/filter/limit-24            -m recent --name user:foo --rdest --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
  inet/filter/limit-24             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-24            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
447

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
448
Filter 32                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
449 450 451 452 453
(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
454 455 456 457 458 459 460 461
  inet/filter/limit-25             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-26
  inet6/filter/limit-25            -m recent --name user:foo --rdest --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
  inet/filter/limit-25             -m recent --name user:foo --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-25            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
462

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
463
Filter 33                          {"conn-limit":{"addr":"dest","count":1,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
464 465 466 467 468
(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
469 470 471 472 473 474
  inet/filter/limit-26             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-27
  inet6/filter/limit-26            -m recent --name user:foo --rdest --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
475 476
  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
477 478
  inet/filter/limit-26             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-26            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
479

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
480
Filter 34                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
481 482 483 484 485
(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
486 487 488 489 490 491 492 493
  inet/filter/limit-27             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-28
  inet6/filter/limit-27            -m recent --name user:foo --rdest --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
  inet/filter/limit-27             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-27            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
494

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
495
Filter 35                          {"conn-limit":{"addr":"dest","count":1,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
496 497 498 499 500
(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
501 502 503 504 505 506 507 508
  inet/filter/limit-28             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-29
  inet6/filter/limit-28            -m recent --name user:foo --rdest --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
  inet/filter/limit-28             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-28            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
509

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
510
Filter 36                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
511 512 513 514 515
(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
516 517 518 519 520 521 522 523
  inet/filter/limit-29             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-30
  inet6/filter/limit-29            -m recent --name user:foo --rdest --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
  inet/filter/limit-29             -m recent --name user:foo --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-29            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
524

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
525
Filter 37                          {"conn-limit":{"addr":"dest","count":1,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
526 527 528 529 530
(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
531 532 533 534 535 536 537 538
  inet/filter/limit-30             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-31
  inet6/filter/limit-30            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --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-30             -j ACCEPT
  inet6/filter/limit-30            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
539

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
540
Filter 38                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
541
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
542 543 544 545
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-32
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-32
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-32
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-32
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
546

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
547
Filter 39                          {"conn-limit":{"addr":"dest","count":1,"name":"foo","update":false},"log":true,"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-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
553 554 555 556 557 558
  inet/filter/limit-32             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-33
  inet6/filter/limit-32            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
559 560
  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
561 562
  inet/filter/limit-32             -j ACCEPT
  inet6/filter/limit-32            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
563

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
564
Filter 40                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
565 566 567 568 569
(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
570 571 572 573 574 575 576 577
  inet/filter/limit-33             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-34
  inet6/filter/limit-33            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --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-33             -m limit --limit 1/second -j LOG
  inet6/filter/limit-33            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
578

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
579
Filter 41                          {"conn-limit":{"addr":"dest","count":1,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
580 581 582 583 584
(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
585 586 587 588 589 590 591 592
  inet/filter/limit-34             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-35
  inet6/filter/limit-34            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --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-34             -j ACCEPT
  inet6/filter/limit-34            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
593

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
594
Filter 42                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
595
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
596 597 598 599
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-36
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-36
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-36
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-36
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
600

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
601
Filter 43                          {"conn-limit":{"count":1,"log":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
602 603 604 605 606
(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
607 608 609 610
  inet/filter/limit-36             -m recent --name limit-36 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-36            -m recent --name limit-36 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-36             -m recent --name limit-36 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-36            -m recent --name limit-36 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
611

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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
623
Filter 45                          {"conn-limit":{"count":1,"log":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
624 625 626 627 628
(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
629 630
  inet/filter/limit-38             -m recent --name limit-38 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-38            -m recent --name limit-38 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
631 632
  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
633 634
  inet/filter/limit-38             -m recent --name limit-38 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-38            -m recent --name limit-38 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
635

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
636
Filter 46                          {"action":"pass","conn-limit":{"count":1,"log":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
637 638 639 640 641
(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
642 643 644 645
  inet/filter/limit-39             -m recent --name limit-39 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-39            -m recent --name limit-39 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-39             -m recent --name limit-39 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-39            -m recent --name limit-39 --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
646

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
647
Filter 47                          {"conn-limit":{"count":1,"log":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
648 649 650 651 652
(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
653 654 655 656
  inet/filter/limit-40             -m recent --name limit-40 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-40            -m recent --name limit-40 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-40             -m recent --name limit-40 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-40            -m recent --name limit-40 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
657

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
658
Filter 48                          {"action":"pass","conn-limit":{"count":1,"log":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
659
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
660 661 662 663 664 665 666 667
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-41
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-41
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-41
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-41
  inet/filter/limit-41             -m recent --name limit-41 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-41            -m recent --name limit-41 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-41             -m recent --name limit-41 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-41            -m recent --name limit-41 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
668

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
669
Filter 49                          {"conn-limit":{"count":1,"log":false,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
670 671 672 673 674
(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
675 676 677 678
  inet/filter/limit-42             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-42            -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-42             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-42            -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
679

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
680
Filter 50                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
681 682 683 684 685
(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
686 687 688 689
  inet/filter/limit-43             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-43            -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-43             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-43            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
690

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
691
Filter 51                          {"conn-limit":{"count":1,"log":false,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
692 693 694 695 696
(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
697 698
  inet/filter/limit-44             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-44            -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
699 700
  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
701 702
  inet/filter/limit-44             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-44            -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
703

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
704
Filter 52                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
705 706 707 708 709
(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
710 711 712 713
  inet/filter/limit-45             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-45            -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-45             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-45            -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
714

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
715
Filter 53                          {"conn-limit":{"count":1,"log":false,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
716 717 718 719 720
(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
721 722 723 724
  inet/filter/limit-46             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-46            -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-46             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-46            -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
725

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
726
Filter 54                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
727 728 729 730 731
(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
732 733 734 735
  inet/filter/limit-47             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-47            -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-47             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-47            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
736

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
737
Filter 55                          {"conn-limit":{"count":1,"log":false,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
738 739 740 741 742
(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
743 744 745 746
  inet/filter/limit-48             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --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 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-48             -j ACCEPT
  inet6/filter/limit-48            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
747

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
748
Filter 56                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
749
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
750 751 752 753
  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
754

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
755
Filter 57                          {"conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
756 757 758 759 760
(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
761 762
  inet/filter/limit-50             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --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 --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
763 764
  inet/filter/limit-50             -m limit --limit 1/second -j LOG
  inet6/filter/limit-50            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
765 766
  inet/filter/limit-50             -j ACCEPT
  inet6/filter/limit-50            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
767

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
768
Filter 58                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
769 770 771 772 773
(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
774 775 776 777
  inet/filter/limit-51             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --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 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-51             -m limit --limit 1/second -j LOG
  inet6/filter/limit-51            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
778

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
779
Filter 59                          {"conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
780 781 782 783 784
(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
785 786 787 788
  inet/filter/limit-52             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --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 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-52             -j ACCEPT
  inet6/filter/limit-52            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
789

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
790
Filter 60                          {"action":"pass","conn-limit":{"count":1,"log":false,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
791
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
792 793 794 795
  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
796

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
797
Filter 61                          {"conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
798 799 800 801 802
(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
803 804 805 806
  inet/filter/limit-54             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-54            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-54             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-54            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
807

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
808
Filter 62                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
809
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
810 811 812 813 814 815 816 817
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-55
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-55
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-55
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-55
  inet/filter/limit-55             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-55            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-55             -m recent --name user:foo --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-55            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
818

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
819
Filter 63                          {"conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
820 821 822 823 824
(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
825 826
  inet/filter/limit-56             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-56            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
827 828
  inet/filter/limit-56             -m limit --limit 1/second -j LOG
  inet6/filter/limit-56            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
829 830
  inet/filter/limit-56             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-56            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
831

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
832
Filter 64                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
833 834 835 836 837
(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
838 839 840 841
  inet/filter/limit-57             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-57            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-57             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-57            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
842

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
843
Filter 65                          {"conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
844 845 846 847 848
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
849 850 851 852
  inet/filter/limit-58             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-58            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-58             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-58            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
853

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
854
Filter 66                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
855
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
856 857 858 859 860 861 862 863
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-59
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-59
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-59
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-59
  inet/filter/limit-59             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-59            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-59             -m recent --name user:foo --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-59            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
864

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
865
Filter 67                          {"conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
866 867 868 869 870
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
871 872 873 874 875 876 877 878 879 880 881 882 883
  inet/filter/limit-60             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-60            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-60             -j ACCEPT
  inet6/filter/limit-60            -j ACCEPT

Filter 68                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo","update":false},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --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 --rdest --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 --rdest --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 --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP

Filter 69                          {"conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
884 885 886 887 888
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
889 890
  inet/filter/limit-62             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-62            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
891 892
  inet/filter/limit-62             -m limit --limit 1/second -j LOG
  inet6/filter/limit-62            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
893 894
  inet/filter/limit-62             -j ACCEPT
  inet6/filter/limit-62            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
895

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
896
Filter 70                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
897 898 899 900 901
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
902 903
  inet/filter/limit-63             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-63            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
904 905 906
  inet/filter/limit-63             -m limit --limit 1/second -j LOG
  inet6/filter/limit-63            -m limit --limit 1/second -j LOG

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
907
Filter 71                          {"conn-limit":{"addr":"dest","count":1,"log":false,"name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
908 909 910 911 912
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
913 914 915 916 917 918 919 920 921 922 923 924 925
  inet/filter/limit-64             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-64            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-64             -j ACCEPT
  inet6/filter/limit-64            -j ACCEPT

Filter 72                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":false,"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 --rdest --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 --rdest --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 --rdest --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 --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP

Filter 73                          {"conn-limit":{"count":1,"log":"none"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
926 927 928 929 930
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
931 932 933 934
  inet/filter/limit-66             -m recent --name limit-66 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-66            -m recent --name limit-66 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-66             -m recent --name limit-66 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-66            -m recent --name limit-66 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
935

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
936
Filter 74                          {"action":"pass","conn-limit":{"count":1,"log":"none"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
937 938 939 940 941
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
942 943 944 945
  inet/filter/limit-67             -m recent --name limit-67 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-67            -m recent --name limit-67 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-67             -m recent --name limit-67 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-67            -m recent --name limit-67 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
946

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
947
Filter 75                          {"conn-limit":{"count":1,"log":"none"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
948 949 950 951 952
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
953 954 955 956 957 958
  inet/filter/limit-68             -m recent --name limit-68 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-68            -m recent --name limit-68 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-68             -m limit --limit 1/second -j LOG
  inet6/filter/limit-68            -m limit --limit 1/second -j LOG
  inet/filter/limit-68             -m recent --name limit-68 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-68            -m recent --name limit-68 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
959

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
960
Filter 76                          {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
961 962 963 964 965
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
966 967 968 969
  inet/filter/limit-69             -m recent --name limit-69 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-69            -m recent --name limit-69 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-69             -m recent --name limit-69 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-69            -m recent --name limit-69 --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
970

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
971
Filter 77                          {"conn-limit":{"count":1,"log":"none"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
972 973 974 975 976
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
977 978 979 980
  inet/filter/limit-70             -m recent --name limit-70 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-70            -m recent --name limit-70 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-70             -m recent --name limit-70 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-70            -m recent --name limit-70 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
981

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
982
Filter 78                          {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
983 984 985 986 987
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
988 989 990 991
  inet/filter/limit-71             -m recent --name limit-71 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-71            -m recent --name limit-71 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-71             -m recent --name limit-71 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-71            -m recent --name limit-71 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
992

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
993
Filter 79                          {"conn-limit":{"count":1,"log":"none","name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
994 995 996 997 998
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
999 1000 1001 1002
  inet/filter/limit-72             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-72            -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-72             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-72            -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
1003

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1004
Filter 80                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1005 1006 1007 1008 1009
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1010 1011 1012 1013
  inet/filter/limit-73             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-73            -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-73             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-73            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1014

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1015
Filter 81                          {"conn-limit":{"count":1,"log":"none","name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1016 1017 1018 1019 1020
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1021 1022 1023 1024 1025 1026
  inet/filter/limit-74             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-74            -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-74             -m limit --limit 1/second -j LOG
  inet6/filter/limit-74            -m limit --limit 1/second -j LOG
  inet/filter/limit-74             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-74            -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
1027

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1028
Filter 82                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1029
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1030 1031 1032 1033
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
  inet/filter/limit-75             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-75            -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-75             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-75            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 83                          {"conn-limit":{"count":1,"log":"none","name":"foo"},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-76
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-76
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-76
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-76
  inet/filter/limit-76             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-76            -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-76             -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-76            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 84                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo"},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-77
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-77
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-77
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-77
  inet/filter/limit-77             -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-77            -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-77             -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-77            -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

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

Filter 86                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1073
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1074 1075 1076 1077
  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
1078

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114
Filter 87                          {"conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-80
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-80
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-80
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-80
  inet/filter/limit-80             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-80            -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-80             -m limit --limit 1/second -j LOG
  inet6/filter/limit-80            -m limit --limit 1/second -j LOG
  inet/filter/limit-80             -j ACCEPT
  inet6/filter/limit-80            -j ACCEPT

Filter 88                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-81
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-81
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-81
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-81
  inet/filter/limit-81             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-81            -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-81             -m limit --limit 1/second -j LOG
  inet6/filter/limit-81            -m limit --limit 1/second -j LOG

Filter 89                          {"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-82
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-82
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-82
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-82
  inet/filter/limit-82             -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-82            -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-82             -j ACCEPT
  inet6/filter/limit-82            -j ACCEPT

Filter 90                          {"action":"pass","conn-limit":{"count":1,"log":"none","name":"foo","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1115
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1116 1117 1118 1119
  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
1120

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
Filter 91                          {"conn-limit":{"addr":"dest","count":1,"log":"none","name":"foo"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-84
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-84
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-84
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-84
  inet/filter/limit-84             -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-84            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-84             -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-84            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

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

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

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

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

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

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

Filter 98                          {"action":"pass","conn-limit":{"addr":"dest","count":1,"log":"none","name":"foo","update":false},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --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 --rdest --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 --rdest --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 --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP

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

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

Filter 101                         {"conn-limit":{"addr":"dest","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-94
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-94
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-94
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-94
  inet/filter/limit-94             -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-94            -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-94             -j ACCEPT
  inet6/filter/limit-94            -j ACCEPT

Filter 102                         {"action":"pass","conn-limit":{"addr":"dest","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 --rdest --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 --rdest --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 --rdest --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 --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP

1249
Filter 103                         {"conn-limit":{"count":1,"interval":5},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1250 1251 1252 1253 1254
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-96
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-96
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-96
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-96
1255 1256 1257 1258 1259 1260 1261 1262
  inet/filter/limit-96             -m recent --name limit-96 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-37
  inet6/filter/limit-96            -m recent --name limit-96 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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-96             -m recent --name limit-96 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-96            -m recent --name limit-96 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1263

1264
Filter 104                         {"action":"pass","conn-limit":{"count":1,"interval":5},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1265 1266 1267 1268 1269
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-97
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-97
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-97
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-97
1270 1271 1272 1273 1274 1275 1276 1277
  inet/filter/limit-97             -m recent --name limit-97 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-38
  inet6/filter/limit-97            -m recent --name limit-97 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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-97             -m recent --name limit-97 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-97            -m recent --name limit-97 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1278

1279
Filter 105                         {"conn-limit":{"count":1,"interval":5},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1280 1281 1282 1283 1284
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-98
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-98
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-98
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-98
1285 1286 1287 1288 1289 1290
  inet/filter/limit-98             -m recent --name limit-98 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-39
  inet6/filter/limit-98            -m recent --name limit-98 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1291 1292
  inet/filter/limit-98             -m limit --limit 1/second -j LOG
  inet6/filter/limit-98            -m limit --limit 1/second -j LOG
1293 1294
  inet/filter/limit-98             -m recent --name limit-98 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-98            -m recent --name limit-98 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1295

1296
Filter 106                         {"action":"pass","conn-limit":{"count":1,"interval":5},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1297 1298 1299 1300 1301
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-99
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-99
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-99
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-99
1302 1303 1304 1305 1306 1307 1308 1309
  inet/filter/limit-99             -m recent --name limit-99 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-40
  inet6/filter/limit-99            -m recent --name limit-99 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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-99             -m recent --name limit-99 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-99            -m recent --name limit-99 --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
1310

1311
Filter 107                         {"conn-limit":{"count":1,"interval":5},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1312 1313 1314 1315 1316
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-100
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-100
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-100
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-100
1317 1318 1319 1320 1321 1322 1323 1324
  inet/filter/limit-100            -m recent --name limit-100 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-41
  inet6/filter/limit-100           -m recent --name limit-100 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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-100            -m recent --name limit-100 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-100           -m recent --name limit-100 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1325

1326
Filter 108                         {"action":"pass","conn-limit":{"count":1,"interval":5},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1327 1328 1329 1330 1331
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-101
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-101
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-101
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-101
1332 1333 1334 1335 1336 1337 1338 1339
  inet/filter/limit-101            -m recent --name limit-101 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-42
  inet6/filter/limit-101           -m recent --name limit-101 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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-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
1340

1341
Filter 109                         {"conn-limit":{"count":1,"interval":5,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1342 1343 1344 1345 1346
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-102
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-102
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-102
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-102
1347 1348 1349 1350 1351 1352 1353 1354
  inet/filter/limit-102            -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-43
  inet6/filter/limit-102           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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
  inet/filter/limit-102            -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-102           -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
1355

1356
Filter 110                         {"action":"pass","conn-limit":{"count":1,"interval":5,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1357 1358 1359 1360 1361
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-103
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-103
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-103
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-103
1362 1363 1364 1365 1366 1367 1368 1369
  inet/filter/limit-103            -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-44
  inet6/filter/limit-103           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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
  inet/filter/limit-103            -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-103           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1370

1371
Filter 111                         {"conn-limit":{"count":1,"interval":5,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1372 1373 1374 1375 1376
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-104
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-104
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-104
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-104
1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
  inet/filter/limit-104            -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-45
  inet6/filter/limit-104           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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/limit-104            -m limit --limit 1/second -j LOG
  inet6/filter/limit-104           -m limit --limit 1/second -j LOG
  inet/filter/limit-104            -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-104           -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
1387

1388
Filter 112                         {"action":"pass","conn-limit":{"count":1,"interval":5,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1389 1390 1391 1392 1393
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-105
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-105
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-105
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-105
1394 1395 1396 1397 1398 1399 1400 1401
  inet/filter/limit-105            -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-46
  inet6/filter/limit-105           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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-105            -m recent --name user:foo --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-105           -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
1402

1403
Filter 113                         {"conn-limit":{"count":1,"interval":5,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1404 1405 1406 1407 1408
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-106
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-106
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-106
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-106
1409 1410 1411 1412 1413 1414 1415 1416
  inet/filter/limit-106            -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-47
  inet6/filter/limit-106           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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
  inet/filter/limit-106            -m recent --name user:foo --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-106           -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
1417

1418
Filter 114                         {"action":"pass","conn-limit":{"count":1,"interval":5,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1419 1420 1421 1422 1423
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-107
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-107
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-107
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-107
1424 1425 1426 1427 1428 1429 1430 1431
  inet/filter/limit-107            -m recent --name user:foo --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-48
  inet6/filter/limit-107           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -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
  inet/filter/limit-107            -m recent --name user:foo --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-107           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1432

1433
Filter 115                         {"conn-limit":{"count":1,"interval":5,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1434 1435 1436 1437 1438
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-108
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-108
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-108
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-108
1439 1440 1441 1442 1443 1444 1445 1446
  inet/filter/limit-108            -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-49
  inet6/filter/limit-108           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-49
  inet/filter/logdrop-49           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-49          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-49           -j DROP
  inet6/filter/logdrop-49          -j DROP
  inet/filter/limit-108            -j ACCEPT
  inet6/filter/limit-108           -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1447

1448
Filter 116                         {"action":"pass","conn-limit":{"count":1,"interval":5,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1449
(filter-limit)                     
1450 1451 1452 1453
  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 5 -j logdrop-50
  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 5 -j logdrop-50
  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 5 -j logdrop-50
  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 5 -j logdrop-50
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1454

1455
Filter 117                         {"conn-limit":{"count":1,"interval":5,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1456 1457 1458 1459 1460
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-110
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-110
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-110
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-110
1461 1462
  inet/filter/limit-110            -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-51
  inet6/filter/limit-110           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-51
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1463 1464 1465 1466
  inet/filter/logdrop-51           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-51          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-51           -j DROP
  inet6/filter/logdrop-51          -j DROP
1467 1468 1469 1470
  inet/filter/limit-110            -m limit --limit 1/second -j LOG
  inet6/filter/limit-110           -m limit --limit 1/second -j LOG
  inet/filter/limit-110            -j ACCEPT
  inet6/filter/limit-110           -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1471

1472
Filter 118                         {"action":"pass","conn-limit":{"count":1,"interval":5,"name":"foo","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1473
(filter-limit)                     
1474 1475 1476 1477 1478 1479
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-111
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-111
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-111
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-111
  inet/filter/limit-111            -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-52
  inet6/filter/limit-111           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-52
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1480 1481 1482 1483
  inet/filter/logdrop-52           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-52          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-52           -j DROP
  inet6/filter/logdrop-52          -j DROP
1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494
  inet/filter/limit-111            -m limit --limit 1/second -j LOG
  inet6/filter/limit-111           -m limit --limit 1/second -j LOG

Filter 119                         {"conn-limit":{"count":1,"interval":5,"name":"foo","update":false},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-112
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-112
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-112
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-112
  inet/filter/limit-112            -m recent --name user:foo --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-53
  inet6/filter/limit-112           -m recent --name user:foo --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-53
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1495 1496 1497 1498
  inet/filter/logdrop-53           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-53          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-53           -j DROP
  inet6/filter/logdrop-53          -j DROP
1499 1500 1501 1502 1503 1504 1505 1506 1507
  inet/filter/limit-112            -j ACCEPT
  inet6/filter/limit-112           -j ACCEPT

Filter 120                         {"action":"pass","conn-limit":{"count":1,"interval":5,"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 5 -j logdrop-54
  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 5 -j logdrop-54
  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 5 -j logdrop-54
  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 5 -j logdrop-54
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1508

1509 1510 1511 1512 1513 1514 1515 1516
Filter 121                         {"conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-114
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-114
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-114
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-114
  inet/filter/limit-114            -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-55
  inet6/filter/limit-114           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -j logdrop-55
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1517 1518 1519 1520
  inet/filter/logdrop-55           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-55          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-55           -j DROP
  inet6/filter/logdrop-55          -j DROP
1521 1522
  inet/filter/limit-114            -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-114           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1523

1524
Filter 122                         {"action":"pass","conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1525
(filter-limit)                     
1526 1527 1528 1529 1530 1531
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-115
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-115
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-115
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-115
  inet/filter/limit-115            -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-56
  inet6/filter/limit-115           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -j logdrop-56
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1532 1533 1534 1535
  inet/filter/logdrop-56           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-56          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-56           -j DROP
  inet6/filter/logdrop-56          -j DROP
1536 1537
  inet/filter/limit-115            -m recent --name user:foo --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-115           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1538

1539
Filter 123                         {"conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1540
(filter-limit)                     
1541 1542 1543 1544 1545 1546
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-116
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-116
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-116
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-116
  inet/filter/limit-116            -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-57
  inet6/filter/limit-116           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -j logdrop-57
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1547 1548 1549 1550
  inet/filter/logdrop-57           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-57          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-57           -j DROP
  inet6/filter/logdrop-57          -j DROP
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563
  inet/filter/limit-116            -m limit --limit 1/second -j LOG
  inet6/filter/limit-116           -m limit --limit 1/second -j LOG
  inet/filter/limit-116            -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-116           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 124                         {"action":"pass","conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo"},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-117
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-117
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-117
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-117
  inet/filter/limit-117            -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-58
  inet6/filter/limit-117           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -j logdrop-58
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1564 1565 1566 1567
  inet/filter/logdrop-58           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-58          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-58           -j DROP
  inet6/filter/logdrop-58          -j DROP
1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578
  inet/filter/limit-117            -m recent --name user:foo --rdest --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-117           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 125                         {"conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo"},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-118
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-118
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-118
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-118
  inet/filter/limit-118            -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-59
  inet6/filter/limit-118           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -j logdrop-59
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1579 1580 1581 1582
  inet/filter/logdrop-59           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-59          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-59           -j DROP
  inet6/filter/logdrop-59          -j DROP
1583 1584
  inet/filter/limit-118            -m recent --name user:foo --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-118           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1585

1586
Filter 126                         {"action":"pass","conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1587
(filter-limit)                     
1588 1589 1590 1591 1592 1593
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-119
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-119
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-119
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-119
  inet/filter/limit-119            -m recent --name user:foo --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 5 -j logdrop-60
  inet6/filter/limit-119           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 5 -j logdrop-60
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1594 1595 1596 1597
  inet/filter/logdrop-60           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-60          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-60           -j DROP
  inet6/filter/logdrop-60          -j DROP
1598 1599
  inet/filter/limit-119            -m recent --name user:foo --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-119           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1600

1601
Filter 127                         {"conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1602
(filter-limit)                     
1603 1604 1605 1606 1607 1608
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-120
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-120
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-120
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-120
  inet/filter/limit-120            -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-61
  inet6/filter/limit-120           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-61
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1609 1610 1611 1612
  inet/filter/logdrop-61           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-61          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-61           -j DROP
  inet6/filter/logdrop-61          -j DROP
1613 1614 1615 1616 1617 1618 1619 1620 1621
  inet/filter/limit-120            -j ACCEPT
  inet6/filter/limit-120           -j ACCEPT

Filter 128                         {"action":"pass","conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo","update":false},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-62
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-62
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-62
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-62
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1622

1623 1624 1625 1626 1627 1628 1629 1630
Filter 129                         {"conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo","update":false},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-122
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-122
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-122
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-122
  inet/filter/limit-122            -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-63
  inet6/filter/limit-122           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-63
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1631 1632 1633 1634
  inet/filter/logdrop-63           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-63          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-63           -j DROP
  inet6/filter/logdrop-63          -j DROP
1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647
  inet/filter/limit-122            -m limit --limit 1/second -j LOG
  inet6/filter/limit-122           -m limit --limit 1/second -j LOG
  inet/filter/limit-122            -j ACCEPT
  inet6/filter/limit-122           -j ACCEPT

Filter 130                         {"action":"pass","conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo","update":false},"log":true,"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-123
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-123
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-123
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-123
  inet/filter/limit-123            -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-64
  inet6/filter/limit-123           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-64
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1648 1649 1650 1651
  inet/filter/logdrop-64           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-64          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-64           -j DROP
  inet6/filter/logdrop-64          -j DROP
1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662
  inet/filter/limit-123            -m limit --limit 1/second -j LOG
  inet6/filter/limit-123           -m limit --limit 1/second -j LOG

Filter 131                         {"conn-limit":{"addr":"dest","count":1,"interval":5,"name":"foo","update":false},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-124
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-124
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-124
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-124
  inet/filter/limit-124            -m recent --name user:foo --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 5 -j logdrop-65
  inet6/filter/limit-124           -m recent --name user:foo --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 5 -j logdrop-65
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1663 1664 1665 1666
  inet/filter/logdrop-65           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-65          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-65           -j DROP
  inet6/filter/logdrop-65          -j DROP
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054