summaryrefslogtreecommitdiff
path: root/sbin/dmesg
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-11-03 20:00:19 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-11-03 20:00:19 +0000
commitd800cbd157ae776892caa95f34727945ca3d1aaf (patch)
tree0e310e22b7bb1217fb33464d1829221ee48ff2c0 /sbin/dmesg
parentafb982b6101e1d87540dc498a098618c34d30b0e (diff)
re-implement the bpf "filter drop" option that it actually works. the
bpf FILDROP interface exists for about one year but the required interface to the drivers was missing - so it was useless. this new approach based on a design by henning@ uses a new mbuf flag to mark filtered packets and to drop them in the generic network stack input routines (like ether_input). for example; after some additional testing, this could be used by dhclient to filter everything except DHCP packets (track tech@ for a corresponding dhclient diff). the "filter dropped" packets won't reach the network stack. so it's probably some kind of a very basic application layer packet filter ;). ok canacar@, discussed with henning@ and others
Diffstat (limited to 'sbin/dmesg')
0 files changed, 0 insertions, 0 deletions