ipfw: install_state: Too many dynamic rules
Trying to keep server live under huge DDoS. After some time following message appeared:
ipfw: install_state: Too many dynamic rules
Problem solved after i change following sysctl value:
As for me, optimal value: 16384
Current amount of rules you can found in following counter:
net.inet.ip.fw.dyn_count
Also, under DDoS, a good idea to enable full stealth mode for TCP and UDP.
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1