From owner-freebsd-current@FreeBSD.ORG Thu Nov 22 20:15:09 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3127316A417 for ; Thu, 22 Nov 2007 20:15:09 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id 183A213C45B for ; Thu, 22 Nov 2007 20:15:09 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:Subject:From:X-Attribution:Date:Message-Id; b=N5sGAQNwbS1IZy7L0vNNJtbEzvCDiw1Twi9S1+LeDG2AZPvDIQEPOCQNYMferMIEdMHiDpZscc+iJA3uVBYQN59rxl6nYh1MbSXJn+FNeJaD9k7ONeIUIGePxC3llwmSevyAkfXlHDsK6AOMm9FR5ghz9jRfmI5FFyBqJDsO0pSGcHEj7jU/ow0pZiM0H8PiELUDj9BUf6NwecC29JlpA2qlVJ7EejJFoydVARUqlw4nBZpDaaGDiOKANXn85GU+; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1IvIS4-0005vY-Bv for current@freebsd.org; Thu, 22 Nov 2007 20:15:08 +0000 Received: from dsl-241-27-252.telkomadsl.co.za ([41.241.27.252] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IvIRs-0003O5-L2 for current@freebsd.org; Thu, 22 Nov 2007 20:14:56 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IvIRp-0000TG-Lj for current@freebsd.org; Thu, 22 Nov 2007 22:14:53 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Thu, 22 Nov 2007 22:14:53 +0200 Message-Id: Cc: Subject: TCP RST+data! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 20:15:09 -0000 Hi I have a device (sip/iax phone) that has a web interface and a poorly documented CLI. The only thing is it sends a RST with its last data packet. "Stevens" seems to indicate an RST should discard buffered data and I suspect that's what's happening when I try to browse to it. However, Windows and MacOs both pull up the web page. Is this a bug in our TCP implimentation or in theirs? Here's a tcpdump of seamonkey trying to retrieve the document index: 22:07:53.728516 IP (tos 0x0, ttl 64, id 24507, offset 0, flags [DF], proto TCP (6), length 60) 196.7.162.28.50118 > 196.7.162.30.80: S, cksum 0xdbdd (correct), 2746220400:2746220400(0) win 65535 22:07:53.731512 IP (tos 0x0, ttl 64, id 36, offset 0, flags [DF], proto TCP (6), length 60) 196.7.162.30.80 > 196.7.162.28.50118: S, cksum 0xbdba (correct), 2416404465:2416404465(0) ack 2746220401 win 8192 22:07:53.731543 IP (tos 0x0, ttl 64, id 24508, offset 0, flags [DF], proto TCP (6), length 52) 196.7.162.28.50118 > 196.7.162.30.80: ., cksum 0xe8f5 (correct), 1:1(0) ack 1 win 8326 22:07:53.731593 IP (tos 0x0, ttl 64, id 24509, offset 0, flags [DF], proto TCP (6), length 428) 196.7.162.28.50118 > 196.7.162.30.80: P 1:377(376) ack 1 win 8326 22:07:53.770545 IP (tos 0x0, ttl 64, id 37, offset 0, flags [DF], proto TCP (6), length 52) 196.7.162.30.80 > 196.7.162.28.50118: ., cksum 0xe948 (correct), 1:1(0) ack 377 win 7867 22:07:54.004963 IP (tos 0x0, ttl 64, id 38, offset 0, flags [DF], proto TCP (6), length 61) 196.7.162.30.80 > 196.7.162.28.50118: P, cksum 0xcdea (correct), 1:10(9) ack 377 win 8192 22:07:54.018027 IP (tos 0x0, ttl 64, id 39, offset 0, flags [DF], proto TCP (6), length 638) 196.7.162.30.80 > 196.7.162.28.50118: RP 10:608(598) ack 377 win 8192 [!RST+ 200 OK\015\012Server: Rapid Logic/1.] Ian -- Ian Freislich