Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2006 00:39:20 -0800
From:      David Wilhelm <dave@milligan.bluefir.org>
To:        Oleg Bulyzhin <oleg@freebsd.org>
Cc:        Koen Martens <fbsd@metro.cx>, darrenr@freebsd.org, glebius@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: ipfilter + bge strangeness
Message-ID:  <20060202083920.GA22515@milligan.bluefir.org>
In-Reply-To: <20060131090912.GA88914@lath.rinet.ru>
References:  <43DB8EA6.7070503@metro.cx> <20060128211710.GA29790@lath.rinet.ru> <43DBED3F.3000408@metro.cx> <20060128230015.GC29790@lath.rinet.ru> <43DCCAA8.4050600@metro.cx> <20060131090912.GA88914@lath.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 31, 2006 at 12:09:13PM +0300, Oleg Bulyzhin wrote:
> Could you please test attached patch?

> This patch enables 'full' rxcsum offloading so ipfilter's bug should not be
> triggered.

FYI, the patch works for me; the checksum errors still show in tcpdump,
but ipfilter doesn't choke on them anymore.

Pinging www.freebsd.org with RXCSUM/TXCSUM and ipf enabled, the
reply comes back successfully.

buster# tcpdump -nvi bge0
tcpdump: listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes
00:20:42.119079 IP (tos 0x0, ttl  64, id 20, offset 0, flags [none], proto: UDP (17), length: 61, bad cksum 0 (->a959)!) 192.168.1.3.64638 > 66.51.205.100.53:	3410+ A? www.freebsd.org. (33)
00:20:42.191639 IP (tos 0x0, ttl  59, id 9827, offset 0, flags [DF], proto: UDP (17), length: 239) 66.51.205.100.53 > 192.168.1.3.64638:  3410 1/5/3 www.freebsd.org. A 216.136.204.117 (211)
00:20:42.191785 IP (tos 0x0, ttl  64, id 21, offset 0, flags [none], proto: ICMP (1), length: 84, bad cksum 0 (->13eb)!) 192.168.1.3 > 216.136.204.117: ICMP echo request, id 9475, seq 0, length 64
00:20:42.255294 IP (tos 0x0, ttl  55, id 23125, offset 0, flags [none], proto: ICMP (1), length: 84) 216.136.204.117 > 192.168.1.3: ICMP echo reply, id 9475, seq 0, length 64
00:20:43.193215 IP (tos 0x0, ttl  64, id 22, offset 0, flags [none], proto: ICMP (1), length: 84, bad cksum 0 (->13ea)!) 192.168.1.3 > 216.136.204.117: ICMP echo request, id 9475, seq 1, length 64
00:20:43.253293 IP (tos 0x0, ttl  55, id 23798, offset 0, flags [none], proto: ICMP (1), length: 84) 216.136.204.117 > 192.168.1.3: ICMP echo reply, id 9475, seq 1, length 64
^C
6 packets captured
6 packets received by filter
0 packets dropped by kernel

Thanks, Oleg.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060202083920.GA22515>