From owner-freebsd-net@FreeBSD.ORG Mon Apr 4 10:25:39 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70BA106566C for ; Mon, 4 Apr 2011 10:25:39 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 92DEA8FC16 for ; Mon, 4 Apr 2011 10:25:39 +0000 (UTC) Received: by pvg11 with SMTP id 11so1705825pvg.13 for ; Mon, 04 Apr 2011 03:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NxPsnZEaVVDFsvVWLbPbG/LzvWJbZjX+TRySsFH8Fjk=; b=hk+qaI/t1dUJVCCqwffIIBrGO14LjL0ZvGqoO5fYfuaWJC+NkSEpj1ZtDzvx6OBZXP EhhHUuPM2QxHSbVryg64ewgUpxliYgYbagyD3m+eXlNIe3iGqpeHup4bhqRiCWlQL/bw FLJBPx5p1G+MF5UMcCODr9bEWBkqUCgDCAXcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=BLZnKfmnMnN4GDsHUAZb6jJ0CXu+62uPAz4h5ATrPwkE7nu7ghJsaxNJogEakfCcVj 0ZAsxjv+KjkKliDp05OeF6/nlyl/mq/XGJxsCkMqoPVLVJ04k9JjtJBsuiB5Sx8sk2/z OoS0JLzkB5VyWvpxLGXz/r9oKg1RtGHreB2A8= MIME-Version: 1.0 Received: by 10.142.62.38 with SMTP id k38mr3746241wfa.85.1301912739080; Mon, 04 Apr 2011 03:25:39 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.68.66.10 with HTTP; Mon, 4 Apr 2011 03:25:39 -0700 (PDT) In-Reply-To: <20110404102249.GB3421@deta.isafeelin.org> References: <20110401141655.GA5350@deta.isafeelin.org> <4D95E62A.5000109@comcast.net> <4D987B1B.4000608@isafeelin.org> <20110404095333.GA3421@deta.isafeelin.org> <20110404102249.GB3421@deta.isafeelin.org> Date: Mon, 4 Apr 2011 12:25:39 +0200 X-Google-Sender-Auth: DAvibmg78entztB-go5Gw3CseYA Message-ID: From: "K. Macy" To: Frederique Rijsdijk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-net@freebsd.org" Subject: Re: Network stack unstable after arp flapping X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 10:25:39 -0000 On Mon, Apr 4, 2011 at 12:22 PM, Frederique Rijsdijk wrote: > Hi Kip, > > Thanks. Any idea btw why this would also effect hosts that run 6.x and 7.= x RELEASE versions? These do not have the flowtable sysctl. Uhm ... no. That would definitely be unrelated. I'm just taking their word for it. And I can see how the flowtable might not handle ARP flapping properly. We'll need to do more diagnostics. So this is only IPv6 and you are using T= CP? -Kip > > -- Frederique > > > > On Mon, Apr 04, 2011 at 12:09:05PM +0200, K. Macy wrote: >> Correct. Set it to zero and the flowtable will be bypassed. >> >> flowtable.c: >> static uint32_t >> ipv6_flow_lookup_hash_internal( >> =A0 =A0 =A0 struct sockaddr_in6 *ssin6, struct sockaddr_in6 *dsin6, >> =A0 =A0 =A0 =A0 =A0 uint32_t *key, uint16_t flags) >> { >> =A0 =A0 =A0 uint16_t sport, dport; >> =A0 =A0 =A0 uint8_t proto; >> =A0 =A0 =A0 int offset =3D 0; >> >> =A0 =A0 =A0 if ((V_flowtable_enable =3D=3D 0) || (V_flowtable_ready =3D= =3D 0)) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 return (0); >> >> >> Ciao >> >> On Mon, Apr 4, 2011 at 11:53 AM, Frederique Rijsdijk >> wrote: >> > Kip, >> > >> > Which sysctl are we talking about exactly? Just to be sure.. >> > >> > net.inet.flowtable.enable ? >> > >> > >> > -- Frederique >> > >> > >> > >> > On Sun, Apr 03, 2011 at 08:11:33PM +0200, K. Macy wrote: >> >> I don't think it was properly tested when it was enabled for IPv6. >> >> Given that I have been absentee it really should not be in the defaul= t >> >> kernel or at least the sysctl should be off. Sorry for the >> >> inconvenience. Additionally, you don't need to rebuild you can just >> >> disable the sysctl. >> >> >> >> >> >> =A0-Kip >> >> On Sunday, April 3, 2011, Frederique Rijsdijk wrote: >> >> > Steve, >> >> > >> >> > On 01-04-11 16:50, Steve Polyack wrote: >> >> >> On 04/01/11 10:16, Frederique Rijsdijk wrote: >> >> > [ .. ] >> >> >>> Mar 31 18:36:12 srv01 kernel: arp: x.x.x.1 moved from >> >> >>> 00:00:0c:9f:f0:3d to 00:00:0c:07:ac:3d on bge0 >> >> > [ .. ] >> >> >>> The result of that, is that loads of FreeBSD machines (6.x, 7.x a= nd >> >> >>> 8.x) developed serious network issues, mainly being no or slow tr= affic >> >> > [ .. ] >> >> >>> Any ideas anyone? >> >> >> We experienced a similar issue here, but IIRC only on our 8.x syst= ems >> >> >> (we don't have any 7.x). =A0Disabling flowtable cleared everything= up >> >> >> immediately. =A0You can try that and see if it helps. >> >> > >> >> > AFAIK this feature was introduced in 8.x? Btw you are here referrin= g to >> >> > UDP, we had issues with TCP. It could still be related, perhaps I'l= l get >> >> > around emulating the situation and see if I can reproduce it. >> >> > >> >> > >> >> > -- Frederique >> >> > >> >> > >> >> > _______________________________________________ >> >> > freebsd-net@freebsd.org=A0mailing list >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net >> >> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.o= rg" >> >> > >> >> _______________________________________________ >> >> 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" >> > > _______________________________________________ > 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" >