Re: vge(4) bad checksum

From: Andrew Pantyukhin <infofarmer_at_FreeBSD.org>
Date: Mon, 18 Dec 2006 00:08:56 +0300
On 12/17/06, Kris Kennaway <kris_at_obsecurity.org> wrote:
> On Sun, Dec 17, 2006 at 11:46:24PM +0300, Andrew Pantyukhin wrote:
> > I'm not sure what it's all about, but with today's
> > current whatever goes out my vge interface (icmp/
> > tcp/udp) has bad checksum:
>
> This is a FAQ; it's probably using hardware checksum offloading.
>
> Since the packet passed down to the NIC does not yet have the checksum
> computed, it looks to tcpdump like the checksum is incorrect.  However
> if you look at the packet actually transmitted by the NIC
> (e.g. tcpdump on another host), you'll see that it has the correct
> checksum.

I wouldn't even notice the checksum issue if my ipsec
connection to another host hadn't stop working. The
host has ipsec(4) and a re(4) interface. dmesg on the
box showed issues with AH checksums. The problem is
whenever I run tcpdump (promiscuous or not) on re(4),
the box (amd64 current) drops to kernel debugger with
messages like:
panic: mutex Giant not owned at /usr/src/sys/net/bpf.c:1399
But that's another story.

So I guess my fast_ipsec/vge/checksum problem is either
fast_ipsec or fast_ipsec+vge bound. Again, there was no
problem with 20061210-current+ipsec+vge (not fast_ipsec).
Received on Sun Dec 17 2006 - 20:08:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC