Date: Mon, 05 Feb 2007 12:47:29 +0000 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_tap.c Message-ID: <45C72761.2010402@FreeBSD.org> In-Reply-To: <20070205124332.GG1621@FreeBSD.org> References: <200702030257.l132vkfT089439@repoman.freebsd.org> <20070205124332.GG1621@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gleb Smirnoff wrote: > ... > Moreover, in case of promisc + net.inet.ip.forwarding=1 our box will resend > all the received foreign packets :( > NetBSD has M_PROMISC presumably for detecting situations like this: http://fxr.watson.org/fxr/ident?v=NETBSD&i=M_PROMISC > What do you think about checking that (ether_dhost == ours || BCAST || MCAST) > before sending packet to ether_demux? Not complete; we could be acting as an ARP proxy or even a Layer 2 proxy. I have to run out the door to run some errands, but the above link is a start. All the best, BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C72761.2010402>