From owner-freebsd-current@FreeBSD.ORG Fri Nov 23 06:29:54 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 8CAEF16A417 for ; Fri, 23 Nov 2007 06:29:54 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 80CFF13C45D for ; Fri, 23 Nov 2007 06:29:54 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3588764waf for ; Thu, 22 Nov 2007 22:29:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZE8NIstqzL36ifqmOS4o4M3V2UTNX0/BmbpQBDHe/Y0=; b=Qe1/RXXvAb4cOzaEDHZU2BQEF5e96MtvZYTgfRSOaJoVysAWwydI1rQ2s58u+gu1TGe4arn41E3ttYH3nA9PHoD3JERGbefpdWctJDzs7hlhQE47nNuWhzVW/7IG+1N/L3i4HndlCpazzBxRsUcx7PZBA4w1R4cZYwhRVAvf5ug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=su0BU2AeFqRYaeub36qP9UFYIqoqYmiinxvRRBCqi0a1DcgoL9PZX8gxOLRBSTBJohq4omLAus+CrQznT/Xu2JwjF5BCNYcOUWG+cl6mfP7rXwvkEDtQdih78czMKFJy24zW8GcVoZd7uDhfqSDUUXiZ5xkS63XksPOosSPS4ks= Received: by 10.115.76.1 with SMTP id d1mr575564wal.1195799394025; Thu, 22 Nov 2007 22:29:54 -0800 (PST) Received: by 10.114.13.15 with HTTP; Thu, 22 Nov 2007 22:29:53 -0800 (PST) Message-ID: Date: Thu, 22 Nov 2007 22:29:53 -0800 From: "Kip Macy" To: "Ian FREISLICH" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: current@freebsd.org Subject: Re: 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: Fri, 23 Nov 2007 06:29:54 -0000 On Nov 22, 2007 12:14 PM, Ian FREISLICH wrote: > 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.] This is very strange behavior. Could you please send us a tcpdump when the session is between an OS X host and your phone? -Kip