Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 11:46:18 +0800 (CST)
From:      Yung-Sheng Tang <freebsd@hoolan.org>
To:        Bill Fenner <fenner@research.att.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: UDP checksum error after encapsulating multicast packet
Message-ID:  <Pine.BSF.4.05.10112071140380.94755-100000@hoolan.org>
In-Reply-To: <200112062043.MAA02028@windsor.research.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Dec 2001, Bill Fenner wrote:

> 
> Please try this patch.  It gives multicast packets on a multicast
> router similar treatment to those that IPSEC packets get, by calculating
> the delayed checksum early and not permitting it to be offloaded to
> the interface.
> 


It does not work.

11:28:52.098146 150.9.120.183.1063 > 224.3.4.5.2345:  [udp sum ok] udp 16 
(ttl 16, id 25575, len 44)
                         4500 002c 63e7 0000 1011 5411 9609 78b7
                         e003 0405 0427 0929 0018 5571 ea02 0400
                         0000 0000 0000 0000 bb30 0100
11:28:52.098266 150.9.120.183 > 192.9.200.127: 150.9.120.183.1063 > 224.3
.4.5.2345:  [bad udp cksum 7e62!] udp 16 (ttl 15, id 25575, len 44) (ttl 
64, id 25576, len 64)
                         4500 0040 63e8 0000 4004 7f88 9609 78b7
                         c009 c87f 4500 002c 63e7 0000 0f11 5511
                         9609 78b7 e003 0405 0427 0929 0018 f2f2
                         ea02 0400 0000 0000 0000 0000 bb30 0100

However, there does exist one case that have good checksum, no matter I 
apply the patch or not.


11:28:52.474363 150.9.120.66.1088 > 234.8.7.1.1088:  [udp sum ok] udp 64 
(ttl 2, id 14422, len 92)
                         4500 005c 3856 0000 0211 80e6 9609 7842
                         ea08 0701 0440 0440 0048 7f34 6d65 6368
                         7075 6232 0000 0000 0100 0000 605d 7381
                         0000 0000 0000 0000 0000 0000 0000 0000
                         0000 0000 0000 0000 0000 0000 0000 0000
                         0000 0000 0000 0000 0000 0000
11:28:52.474508 150.9.120.183 > 192.9.200.127: 150.9.120.66.1088 > 234.8.
7.1.1088:  [udp sum ok] udp 64 [ttl 1] (id 14422, len 92) (ttl 64, id 255
78, len 112)
                         4500 0070 63ea 0000 4004 7f56 9609 78b7
                         c009 c87f 4500 005c 3856 0000 0111 81e6
                         9609 7842 ea08 0701 0440 0440 0048 7f34
                         6d65 6368 7075 6232 0000 0000 0100 0000
                         605d 7381 0000 0000 0000 0000 0000 0000
                         0000 0000 0000 0000 0000 0000 0000 0000

BTW, I am using 4.4-RELEASE. Thank you.

--
Yung-Sheng Jeff Tang


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10112071140380.94755-100000>