summaryrefslogtreecommitdiff
path: root/sys/net/bpfdesc.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2023-10-12 19:15:22 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2023-10-12 19:15:22 +0000
commit6d8a4d406786b960d71a4930d3e98119f2187df7 (patch)
tree5707b18b83afa711819614bc2a6be44b3235bacf /sys/net/bpfdesc.h
parentcf57414cdd3adc160c4f4e8e4d26a2f702bbf10d (diff)
pflog(4) logs packet dropped by default rule with block.
If a packet is malformed, it is dropped by pf(4). The rule referenced in pflog(4) is the default rule. As the default rule is a pass rule, tcpdump printed "pass" although the packet was actually dropped. To avoid confusion, change the action to drop. Then tcpdump prints "block". OK sashan@ kn@
Diffstat (limited to 'sys/net/bpfdesc.h')
0 files changed, 0 insertions, 0 deletions