Fail2Ban ignoreregex for broadcast/multicast transmissions
Add ignoreregex to the FAil2Ban config so it doesn't block the broadcast and multicast transmissions from the router, fail2ban will block the default gateway IP-address with the current config.
failregex = UFW BLOCK.* SRC=<HOST>
ignoreregex =
Ex. log entry from UFW for multicast block
Aug 19 19:02:00 $USER kernel: [35424.283182] [UFW BLOCK] IN=wlp2s0 OUT= MAC=xx:XX:xx:XX:XX:Xx:xX:XX:xx:xx:xX:XX:XX:XX SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=62752 PROTO=2
I don't know, maybe something like this perhaps? 🙏
/UFW BLOCK.* DST=224.0.0.(1|251|254|255)/
This can be solved by using the ignoreip option, closing this issue
https://github.com/fail2ban/fail2ban/issues/2970#issuecomment-798296682