tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BSD doesn't track window size changes correctly.



Further packets:

09:03:38.020855 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 230249, win 295, 
options [nop,nop,TS val 249 ecr 1076458], length 0
09:03:38.053904 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 232917, win 211, 
options [nop,nop,TS val 249 ecr 1076458], length 0
09:03:38.080020 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 235568, win 128, 
options [nop,nop,TS val 249 ecr 1076463], length 0
09:03:38.112052 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 238424, win 39, 
options [nop,nop,TS val 249 ecr 1076464], length 0
09:03:38.222896 IP NetBSD.ssh > FreeBSD.35421: Flags [.], seq 4438371:4439811, 
ack 238424, win 39, options [nop,nop,TS val 249 ecr 1076479], length 1440
09:03:38.223740 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 239664:239672, 
ack 4436931, win 8280, options [nop,nop,TS val 1076502 ecr 249,nop,nop,sa
ck 1 {4438371:4439811}], length 8
09:03:38.225524 IP NetBSD.ssh > FreeBSD.35421: Flags [.], seq 4439811:4441251, 
ack 238424, win 39, options [nop,nop,TS val 249 ecr 1076479], length 1440
09:03:38.226304 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], ack 4436931, win 
8280, options [nop,nop,TS val 1076502 ecr 249,nop,nop,sack 1 {4438371:44412
51}], length 0
09:03:38.416891 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 239664, win 0, 
options [nop,nop,TS val 249 ecr 1076479], length 0

On 2/04/2012 1:27 PM, Darren Reed wrote:
> Here's one such extact:
> 09:01:33.740701 IP FreeBSD.35421 > NetBSD.ssh: Flags [S], seq 2474756569, win 
> 65535, options [mss 1460,nop,wscale 3,sackOK,TS val 1064054 ecr 0], length 0
> 09:01:33.952922 IP NetBSD.ssh > FreeBSD.35421: Flags [S.], seq 1491889712, 
> ack 2474756570, win 32768, options [mss 1452,nop,wscale 5,nop,nop,TS val 1 
> ecr 1064054,sackOK,nop,nop], length 0
> ...
> 09:03:38.416891 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 239664, win 0, 
> options [nop,nop,TS val 249 ecr 1076479], length 0
> 09:03:38.437943 IP NetBSD.ssh > FreeBSD.35421: Flags [.], seq 
> 4436931:4438371, ack 239672, win 0, options [nop,nop,TS val 249 ecr 1076502], 
> length 1440
> 09:03:38.439168 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 239672:241112, 
> ack 4441251, win 7740, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.439290 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 241112:242552, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.440516 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 255512:256952, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.440638 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 256952:258392, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.440761 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 258392:259832, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.440885 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 259832:261272, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.441007 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 261272:262712, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.441143 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 262712:264152, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:38.441250 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 264152:265592, 
> ack 4441251, win 8139, options [nop,nop,TS val 1076524 ecr 249], length 1440
> 09:03:39.128537 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], seq 239672:241112, 
> ack 4441251, win 8280, options [nop,nop,TS val 1076593 ecr 249], length 1440
> 09:03:39.720321 IP NetBSD.ssh > FreeBSD.35421: Flags [.], seq 
> 4436931:4438371, ack 239672, win 0, options [nop,nop,TS val 252 ecr 1076502], 
> length 1440
> 09:03:39.721146 IP FreeBSD.35421 > NetBSD.ssh: Flags [.], ack 4441251, win 
> 8280, options [nop,nop,TS val 1076652 ecr 249], length 0
> 09:03:39.932057 IP NetBSD.ssh > FreeBSD.35421: Flags [.], ack 239672, win 0, 
> options [nop,nop,TS val 252 ecr 1076502], length 0

The packets were captured on a firewall that had rules to allow all packets in
and out to the NetBSD box without dropping any or enforcing any stateful 
filtering.

Darren


Home | Main Index | Thread Index | Old Index