From owner-freebsd-net@FreeBSD.ORG Sat Jul 27 21:55:31 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D6342575 for ; Sat, 27 Jul 2013 21:55:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6DAE32698 for ; Sat, 27 Jul 2013 21:55:31 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id a12so65330wgh.6 for ; Sat, 27 Jul 2013 14:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=vUWoCAF+mEhvswJmQE6KhleIVkyYHiX6GTDvFtKvNoc=; b=FULsxOn/qCPuXzSoviBPINSg3TePhx14pBjHqvDzLfK0CsO7/feX0YyNTczbl5yWIZ c3VwBK6nmQS3jgSS8c6pCMTX+L39gCVjMORibmI8OuabhFIXDJzbXszvff1SL3mgDdAl bFLrBVeFBp3PEWjJEnBxA6Ti8mh1PUKsxbqE/CeB21fRZV7M1nnitFU5T/IxNoSxlfDg tfA86gQP/PZELQm6UOfRdc0PHTLr4kioUYxgeU8KUxvlRSk0R3y8xL01fmOkwXRlIAaz P4rsbZNuIzK+afGrEyr+pkXdJ4tf7YWfKmOoUA0wQ4/NcsMMz9l1sshBuat7c52VUdhL E72A== MIME-Version: 1.0 X-Received: by 10.180.160.165 with SMTP id xl5mr2800612wib.46.1374962129832; Sat, 27 Jul 2013 14:55:29 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Sat, 27 Jul 2013 14:55:29 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Jul 2013 14:55:29 -0700 X-Google-Sender-Auth: L8ZMcO3JwGXGsq7nfsUL73pxY1g Message-ID: Subject: Re: Please implement patch in PR180893 From: Adrian Chadd To: Zaphod Beeblebrox Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jul 2013 21:55:31 -0000 Sure, but it would be nice to file bugs with VMware and such to ensure they fix their bugs. 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.. 2c, adrian 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"