Code: Select all
add address=213.47.xxx.xxx/28 list=ournetwork
add address=192.168.0.0/24 list=ournetwork
add action=drop chain=forward comment="block POP3 bruteforcers" src-address-list=pop3_blacklist
add chain=forward comment="allow 4 wrong POP3 logins per minute" content="-ERR Authentication failed" dst-address-list=!ournetwork dst-limit=1/1m,4,dst-address/1m protocol=tcp src-port=110
add action=jump chain=forward comment="put source IP on blocklist for one week after the 5th wrong POP3 login" content="-ERR Authentication failed" dst-address-list=!ournetwork jump-target="log and add to POP3 addr-list" protocol=tcp src-port=110
add action=log chain="log and add to POP3 addr-list"
add action=add-dst-to-address-list address-list=pop3_blacklist address-list-timeout=1w chain="log and add to POP3 addr-list"
As you can see the IP is always the same although it should be already in the addr-list and therefore beeing blocked.
Any ideas?
Is there a delay how often addr-list is being read?