NetBSD Problem Report #20461

Received: (qmail 11390 invoked by uid 605); 22 Feb 2003 00:11:24 -0000
Message-Id: <20030222001123.7387C11152@narn.netbsd.org>
Date: Fri, 21 Feb 2003 16:11:23 -0800 (PST)
From: iljitsch@muada.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: iljitsch@muada.com
To: gnats-bugs@gnats.netbsd.org
Subject: Incorrect handling of MSS with RFC 1323 timestamp option
X-Send-Pr-Version: www-1.0

>Number:         20461
>Category:       kern
>Synopsis:       Incorrect handling of MSS with RFC 1323 timestamp option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 22 00:12:00 +0000 2003
>Closed-Date:    
>Last-Modified:  
>Originator:     Iljitsch van Beijnum
>Release:        none
>Organization:
>Environment:
I don't use netbsd myself; I see the problem when I connect to www.netbsd.org.
>Description:
When the TCP timestamp option (RFC 1323) is used the extra 12 bytes aren't taken into account when creating a packet so the packet ends up being 12 bytes larger than the maximum segment size announced by the correspondent host + 40 bytes for IP+TCP headers:

00:41:28.787634 torreya.muada.com.49185 > www.netbsd.org.http: S [bad tcp cksum 7515!] 468191823:468191823(0) win 32768 <mss 1445,nop,wscale 0,nop,nop,timestamp 1831355730 0> (DF) (ttl 64, id 4031, len 60)
00:41:28.960017 www.netbsd.org.http > torreya.muada.com.49185: S [tcp sum ok] 3350810543:3350810543(0) ack 468191824 win 32768 <mss 1460,nop,wscale 0,nop,nop,timestamp 19359762 1831355730> (ttl 51, id 43843, len 60)
00:41:28.960208 torreya.muada.com.49185 > www.netbsd.org.http: . [bad tcp cksum 1e07!] ack 1 win 33304 <nop,nop,timestamp 1831355730 19359762> (DF) (ttl 64, id 4032, len 52)
00:41:28.967175 torreya.muada.com.49185 > www.netbsd.org.http: P 1:243(242) ack 1 win 33304 <nop,nop,timestamp 1831355730 19359762> (DF) (ttl 64, id 4033, len 294)
00:41:29.182218 www.netbsd.org.http > torreya.muada.com.49185: . [tcp sum ok] ack 243 win 33580 <nop,nop,timestamp 19359763 1831355730> (ttl 51, id 43852, len 52)
00:41:29.287983 www.netbsd.org.http > torreya.muada.com.49185: . 1:1446(1445) ack 243 win 33580 <nop,nop,timestamp 19359763 1831355730> (ttl 51, id 43855, len 1497)
00:41:29.373683 www.netbsd.org.http > torreya.muada.com.49185: . 1446:2891(1445) ack 243 win 33580 <nop,nop,timestamp 19359763 1831355730> (ttl 51, id 43856, len 1497)
>How-To-Repeat:
- set mtu smaller than 1488 bytes on a host and enable RFC 1323 extensions
- connect to www.netbsd.org
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.