Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2007 22:29:53 -0800
From:      "Kip Macy" <kip.macy@gmail.com>
To:        "Ian FREISLICH" <ianf@clue.co.za>
Cc:        current@freebsd.org
Subject:   Re: TCP RST+data!
Message-ID:  <b1fa29170711222229k7a4b5721vb77ba156afa6406e@mail.gmail.com>
In-Reply-To: <E1IvIRp-0000TG-Lj@clue.co.za>
References:  <E1IvIRp-0000TG-Lj@clue.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 22, 2007 12:14 PM, Ian FREISLICH <ianf@clue.co.za> 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 <mss 1460,nop,wscale 3,sackOK,timestamp 16267181 0>
> 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 <mss 1460,nop,wscale 0,nop,nop,timestamp 2333 16267181>
> 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 <nop,nop,timestamp 16267184 2333>
> 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 <nop,nop,timestamp 16267184 2333>
> 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 <nop,nop,timestamp 2333 16267184>
> 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 <nop,nop,timestamp 2334 16267184>
> 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



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