SYN flood protection option name change

OpenWrt 24.10.4:

root@openwrt:~# cat /rom/etc/config/firewall | grep syn
	option syn_flood	1
root@openwrt:~# cat /etc/config/firewall | grep syn
	option synflood_protect '1'

... probably default firewall config should be updated in order to reflect name change.

Both options work, precedence here https://github.com/openwrt/firewall4/blob/b6e5157527d361f99ad52eaa6da273cb0f2dfd59/root/usr/share/ucode/fw4.uc#L1978
Indeed. there should be consistency.

2 Likes

Yeah, I know. But for the sake of consistency old one should be dropped from default config.

... adding bracketting with quotation mark is another thing. But I'm being picky :slight_smile: