diff options
author | 2019-03-18 00:09:22 +0000 | |
---|---|---|
committer | 2019-03-18 00:09:22 +0000 | |
commit | e1e6f92ab214dc60d8460635b98033ed2ad497ba (patch) | |
tree | 569b264d8539d9b996adbdbedab96c07b0ad86c0 /sys/net/if_mpe.c | |
parent | extend BIOCSFILDROP so it can be configured to not capture packets. (diff) | |
download | wireguard-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