Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2015 21:48:43 +0100
From:      Michiel Boland <boland37@xs4all.nl>
To:        freebsd-net@freebsd.org
Subject:   pcap sees its own frames
Message-ID:  <54D7CBAB.9060907@xs4all.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D7CBAB.9060907>