pcap sees its own frames
Michiel Boland
boland37 at xs4all.nl
Sun Feb 8 20:48:48 UTC 2015
Hi.
It appears the when I send a frame with pcap_inject, and then do a pcap_next, I
get back the same frame I just sent. Is there a way to turn this off?
There is a BIOCFEEDBACK ioctl on the underlying bpf fd but that does not appear
to have any effect.
The reason I don't want this behaviour is that GNS3 does not work when
connecting to a host via bpf; the router sees its own packets, which breaks
things like IPv6 DAD, bridging, etc.
Cheers
Michiel
More information about the freebsd-net
mailing list