-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Package Name
banip
Maintainer
OpenWrt Version
24.10.4
OpenWrt Target/Subtarget
mediatek/mt7622
Steps to Reproduce
- Enable some banIP feeds for the input table, for example firehol1
- Enable logging for inbound
The created rules in nftables are like this:
ip saddr @firehol1.v4 log prefix "banIP/inbound/drop/firehol1.v4: " limit rate 10/second burst 5 packets counter packets 5176 bytes 223292 drop
Actual Behaviour
If my understanding of limit in nftables is correct, the limit is also applying to the drop instance, so it's dropping only 10 packets/second.
I think this should be split into 2 rules: logging (with limits) and dropping.
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.