This is a script tseems to need run on schedule but it is not run just once,
I tried this
/ip firewall filter
add action=add-src-to-address-list address-list=24-hour-list address-list-timeout="1d 00:00:00" chain=bad-host-detection comment="If seen 20 time in 30 seconds add to the one day block list" disabled=no nth=50 src-address-list=30-seond-list
o
there is problem with nth. I remove it and in the this firewall filter rule at --->-extra-----> Nth,
I fill every with 50 and packet with 50 but I don't know if that done the trick.
Note: the manual says:
nth ( integer | integer : 0 ..15 | integer ) - match a particular Nth packet received by the rule. One of
16 available counters can be used to count packets
• Every - match every Every+1th packet. For example, if Every=1 then the rule matches every
2nd packet
• Counter - specifies which counter to use. A counter increments each time the rule containing
nth match matches
• Packet - match on the given packet number. The value by obvious reasons must be between 0
and Every. If this option is used for a given counter, then there must be at least Every+1 rules
with this option, covering all values between 0 and Every inclusively.
but In winbox I can only see "Every" and packet and I don't see the counter