netifyd supports a '-F' filter option in 'bpf' notation to filter packets from its consideration. Add support for a uci 'filter' option. eg. filter to exclude SSDP multicasts from a particularly noisy device: option filter 'not (udp and dst 239.255.255.250 and dst port 1900 and src 192.168.1.5)' Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 lines
200 B
Text
6 lines
200 B
Text
config netifyd
|
|
option enabled 1
|
|
option autoconfig 1
|
|
# option internal_if 'eth0'
|
|
# option external_if 'eth1'
|
|
# option filter 'not (udp and dst 239.255.255.250 and dst port 1900 and src 192.168.1.5)'
|