From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 10 18:50:16 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B892716A4CE for ; Sat, 10 Apr 2004 18:50:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B47EF43D2D for ; Sat, 10 Apr 2004 18:50:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3B1oGbv033802 for ; Sat, 10 Apr 2004 18:50:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3B1oGoo033801; Sat, 10 Apr 2004 18:50:16 -0700 (PDT) (envelope-from gnats) Date: Sat, 10 Apr 2004 18:50:16 -0700 (PDT) Message-Id: <200404110150.i3B1oGoo033801@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: darrenr@FreeBSD.ORG (Darren Reed) Subject: Re: kern/64718: [patch] Bridged packets still seen by BPF listener after BIOCSEESENT ioctl. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Darren Reed List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 01:50:16 -0000 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