dump 1.83 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
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 

173
Filter 13                          {"conn-limit":{},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187
(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

188
Filter 14                          {"action":"pass","conn-limit":{},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
189 190 191 192 193 194 195 196 197 198 199 200 201 202
(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 

203
Filter 15                          {"conn-limit":{},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
(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

220
Filter 16                          {"action":"pass","conn-limit":{},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
221 222 223 224 225 226 227 228 229 230 231 232 233 234
(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

235
Filter 17                          {"conn-limit":{},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
236 237 238 239 240 241 242 243 244 245 246 247 248 249
(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

250
Filter 18                          {"action":"pass","conn-limit":{},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
251 252 253 254 255 256 257 258 259 260 261 262 263 264
(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 

265
Filter 19                          {"conn-limit":{"name":"A"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
266 267 268 269 270
(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
271 272
  inet/filter/limit-12             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-13
  inet6/filter/limit-12            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
273 274 275 276
  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
277 278
  inet/filter/limit-12             -m recent --name user:A --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-12            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
279

280
Filter 20                          {"action":"pass","conn-limit":{"name":"A"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
281 282 283 284 285
(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
286 287
  inet/filter/limit-13             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-14
  inet6/filter/limit-13            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
288 289 290 291
  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
292 293
  inet/filter/limit-13             -m recent --name user:A --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-13            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
294

295
Filter 21                          {"conn-limit":{"name":"A"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
296 297 298 299 300
(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
301 302
  inet/filter/limit-14             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-15
  inet6/filter/limit-14            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-15
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
303 304 305 306 307 308
  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
309 310
  inet/filter/limit-14             -m recent --name user:A --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-14            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
311

312
Filter 22                          {"action":"pass","conn-limit":{"name":"A"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
313 314 315 316 317
(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
318 319
  inet/filter/limit-15             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-16
  inet6/filter/limit-15            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-16
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
320 321 322 323
  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
324 325
  inet/filter/limit-15             -m recent --name user:A --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-15            -m recent --name user:A --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
326

327
Filter 23                          {"conn-limit":{"name":"A"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
328 329 330 331 332
(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
333 334
  inet/filter/limit-16             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-17
  inet6/filter/limit-16            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-17
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
335 336 337 338
  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
339 340
  inet/filter/limit-16             -m recent --name user:A --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-16            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
341

342
Filter 24                          {"action":"pass","conn-limit":{"name":"A"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
343 344 345 346 347
(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
348 349
  inet/filter/limit-17             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-18
  inet6/filter/limit-17            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-18
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
350 351 352 353
  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
354 355
  inet/filter/limit-17             -m recent --name user:A --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-17            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
356

357
Filter 25                          {"conn-limit":{"name":"A","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
363 364
  inet/filter/limit-18             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-19
  inet6/filter/limit-18            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-19
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
365 366 367 368 369 370
  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

372
Filter 26                          {"action":"pass","conn-limit":{"name":"A","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
373
(filter-limit)                     
374 375 376 377
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --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

379
Filter 27                          {"conn-limit":{"name":"A","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
385 386
  inet/filter/limit-20             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-21
  inet6/filter/limit-20            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-21
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
387 388 389 390
  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

396
Filter 28                          {"action":"pass","conn-limit":{"name":"A","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
402 403
  inet/filter/limit-21             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-22
  inet6/filter/limit-21            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-22
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
404 405 406 407 408 409
  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

411
Filter 29                          {"conn-limit":{"name":"A","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
417 418
  inet/filter/limit-22             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-23
  inet6/filter/limit-22            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-23
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
419 420 421 422 423 424
  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

426
Filter 30                          {"action":"pass","conn-limit":{"name":"A","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
427
(filter-limit)                     
428 429 430 431
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --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

433
Filter 31                          {"conn-limit":{"addr":"dest","name":"A"},"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
439 440
  inet/filter/limit-24             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-25
  inet6/filter/limit-24            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-25
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
441 442 443 444
  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
445 446
  inet/filter/limit-24             -m recent --name user:A --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-24            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
447

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

463
Filter 33                          {"conn-limit":{"addr":"dest","name":"A"},"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
469 470
  inet/filter/limit-26             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-27
  inet6/filter/limit-26            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j logdrop-27
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
471 472 473 474
  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
477 478
  inet/filter/limit-26             -m recent --name user:A --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-26            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
479

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

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

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

525
Filter 37                          {"conn-limit":{"addr":"dest","name":"A","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
531 532
  inet/filter/limit-30             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-31
  inet6/filter/limit-30            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-31
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
533 534 535 536 537 538
  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

540
Filter 38                          {"action":"pass","conn-limit":{"addr":"dest","name":"A","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
541
(filter-limit)                     
542 543 544 545
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --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

547
Filter 39                          {"conn-limit":{"addr":"dest","name":"A","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
553 554
  inet/filter/limit-32             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-33
  inet6/filter/limit-32            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-33
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
555 556 557 558
  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

564
Filter 40                          {"action":"pass","conn-limit":{"addr":"dest","name":"A","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
570 571
  inet/filter/limit-33             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-34
  inet6/filter/limit-33            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-34
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
572 573 574 575 576 577
  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

579
Filter 41                          {"conn-limit":{"addr":"dest","name":"A","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
585 586
  inet/filter/limit-34             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j logdrop-35
  inet6/filter/limit-34            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j logdrop-35
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
587 588 589 590 591 592
  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

594
Filter 42                          {"action":"pass","conn-limit":{"addr":"dest","name":"A","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
595
(filter-limit)                     
596 597 598 599
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --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":{"name":"C"},"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 611 612 613 614
  inet/filter/limit-36             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-37
  inet6/filter/limit-36            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-37
  inet/filter/logdrop-37           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-37          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-37           -j DROP
  inet6/filter/logdrop-37          -j DROP
  inet/filter/limit-36             -m recent --name user:C --rsource --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-36            -m recent --name user:C --rsource --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
615

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
616
Filter 44                          {"action":"pass","conn-limit":{"name":"C"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
617
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
622 623 624 625 626 627 628 629
  inet/filter/limit-37             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-38
  inet6/filter/limit-37            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-38
  inet/filter/logdrop-38           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-38          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-38           -j DROP
  inet6/filter/logdrop-38          -j DROP
  inet/filter/limit-37             -m recent --name user:C --rsource --mask 254.0.0.0 --set 
  inet6/filter/limit-37            -m recent --name user:C --rsource --mask fe00:: --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
630

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
631
Filter 45                          {"conn-limit":{"name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
632 633 634 635 636
(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
637 638 639 640 641 642
  inet/filter/limit-38             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-39
  inet6/filter/limit-38            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-39
  inet/filter/logdrop-39           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-39          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-39           -j DROP
  inet6/filter/logdrop-39          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
643 644
  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
645 646
  inet/filter/limit-38             -m recent --name user:C --rsource --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-38            -m recent --name user:C --rsource --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
647

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
648
Filter 46                          {"action":"pass","conn-limit":{"name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
649 650 651 652 653
(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
654 655 656 657 658 659 660 661
  inet/filter/limit-39             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-40
  inet6/filter/limit-39            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-40
  inet/filter/logdrop-40           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-40          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-40           -j DROP
  inet6/filter/logdrop-40          -j DROP
  inet/filter/limit-39             -m recent --name user:C --rsource --mask 254.0.0.0 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-39            -m recent --name user:C --rsource --mask fe00:: --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
662

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
663
Filter 47                          {"conn-limit":{"name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
664 665 666 667 668
(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
669 670 671 672 673 674 675 676
  inet/filter/limit-40             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-41
  inet6/filter/limit-40            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-41
  inet/filter/logdrop-41           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-41          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-41           -j DROP
  inet6/filter/logdrop-41          -j DROP
  inet/filter/limit-40             -m recent --name user:C --rsource --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-40            -m recent --name user:C --rsource --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
677

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
678
Filter 48                          {"action":"pass","conn-limit":{"name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
679
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
680 681 682 683
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
684 685 686 687 688 689 690 691
  inet/filter/limit-41             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-42
  inet6/filter/limit-41            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-42
  inet/filter/logdrop-42           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-42          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-42           -j DROP
  inet6/filter/logdrop-42          -j DROP
  inet/filter/limit-41             -m recent --name user:C --rsource --mask 254.0.0.0 --set 
  inet6/filter/limit-41            -m recent --name user:C --rsource --mask fe00:: --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
692

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
693
Filter 49                          {"conn-limit":{"name":"C","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
694 695 696 697 698
(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
699 700 701 702 703 704 705 706
  inet/filter/limit-42             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-43
  inet6/filter/limit-42            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-43
  inet/filter/logdrop-43           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-43          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-43           -j DROP
  inet6/filter/logdrop-43          -j DROP
  inet/filter/limit-42             -j ACCEPT
  inet6/filter/limit-42            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
707

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
708
Filter 50                          {"action":"pass","conn-limit":{"name":"C","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
709
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
710 711 712 713
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-44
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-44
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-44
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-44
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
714

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
715
Filter 51                          {"conn-limit":{"name":"C","update":false},"log":true,"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-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
721 722 723 724 725 726
  inet/filter/limit-44             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-45
  inet6/filter/limit-44            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-45
  inet/filter/logdrop-45           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-45          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-45           -j DROP
  inet6/filter/logdrop-45          -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
727 728
  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
729 730
  inet/filter/limit-44             -j ACCEPT
  inet6/filter/limit-44            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
731

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
732
Filter 52                          {"action":"pass","conn-limit":{"name":"C","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
733 734 735 736 737
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-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
738 739 740 741 742 743 744 745
  inet/filter/limit-45             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-46
  inet6/filter/limit-45            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-46
  inet/filter/logdrop-46           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-46          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-46           -j DROP
  inet6/filter/logdrop-46          -j DROP
  inet/filter/limit-45             -m limit --limit 1/second -j LOG
  inet6/filter/limit-45            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
746

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
747
Filter 53                          {"conn-limit":{"name":"C","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
748 749 750 751 752
(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
753 754 755 756 757 758 759 760
  inet/filter/limit-46             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-47
  inet6/filter/limit-46            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-47
  inet/filter/logdrop-47           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-47          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-47           -j DROP
  inet6/filter/logdrop-47          -j DROP
  inet/filter/limit-46             -j ACCEPT
  inet6/filter/limit-46            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
761

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
762
Filter 54                          {"action":"pass","conn-limit":{"name":"C","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
763
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
764 765 766 767
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-48
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-48
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-48
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-48
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
768

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
769
Filter 55                          {"conn-limit":{"addr":"dest","name":"C"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
770 771 772 773 774
(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
775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799
  inet/filter/limit-48             -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-49
  inet6/filter/limit-48            -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -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-48             -m recent --name user:C --rdest --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-48            -m recent --name user:C --rdest --mask fe00:: --set -j ACCEPT

Filter 56                          {"action":"pass","conn-limit":{"addr":"dest","name":"C"},"out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-49
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-49
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-49
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-49
  inet/filter/limit-49             -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-50
  inet6/filter/limit-49            -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-50
  inet/filter/logdrop-50           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-50          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-50           -j DROP
  inet6/filter/logdrop-50          -j DROP
  inet/filter/limit-49             -m recent --name user:C --rdest --mask 254.0.0.0 --set 
  inet6/filter/limit-49            -m recent --name user:C --rdest --mask fe00:: --set 

Filter 57                          {"conn-limit":{"addr":"dest","name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
800 801 802 803 804
(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
805 806 807 808 809 810
  inet/filter/limit-50             -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-51
  inet6/filter/limit-50            -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-51
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
811 812
  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
813 814
  inet/filter/limit-50             -m recent --name user:C --rdest --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-50            -m recent --name user:C --rdest --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
815

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
816
Filter 58                          {"action":"pass","conn-limit":{"addr":"dest","name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
817 818 819 820 821
(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
822 823 824 825 826 827 828 829
  inet/filter/limit-51             -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-52
  inet6/filter/limit-51            -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-52
  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
  inet/filter/limit-51             -m recent --name user:C --rdest --mask 254.0.0.0 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-51            -m recent --name user:C --rdest --mask fe00:: --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
830

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
831
Filter 59                          {"conn-limit":{"addr":"dest","name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
832 833 834 835 836
(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
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861
  inet/filter/limit-52             -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-53
  inet6/filter/limit-52            -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-53
  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
  inet/filter/limit-52             -m recent --name user:C --rdest --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-52            -m recent --name user:C --rdest --mask fe00:: --set -j ACCEPT

Filter 60                          {"action":"pass","conn-limit":{"addr":"dest","name":"C"},"log":"none","out":"B"}
(filter-limit)                     
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-53
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-53
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-53
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-53
  inet/filter/limit-53             -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j logdrop-54
  inet6/filter/limit-53            -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j logdrop-54
  inet/filter/logdrop-54           -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-54          -m limit --limit 1/second -j LOG
  inet/filter/logdrop-54           -j DROP
  inet6/filter/logdrop-54          -j DROP
  inet/filter/limit-53             -m recent --name user:C --rdest --mask 254.0.0.0 --set 
  inet6/filter/limit-53            -m recent --name user:C --rdest --mask fe00:: --set 

Filter 61                          {"conn-limit":{"addr":"dest","name":"C","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
862 863 864 865 866
(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
867 868 869 870 871 872 873 874
  inet/filter/limit-54             -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-55
  inet6/filter/limit-54            -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-55
  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
  inet/filter/limit-54             -j ACCEPT
  inet6/filter/limit-54            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
875

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
876
Filter 62                          {"action":"pass","conn-limit":{"addr":"dest","name":"C","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
877
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
878 879 880 881
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-56
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-56
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-56
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-56
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
882

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
883
Filter 63                          {"conn-limit":{"addr":"dest","name":"C","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-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
889 890 891 892 893 894
  inet/filter/limit-56             -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-57
  inet6/filter/limit-56            -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-57
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
895 896
  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
897 898
  inet/filter/limit-56             -j ACCEPT
  inet6/filter/limit-56            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
899

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
900
Filter 64                          {"action":"pass","conn-limit":{"addr":"dest","name":"C","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
901 902 903 904 905
(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
906 907 908 909 910 911 912 913
  inet/filter/limit-57             -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-58
  inet6/filter/limit-57            -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-58
  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
  inet/filter/limit-57             -m limit --limit 1/second -j LOG
  inet6/filter/limit-57            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
914

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
915
Filter 65                          {"conn-limit":{"addr":"dest","name":"C","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
916 917 918 919 920
(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
921 922 923 924 925 926 927 928
  inet/filter/limit-58             -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-59
  inet6/filter/limit-58            -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-59
  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
  inet/filter/limit-58             -j ACCEPT
  inet6/filter/limit-58            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
929

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
930
Filter 66                          {"action":"pass","conn-limit":{"addr":"dest","name":"C","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
931
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
932 933 934 935
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-60
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rdest --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j logdrop-60
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-60
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:C --rdest --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j logdrop-60
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
936

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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
948
Filter 68                          {"action":"pass","conn-limit":{"log":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
949
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
950 951 952 953 954 955 956 957
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-61
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-61
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-61
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-61
  inet/filter/limit-61             -m recent --name limit-61 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-61            -m recent --name limit-61 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-61             -m recent --name limit-61 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-61            -m recent --name limit-61 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
958

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

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

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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
994
Filter 72                          {"action":"pass","conn-limit":{"log":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
995
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
996 997 998 999 1000 1001 1002 1003
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-65
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-65
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-65
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-65
  inet/filter/limit-65             -m recent --name limit-65 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-65            -m recent --name limit-65 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-65             -m recent --name limit-65 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-65            -m recent --name limit-65 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1004

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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1016
Filter 74                          {"action":"pass","conn-limit":{"log":false,"name":"A"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1017 1018 1019 1020 1021
(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
1022 1023 1024 1025
  inet/filter/limit-67             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-67            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-67             -m recent --name user:A --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-67            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1026

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1027
Filter 75                          {"conn-limit":{"log":false,"name":"A"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1028 1029 1030 1031 1032
(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
1033 1034
  inet/filter/limit-68             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-68            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1035 1036
  inet/filter/limit-68             -m limit --limit 1/second -j LOG
  inet6/filter/limit-68            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1037 1038
  inet/filter/limit-68             -m recent --name user:A --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-68            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1039

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1040
Filter 76                          {"action":"pass","conn-limit":{"log":false,"name":"A"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1041 1042 1043 1044 1045
(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
1046 1047 1048 1049
  inet/filter/limit-69             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-69            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-69             -m recent --name user:A --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-69            -m recent --name user:A --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
1050

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1051
Filter 77                          {"conn-limit":{"log":false,"name":"A"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1052 1053 1054 1055 1056
(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
1057 1058 1059 1060
  inet/filter/limit-70             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-70            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-70             -m recent --name user:A --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-70            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1061

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1062
Filter 78                          {"action":"pass","conn-limit":{"log":false,"name":"A"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1063 1064 1065 1066 1067
(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
1068 1069 1070 1071
  inet/filter/limit-71             -m recent --name user:A --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-71            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-71             -m recent --name user:A --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-71            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1072

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1073
Filter 79                          {"conn-limit":{"log":false,"name":"A","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1074 1075 1076 1077 1078
(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
1079 1080 1081 1082
  inet/filter/limit-72             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-72            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-72             -j ACCEPT
  inet6/filter/limit-72            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1083

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1084
Filter 80                          {"action":"pass","conn-limit":{"log":false,"name":"A","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1085
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1086 1087 1088 1089
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1090

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1091
Filter 81                          {"conn-limit":{"log":false,"name":"A","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1092 1093 1094 1095 1096
(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
1097 1098
  inet/filter/limit-74             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-74            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1099 1100
  inet/filter/limit-74             -m limit --limit 1/second -j LOG
  inet6/filter/limit-74            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1101 1102
  inet/filter/limit-74             -j ACCEPT
  inet6/filter/limit-74            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1103

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1104
Filter 82                          {"action":"pass","conn-limit":{"log":false,"name":"A","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1105
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1106 1107 1108 1109
  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
1110 1111 1112 1113
  inet/filter/limit-75             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-75            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-75             -m limit --limit 1/second -j LOG
  inet6/filter/limit-75            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1114

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1115
Filter 83                          {"conn-limit":{"log":false,"name":"A","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1116 1117 1118 1119 1120
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1121 1122 1123 1124
  inet/filter/limit-76             -m recent --name user:A --rsource --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-76            -m recent --name user:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-76             -j ACCEPT
  inet6/filter/limit-76            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1125

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1126
Filter 84                          {"action":"pass","conn-limit":{"log":false,"name":"A","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1127
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1128 1129 1130 1131
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1132

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1133
Filter 85                          {"conn-limit":{"addr":"dest","log":false,"name":"A"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1134 1135 1136 1137 1138
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1139 1140 1141 1142
  inet/filter/limit-78             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-78            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-78             -m recent --name user:A --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-78            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1143

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1144
Filter 86                          {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"A"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1145
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1146 1147 1148 1149 1150 1151 1152 1153
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-79
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-79
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-79
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-79
  inet/filter/limit-79             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-79            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-79             -m recent --name user:A --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-79            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1154

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1155
Filter 87                          {"conn-limit":{"addr":"dest","log":false,"name":"A"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1156 1157 1158 1159 1160
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1161 1162
  inet/filter/limit-80             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-80            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1163 1164
  inet/filter/limit-80             -m limit --limit 1/second -j LOG
  inet6/filter/limit-80            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1165 1166
  inet/filter/limit-80             -m recent --name user:A --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-80            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1167

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1168
Filter 88                          {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"A"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1169 1170 1171 1172 1173
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1174 1175 1176 1177
  inet/filter/limit-81             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-81            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-81             -m recent --name user:A --rdest --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-81            -m recent --name user:A --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
1178

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1179
Filter 89                          {"conn-limit":{"addr":"dest","log":false,"name":"A"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1180 1181 1182 1183 1184
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1185 1186 1187 1188
  inet/filter/limit-82             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-82            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-82             -m recent --name user:A --rdest --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-82            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1189

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1190
Filter 90                          {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"A"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1191
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1192 1193 1194 1195 1196 1197 1198 1199
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-83
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-83
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-83
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-83
  inet/filter/limit-83             -m recent --name user:A --rdest --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-83            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-83             -m recent --name user:A --rdest --mask 255.255.255.255 --set 
  inet6/filter/limit-83            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1200

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1201
Filter 91                          {"conn-limit":{"addr":"dest","log":false,"name":"A","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1202 1203 1204 1205 1206
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1207 1208 1209 1210
  inet/filter/limit-84             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-84            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-84             -j ACCEPT
  inet6/filter/limit-84            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1211

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1212
Filter 92                          {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"A","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1213
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1214 1215 1216 1217
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1218

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1219
Filter 93                          {"conn-limit":{"addr":"dest","log":false,"name":"A","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1220 1221 1222 1223 1224
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1225 1226
  inet/filter/limit-86             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-86            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1227 1228
  inet/filter/limit-86             -m limit --limit 1/second -j LOG
  inet6/filter/limit-86            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1229 1230
  inet/filter/limit-86             -j ACCEPT
  inet6/filter/limit-86            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1231

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1232
Filter 94                          {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"A","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1233 1234 1235 1236 1237
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1238 1239 1240 1241
  inet/filter/limit-87             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-87            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-87             -m limit --limit 1/second -j LOG
  inet6/filter/limit-87            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1242

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1243
Filter 95                          {"conn-limit":{"addr":"dest","log":false,"name":"A","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1244 1245 1246 1247 1248
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1249 1250 1251 1252
  inet/filter/limit-88             -m recent --name user:A --rdest --mask 255.255.255.255 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-88            -m recent --name user:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-88             -j ACCEPT
  inet6/filter/limit-88            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1253

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1254
Filter 96                          {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"A","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1255
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1256 1257 1258 1259
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:A --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:A --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:A --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:A --rdest --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1260

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1261
Filter 97                          {"conn-limit":{"log":false,"name":"C"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1262 1263 1264 1265 1266
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1267 1268 1269 1270
  inet/filter/limit-90             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-90            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-90             -m recent --name user:C --rsource --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-90            -m recent --name user:C --rsource --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1271

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1272
Filter 98                          {"action":"pass","conn-limit":{"log":false,"name":"C"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1273
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1274 1275 1276 1277 1278 1279 1280 1281
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-91
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-91
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-91
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-91
  inet/filter/limit-91             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-91            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-91             -m recent --name user:C --rsource --mask 254.0.0.0 --set 
  inet6/filter/limit-91            -m recent --name user:C --rsource --mask fe00:: --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1282

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1283
Filter 99                          {"conn-limit":{"log":false,"name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1284 1285 1286 1287 1288
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1289 1290
  inet/filter/limit-92             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-92            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1291 1292
  inet/filter/limit-92             -m limit --limit 1/second -j LOG
  inet6/filter/limit-92            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1293 1294
  inet/filter/limit-92             -m recent --name user:C --rsource --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-92            -m recent --name user:C --rsource --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1295

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1296
Filter 100                         {"action":"pass","conn-limit":{"log":false,"name":"C"},"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-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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1302 1303 1304 1305
  inet/filter/limit-93             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-93            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-93             -m recent --name user:C --rsource --mask 254.0.0.0 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-93            -m recent --name user:C --rsource --mask fe00:: --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1306

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1307
Filter 101                         {"conn-limit":{"log":false,"name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1308 1309 1310 1311 1312
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1313 1314 1315 1316
  inet/filter/limit-94             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-94            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-94             -m recent --name user:C --rsource --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-94            -m recent --name user:C --rsource --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1317

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1318
Filter 102                         {"action":"pass","conn-limit":{"log":false,"name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1319
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1320 1321 1322 1323 1324 1325 1326 1327
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -j limit-95
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -j limit-95
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -j limit-95
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -j limit-95
  inet/filter/limit-95             -m recent --name user:C --rsource --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-95            -m recent --name user:C --rsource --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-95             -m recent --name user:C --rsource --mask 254.0.0.0 --set 
  inet6/filter/limit-95            -m recent --name user:C --rsource --mask fe00:: --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1328

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1329
Filter 103                         {"conn-limit":{"log":false,"name":"C","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1330 1331 1332 1333 1334
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1335 1336 1337 1338
  inet/filter/limit-96             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-96            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-96             -j ACCEPT
  inet6/filter/limit-96            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1339

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1340
Filter 104                         {"action":"pass","conn-limit":{"log":false,"name":"C","update":false},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1341
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1342 1343 1344 1345
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1346

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1347
Filter 105                         {"conn-limit":{"log":false,"name":"C","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1348 1349 1350 1351 1352
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1353 1354
  inet/filter/limit-98             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-98            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1355 1356
  inet/filter/limit-98             -m limit --limit 1/second -j LOG
  inet6/filter/limit-98            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1357 1358
  inet/filter/limit-98             -j ACCEPT
  inet6/filter/limit-98            -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1359

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1360
Filter 106                         {"action":"pass","conn-limit":{"log":false,"name":"C","update":false},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1361 1362 1363 1364 1365
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1366 1367 1368 1369
  inet/filter/limit-99             -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-99            -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-99             -m limit --limit 1/second -j LOG
  inet6/filter/limit-99            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1370

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1371
Filter 107                         {"conn-limit":{"log":false,"name":"C","update":false},"log":"none","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-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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1377 1378 1379 1380
  inet/filter/limit-100            -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-100           -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-100            -j ACCEPT
  inet6/filter/limit-100           -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1381

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1382
Filter 108                         {"action":"pass","conn-limit":{"log":false,"name":"C","update":false},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1383
(filter-limit)                     
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1384 1385 1386 1387
  inet/filter/FORWARD              -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet/filter/OUTPUT               -o eth1 -d 10.0.0.0/12 -m recent --name user:C --rsource --mask 254.0.0.0 --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/FORWARD             -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
  inet6/filter/OUTPUT              -o eth1 -d fc00::/7 -m recent --name user:C --rsource --mask fe00:: --rcheck --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1388

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1389
Filter 109                         {"conn-limit":{"addr":"dest","log":false,"name":"C"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1390 1391 1392 1393 1394
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1395 1396 1397 1398
  inet/filter/limit-102            -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-102           -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-102            -m recent --name user:C --rdest --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-102           -m recent --name user:C --rdest --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1399

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1400
Filter 110                         {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"C"},"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1401 1402 1403 1404 1405
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1406 1407 1408 1409
  inet/filter/limit-103            -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-103           -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-103            -m recent --name user:C --rdest --mask 254.0.0.0 --set 
  inet6/filter/limit-103           -m recent --name user:C --rdest --mask fe00:: --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1410

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1411
Filter 111                         {"conn-limit":{"addr":"dest","log":false,"name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1412 1413 1414 1415 1416
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1417 1418
  inet/filter/limit-104            -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-104           -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
1419 1420
  inet/filter/limit-104            -m limit --limit 1/second -j LOG
  inet6/filter/limit-104           -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1421 1422
  inet/filter/limit-104            -m recent --name user:C --rdest --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-104           -m recent --name user:C --rdest --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1423

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1424
Filter 112                         {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"C"},"log":true,"out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1425 1426 1427 1428 1429
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1430 1431 1432 1433
  inet/filter/limit-105            -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-105           -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-105            -m recent --name user:C --rdest --mask 254.0.0.0 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-105           -m recent --name user:C --rdest --mask fe00:: --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1434

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1435
Filter 113                         {"conn-limit":{"addr":"dest","log":false,"name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1436 1437 1438 1439 1440
(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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1441 1442 1443 1444
  inet/filter/limit-106            -m recent --name user:C --rdest --mask 254.0.0.0 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-106           -m recent --name user:C --rdest --mask fe00:: --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-106            -m recent --name user:C --rdest --mask 254.0.0.0 --set -j ACCEPT
  inet6/filter/limit-106           -m recent --name user:C --rdest --mask fe00:: --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1445

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1446
Filter 114                         {"action":"pass","conn-limit":{"addr":"dest","log":false,"name":"C"},"log":"none","out":"B"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1447 1448