dump 122 KB
Newer Older
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
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}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-0
  inet6/filter/FORWARD            -j limit-0
  inet/filter/INPUT               -j limit-0
  inet6/filter/INPUT              -j limit-0
  inet/filter/OUTPUT              -j limit-0
  inet6/filter/OUTPUT             -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}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-1
  inet6/filter/FORWARD            -j limit-1
  inet/filter/INPUT               -j limit-1
  inet6/filter/INPUT              -j limit-1
  inet/filter/OUTPUT              -j limit-1
  inet6/filter/OUTPUT             -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}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-2
  inet6/filter/FORWARD            -j limit-2
  inet/filter/INPUT               -j limit-2
  inet6/filter/INPUT              -j limit-2
  inet/filter/OUTPUT              -j limit-2
  inet6/filter/OUTPUT             -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}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-3
  inet6/filter/FORWARD            -j limit-3
  inet/filter/INPUT               -j limit-3
  inet6/filter/INPUT              -j limit-3
  inet/filter/OUTPUT              -j limit-3
  inet6/filter/OUTPUT             -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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
141
Filter 11                         {"conn-limit":1,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
142 143 144 145 146 147 148
(filter-limit)                    
  inet/filter/FORWARD             -j limit-4
  inet6/filter/FORWARD            -j limit-4
  inet/filter/INPUT               -j limit-4
  inet6/filter/INPUT              -j limit-4
  inet/filter/OUTPUT              -j limit-4
  inet6/filter/OUTPUT             -j limit-4
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
149 150 151 152 153 154
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
155 156 157
  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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
158
Filter 12                         {"action":"pass","conn-limit":1,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
159 160 161 162 163 164 165
(filter-limit)                    
  inet/filter/FORWARD             -j limit-5
  inet6/filter/FORWARD            -j limit-5
  inet/filter/INPUT               -j limit-5
  inet6/filter/INPUT              -j limit-5
  inet/filter/OUTPUT              -j limit-5
  inet6/filter/OUTPUT             -j limit-5
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
166 167 168 169 170 171
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
172 173 174
  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 

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
175
Filter 13                         {"conn-limit":{"count":1,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
176 177 178 179 180 181 182 183 184 185 186 187
(filter-limit)                    
  inet/filter/FORWARD             -j limit-6
  inet6/filter/FORWARD            -j limit-6
  inet/filter/INPUT               -j limit-6
  inet6/filter/INPUT              -j limit-6
  inet/filter/OUTPUT              -j limit-6
  inet6/filter/OUTPUT             -j limit-6
  inet/filter/limit-6             -m recent --name limit-6 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  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 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

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
188
Filter 14                         {"action":"pass","conn-limit":{"count":1,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
189 190 191 192 193 194 195 196 197
(filter-limit)                    
  inet/filter/FORWARD             -j limit-7
  inet6/filter/FORWARD            -j limit-7
  inet/filter/INPUT               -j limit-7
  inet6/filter/INPUT              -j limit-7
  inet/filter/OUTPUT              -j limit-7
  inet6/filter/OUTPUT             -j limit-7
  inet/filter/limit-7             -m recent --name limit-7 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  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 DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
198 199
  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 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
200

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
201
Filter 15                         {"conn-limit":{"count":1,"log":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
202 203 204 205 206 207 208
(filter-limit)                    
  inet/filter/FORWARD             -j limit-8
  inet6/filter/FORWARD            -j limit-8
  inet/filter/INPUT               -j limit-8
  inet6/filter/INPUT              -j limit-8
  inet/filter/OUTPUT              -j limit-8
  inet6/filter/OUTPUT             -j limit-8
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
209 210
  inet/filter/limit-8             -m recent --name limit-8 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  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 DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
211 212
  inet/filter/limit-8             -m limit --limit 1/second -j LOG
  inet6/filter/limit-8            -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
213 214
  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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
215

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
216
Filter 16                         {"action":"pass","conn-limit":{"count":1,"log":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
217 218 219 220 221 222 223
(filter-limit)                    
  inet/filter/FORWARD             -j limit-9
  inet6/filter/FORWARD            -j limit-9
  inet/filter/INPUT               -j limit-9
  inet6/filter/INPUT              -j limit-9
  inet/filter/OUTPUT              -j limit-9
  inet6/filter/OUTPUT             -j limit-9
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
224 225 226 227 228 229
  inet/filter/limit-9             -m recent --name limit-9 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  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 DROP
  inet/filter/limit-9             -m recent --name limit-9 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-9            -m recent --name limit-9 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 17                         {"conn-limit":{"count":1,"log":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
230 231 232 233 234 235 236
(filter-limit)                    
  inet/filter/FORWARD             -j limit-10
  inet6/filter/FORWARD            -j limit-10
  inet/filter/INPUT               -j limit-10
  inet6/filter/INPUT              -j limit-10
  inet/filter/OUTPUT              -j limit-10
  inet6/filter/OUTPUT             -j limit-10
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
237 238 239 240
  inet/filter/limit-10            -m recent --name limit-10 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  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 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
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
241

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
242
Filter 18                         {"action":"pass","conn-limit":{"count":1,"log":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
243 244 245 246 247 248 249
(filter-limit)                    
  inet/filter/FORWARD             -j limit-11
  inet6/filter/FORWARD            -j limit-11
  inet/filter/INPUT               -j limit-11
  inet6/filter/INPUT              -j limit-11
  inet/filter/OUTPUT              -j limit-11
  inet6/filter/OUTPUT             -j limit-11
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
250 251 252 253
  inet/filter/limit-11            -m recent --name limit-11 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  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 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 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
254

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
255
Filter 19                         {"conn-limit":{"count":1,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
256 257 258 259 260 261 262
(filter-limit)                    
  inet/filter/FORWARD             -j limit-12
  inet6/filter/FORWARD            -j limit-12
  inet/filter/INPUT               -j limit-12
  inet6/filter/INPUT              -j limit-12
  inet/filter/OUTPUT              -j limit-12
  inet6/filter/OUTPUT             -j limit-12
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
263 264 265 266
  inet/filter/limit-12            -m recent --name limit-12 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-12           -m recent --name limit-12 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-12            -m recent --name limit-12 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-12           -m recent --name limit-12 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
267

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
268
Filter 20                         {"action":"pass","conn-limit":{"count":1,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
269 270 271 272 273 274 275
(filter-limit)                    
  inet/filter/FORWARD             -j limit-13
  inet6/filter/FORWARD            -j limit-13
  inet/filter/INPUT               -j limit-13
  inet6/filter/INPUT              -j limit-13
  inet/filter/OUTPUT              -j limit-13
  inet6/filter/OUTPUT             -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
276 277 278 279
  inet/filter/limit-13            -m recent --name limit-13 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-13           -m recent --name limit-13 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-13            -m recent --name limit-13 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-13           -m recent --name limit-13 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
280

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
281
Filter 21                         {"conn-limit":{"count":1,"log":"none"},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
282 283 284 285 286 287 288
(filter-limit)                    
  inet/filter/FORWARD             -j limit-14
  inet6/filter/FORWARD            -j limit-14
  inet/filter/INPUT               -j limit-14
  inet6/filter/INPUT              -j limit-14
  inet/filter/OUTPUT              -j limit-14
  inet6/filter/OUTPUT             -j limit-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
289 290 291 292 293 294 295 296
  inet/filter/limit-14            -m recent --name limit-14 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-14           -m recent --name limit-14 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-14            -m limit --limit 1/second -j LOG
  inet6/filter/limit-14           -m limit --limit 1/second -j LOG
  inet/filter/limit-14            -m recent --name limit-14 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-14           -m recent --name limit-14 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT

Filter 22                         {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
297 298 299 300 301 302 303
(filter-limit)                    
  inet/filter/FORWARD             -j limit-15
  inet6/filter/FORWARD            -j limit-15
  inet/filter/INPUT               -j limit-15
  inet6/filter/INPUT              -j limit-15
  inet/filter/OUTPUT              -j limit-15
  inet6/filter/OUTPUT             -j limit-15
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
304 305 306 307
  inet/filter/limit-15            -m recent --name limit-15 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-15           -m recent --name limit-15 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-15            -m recent --name limit-15 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-15           -m recent --name limit-15 --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
308

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
309
Filter 23                         {"conn-limit":{"count":1,"log":"none"},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
310 311 312 313 314 315 316
(filter-limit)                    
  inet/filter/FORWARD             -j limit-16
  inet6/filter/FORWARD            -j limit-16
  inet/filter/INPUT               -j limit-16
  inet6/filter/INPUT              -j limit-16
  inet/filter/OUTPUT              -j limit-16
  inet6/filter/OUTPUT             -j limit-16
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
317 318 319 320
  inet/filter/limit-16            -m recent --name limit-16 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-16           -m recent --name limit-16 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-16            -m recent --name limit-16 --rsource --mask 255.255.255.255 --set -j ACCEPT
  inet6/filter/limit-16           -m recent --name limit-16 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
321

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
322
Filter 24                         {"action":"pass","conn-limit":{"count":1,"log":"none"},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
323 324 325 326 327 328 329
(filter-limit)                    
  inet/filter/FORWARD             -j limit-17
  inet6/filter/FORWARD            -j limit-17
  inet/filter/INPUT               -j limit-17
  inet6/filter/INPUT              -j limit-17
  inet/filter/OUTPUT              -j limit-17
  inet6/filter/OUTPUT             -j limit-17
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
330 331 332 333
  inet/filter/limit-17            -m recent --name limit-17 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-17           -m recent --name limit-17 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-17            -m recent --name limit-17 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-17           -m recent --name limit-17 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
334

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
335
Filter 25                         {"conn-limit":30}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
336 337 338 339 340 341 342
(filter-limit)                    
  inet/filter/FORWARD             -j limit-18
  inet6/filter/FORWARD            -j limit-18
  inet/filter/INPUT               -j limit-18
  inet6/filter/INPUT              -j limit-18
  inet/filter/OUTPUT              -j limit-18
  inet6/filter/OUTPUT             -j limit-18
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
343 344 345 346 347 348 349 350
  inet/filter/limit-18            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-18 -j ACCEPT
  inet6/filter/limit-18           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-18 -j ACCEPT
  inet/filter/limit-18            -m limit --limit 1/second -j LOG
  inet6/filter/limit-18           -m limit --limit 1/second -j LOG
  inet/filter/limit-18            -j DROP
  inet6/filter/limit-18           -j DROP

Filter 26                         {"action":"pass","conn-limit":30}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
351 352 353 354 355 356 357
(filter-limit)                    
  inet/filter/FORWARD             -j limit-19
  inet6/filter/FORWARD            -j limit-19
  inet/filter/INPUT               -j limit-19
  inet6/filter/INPUT              -j limit-19
  inet/filter/OUTPUT              -j limit-19
  inet6/filter/OUTPUT             -j limit-19
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
358 359 360 361 362 363 364 365
  inet/filter/limit-19            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-19 -j RETURN
  inet6/filter/limit-19           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-19 -j RETURN
  inet/filter/limit-19            -m limit --limit 1/second -j LOG
  inet6/filter/limit-19           -m limit --limit 1/second -j LOG
  inet/filter/limit-19            -j DROP
  inet6/filter/limit-19           -j DROP

Filter 27                         {"conn-limit":30,"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
366 367 368 369 370 371 372
(filter-limit)                    
  inet/filter/FORWARD             -j limit-20
  inet6/filter/FORWARD            -j limit-20
  inet/filter/INPUT               -j limit-20
  inet6/filter/INPUT              -j limit-20
  inet/filter/OUTPUT              -j limit-20
  inet6/filter/OUTPUT             -j limit-20
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
373 374 375 376 377 378 379 380 381 382
  inet/filter/limit-20            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-20 -j logaccept-0
  inet6/filter/limit-20           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-20 -j logaccept-0
  inet/filter/logaccept-0         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-0        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-0         -j ACCEPT
  inet6/filter/logaccept-0        -j ACCEPT
  inet/filter/limit-20            -m limit --limit 1/second -j LOG
  inet6/filter/limit-20           -m limit --limit 1/second -j LOG
  inet/filter/limit-20            -j DROP
  inet6/filter/limit-20           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
383

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
384
Filter 28                         {"conn-limit":30,"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
385 386 387 388 389 390 391
(filter-limit)                    
  inet/filter/FORWARD             -j limit-21
  inet6/filter/FORWARD            -j limit-21
  inet/filter/INPUT               -j limit-21
  inet6/filter/INPUT              -j limit-21
  inet/filter/OUTPUT              -j limit-21
  inet6/filter/OUTPUT             -j limit-21
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
392 393 394 395 396 397 398 399
  inet/filter/limit-21            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-21 -j ACCEPT
  inet6/filter/limit-21           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-21 -j ACCEPT
  inet/filter/limit-21            -m limit --limit 1/second -j LOG
  inet6/filter/limit-21           -m limit --limit 1/second -j LOG
  inet/filter/limit-21            -j DROP
  inet6/filter/limit-21           -j DROP

Filter 29                         {"conn-limit":{"count":30,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
400 401 402 403 404 405 406
(filter-limit)                    
  inet/filter/FORWARD             -j limit-22
  inet6/filter/FORWARD            -j limit-22
  inet/filter/INPUT               -j limit-22
  inet6/filter/INPUT              -j limit-22
  inet/filter/OUTPUT              -j limit-22
  inet6/filter/OUTPUT             -j limit-22
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
407 408
  inet/filter/limit-22            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-22 -j ACCEPT
  inet6/filter/limit-22           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-22 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
409 410 411
  inet/filter/limit-22            -j DROP
  inet6/filter/limit-22           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
412
Filter 30                         {"action":"pass","conn-limit":{"count":30,"log":false}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
413 414 415 416 417 418 419 420 421 422 423 424
(filter-limit)                    
  inet/filter/FORWARD             -j limit-23
  inet6/filter/FORWARD            -j limit-23
  inet/filter/INPUT               -j limit-23
  inet6/filter/INPUT              -j limit-23
  inet/filter/OUTPUT              -j limit-23
  inet6/filter/OUTPUT             -j limit-23
  inet/filter/limit-23            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-23 -j RETURN
  inet6/filter/limit-23           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-23 -j RETURN
  inet/filter/limit-23            -j DROP
  inet6/filter/limit-23           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
425
Filter 31                         {"conn-limit":{"count":30,"log":false},"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
426 427 428 429 430 431 432
(filter-limit)                    
  inet/filter/FORWARD             -j limit-24
  inet6/filter/FORWARD            -j limit-24
  inet/filter/INPUT               -j limit-24
  inet6/filter/INPUT              -j limit-24
  inet/filter/OUTPUT              -j limit-24
  inet6/filter/OUTPUT             -j limit-24
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
433 434 435 436 437 438
  inet/filter/limit-24            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-24 -j logaccept-1
  inet6/filter/limit-24           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-24 -j logaccept-1
  inet/filter/logaccept-1         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-1        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-1         -j ACCEPT
  inet6/filter/logaccept-1        -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
439 440 441
  inet/filter/limit-24            -j DROP
  inet6/filter/limit-24           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
442
Filter 32                         {"conn-limit":{"count":30,"log":false},"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
443 444 445 446 447 448 449
(filter-limit)                    
  inet/filter/FORWARD             -j limit-25
  inet6/filter/FORWARD            -j limit-25
  inet/filter/INPUT               -j limit-25
  inet6/filter/INPUT              -j limit-25
  inet/filter/OUTPUT              -j limit-25
  inet6/filter/OUTPUT             -j limit-25
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
450 451
  inet/filter/limit-25            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-25 -j ACCEPT
  inet6/filter/limit-25           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-25 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
452 453 454
  inet/filter/limit-25            -j DROP
  inet6/filter/limit-25           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
455
Filter 33                         {"conn-limit":{"count":30,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
456 457 458 459 460 461 462
(filter-limit)                    
  inet/filter/FORWARD             -j limit-26
  inet6/filter/FORWARD            -j limit-26
  inet/filter/INPUT               -j limit-26
  inet6/filter/INPUT              -j limit-26
  inet/filter/OUTPUT              -j limit-26
  inet6/filter/OUTPUT             -j limit-26
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
463 464
  inet/filter/limit-26            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-26 -j ACCEPT
  inet6/filter/limit-26           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-26 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
465 466 467
  inet/filter/limit-26            -j DROP
  inet6/filter/limit-26           -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
468
Filter 34                         {"action":"pass","conn-limit":{"count":30,"log":"none"}}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
469 470 471 472 473 474 475 476 477 478 479
(filter-limit)                    
  inet/filter/FORWARD             -j limit-27
  inet6/filter/FORWARD            -j limit-27
  inet/filter/INPUT               -j limit-27
  inet6/filter/INPUT              -j limit-27
  inet/filter/OUTPUT              -j limit-27
  inet6/filter/OUTPUT             -j limit-27
  inet/filter/limit-27            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-27 -j RETURN
  inet6/filter/limit-27           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-27 -j RETURN
  inet/filter/limit-27            -j DROP
  inet6/filter/limit-27           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 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 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884

Filter 35                         {"conn-limit":{"count":30,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-28
  inet6/filter/FORWARD            -j limit-28
  inet/filter/INPUT               -j limit-28
  inet6/filter/INPUT              -j limit-28
  inet/filter/OUTPUT              -j limit-28
  inet6/filter/OUTPUT             -j limit-28
  inet/filter/limit-28            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-28 -j logaccept-2
  inet6/filter/limit-28           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-28 -j logaccept-2
  inet/filter/logaccept-2         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-2        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-2         -j ACCEPT
  inet6/filter/logaccept-2        -j ACCEPT
  inet/filter/limit-28            -j DROP
  inet6/filter/limit-28           -j DROP

Filter 36                         {"conn-limit":{"count":30,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-29
  inet6/filter/FORWARD            -j limit-29
  inet/filter/INPUT               -j limit-29
  inet6/filter/INPUT              -j limit-29
  inet/filter/OUTPUT              -j limit-29
  inet6/filter/OUTPUT             -j limit-29
  inet/filter/limit-29            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-29 -j ACCEPT
  inet6/filter/limit-29           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-29 -j ACCEPT
  inet/filter/limit-29            -j DROP
  inet6/filter/limit-29           -j DROP

Filter 37                         {"flow-limit":1}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-30
  inet6/filter/FORWARD            -j limit-30
  inet/filter/INPUT               -j limit-30
  inet6/filter/INPUT              -j limit-30
  inet/filter/OUTPUT              -j limit-30
  inet6/filter/OUTPUT             -j limit-30
  inet/filter/limit-30            -m recent --name limit-30 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-7
  inet6/filter/limit-30           -m recent --name limit-30 --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-30            -m recent --name limit-30 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-30           -m recent --name limit-30 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 38                         {"action":"pass","flow-limit":1}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-31
  inet6/filter/FORWARD            -j limit-31
  inet/filter/INPUT               -j limit-31
  inet6/filter/INPUT              -j limit-31
  inet/filter/OUTPUT              -j limit-31
  inet6/filter/OUTPUT             -j limit-31
  inet/filter/limit-31            -m recent --name limit-31 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-8
  inet6/filter/limit-31           -m recent --name limit-31 --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-31            -m recent --name limit-31 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-31           -m recent --name limit-31 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 39                         {"flow-limit":1,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-32
  inet6/filter/FORWARD            -j limit-32
  inet/filter/INPUT               -j limit-32
  inet6/filter/INPUT              -j limit-32
  inet/filter/OUTPUT              -j limit-32
  inet6/filter/OUTPUT             -j limit-32
  inet/filter/limit-32            -m recent --name limit-32 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-9
  inet6/filter/limit-32           -m recent --name limit-32 --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-32            -m recent --name limit-32 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-32           -m recent --name limit-32 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j logaccept-final-0
  inet6/filter/FORWARD            -j logaccept-final-0
  inet/filter/INPUT               -j logaccept-final-0
  inet6/filter/INPUT              -j logaccept-final-0
  inet/filter/OUTPUT              -j logaccept-final-0
  inet6/filter/OUTPUT             -j logaccept-final-0
  inet/filter/logaccept-final-0   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-0  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-0   -j ACCEPT
  inet6/filter/logaccept-final-0  -j ACCEPT

Filter 40                         {"action":"pass","flow-limit":1,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-33
  inet6/filter/FORWARD            -j limit-33
  inet/filter/INPUT               -j limit-33
  inet6/filter/INPUT              -j limit-33
  inet/filter/OUTPUT              -j limit-33
  inet6/filter/OUTPUT             -j limit-33
  inet/filter/limit-33            -m recent --name limit-33 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-10
  inet6/filter/limit-33           -m recent --name limit-33 --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-33            -m recent --name limit-33 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-33           -m recent --name limit-33 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 41                         {"flow-limit":1,"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-34
  inet6/filter/FORWARD            -j limit-34
  inet/filter/INPUT               -j limit-34
  inet6/filter/INPUT              -j limit-34
  inet/filter/OUTPUT              -j limit-34
  inet6/filter/OUTPUT             -j limit-34
  inet/filter/limit-34            -m recent --name limit-34 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-11
  inet6/filter/limit-34           -m recent --name limit-34 --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-34            -m recent --name limit-34 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-34           -m recent --name limit-34 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 42                         {"action":"pass","flow-limit":1,"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-35
  inet6/filter/FORWARD            -j limit-35
  inet/filter/INPUT               -j limit-35
  inet6/filter/INPUT              -j limit-35
  inet/filter/OUTPUT              -j limit-35
  inet6/filter/OUTPUT             -j limit-35
  inet/filter/limit-35            -m recent --name limit-35 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-12
  inet6/filter/limit-35           -m recent --name limit-35 --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-35            -m recent --name limit-35 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-35           -m recent --name limit-35 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 43                         {"flow-limit":{"count":1,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-36
  inet6/filter/FORWARD            -j limit-36
  inet/filter/INPUT               -j limit-36
  inet6/filter/INPUT              -j limit-36
  inet/filter/OUTPUT              -j limit-36
  inet6/filter/OUTPUT             -j limit-36
  inet/filter/limit-36            -m recent --name limit-36 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-36           -m recent --name limit-36 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-36            -m recent --name limit-36 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-36           -m recent --name limit-36 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 44                         {"action":"pass","flow-limit":{"count":1,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-37
  inet6/filter/FORWARD            -j limit-37
  inet/filter/INPUT               -j limit-37
  inet6/filter/INPUT              -j limit-37
  inet/filter/OUTPUT              -j limit-37
  inet6/filter/OUTPUT             -j limit-37
  inet/filter/limit-37            -m recent --name limit-37 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-37           -m recent --name limit-37 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-37            -m recent --name limit-37 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-37           -m recent --name limit-37 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 45                         {"flow-limit":{"count":1,"log":false},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-38
  inet6/filter/FORWARD            -j limit-38
  inet/filter/INPUT               -j limit-38
  inet6/filter/INPUT              -j limit-38
  inet/filter/OUTPUT              -j limit-38
  inet6/filter/OUTPUT             -j limit-38
  inet/filter/limit-38            -m recent --name limit-38 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-38           -m recent --name limit-38 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-38            -m recent --name limit-38 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-38           -m recent --name limit-38 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j logaccept-final-1
  inet6/filter/FORWARD            -j logaccept-final-1
  inet/filter/INPUT               -j logaccept-final-1
  inet6/filter/INPUT              -j logaccept-final-1
  inet/filter/OUTPUT              -j logaccept-final-1
  inet6/filter/OUTPUT             -j logaccept-final-1
  inet/filter/logaccept-final-1   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-1  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-1   -j ACCEPT
  inet6/filter/logaccept-final-1  -j ACCEPT

Filter 46                         {"action":"pass","flow-limit":{"count":1,"log":false},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-39
  inet6/filter/FORWARD            -j limit-39
  inet/filter/INPUT               -j limit-39
  inet6/filter/INPUT              -j limit-39
  inet/filter/OUTPUT              -j limit-39
  inet6/filter/OUTPUT             -j limit-39
  inet/filter/limit-39            -m recent --name limit-39 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-39           -m recent --name limit-39 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-39            -m recent --name limit-39 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-39           -m recent --name limit-39 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 47                         {"flow-limit":{"count":1,"log":false},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-40
  inet6/filter/FORWARD            -j limit-40
  inet/filter/INPUT               -j limit-40
  inet6/filter/INPUT              -j limit-40
  inet/filter/OUTPUT              -j limit-40
  inet6/filter/OUTPUT             -j limit-40
  inet/filter/limit-40            -m recent --name limit-40 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-40           -m recent --name limit-40 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-40            -m recent --name limit-40 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-40           -m recent --name limit-40 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 48                         {"action":"pass","flow-limit":{"count":1,"log":false},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-41
  inet6/filter/FORWARD            -j limit-41
  inet/filter/INPUT               -j limit-41
  inet6/filter/INPUT              -j limit-41
  inet/filter/OUTPUT              -j limit-41
  inet6/filter/OUTPUT             -j limit-41
  inet/filter/limit-41            -m recent --name limit-41 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-41           -m recent --name limit-41 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-41            -m recent --name limit-41 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-41           -m recent --name limit-41 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 49                         {"flow-limit":{"count":1,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-42
  inet6/filter/FORWARD            -j limit-42
  inet/filter/INPUT               -j limit-42
  inet6/filter/INPUT              -j limit-42
  inet/filter/OUTPUT              -j limit-42
  inet6/filter/OUTPUT             -j limit-42
  inet/filter/limit-42            -m recent --name limit-42 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-42           -m recent --name limit-42 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-42            -m recent --name limit-42 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-42           -m recent --name limit-42 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 50                         {"action":"pass","flow-limit":{"count":1,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-43
  inet6/filter/FORWARD            -j limit-43
  inet/filter/INPUT               -j limit-43
  inet6/filter/INPUT              -j limit-43
  inet/filter/OUTPUT              -j limit-43
  inet6/filter/OUTPUT             -j limit-43
  inet/filter/limit-43            -m recent --name limit-43 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-43           -m recent --name limit-43 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-43            -m recent --name limit-43 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-43           -m recent --name limit-43 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 51                         {"flow-limit":{"count":1,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-44
  inet6/filter/FORWARD            -j limit-44
  inet/filter/INPUT               -j limit-44
  inet6/filter/INPUT              -j limit-44
  inet/filter/OUTPUT              -j limit-44
  inet6/filter/OUTPUT             -j limit-44
  inet/filter/limit-44            -m recent --name limit-44 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-44           -m recent --name limit-44 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-44            -m recent --name limit-44 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-44           -m recent --name limit-44 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j logaccept-final-2
  inet6/filter/FORWARD            -j logaccept-final-2
  inet/filter/INPUT               -j logaccept-final-2
  inet6/filter/INPUT              -j logaccept-final-2
  inet/filter/OUTPUT              -j logaccept-final-2
  inet6/filter/OUTPUT             -j logaccept-final-2
  inet/filter/logaccept-final-2   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-2  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-2   -j ACCEPT
  inet6/filter/logaccept-final-2  -j ACCEPT

Filter 52                         {"action":"pass","flow-limit":{"count":1,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-45
  inet6/filter/FORWARD            -j limit-45
  inet/filter/INPUT               -j limit-45
  inet6/filter/INPUT              -j limit-45
  inet/filter/OUTPUT              -j limit-45
  inet6/filter/OUTPUT             -j limit-45
  inet/filter/limit-45            -m recent --name limit-45 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-45           -m recent --name limit-45 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-45            -m recent --name limit-45 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
  inet6/filter/limit-45           -m recent --name limit-45 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG

Filter 53                         {"flow-limit":{"count":1,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-46
  inet6/filter/FORWARD            -j limit-46
  inet/filter/INPUT               -j limit-46
  inet6/filter/INPUT              -j limit-46
  inet/filter/OUTPUT              -j limit-46
  inet6/filter/OUTPUT             -j limit-46
  inet/filter/limit-46            -m recent --name limit-46 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-46           -m recent --name limit-46 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-46            -m recent --name limit-46 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-46           -m recent --name limit-46 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Filter 54                         {"action":"pass","flow-limit":{"count":1,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-47
  inet6/filter/FORWARD            -j limit-47
  inet/filter/INPUT               -j limit-47
  inet6/filter/INPUT              -j limit-47
  inet/filter/OUTPUT              -j limit-47
  inet6/filter/OUTPUT             -j limit-47
  inet/filter/limit-47            -m recent --name limit-47 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
  inet6/filter/limit-47           -m recent --name limit-47 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
  inet/filter/limit-47            -m recent --name limit-47 --rsource --mask 255.255.255.255 --set 
  inet6/filter/limit-47           -m recent --name limit-47 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 

Filter 55                         {"flow-limit":30}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-48
  inet6/filter/FORWARD            -j limit-48
  inet/filter/INPUT               -j limit-48
  inet6/filter/INPUT              -j limit-48
  inet/filter/OUTPUT              -j limit-48
  inet6/filter/OUTPUT             -j limit-48
  inet/filter/limit-48            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-48 -j RETURN
  inet6/filter/limit-48           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-48 -j RETURN
  inet/filter/limit-48            -m limit --limit 1/second -j LOG
  inet6/filter/limit-48           -m limit --limit 1/second -j LOG
  inet/filter/limit-48            -j DROP
  inet6/filter/limit-48           -j DROP
  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 56                         {"action":"pass","flow-limit":30}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-49
  inet6/filter/FORWARD            -j limit-49
  inet/filter/INPUT               -j limit-49
  inet6/filter/INPUT              -j limit-49
  inet/filter/OUTPUT              -j limit-49
  inet6/filter/OUTPUT             -j limit-49
  inet/filter/limit-49            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-49 -j RETURN
  inet6/filter/limit-49           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-49 -j RETURN
  inet/filter/limit-49            -m limit --limit 1/second -j LOG
  inet6/filter/limit-49           -m limit --limit 1/second -j LOG
  inet/filter/limit-49            -j DROP
  inet6/filter/limit-49           -j DROP

Filter 57                         {"flow-limit":30,"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-50
  inet6/filter/FORWARD            -j limit-50
  inet/filter/INPUT               -j limit-50
  inet6/filter/INPUT              -j limit-50
  inet/filter/OUTPUT              -j limit-50
  inet6/filter/OUTPUT             -j limit-50
  inet/filter/limit-50            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-50 -j RETURN
  inet6/filter/limit-50           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-50 -j RETURN
  inet/filter/limit-50            -m limit --limit 1/second -j LOG
  inet6/filter/limit-50           -m limit --limit 1/second -j LOG
  inet/filter/limit-50            -j DROP
  inet6/filter/limit-50           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
885 886 887 888 889 890 891 892 893 894 895
  inet/filter/FORWARD             -j logaccept-final-3
  inet6/filter/FORWARD            -j logaccept-final-3
  inet/filter/INPUT               -j logaccept-final-3
  inet6/filter/INPUT              -j logaccept-final-3
  inet/filter/OUTPUT              -j logaccept-final-3
  inet6/filter/OUTPUT             -j logaccept-final-3
  inet/filter/logaccept-final-3   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-3  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-3   -j ACCEPT
  inet6/filter/logaccept-final-3  -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002
Filter 58                         {"flow-limit":30,"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-51
  inet6/filter/FORWARD            -j limit-51
  inet/filter/INPUT               -j limit-51
  inet6/filter/INPUT              -j limit-51
  inet/filter/OUTPUT              -j limit-51
  inet6/filter/OUTPUT             -j limit-51
  inet/filter/limit-51            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-51 -j RETURN
  inet6/filter/limit-51           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-51 -j RETURN
  inet/filter/limit-51            -m limit --limit 1/second -j LOG
  inet6/filter/limit-51           -m limit --limit 1/second -j LOG
  inet/filter/limit-51            -j DROP
  inet6/filter/limit-51           -j DROP
  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 59                         {"flow-limit":{"count":30,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-52
  inet6/filter/FORWARD            -j limit-52
  inet/filter/INPUT               -j limit-52
  inet6/filter/INPUT              -j limit-52
  inet/filter/OUTPUT              -j limit-52
  inet6/filter/OUTPUT             -j limit-52
  inet/filter/limit-52            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-52 -j RETURN
  inet6/filter/limit-52           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-52 -j RETURN
  inet/filter/limit-52            -j DROP
  inet6/filter/limit-52           -j DROP
  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 60                         {"action":"pass","flow-limit":{"count":30,"log":false}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-53
  inet6/filter/FORWARD            -j limit-53
  inet/filter/INPUT               -j limit-53
  inet6/filter/INPUT              -j limit-53
  inet/filter/OUTPUT              -j limit-53
  inet6/filter/OUTPUT             -j limit-53
  inet/filter/limit-53            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-53 -j RETURN
  inet6/filter/limit-53           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-53 -j RETURN
  inet/filter/limit-53            -j DROP
  inet6/filter/limit-53           -j DROP

Filter 61                         {"flow-limit":{"count":30,"log":false},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-54
  inet6/filter/FORWARD            -j limit-54
  inet/filter/INPUT               -j limit-54
  inet6/filter/INPUT              -j limit-54
  inet/filter/OUTPUT              -j limit-54
  inet6/filter/OUTPUT             -j limit-54
  inet/filter/limit-54            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-54 -j RETURN
  inet6/filter/limit-54           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-54 -j RETURN
  inet/filter/limit-54            -j DROP
  inet6/filter/limit-54           -j DROP
  inet/filter/FORWARD             -j logaccept-final-4
  inet6/filter/FORWARD            -j logaccept-final-4
  inet/filter/INPUT               -j logaccept-final-4
  inet6/filter/INPUT              -j logaccept-final-4
  inet/filter/OUTPUT              -j logaccept-final-4
  inet6/filter/OUTPUT             -j logaccept-final-4
  inet/filter/logaccept-final-4   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-4  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-4   -j ACCEPT
  inet6/filter/logaccept-final-4  -j ACCEPT

Filter 62                         {"flow-limit":{"count":30,"log":false},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-55
  inet6/filter/FORWARD            -j limit-55
  inet/filter/INPUT               -j limit-55
  inet6/filter/INPUT              -j limit-55
  inet/filter/OUTPUT              -j limit-55
  inet6/filter/OUTPUT             -j limit-55
  inet/filter/limit-55            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-55 -j RETURN
  inet6/filter/limit-55           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-55 -j RETURN
  inet/filter/limit-55            -j DROP
  inet6/filter/limit-55           -j DROP
  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 63                         {"flow-limit":{"count":30,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-56
  inet6/filter/FORWARD            -j limit-56
  inet/filter/INPUT               -j limit-56
  inet6/filter/INPUT              -j limit-56
  inet/filter/OUTPUT              -j limit-56
  inet6/filter/OUTPUT             -j limit-56
  inet/filter/limit-56            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-56 -j RETURN
  inet6/filter/limit-56           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-56 -j RETURN
  inet/filter/limit-56            -j DROP
  inet6/filter/limit-56           -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1003 1004 1005 1006 1007 1008 1009
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065
Filter 64                         {"action":"pass","flow-limit":{"count":30,"log":"none"}}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-57
  inet6/filter/FORWARD            -j limit-57
  inet/filter/INPUT               -j limit-57
  inet6/filter/INPUT              -j limit-57
  inet/filter/OUTPUT              -j limit-57
  inet6/filter/OUTPUT             -j limit-57
  inet/filter/limit-57            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-57 -j RETURN
  inet6/filter/limit-57           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-57 -j RETURN
  inet/filter/limit-57            -j DROP
  inet6/filter/limit-57           -j DROP

Filter 65                         {"flow-limit":{"count":30,"log":"none"},"log":true}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-58
  inet6/filter/FORWARD            -j limit-58
  inet/filter/INPUT               -j limit-58
  inet6/filter/INPUT              -j limit-58
  inet/filter/OUTPUT              -j limit-58
  inet6/filter/OUTPUT             -j limit-58
  inet/filter/limit-58            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-58 -j RETURN
  inet6/filter/limit-58           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-58 -j RETURN
  inet/filter/limit-58            -j DROP
  inet6/filter/limit-58           -j DROP
  inet/filter/FORWARD             -j logaccept-final-5
  inet6/filter/FORWARD            -j logaccept-final-5
  inet/filter/INPUT               -j logaccept-final-5
  inet6/filter/INPUT              -j logaccept-final-5
  inet/filter/OUTPUT              -j logaccept-final-5
  inet6/filter/OUTPUT             -j logaccept-final-5
  inet/filter/logaccept-final-5   -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-final-5  -m limit --limit 1/second -j LOG
  inet/filter/logaccept-final-5   -j ACCEPT
  inet6/filter/logaccept-final-5  -j ACCEPT

Filter 66                         {"flow-limit":{"count":30,"log":"none"},"log":"none"}
(filter-limit)                    
  inet/filter/FORWARD             -j limit-59
  inet6/filter/FORWARD            -j limit-59
  inet/filter/INPUT               -j limit-59
  inet6/filter/INPUT              -j limit-59
  inet/filter/OUTPUT              -j limit-59
  inet6/filter/OUTPUT             -j limit-59
  inet/filter/limit-59            -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-59 -j RETURN
  inet6/filter/limit-59           -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-59 -j RETURN
  inet/filter/limit-59            -j DROP
  inet6/filter/limit-59           -j DROP
  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 67                         {}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1066
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1067 1068 1069 1070 1071 1072
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1073

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087
Filter 68                         {"action":"drop"}
(log)                             
  inet/filter/FORWARD             -j logdrop-13
  inet6/filter/FORWARD            -j logdrop-13
  inet/filter/INPUT               -j logdrop-13
  inet6/filter/INPUT              -j logdrop-13
  inet/filter/OUTPUT              -j logdrop-13
  inet6/filter/OUTPUT             -j logdrop-13
  inet/filter/logdrop-13          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-13         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-13          -j DROP
  inet6/filter/logdrop-13         -j DROP

Filter 69                         {"action":"pass"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1088 1089 1090 1091 1092 1093 1094 1095
(log)                             
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1096
Filter 70                         {"log":false}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1097 1098 1099 1100 1101 1102 1103 1104
(log)                             
  inet/filter/FORWARD             -j ACCEPT
  inet6/filter/FORWARD            -j ACCEPT
  inet/filter/INPUT               -j ACCEPT
  inet6/filter/INPUT              -j ACCEPT
  inet/filter/OUTPUT              -j ACCEPT
  inet6/filter/OUTPUT             -j ACCEPT

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1105
Filter 71                         {"action":"drop","log":false}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1106 1107 1108 1109 1110 1111 1112 1113
(log)                             
  inet/filter/FORWARD             -j DROP
  inet6/filter/FORWARD            -j DROP
  inet/filter/INPUT               -j DROP
  inet6/filter/INPUT              -j DROP
  inet/filter/OUTPUT              -j DROP
  inet6/filter/OUTPUT             -j DROP

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1114
Filter 72                         {"action":"pass","log":false}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1115 1116 1117 1118 1119 1120 1121 1122
(log)                             
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1123
Filter 73                         {"log":true}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1124
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158
  inet/filter/FORWARD             -j logaccept-3
  inet6/filter/FORWARD            -j logaccept-3
  inet/filter/INPUT               -j logaccept-3
  inet6/filter/INPUT              -j logaccept-3
  inet/filter/OUTPUT              -j logaccept-3
  inet6/filter/OUTPUT             -j logaccept-3
  inet/filter/logaccept-3         -m limit --limit 1/second -j LOG
  inet6/filter/logaccept-3        -m limit --limit 1/second -j LOG
  inet/filter/logaccept-3         -j ACCEPT
  inet6/filter/logaccept-3        -j ACCEPT

Filter 74                         {"action":"drop","log":true}
(log)                             
  inet/filter/FORWARD             -j logdrop-14
  inet6/filter/FORWARD            -j logdrop-14
  inet/filter/INPUT               -j logdrop-14
  inet6/filter/INPUT              -j logdrop-14
  inet/filter/OUTPUT              -j logdrop-14
  inet6/filter/OUTPUT             -j logdrop-14
  inet/filter/logdrop-14          -m limit --limit 1/second -j LOG
  inet6/filter/logdrop-14         -m limit --limit 1/second -j LOG
  inet/filter/logdrop-14          -j DROP
  inet6/filter/logdrop-14         -j DROP

Filter 75                         {"action":"pass","log":true}
(log)                             
  inet/filter/FORWARD             -j logpass-0
  inet6/filter/FORWARD            -j logpass-0
  inet/filter/INPUT               -j logpass-0
  inet6/filter/INPUT              -j logpass-0
  inet/filter/OUTPUT              -j logpass-0
  inet6/filter/OUTPUT             -j logpass-0
  inet/filter/logpass-0           -m limit --limit 1/second -j LOG
  inet6/filter/logpass-0          -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1159

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1160
Filter 76                         {"log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1161
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176
  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 77                         {"action":"drop","log":"none"}
(log)                             
  inet/filter/FORWARD             -j DROP
  inet6/filter/FORWARD            -j DROP
  inet/filter/INPUT               -j DROP
  inet6/filter/INPUT              -j DROP
  inet/filter/OUTPUT              -j DROP
  inet6/filter/OUTPUT             -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1177

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1178
Filter 78                         {"action":"pass","log":"none"}
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1179
(log)                             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1180 1181 1182 1183 1184 1185
  inet/filter/FORWARD             
  inet6/filter/FORWARD            
  inet/filter/INPUT               
  inet6/filter/INPUT              
  inet/filter/OUTPUT              
  inet6/filter/OUTPUT             
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1186 1187


Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1188 1189 1190 1191 1192 1193 1194
Ipset awall-masquerade  {"family":"inet","type":"hash:net"}
(masquerade)            


Log _default  {"limit":1}
(defaults)    

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1195 1196 1197
Log none      {"mode":"none"}
(log)         

Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390

Service babel         {"port":6697,"proto":"tcp"}
(services)            

Service bacula-dir    {"port":9101,"proto":"tcp"}
(services)            

Service bacula-fd     {"port":9102,"proto":"tcp"}
(services)            

Service bacula-sd     {"port":9103,"proto":"tcp"}
(services)            

Service bgp           {"port":179,"proto":"tcp"}
(services)            

Service dhcp          {"family":"inet","port":[67,68],"proto":"udp"}
(services)            

Service discard       [{"port":9,"proto":"udp"},{"port":9,"proto":"tcp"}]
(services)            

Service dns           [{"port":53,"proto":"udp"},{"port":53,"proto":"tcp"}]
(services)            

Service epmap         [{"port":135,"proto":"tcp"},{"port":135,"proto":"udp"}]
(services)            

Service ftp           {"ct-helper":"ftp","port":21,"proto":"tcp"}
(services)            

Service gre           {"proto":"gre"}
(services)            

Service hp-pdl        {"port":9100,"proto":"tcp"}
(services)            

Service http          {"port":80,"proto":"tcp"}
(services)            

Service http-alt      {"port":8080,"proto":"tcp"}
(services)            

Service https         {"port":443,"proto":"tcp"}
(services)            

Service icmp          {"proto":"icmp"}
(services)            

Service igmp          {"proto":"igmp"}
(services)            

Service imap          {"port":143,"proto":"tcp"}
(services)            

Service imaps         {"port":993,"proto":"tcp"}
(services)            

Service ipsec         [{"proto":"esp"},{"port":[500,4500],"proto":"udp"}]
(services)            

Service irc           {"ct-helper":"irc","port":6667,"proto":"tcp"}
(services)            

Service kerberos      [{"port":88,"proto":"tcp"},{"port":88,"proto":"udp"}]
(services)            

Service kpasswd       [{"port":464,"proto":"tcp"},{"port":464,"proto":"udp"}]
(services)            

Service l2tp          {"port":1701,"proto":"udp"}
(services)            

Service ldap          [{"port":389,"proto":"tcp"},{"port":389,"proto":"udp"}]
(services)            

Service ldaps         [{"port":636,"proto":"tcp"},{"port":636,"proto":"udp"}]
(services)            

Service microsoft-ds  [{"port":445,"proto":"tcp"},{"port":445,"proto":"udp"}]
(services)            

Service ms-sql-m      {"port":1434,"proto":"tcp"}
(services)            

Service ms-sql-s      {"port":1433,"proto":"tcp"}
(services)            

Service msft-gc       [{"port":3268,"proto":"tcp"},{"port":3268,"proto":"udp"}]
(services)            

Service msft-gc-ssl   [{"port":3269,"proto":"tcp"},{"port":3269,"proto":"udp"}]
(services)            

Service netbios-ds    [{"port":138,"proto":"tcp"},{"port":138,"proto":"udp"}]
(services)            

Service netbios-ns    [{"family":"inet","port":137,"proto":"tcp"},{"ct-helper":"netbios-ns","family":"inet","port":137,"proto":"udp"}]
(services)            

Service netbios-ssn   [{"port":139,"proto":"tcp"},{"port":139,"proto":"udp"}]
(services)            

Service ntp           {"port":123,"proto":"udp"}
(services)            

Service ospf          {"proto":"ospf"}
(services)            

Service pgsql         {"port":5432,"proto":"tcp"}
(services)            

Service ping          [{"proto":"icmp","reply-type":0,"type":8},{"proto":"icmpv6","reply-type":129,"type":128}]
(services)            

Service pop3          {"port":110,"proto":"tcp"}
(services)            

Service pop3s         {"port":995,"proto":"tcp"}
(services)            

Service radius        [{"port":1812,"proto":"udp"},{"port":1812,"proto":"tcp"}]
(services)            

Service radius-acct   [{"port":1813,"proto":"udp"},{"port":1813,"proto":"tcp"}]
(services)            

Service rdp           {"port":3389,"proto":"tcp"}
(services)            

Service rsync         {"port":873,"proto":"tcp"}
(services)            

Service rtmp          {"port":1935,"proto":"tcp"}
(services)            

Service rtsp          {"port":554,"proto":"tcp"}
(services)            

Service sieve         {"port":4190,"proto":"tcp"}
(services)            

Service sip           [{"ct-helper":"sip","port":5060,"proto":"udp"},{"ct-helper":"sip","port":5060,"proto":"tcp"}]
(services)            

Service sip-tls       [{"port":5061,"proto":"udp"},{"port":5061,"proto":"tcp"}]
(services)            

Service smtp          {"port":25,"proto":"tcp"}
(services)            

Service snmp          {"port":161,"proto":"udp"}
(services)            

Service snmp-trap     {"port":162,"proto":"udp"}
(services)            

Service ssh           {"port":22,"proto":"tcp"}
(services)            

Service submission    {"port":587,"proto":"tcp"}
(services)            

Service syslog        {"port":514,"proto":"udp"}
(services)            

Service telnet        {"port":23,"proto":"tcp"}
(services)            

Service teredo        {"port":3544,"proto":"udp"}
(services)            

Service tftp          {"port":69,"proto":"udp"}
(services)            

Service vnc           {"port":5900,"proto":"tcp"}
(services)            


Variable awall_tproxy_mark  1
(defaults)                  


# ipset awall-masquerade
hash:net family inet


# rules-save generated by awall
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
:icmp-routing - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411
:limit-0 - [0:0]
:limit-1 - [0:0]
:limit-10 - [0:0]
:limit-11 - [0:0]
:limit-12 - [0:0]
:limit-13 - [0:0]
:limit-14 - [0:0]
:limit-15 - [0:0]
:limit-16 - [0:0]
:limit-17 - [0:0]
:limit-18 - [0:0]
:limit-19 - [0:0]
:limit-2 - [0:0]
:limit-20 - [0:0]
:limit-21 - [0:0]
:limit-22 - [0:0]
:limit-23 - [0:0]
:limit-24 - [0:0]
:limit-25 - [0:0]
:limit-26 - [0:0]
:limit-27 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1412 1413
:limit-28 - [0:0]
:limit-29 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1414
:limit-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1415 1416 1417 1418 1419 1420 1421 1422 1423 1424
:limit-30 - [0:0]
:limit-31 - [0:0]
:limit-32 - [0:0]
:limit-33 - [0:0]
:limit-34 - [0:0]
:limit-35 - [0:0]
:limit-36 - [0:0]
:limit-37 - [0:0]
:limit-38 - [0:0]
:limit-39 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1425
:limit-4 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435
:limit-40 - [0:0]
:limit-41 - [0:0]
:limit-42 - [0:0]
:limit-43 - [0:0]
:limit-44 - [0:0]
:limit-45 - [0:0]
:limit-46 - [0:0]
:limit-47 - [0:0]
:limit-48 - [0:0]
:limit-49 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1436
:limit-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1437 1438 1439 1440 1441 1442 1443 1444 1445 1446
:limit-50 - [0:0]
:limit-51 - [0:0]
:limit-52 - [0:0]
:limit-53 - [0:0]
:limit-54 - [0:0]
:limit-55 - [0:0]
:limit-56 - [0:0]
:limit-57 - [0:0]
:limit-58 - [0:0]
:limit-59 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1447 1448 1449 1450 1451 1452 1453
:limit-6 - [0:0]
:limit-7 - [0:0]
:limit-8 - [0:0]
:limit-9 - [0:0]
:logaccept-0 - [0:0]
:logaccept-1 - [0:0]
:logaccept-2 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1454
:logaccept-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1455 1456 1457 1458
:logaccept-final-0 - [0:0]
:logaccept-final-1 - [0:0]
:logaccept-final-2 - [0:0]
:logaccept-final-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1459 1460
:logaccept-final-4 - [0:0]
:logaccept-final-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1461 1462 1463
:logdrop-0 - [0:0]
:logdrop-1 - [0:0]
:logdrop-10 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1464 1465 1466 1467
:logdrop-11 - [0:0]
:logdrop-12 - [0:0]
:logdrop-13 - [0:0]
:logdrop-14 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479
:logdrop-2 - [0:0]
:logdrop-3 - [0:0]
:logdrop-4 - [0:0]
:logdrop-5 - [0:0]
:logdrop-6 - [0:0]
:logdrop-7 - [0:0]
:logdrop-8 - [0:0]
:logdrop-9 - [0:0]
:logpass-0 - [0:0]
:logreject-0 - [0:0]
:logtarpit-0 - [0:0]
:tarpit - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509
-A FORWARD -j limit-59
-A FORWARD -j limit-58
-A FORWARD -j limit-57
-A FORWARD -j limit-56
-A FORWARD -j limit-55
-A FORWARD -j limit-54
-A FORWARD -j limit-53
-A FORWARD -j limit-52
-A FORWARD -j limit-51
-A FORWARD -j limit-50
-A FORWARD -j limit-49
-A FORWARD -j limit-48
-A FORWARD -j limit-47
-A FORWARD -j limit-46
-A FORWARD -j limit-45
-A FORWARD -j limit-44
-A FORWARD -j limit-43
-A FORWARD -j limit-42
-A FORWARD -j limit-41
-A FORWARD -j limit-40
-A FORWARD -j limit-39
-A FORWARD -j limit-38
-A FORWARD -j limit-37
-A FORWARD -j limit-36
-A FORWARD -j limit-35
-A FORWARD -j limit-34
-A FORWARD -j limit-33
-A FORWARD -j limit-32
-A FORWARD -j limit-31
-A FORWARD -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1510
-A FORWARD -m conntrack --ctstate ESTABLISHED -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-0
-A FORWARD 
-A FORWARD -j logreject-0
-A FORWARD -j logtarpit-0
-A FORWARD -j limit-0
-A FORWARD -j limit-1
-A FORWARD -j limit-2
-A FORWARD -j limit-3
-A FORWARD -j limit-4
-A FORWARD -j limit-5
-A FORWARD -j limit-6
-A FORWARD -j limit-7
-A FORWARD -j limit-8
-A FORWARD -j limit-9
-A FORWARD -j limit-10
-A FORWARD -j limit-11
-A FORWARD -j limit-12
-A FORWARD -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546
-A FORWARD -j limit-14
-A FORWARD -j limit-15
-A FORWARD -j limit-16
-A FORWARD -j limit-17
-A FORWARD -j limit-18
-A FORWARD -j limit-19
-A FORWARD -j limit-20
-A FORWARD -j limit-21
-A FORWARD -j limit-22
-A FORWARD -j limit-23
-A FORWARD -j limit-24
-A FORWARD -j limit-25
-A FORWARD -j limit-26
-A FORWARD -j limit-27
-A FORWARD -j limit-28
-A FORWARD -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1547 1548 1549
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-0
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1550
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1551 1552
-A FORWARD -j logaccept-final-1
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1553
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1554 1555
-A FORWARD -j logaccept-final-2
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1556
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1557 1558
-A FORWARD -j logaccept-final-3
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1559 1560 1561 1562 1563 1564 1565 1566
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-4
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-5
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1567 1568 1569 1570
-A FORWARD 
-A FORWARD -j ACCEPT
-A FORWARD -j DROP
-A FORWARD 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1571 1572
-A FORWARD -j logaccept-3
-A FORWARD -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1573
-A FORWARD -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1574 1575 1576
-A FORWARD -j ACCEPT
-A FORWARD -j DROP
-A FORWARD 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1577
-A FORWARD -p icmp -j icmp-routing
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607
-A INPUT -j limit-59
-A INPUT -j limit-58
-A INPUT -j limit-57
-A INPUT -j limit-56
-A INPUT -j limit-55
-A INPUT -j limit-54
-A INPUT -j limit-53
-A INPUT -j limit-52
-A INPUT -j limit-51
-A INPUT -j limit-50
-A INPUT -j limit-49
-A INPUT -j limit-48
-A INPUT -j limit-47
-A INPUT -j limit-46
-A INPUT -j limit-45
-A INPUT -j limit-44
-A INPUT -j limit-43
-A INPUT -j limit-42
-A INPUT -j limit-41
-A INPUT -j limit-40
-A INPUT -j limit-39
-A INPUT -j limit-38
-A INPUT -j limit-37
-A INPUT -j limit-36
-A INPUT -j limit-35
-A INPUT -j limit-34
-A INPUT -j limit-33
-A INPUT -j limit-32
-A INPUT -j limit-31
-A INPUT -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1608 1609
-A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logdrop-0
-A INPUT 
-A INPUT -j logreject-0
-A INPUT -j logtarpit-0
-A INPUT -j limit-0
-A INPUT -j limit-1
-A INPUT -j limit-2
-A INPUT -j limit-3
-A INPUT -j limit-4
-A INPUT -j limit-5
-A INPUT -j limit-6
-A INPUT -j limit-7
-A INPUT -j limit-8
-A INPUT -j limit-9
-A INPUT -j limit-10
-A INPUT -j limit-11
-A INPUT -j limit-12
-A INPUT -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645
-A INPUT -j limit-14
-A INPUT -j limit-15
-A INPUT -j limit-16
-A INPUT -j limit-17
-A INPUT -j limit-18
-A INPUT -j limit-19
-A INPUT -j limit-20
-A INPUT -j limit-21
-A INPUT -j limit-22
-A INPUT -j limit-23
-A INPUT -j limit-24
-A INPUT -j limit-25
-A INPUT -j limit-26
-A INPUT -j limit-27
-A INPUT -j limit-28
-A INPUT -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1646 1647 1648
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-0
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1649
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1650 1651
-A INPUT -j logaccept-final-1
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1652
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1653 1654
-A INPUT -j logaccept-final-2
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1655
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1656 1657
-A INPUT -j logaccept-final-3
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1658 1659 1660 1661 1662 1663 1664 1665
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-4
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-5
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1666 1667 1668 1669
-A INPUT 
-A INPUT -j ACCEPT
-A INPUT -j DROP
-A INPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1670 1671
-A INPUT -j logaccept-3
-A INPUT -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1672
-A INPUT -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1673 1674 1675
-A INPUT -j ACCEPT
-A INPUT -j DROP
-A INPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1676
-A INPUT -p icmp -j icmp-routing
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706
-A OUTPUT -j limit-59
-A OUTPUT -j limit-58
-A OUTPUT -j limit-57
-A OUTPUT -j limit-56
-A OUTPUT -j limit-55
-A OUTPUT -j limit-54
-A OUTPUT -j limit-53
-A OUTPUT -j limit-52
-A OUTPUT -j limit-51
-A OUTPUT -j limit-50
-A OUTPUT -j limit-49
-A OUTPUT -j limit-48
-A OUTPUT -j limit-47
-A OUTPUT -j limit-46
-A OUTPUT -j limit-45
-A OUTPUT -j limit-44
-A OUTPUT -j limit-43
-A OUTPUT -j limit-42
-A OUTPUT -j limit-41
-A OUTPUT -j limit-40
-A OUTPUT -j limit-39
-A OUTPUT -j limit-38
-A OUTPUT -j limit-37
-A OUTPUT -j limit-36
-A OUTPUT -j limit-35
-A OUTPUT -j limit-34
-A OUTPUT -j limit-33
-A OUTPUT -j limit-32
-A OUTPUT -j limit-31
-A OUTPUT -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1707 1708
-A OUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logdrop-0
-A OUTPUT 
-A OUTPUT -j logreject-0
-A OUTPUT -j logtarpit-0
-A OUTPUT -j limit-0
-A OUTPUT -j limit-1
-A OUTPUT -j limit-2
-A OUTPUT -j limit-3
-A OUTPUT -j limit-4
-A OUTPUT -j limit-5
-A OUTPUT -j limit-6
-A OUTPUT -j limit-7
-A OUTPUT -j limit-8
-A OUTPUT -j limit-9
-A OUTPUT -j limit-10
-A OUTPUT -j limit-11
-A OUTPUT -j limit-12
-A OUTPUT -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744
-A OUTPUT -j limit-14
-A OUTPUT -j limit-15
-A OUTPUT -j limit-16
-A OUTPUT -j limit-17
-A OUTPUT -j limit-18
-A OUTPUT -j limit-19
-A OUTPUT -j limit-20
-A OUTPUT -j limit-21
-A OUTPUT -j limit-22
-A OUTPUT -j limit-23
-A OUTPUT -j limit-24
-A OUTPUT -j limit-25
-A OUTPUT -j limit-26
-A OUTPUT -j limit-27
-A OUTPUT -j limit-28
-A OUTPUT -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1745 1746 1747
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-0
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1748
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1749 1750
-A OUTPUT -j logaccept-final-1
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1751
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1752 1753
-A OUTPUT -j logaccept-final-2
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1754
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1755 1756
-A OUTPUT -j logaccept-final-3
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1757 1758 1759 1760 1761 1762 1763 1764
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-4
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-5
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1765 1766 1767 1768
-A OUTPUT 
-A OUTPUT -j ACCEPT
-A OUTPUT -j DROP
-A OUTPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1769 1770
-A OUTPUT -j logaccept-3
-A OUTPUT -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1771
-A OUTPUT -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1772 1773 1774
-A OUTPUT -j ACCEPT
-A OUTPUT -j DROP
-A OUTPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1775 1776 1777 1778
-A OUTPUT -p icmp -j icmp-routing
-A icmp-routing -p icmp --icmp-type 3 -j ACCEPT
-A icmp-routing -p icmp --icmp-type 11 -j ACCEPT
-A icmp-routing -p icmp --icmp-type 12 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1779 1780 1781 1782
-A limit-0 -m recent --name limit-0 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-1
-A limit-0 -m recent --name limit-0 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-1 -m recent --name limit-1 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-2
-A limit-1 -m recent --name limit-1 --rsource --mask 255.255.255.255 --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805
-A limit-10 -m recent --name limit-10 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-10 -m recent --name limit-10 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-11 -m recent --name limit-11 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-11 -m recent --name limit-11 --rsource --mask 255.255.255.255 --set 
-A limit-12 -m recent --name limit-12 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-12 -m recent --name limit-12 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-13 -m recent --name limit-13 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-13 -m recent --name limit-13 --rsource --mask 255.255.255.255 --set 
-A limit-14 -m recent --name limit-14 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-14 -m limit --limit 1/second -j LOG
-A limit-14 -m recent --name limit-14 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-15 -m recent --name limit-15 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-15 -m recent --name limit-15 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-16 -m recent --name limit-16 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-16 -m recent --name limit-16 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-17 -m recent --name limit-17 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-17 -m recent --name limit-17 --rsource --mask 255.255.255.255 --set 
-A limit-18 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-18 -j ACCEPT
-A limit-18 -m limit --limit 1/second -j LOG
-A limit-18 -j DROP
-A limit-19 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-19 -j RETURN
-A limit-19 -m limit --limit 1/second -j LOG
-A limit-19 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1806 1807 1808
-A limit-2 -m recent --name limit-2 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-3
-A limit-2 -m limit --limit 1/second -j LOG
-A limit-2 -m recent --name limit-2 --rsource --mask 255.255.255.255 --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1809 1810 1811 1812 1813 1814 1815
-A limit-20 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-20 -j logaccept-0
-A limit-20 -m limit --limit 1/second -j LOG
-A limit-20 -j DROP
-A limit-21 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-21 -j ACCEPT
-A limit-21 -m limit --limit 1/second -j LOG
-A limit-21 -j DROP
-A limit-22 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-22 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1816 1817 1818
-A limit-22 -j DROP
-A limit-23 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-23 -j RETURN
-A limit-23 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1819
-A limit-24 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-24 -j logaccept-1
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1820
-A limit-24 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1821
-A limit-25 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-25 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1822
-A limit-25 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1823
-A limit-26 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-26 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1824 1825 1826
-A limit-26 -j DROP
-A limit-27 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-27 -j RETURN
-A limit-27 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1827 1828 1829 1830
-A limit-28 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-28 -j logaccept-2
-A limit-28 -j DROP
-A limit-29 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-29 -j ACCEPT
-A limit-29 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1831 1832
-A limit-3 -m recent --name limit-3 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-4
-A limit-3 -m recent --name limit-3 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853
-A limit-30 -m recent --name limit-30 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-7
-A limit-30 -m recent --name limit-30 --rsource --mask 255.255.255.255 --set 
-A limit-31 -m recent --name limit-31 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-8
-A limit-31 -m recent --name limit-31 --rsource --mask 255.255.255.255 --set 
-A limit-32 -m recent --name limit-32 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-9
-A limit-32 -m recent --name limit-32 --rsource --mask 255.255.255.255 --set 
-A limit-33 -m recent --name limit-33 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-10
-A limit-33 -m recent --name limit-33 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-34 -m recent --name limit-34 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-11
-A limit-34 -m recent --name limit-34 --rsource --mask 255.255.255.255 --set 
-A limit-35 -m recent --name limit-35 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-12
-A limit-35 -m recent --name limit-35 --rsource --mask 255.255.255.255 --set 
-A limit-36 -m recent --name limit-36 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-36 -m recent --name limit-36 --rsource --mask 255.255.255.255 --set 
-A limit-37 -m recent --name limit-37 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-37 -m recent --name limit-37 --rsource --mask 255.255.255.255 --set 
-A limit-38 -m recent --name limit-38 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-38 -m recent --name limit-38 --rsource --mask 255.255.255.255 --set 
-A limit-39 -m recent --name limit-39 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-39 -m recent --name limit-39 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-4 -m recent --name limit-4 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-5
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1854
-A limit-4 -m recent --name limit-4 --rsource --mask 255.255.255.255 --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877
-A limit-40 -m recent --name limit-40 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-40 -m recent --name limit-40 --rsource --mask 255.255.255.255 --set 
-A limit-41 -m recent --name limit-41 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-41 -m recent --name limit-41 --rsource --mask 255.255.255.255 --set 
-A limit-42 -m recent --name limit-42 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-42 -m recent --name limit-42 --rsource --mask 255.255.255.255 --set 
-A limit-43 -m recent --name limit-43 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-43 -m recent --name limit-43 --rsource --mask 255.255.255.255 --set 
-A limit-44 -m recent --name limit-44 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-44 -m recent --name limit-44 --rsource --mask 255.255.255.255 --set 
-A limit-45 -m recent --name limit-45 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-45 -m recent --name limit-45 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
-A limit-46 -m recent --name limit-46 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-46 -m recent --name limit-46 --rsource --mask 255.255.255.255 --set 
-A limit-47 -m recent --name limit-47 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-47 -m recent --name limit-47 --rsource --mask 255.255.255.255 --set 
-A limit-48 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-48 -j RETURN
-A limit-48 -m limit --limit 1/second -j LOG
-A limit-48 -j DROP
-A limit-49 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-49 -j RETURN
-A limit-49 -m limit --limit 1/second -j LOG
-A limit-49 -j DROP
-A limit-5 -m recent --name limit-5 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j logdrop-6
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1878
-A limit-5 -m recent --name limit-5 --rsource --mask 255.255.255.255 --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900
-A limit-50 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-50 -j RETURN
-A limit-50 -m limit --limit 1/second -j LOG
-A limit-50 -j DROP
-A limit-51 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-51 -j RETURN
-A limit-51 -m limit --limit 1/second -j LOG
-A limit-51 -j DROP
-A limit-52 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-52 -j RETURN
-A limit-52 -j DROP
-A limit-53 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-53 -j RETURN
-A limit-53 -j DROP
-A limit-54 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-54 -j RETURN
-A limit-54 -j DROP
-A limit-55 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-55 -j RETURN
-A limit-55 -j DROP
-A limit-56 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-56 -j RETURN
-A limit-56 -j DROP
-A limit-57 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-57 -j RETURN
-A limit-57 -j DROP
-A limit-58 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-58 -j RETURN
-A limit-58 -j DROP
-A limit-59 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 32 --hashlimit-name limit-59 -j RETURN
-A limit-59 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1901 1902 1903
-A limit-6 -m recent --name limit-6 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-6 -m recent --name limit-6 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-7 -m recent --name limit-7 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1904 1905
-A limit-7 -m recent --name limit-7 --rsource --mask 255.255.255.255 --set 
-A limit-8 -m recent --name limit-8 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1906
-A limit-8 -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1907 1908 1909
-A limit-8 -m recent --name limit-8 --rsource --mask 255.255.255.255 --set -j ACCEPT
-A limit-9 -m recent --name limit-9 --rsource --mask 255.255.255.255 --update --hitcount 1 --seconds 1 -j DROP
-A limit-9 -m recent --name limit-9 --rsource --mask 255.255.255.255 --set -m limit --limit 1/second -j LOG
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1910 1911 1912 1913 1914 1915
-A logaccept-0 -m limit --limit 1/second -j LOG
-A logaccept-0 -j ACCEPT
-A logaccept-1 -m limit --limit 1/second -j LOG
-A logaccept-1 -j ACCEPT
-A logaccept-2 -m limit --limit 1/second -j LOG
-A logaccept-2 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1916 1917
-A logaccept-3 -m limit --limit 1/second -j LOG
-A logaccept-3 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1918 1919 1920 1921 1922 1923 1924 1925
-A logaccept-final-0 -m limit --limit 1/second -j LOG
-A logaccept-final-0 -j ACCEPT
-A logaccept-final-1 -m limit --limit 1/second -j LOG
-A logaccept-final-1 -j ACCEPT
-A logaccept-final-2 -m limit --limit 1/second -j LOG
-A logaccept-final-2 -j ACCEPT
-A logaccept-final-3 -m limit --limit 1/second -j LOG
-A logaccept-final-3 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1926 1927 1928 1929
-A logaccept-final-4 -m limit --limit 1/second -j LOG
-A logaccept-final-4 -j ACCEPT
-A logaccept-final-5 -m limit --limit 1/second -j LOG
-A logaccept-final-5 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1930 1931 1932 1933 1934 1935
-A logdrop-0 -m limit --limit 1/second -j LOG
-A logdrop-0 -j DROP
-A logdrop-1 -m limit --limit 1/second -j LOG
-A logdrop-1 -j DROP
-A logdrop-10 -m limit --limit 1/second -j LOG
-A logdrop-10 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1936 1937 1938 1939 1940 1941 1942 1943
-A logdrop-11 -m limit --limit 1/second -j LOG
-A logdrop-11 -j DROP
-A logdrop-12 -m limit --limit 1/second -j LOG
-A logdrop-12 -j DROP
-A logdrop-13 -m limit --limit 1/second -j LOG
-A logdrop-13 -j DROP
-A logdrop-14 -m limit --limit 1/second -j LOG
-A logdrop-14 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966
-A logdrop-2 -m limit --limit 1/second -j LOG
-A logdrop-2 -j DROP
-A logdrop-3 -m limit --limit 1/second -j LOG
-A logdrop-3 -j DROP
-A logdrop-4 -m limit --limit 1/second -j LOG
-A logdrop-4 -j DROP
-A logdrop-5 -m limit --limit 1/second -j LOG
-A logdrop-5 -j DROP
-A logdrop-6 -m limit --limit 1/second -j LOG
-A logdrop-6 -j DROP
-A logdrop-7 -m limit --limit 1/second -j LOG
-A logdrop-7 -j DROP
-A logdrop-8 -m limit --limit 1/second -j LOG
-A logdrop-8 -j DROP
-A logdrop-9 -m limit --limit 1/second -j LOG
-A logdrop-9 -j DROP
-A logpass-0 -m limit --limit 1/second -j LOG
-A logreject-0 -m limit --limit 1/second -j LOG
-A logreject-0 -j REJECT
-A logtarpit-0 -m limit --limit 1/second -j LOG
-A logtarpit-0 -j tarpit
-A tarpit -p tcp -j TARPIT
-A tarpit -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1967 1968 1969 1970 1971 1972 1973
COMMIT
*nat
:POSTROUTING ACCEPT [0:0]
:awall-masquerade - [0:0]
-A POSTROUTING -m set --match-set awall-masquerade src -j awall-masquerade
-A awall-masquerade -m set ! --match-set awall-masquerade dst -j MASQUERADE
COMMIT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1974 1975 1976 1977 1978 1979
*raw
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
-A OUTPUT -j CT --notrack
-A PREROUTING -j CT --notrack
COMMIT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1980 1981 1982 1983 1984 1985 1986

# rules6-save generated by awall
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT DROP [0:0]
:icmp-routing - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007
:limit-0 - [0:0]
:limit-1 - [0:0]
:limit-10 - [0:0]
:limit-11 - [0:0]
:limit-12 - [0:0]
:limit-13 - [0:0]
:limit-14 - [0:0]
:limit-15 - [0:0]
:limit-16 - [0:0]
:limit-17 - [0:0]
:limit-18 - [0:0]
:limit-19 - [0:0]
:limit-2 - [0:0]
:limit-20 - [0:0]
:limit-21 - [0:0]
:limit-22 - [0:0]
:limit-23 - [0:0]
:limit-24 - [0:0]
:limit-25 - [0:0]
:limit-26 - [0:0]
:limit-27 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2008 2009
:limit-28 - [0:0]
:limit-29 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2010
:limit-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2011 2012 2013 2014 2015 2016 2017 2018 2019 2020
:limit-30 - [0:0]
:limit-31 - [0:0]
:limit-32 - [0:0]
:limit-33 - [0:0]
:limit-34 - [0:0]
:limit-35 - [0:0]
:limit-36 - [0:0]
:limit-37 - [0:0]
:limit-38 - [0:0]
:limit-39 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2021
:limit-4 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2022 2023 2024 2025 2026 2027 2028 2029 2030 2031
:limit-40 - [0:0]
:limit-41 - [0:0]
:limit-42 - [0:0]
:limit-43 - [0:0]
:limit-44 - [0:0]
:limit-45 - [0:0]
:limit-46 - [0:0]
:limit-47 - [0:0]
:limit-48 - [0:0]
:limit-49 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2032
:limit-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2033 2034 2035 2036 2037 2038 2039 2040 2041 2042
:limit-50 - [0:0]
:limit-51 - [0:0]
:limit-52 - [0:0]
:limit-53 - [0:0]
:limit-54 - [0:0]
:limit-55 - [0:0]
:limit-56 - [0:0]
:limit-57 - [0:0]
:limit-58 - [0:0]
:limit-59 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2043 2044 2045 2046 2047 2048 2049
:limit-6 - [0:0]
:limit-7 - [0:0]
:limit-8 - [0:0]
:limit-9 - [0:0]
:logaccept-0 - [0:0]
:logaccept-1 - [0:0]
:logaccept-2 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2050
:logaccept-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2051 2052 2053 2054
:logaccept-final-0 - [0:0]
:logaccept-final-1 - [0:0]
:logaccept-final-2 - [0:0]
:logaccept-final-3 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2055 2056
:logaccept-final-4 - [0:0]
:logaccept-final-5 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2057 2058 2059
:logdrop-0 - [0:0]
:logdrop-1 - [0:0]
:logdrop-10 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2060 2061 2062 2063
:logdrop-11 - [0:0]
:logdrop-12 - [0:0]
:logdrop-13 - [0:0]
:logdrop-14 - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075
:logdrop-2 - [0:0]
:logdrop-3 - [0:0]
:logdrop-4 - [0:0]
:logdrop-5 - [0:0]
:logdrop-6 - [0:0]
:logdrop-7 - [0:0]
:logdrop-8 - [0:0]
:logdrop-9 - [0:0]
:logpass-0 - [0:0]
:logreject-0 - [0:0]
:logtarpit-0 - [0:0]
:tarpit - [0:0]
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105
-A FORWARD -j limit-59
-A FORWARD -j limit-58
-A FORWARD -j limit-57
-A FORWARD -j limit-56
-A FORWARD -j limit-55
-A FORWARD -j limit-54
-A FORWARD -j limit-53
-A FORWARD -j limit-52
-A FORWARD -j limit-51
-A FORWARD -j limit-50
-A FORWARD -j limit-49
-A FORWARD -j limit-48
-A FORWARD -j limit-47
-A FORWARD -j limit-46
-A FORWARD -j limit-45
-A FORWARD -j limit-44
-A FORWARD -j limit-43
-A FORWARD -j limit-42
-A FORWARD -j limit-41
-A FORWARD -j limit-40
-A FORWARD -j limit-39
-A FORWARD -j limit-38
-A FORWARD -j limit-37
-A FORWARD -j limit-36
-A FORWARD -j limit-35
-A FORWARD -j limit-34
-A FORWARD -j limit-33
-A FORWARD -j limit-32
-A FORWARD -j limit-31
-A FORWARD -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2106
-A FORWARD -m conntrack --ctstate ESTABLISHED -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-0
-A FORWARD 
-A FORWARD -j logreject-0
-A FORWARD -j logtarpit-0
-A FORWARD -j limit-0
-A FORWARD -j limit-1
-A FORWARD -j limit-2
-A FORWARD -j limit-3
-A FORWARD -j limit-4
-A FORWARD -j limit-5
-A FORWARD -j limit-6
-A FORWARD -j limit-7
-A FORWARD -j limit-8
-A FORWARD -j limit-9
-A FORWARD -j limit-10
-A FORWARD -j limit-11
-A FORWARD -j limit-12
-A FORWARD -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142
-A FORWARD -j limit-14
-A FORWARD -j limit-15
-A FORWARD -j limit-16
-A FORWARD -j limit-17
-A FORWARD -j limit-18
-A FORWARD -j limit-19
-A FORWARD -j limit-20
-A FORWARD -j limit-21
-A FORWARD -j limit-22
-A FORWARD -j limit-23
-A FORWARD -j limit-24
-A FORWARD -j limit-25
-A FORWARD -j limit-26
-A FORWARD -j limit-27
-A FORWARD -j limit-28
-A FORWARD -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2143 2144 2145
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-0
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2146
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2147 2148
-A FORWARD -j logaccept-final-1
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2149
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2150 2151
-A FORWARD -j logaccept-final-2
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2152
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2153 2154
-A FORWARD -j logaccept-final-3
-A FORWARD -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2155 2156 2157 2158 2159 2160 2161 2162
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-4
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logaccept-final-5
-A FORWARD -j ACCEPT
-A FORWARD -j ACCEPT
-A FORWARD -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2163 2164 2165 2166
-A FORWARD 
-A FORWARD -j ACCEPT
-A FORWARD -j DROP
-A FORWARD 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2167 2168
-A FORWARD -j logaccept-3
-A FORWARD -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2169
-A FORWARD -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2170 2171 2172
-A FORWARD -j ACCEPT
-A FORWARD -j DROP
-A FORWARD 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2173
-A FORWARD -p icmpv6 -j icmp-routing
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203
-A INPUT -j limit-59
-A INPUT -j limit-58
-A INPUT -j limit-57
-A INPUT -j limit-56
-A INPUT -j limit-55
-A INPUT -j limit-54
-A INPUT -j limit-53
-A INPUT -j limit-52
-A INPUT -j limit-51
-A INPUT -j limit-50
-A INPUT -j limit-49
-A INPUT -j limit-48
-A INPUT -j limit-47
-A INPUT -j limit-46
-A INPUT -j limit-45
-A INPUT -j limit-44
-A INPUT -j limit-43
-A INPUT -j limit-42
-A INPUT -j limit-41
-A INPUT -j limit-40
-A INPUT -j limit-39
-A INPUT -j limit-38
-A INPUT -j limit-37
-A INPUT -j limit-36
-A INPUT -j limit-35
-A INPUT -j limit-34
-A INPUT -j limit-33
-A INPUT -j limit-32
-A INPUT -j limit-31
-A INPUT -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2204 2205
-A INPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logdrop-0
-A INPUT 
-A INPUT -j logreject-0
-A INPUT -j logtarpit-0
-A INPUT -j limit-0
-A INPUT -j limit-1
-A INPUT -j limit-2
-A INPUT -j limit-3
-A INPUT -j limit-4
-A INPUT -j limit-5
-A INPUT -j limit-6
-A INPUT -j limit-7
-A INPUT -j limit-8
-A INPUT -j limit-9
-A INPUT -j limit-10
-A INPUT -j limit-11
-A INPUT -j limit-12
-A INPUT -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241
-A INPUT -j limit-14
-A INPUT -j limit-15
-A INPUT -j limit-16
-A INPUT -j limit-17
-A INPUT -j limit-18
-A INPUT -j limit-19
-A INPUT -j limit-20
-A INPUT -j limit-21
-A INPUT -j limit-22
-A INPUT -j limit-23
-A INPUT -j limit-24
-A INPUT -j limit-25
-A INPUT -j limit-26
-A INPUT -j limit-27
-A INPUT -j limit-28
-A INPUT -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2242 2243 2244
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-0
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2245
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2246 2247
-A INPUT -j logaccept-final-1
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2248
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2249 2250
-A INPUT -j logaccept-final-2
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2251
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2252 2253
-A INPUT -j logaccept-final-3
-A INPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2254 2255 2256 2257 2258 2259 2260 2261
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-4
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logaccept-final-5
-A INPUT -j ACCEPT
-A INPUT -j ACCEPT
-A INPUT -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2262 2263 2264 2265
-A INPUT 
-A INPUT -j ACCEPT
-A INPUT -j DROP
-A INPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2266 2267
-A INPUT -j logaccept-3
-A INPUT -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2268
-A INPUT -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2269 2270 2271
-A INPUT -j ACCEPT
-A INPUT -j DROP
-A INPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2272
-A INPUT -p icmpv6 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302
-A OUTPUT -j limit-59
-A OUTPUT -j limit-58
-A OUTPUT -j limit-57
-A OUTPUT -j limit-56
-A OUTPUT -j limit-55
-A OUTPUT -j limit-54
-A OUTPUT -j limit-53
-A OUTPUT -j limit-52
-A OUTPUT -j limit-51
-A OUTPUT -j limit-50
-A OUTPUT -j limit-49
-A OUTPUT -j limit-48
-A OUTPUT -j limit-47
-A OUTPUT -j limit-46
-A OUTPUT -j limit-45
-A OUTPUT -j limit-44
-A OUTPUT -j limit-43
-A OUTPUT -j limit-42
-A OUTPUT -j limit-41
-A OUTPUT -j limit-40
-A OUTPUT -j limit-39
-A OUTPUT -j limit-38
-A OUTPUT -j limit-37
-A OUTPUT -j limit-36
-A OUTPUT -j limit-35
-A OUTPUT -j limit-34
-A OUTPUT -j limit-33
-A OUTPUT -j limit-32
-A OUTPUT -j limit-31
-A OUTPUT -j limit-30
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2303 2304
-A OUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logdrop-0
-A OUTPUT 
-A OUTPUT -j logreject-0
-A OUTPUT -j logtarpit-0
-A OUTPUT -j limit-0
-A OUTPUT -j limit-1
-A OUTPUT -j limit-2
-A OUTPUT -j limit-3
-A OUTPUT -j limit-4
-A OUTPUT -j limit-5
-A OUTPUT -j limit-6
-A OUTPUT -j limit-7
-A OUTPUT -j limit-8
-A OUTPUT -j limit-9
-A OUTPUT -j limit-10
-A OUTPUT -j limit-11
-A OUTPUT -j limit-12
-A OUTPUT -j limit-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340
-A OUTPUT -j limit-14
-A OUTPUT -j limit-15
-A OUTPUT -j limit-16
-A OUTPUT -j limit-17
-A OUTPUT -j limit-18
-A OUTPUT -j limit-19
-A OUTPUT -j limit-20
-A OUTPUT -j limit-21
-A OUTPUT -j limit-22
-A OUTPUT -j limit-23
-A OUTPUT -j limit-24
-A OUTPUT -j limit-25
-A OUTPUT -j limit-26
-A OUTPUT -j limit-27
-A OUTPUT -j limit-28
-A OUTPUT -j limit-29
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2341 2342 2343
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-0
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2344
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2345 2346
-A OUTPUT -j logaccept-final-1
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2347
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2348 2349
-A OUTPUT -j logaccept-final-2
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2350
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2351 2352
-A OUTPUT -j logaccept-final-3
-A OUTPUT -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2353 2354 2355 2356 2357 2358 2359 2360
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-4
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logaccept-final-5
-A OUTPUT -j ACCEPT
-A OUTPUT -j ACCEPT
-A OUTPUT -j logdrop-13
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2361 2362 2363 2364
-A OUTPUT 
-A OUTPUT -j ACCEPT
-A OUTPUT -j DROP
-A OUTPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2365 2366
-A OUTPUT -j logaccept-3
-A OUTPUT -j logdrop-14
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2367
-A OUTPUT -j logpass-0
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2368 2369 2370
-A OUTPUT -j ACCEPT
-A OUTPUT -j DROP
-A OUTPUT 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2371 2372 2373 2374 2375
-A OUTPUT -p icmpv6 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 1 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 2 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 3 -j ACCEPT
-A icmp-routing -p icmpv6 --icmpv6-type 4 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2376 2377 2378 2379
-A 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
-A limit-0 -m recent --name limit-0 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
-A 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
-A limit-1 -m recent --name limit-1 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402
-A limit-10 -m recent --name limit-10 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-10 -m recent --name limit-10 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
-A limit-11 -m recent --name limit-11 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-11 -m recent --name limit-11 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
-A limit-12 -m recent --name limit-12 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-12 -m recent --name limit-12 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
-A limit-13 -m recent --name limit-13 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-13 -m recent --name limit-13 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
-A limit-14 -m recent --name limit-14 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-14 -m limit --limit 1/second -j LOG
-A limit-14 -m recent --name limit-14 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
-A limit-15 -m recent --name limit-15 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-15 -m recent --name limit-15 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -m limit --limit 1/second -j LOG
-A limit-16 -m recent --name limit-16 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-16 -m recent --name limit-16 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
-A limit-17 -m recent --name limit-17 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --update --hitcount 1 --seconds 1 -j DROP
-A limit-17 -m recent --name limit-17 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set 
-A limit-18 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-18 -j ACCEPT
-A limit-18 -m limit --limit 1/second -j LOG
-A limit-18 -j DROP
-A limit-19 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-19 -j RETURN
-A limit-19 -m limit --limit 1/second -j LOG
-A limit-19 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2403 2404 2405
-A 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
-A limit-2 -m limit --limit 1/second -j LOG
-A limit-2 -m recent --name limit-2 --rsource --mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff --set -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2406 2407 2408 2409 2410 2411 2412
-A limit-20 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-20 -j logaccept-0
-A limit-20 -m limit --limit 1/second -j LOG
-A limit-20 -j DROP
-A limit-21 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-21 -j ACCEPT
-A limit-21 -m limit --limit 1/second -j LOG
-A limit-21 -j DROP
-A limit-22 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-22 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2413 2414 2415
-A limit-22 -j DROP
-A limit-23 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-23 -j RETURN
-A limit-23 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2416
-A limit-24 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-24 -j logaccept-1
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2417
-A limit-24 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2418
-A limit-25 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-25 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2419
-A limit-25 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2420
-A limit-26 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-26 -j ACCEPT
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2421 2422 2423
-A limit-26 -j DROP
-A limit-27 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-27 -j RETURN
-A limit-27 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2424 2425 2426 2427
-A limit-28 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-28 -j logaccept-2
-A limit-28 -j DROP
-A limit-29 -m hashlimit --hashlimit-upto 30/second --hashlimit-burst 30 --hashlimit-mode srcip --hashlimit-srcmask 128 --hashlimit-name limit-29 -j ACCEPT
-A limit-29 -j DROP
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
2428 2429
-A 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
-A 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