Drop SSDP packets on 'wan' without logging
Philip Prindeville
philipp_subx at redfish-solutions.com
Sun Nov 15 19:40:35 PST 2026
I've got the following config:
config zone
option name wan
list network 'wan'
list network 'wan6'
option input DROP
option output ACCEPT
option forward DROP
option masq 1
option mtu_fix 0
option log 1
option log_limit '30/s'
...
config rule
option name Drop-SSDP-No-Log
option src wan
##option dest '*'
option proto udp
option src_ip '192.168.1.1'
option dest_port 1900
option dest_ip '239.255.255.250'
option target DROP
option family ipv4
option log 0
...
But this generates:
chain input_wan {
ip saddr 192.168.1.1 ip daddr 239.255.255.250 udp dport 1900 counter packets 3798 bytes 1844904 jump drop_from_wan comment "!fw4: Drop-SSDP-No-Log"
...
chain drop_from_wan {
iifname "eth3" limit name "wan.log_limit" log prefix "drop wan in: "
iifname "eth3" counter packets 3798 bytes 1844904 drop comment "!fw4: drop wan IPv4/IPv6 traffic"
}
I thought the 'option log 0' would override the zone default and suppress logging but it doesn't.
What am I missing?
The counters tell me that the rule is being hit... I just need it to go to a different final chain.
Thanks,
-Philip
More information about the openwrt-devel
mailing list