Changes
- Added
MAX_DECISIONSenvironment variable (default:40000) to limit decisions sent to bouncers - Prevents overwhelming UniFi firewall bouncers with 120K+ decisions that crash the Network app (fixes #21)
- Supports
MAX_DECISIONS=0orunlimitedto explicitly disable the cap for Linux server bouncers - Warns when projected total exceeds 65536 (default ipset maxelem) if cap is disabled
- Documents per-device recommended values (UDM SE: 50000, UDR: 15000, USG: 8000)
- New README section: "Firewall Bouncer Limits / ipset Sizing" with device table, config examples, and crash recovery steps
MAX_DECISIONS=40000included in exampledocker-compose.yml
Upgrade
No breaking changes. The new default (MAX_DECISIONS=40000) is safe for all devices.
To customise, set MAX_DECISIONS in your environment:
- UDM SE:
MAX_DECISIONS=50000 - UDR:
MAX_DECISIONS=15000 - USG:
MAX_DECISIONS=8000 - Linux server:
MAX_DECISIONS=0(unlimited)