Date: Sat, 10 Apr 2004 18:50:16 -0700 (PDT) From: darrenr@FreeBSD.ORG (Darren Reed) To: freebsd-bugs@FreeBSD.org Subject: Re: kern/64718: [patch] Bridged packets still seen by BPF listener after BIOCSEESENT ioctl. Message-ID: <200404110150.i3B1oGoo033801@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/64718; it has been noted by GNATS.
From: darrenr@FreeBSD.ORG (Darren Reed)
To: freebsd-gnats-submit@FreeBSD.org, emaste@sandvine.com
Cc:
Subject: Re: kern/64718: [patch] Bridged packets still seen by BPF listener after BIOCSEESENT ioctl.
Date: Sat, 10 Apr 2004 18:45:28 -0700 (PDT)
Read the man page for bpf(4):
BIOCGSEESENT (u_int) Set or get the flag determining whether locally
generated packets on the interface should be returned by
BPF.
....
Now compare this to the first line of your problem description:
"The BIOCSSEESENT ioctl sets a flag that controls whether received packets
only, or both transmitted and received packets, are captured by BPF."
There is no bug, as such here.
What you are expecting is for BIOCSEESENT to toggle the feedback of
packets being output in the forwarded case, not just the locally
generated case. It is your expectation that is wrong here.
Darren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404110150.i3B1oGoo033801>
