From owner-freebsd-stable@FreeBSD.ORG Tue Jan 25 19:13:56 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1153316A4CE for ; Tue, 25 Jan 2005 19:13:56 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAC8843D49 for ; Tue, 25 Jan 2005 19:13:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j0PJEkMm026953; Tue, 25 Jan 2005 11:14:46 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j0PJEklG026952; Tue, 25 Jan 2005 11:14:46 -0800 Date: Tue, 25 Jan 2005 11:14:46 -0800 From: Brooks Davis To: Rich Wales Message-ID: <20050125191446.GA26504@odin.ac.hmc.edu> References: <20050125180025.S04220.richw@whodunit.richw.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20050125180025.S04220.richw@whodunit.richw.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-stable@freebsd.org Subject: Re: NIC acting promiscuously -- how to fix? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 19:13:56 -0000 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 25, 2005 at 10:43:01AM -0800, Rich Wales wrote: > I'm running 5.3-RELEASE-p5 on a system that is functioning as a > NAT router/firewall using "pf". It works just fine, but . . . . >=20 > The external (Internet) network connection is giving me incoming > traffic addressed to other users all over my neighborhood (not > just the packets intended for me). The external NIC (an Accton > MPX 5030/5038, handled via the "rl" driver) appears to be running > promiscuously; it's accepting all these incoming packets, whether > addressed to me or not. >=20 > The flags shown for the NIC by the "ifconfig" command are: >=20 > rl0: flags=3D8843 mtu 1500 >=20 > Note that the PROMISC flag is =3Dnot=3D set, but the NIC seems to > be acting in a promiscuous fashion nevertheless. >=20 > Although my firewall (an old 800-MHz Athlon system) is able to > handle this extra load, I'd really like to configure it so that > the packets not intended for my site are silently dropped and > never seen by FreeBSD at all. (Aside from simple neatness, I'm > aware of the failings of the RealTek 8129/8139 and am hoping to > reduce overhead by filtering out the extraneous traffic before > the driver would see it.) >=20 > Any suggestions as to what I should do? Or is what I'm asking > simply impossible (and if so, why)? Thanks for any help. Without a dump of the traffic I can't really say what you're seeing, but on a broadcast network like Ethernet of any size containing windows machines, half a dozen packets per second of broadcast noise is pretty normal. Are the packets addressed to your MAC address, but to another non-broadcast IP? I can conceive of configurations bugs in emulated broadcast domains that could cause that. If so it's an interesting bug in your ISPs config. If not, you may have found a bug in your NICs driver or it's chipset/firmware. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB9pqiXY6L6fI4GtQRAmnhAKCAM7YhA7bZqsnP7VdfNXSXHIswxACfdjud gBFB7KKVH19HnmsAuIg8r4A= =gasC -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--