summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mpe.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-03-18 00:09:22 +0000
committerdlg <dlg@openbsd.org>2019-03-18 00:09:22 +0000
commite1e6f92ab214dc60d8460635b98033ed2ad497ba (patch)
tree569b264d8539d9b996adbdbedab96c07b0ad86c0 /sys/net/if_mpe.c
parentextend BIOCSFILDROP so it can be configured to not capture packets. (diff)
downloadwireguard-openbsd-e1e6f92ab214dc60d8460635b98033ed2ad497ba.tar.xz
wireguard-openbsd-e1e6f92ab214dc60d8460635b98033ed2ad497ba.zip
support configuring BIOCSFILDROP with tcpdump.
this allows tcpdump to be used a quick and dirty firewall. it also looks like an amazing foot-gun, so be careful. for example `tcpdump -B drop -i ix1 udp and port 7` lets you completely drop discard packets in the hardware interrupt handler. ok sthen@ mikeb@ claudio@ visa@
Diffstat (limited to 'sys/net/if_mpe.c')
0 files changed, 0 insertions, 0 deletions