If I enable antispoofing on a bridged interface in PF, it blocks traffic from the interfaces which are included in that bridge.
rc.conf:
pf.conf:
I consider it a bug.
# uname -imor
Code:
FreeBSD 10.0-RELEASE-p9 amd64 GENERIC
Code:
ifconfig_bridge0="inet [i]192.168.0.1/24[/i] addm [b]igb1[/b] addm [b]wlan0[/b] addm wlan1 up"
Code:
int_if="bridge0"
antispoof log for $int_if label "antispoof int"
# pfctl -evvv -f /etc/pf.conf
Code:
[b]@7[/b] block drop in log quick on ! bridge0 inet from [i]192.168.0.0/24[/i] to any label "antispoof int"
# tcpdump -n -e -ttt -r /var/log/pflog
Code:
00:00:00.000130 rule [b]7[/b]..16777216/0(match): block in on [b]igb1[/b]: [i]192.168.0.12.[/i]17500 > 255.255.255.255.17500: UDP, length 124
00:00:00.000040 rule [b]7[/b]..16777216/0(match): block in on [b]igb1[/b]: [i]192.168.0.12[/i].17500 > 192.168.0.255.17500: UDP, length 124
00:00:00.000084 rule [b]7[/b]..16777216/0(match): block in on [b]wlan0[/b]: [i]192.168.0.19[/i].5353 > 224.0.0.251.5353: 0*- [0q] 6/0/0[|domain]
00:00:03.040507 rule [b]7[/b]..16777216/0(match): block in on [b]wlan0[/b]: [i]192.168.0.19[/i].1900 > 239.255.255.250.1900: UDP, length 283