From owner-freebsd-net@FreeBSD.ORG Tue Jul 30 04:37:47 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 73C882D7; Tue, 30 Jul 2013 04:37:47 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 226E322AF; Tue, 30 Jul 2013 04:37:47 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id gf11so2725095vcb.11 for ; Mon, 29 Jul 2013 21:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Isl5F1IQh+402aPTNzvfN1MpPCXvCua4ND/MTESFL4c=; b=031MwymnsqY628W1zTevWdoh6RFBPJZiC9PLXMVSuvAP6yEcrCoGt7NcOj6jJodRGT ete/Sn0HQN0lc3PwebkblnhSBOluR3sEY5WzMPJiYjCPcjowfc2EB2GGYLoUm9LgS7CQ 15DeC86YJ/IlzRcSNffeizXx4UejNuHoA+ZHziygYjgTvOHu2YgXSQB2c8wwFtmPa1qR XVM9Yia0y8E6Zg59osBQXxSoLzesa93DBwYKm2ZJFTQ+30zp79fucIH49aq66H/qTu3k 2ydePetKZdU1CAWt+naKM90hRQ+7oT0QYaRi3Tet44NygVWz4obx1Kbc7UIw+EB2YS24 mb1A== MIME-Version: 1.0 X-Received: by 10.58.69.65 with SMTP id c1mr26174553veu.88.1375159065900; Mon, 29 Jul 2013 21:37:45 -0700 (PDT) Received: by 10.221.22.199 with HTTP; Mon, 29 Jul 2013 21:37:45 -0700 (PDT) In-Reply-To: <201307272246.r6RMkG7c003205@mail.karels.net> References: <201307272246.r6RMkG7c003205@mail.karels.net> Date: Tue, 30 Jul 2013 00:37:45 -0400 Message-ID: Subject: Re: Please implement patch in PR180893 From: Zaphod Beeblebrox To: mike@karels.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Net , Adrian Chadd 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: Tue, 30 Jul 2013 04:37:47 -0000 On Sat, Jul 27, 2013 at 6:46 PM, Mike Karels wrote: > > Sure, but it would be nice to file bugs with VMware and such to ensure > > they fix their bugs. > There's quite a bit of chatter about this problem on the VMWare lists. Linux complains when these packets show up, so it isn't going unnoticed. > 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. > I think you're only going to find this on the 'bridged' network type. When I tested this problem with other types of VMWare lans, the problem does not occur. > > 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). > Obviously, it's really easy to modify the if_printf(), but what type of rate limiting is appropriate here? For instance, if you send a packet from an IP on the lan with changing MAC addresses, FreeBSD will printf() a note about each MAC address change. AFAICT, the if_printf() here can only be triggered by something right on the local lan (not by the internet at large --- even without filters).