packages/net/netifyd/files/netifyd.config
Kevin Darbyshire-Bryant f1d2136024 netifyd: support filter parameter
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>
2021-04-03 18:40:54 -07:00

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)'