From owner-freebsd-net@FreeBSD.ORG Fri Dec 14 22:01:05 2007 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 0BBEF16A417 for ; Fri, 14 Dec 2007 22:01:05 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from galain.elvandar.org (galain.elvandar.org [217.148.169.56]) by mx1.freebsd.org (Postfix) with ESMTP id B3F2313C448 for ; Fri, 14 Dec 2007 22:01:04 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from evilcoder.xs4all.nl ([195.64.94.120] helo=elvandar.local) by galain.elvandar.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1J3Hfo-000Bs2-BI; Fri, 14 Dec 2007 22:02:20 +0100 Message-ID: <4762EF82.8040205@FreeBSD.org> Date: Fri, 14 Dec 2007 22:02:58 +0100 From: Remko Lodder User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: pyunyh@gmail.com References: <200711301904.lAUJ4fqu067304@freefall.freebsd.org> <20071201042001.GB23527@cdnetworks.co.kr> In-Reply-To: <20071201042001.GB23527@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/106438: hme0: Interface unable to do tx and rx checksumming when using ipfilter. 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: Fri, 14 Dec 2007 22:01:05 -0000 Pyun YongHyeon wrote: > On Fri, Nov 30, 2007 at 07:04:41PM +0000, remko@FreeBSD.org wrote: > > Old Synopsis: [ipfilter] keep state does not seem to allow replies in on spar64 (and maybe others) > > New Synopsis: hme0: Interface unable to do tx and rx checksumming when using ipfilter. > > > > Responsible-Changed-From-To: freebsd-bugs->freebsd-net > > Responsible-Changed-By: remko > > Responsible-Changed-When: Fri Nov 30 19:03:15 UTC 2007 > > Responsible-Changed-Why: > > Reassign to -net, this seems like a problem with the hme driver > > I can reproduce this on 8-CURRENT on my sparc64, after issueing > > a ifconfig hme0 -rxcsum and -txcsum the problem vanished and > > I could connect again (ipfilter stopped the packets since they > > had bad data included). > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=106438 > > I didn't know hme(4) have checksum offload related issues. When I > tried the same rule as PR I also noticed that Rx UDP packet was > dropped. However I couldn't reproduce it with pf. You can easily use > identical rule with small modification(flags S/SA instead of flags S). > I'm not familiar with ipf internals so I'm not sure what caused > the issue. Given that pf works well I guess there would be somthing > in ipf that needs more attention. > > Remko, would you retry it with pf on sparc64? > Hello Pyun, I just tried this with pf and indeed that works, so you (and manuel) are correct that this is not hme but indeed ipfilter, my bad! I will forward the ticket to darrenr, i can provide support with my system where needed :) cheers remko p.s. I can also try to reproduce the problem with 'if_em' :) -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News