From owner-freebsd-net@FreeBSD.ORG Sun Jul 28 04:45:39 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E1768AC9; Sun, 28 Jul 2013 04:45:38 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [63.231.190.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8DFE720AC; Sun, 28 Jul 2013 04:45:38 +0000 (UTC) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.14.7/8.14.7) with ESMTP id r6RMkG7c003205; Sat, 27 Jul 2013 17:46:16 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <201307272246.r6RMkG7c003205@mail.karels.net> To: Adrian Chadd From: Mike Karels Subject: Re: Please implement patch in PR180893 In-reply-to: Your message of Sat, 27 Jul 2013 14:55:29 -0700. Date: Sat, 27 Jul 2013 17:46:16 -0500 Cc: FreeBSD Net , Zaphod Beeblebrox X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mike@karels.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 04:45:39 -0000 > Sure, but it would be nice to file bugs with VMware and such to ensure > they fix their bugs. fwiw, I use IPv6 with recent versions of ESXi and VMware Workstation, and have not seen this problem. I'm curious if the problem is in old versions or with particular configurations. > Anyone have any issue with this? The issue I have is the if_printf(), > it should be rate limited at the very least. It would also be nice to > have a different counter to reflect that kind of dropped packet.. Agreed to both; I'd rather reserve if_ierrors for NIC-reported errors. I also think the message should say "from my MAC address" (vs IP). > 2c, 2c more, Mike On 27 July 2013 13:49, Zaphod Beeblebrox wrote: > I'd like to advocate implementing > http://www.freebsd.org/cgi/query-pr.cgi?pr=180893 > > Quoting the PR: > > Some errant network equipment (including the simulation of a network > by VMware, as an example) will reflect back multicast packets to the sender. > This breaks protocols such as DAD and makes IPv6 nearly impossible to use > on these networks. > > Now, the argument could be made to fix these network elements, but > there is an elegant solution that improves the quality of FreeBSD: To refuse > packets that have a source ethernet address of the receiving interface. If > you consider this notion, you can quickly and easily accept that an > interface > should never "receive" a packet from it's own MAC address. > > This behaviour mirrors Linux behavior and I assume Windows behavior. > > I won't claim to be experienced in kernel matters, but I chose the > location for this modification to allow BPF to "see" the packets (for > network diagnosis). This test, however, could be moved within this function > or even given a sysctl knob. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"