Unverified Commit 830d58d9 authored by Olivier Tilmans's avatar Olivier Tilmans
Browse files

libbpf: Support unbound raw socket creation

Passing a NULL (or empty) char string to bpf_open_raw_sock() will skip
the bind call on the newly created raw socket. This can create sniffers
for all interfaces using a single socket filter.

The dns_matching example has been updated to default to 'any' interface
if noone is specified in the arguments.
parent 1af99d4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment