Networking Forums

Networking Forums > Computer Networking > Linux Networking > Question on SACK (Strange ACK Value)

Reply
Thread Tools Display Modes

Question on SACK (Strange ACK Value)

 
 
Medgya
Guest
Posts: n/a

 
      03-16-2006, 09:32 AM
Hello,

Except perhaps in cases of sequenc number wrap-around, is it ever
legitimate for the ACK value in a TCP segment to be greater than the
left edge of the leftmost block in the accompanying SACK options? I'm
seeing packets like this coming back from an FTP server X.X.X.X (the
remote client Y.Y.Y.Y is doing an active-mode STOR, but I don't show
those packets here):

11:09:11.162335 IP (tos 0x0, ttl 64, id 2075, offset 0, flags [DF],
length: 72) X.X.X.X.20 > Y.Y.Y.Y.2565: . [tcp sum ok] 1:1(0) ack 99543
win 10912 <nop,nop,timestamp 924970291 6793494,nop,nop,sack sack 2
{96739:98129}{100945:119171} >

11:09:11.175782 IP (tos 0x0, ttl 64, id 2081, offset 0, flags [DF],
length: 64) X.X.X.X.20 > Y.Y.Y.Y.2565: . [tcp sum ok] 1:1(0) ack 119171
win 11596 <nop,nop,timestamp 924970294 6793494,nop,nop,sack sack 1
{100945:102335} >

My understanding was that the ACK value always represents just what it
does without SACK -- the right edge of contiguous received data, so in
that interpretation the ACK values above don't seem to make sense.

Thanks for any insights!

Med

 
Reply With Quote
 
 
 
 
Barry Margolin
Guest
Posts: n/a

 
      03-16-2006, 07:54 PM
In article <(E-Mail Removed) .com>,
"Medgya" <(E-Mail Removed)> wrote:

> Hello,
>
> Except perhaps in cases of sequenc number wrap-around, is it ever
> legitimate for the ACK value in a TCP segment to be greater than the
> left edge of the leftmost block in the accompanying SACK options? I'm
> seeing packets like this coming back from an FTP server X.X.X.X (the
> remote client Y.Y.Y.Y is doing an active-mode STOR, but I don't show
> those packets here):
>
> 11:09:11.162335 IP (tos 0x0, ttl 64, id 2075, offset 0, flags [DF],
> length: 72) X.X.X.X.20 > Y.Y.Y.Y.2565: . [tcp sum ok] 1:1(0) ack 99543
> win 10912 <nop,nop,timestamp 924970291 6793494,nop,nop,sack sack 2
> {96739:98129}{100945:119171} >
>
> 11:09:11.175782 IP (tos 0x0, ttl 64, id 2081, offset 0, flags [DF],
> length: 64) X.X.X.X.20 > Y.Y.Y.Y.2565: . [tcp sum ok] 1:1(0) ack 119171
> win 11596 <nop,nop,timestamp 924970294 6793494,nop,nop,sack sack 1
> {100945:102335} >
>
> My understanding was that the ACK value always represents just what it
> does without SACK -- the right edge of contiguous received data, so in
> that interpretation the ACK values above don't seem to make sense.


I agree.

One thing to check -- are both the ACK and SACK values relative to the
ISN? I think either tcpdump or Ethereal has a bug where SACKs are
displayed as absolute values even when displaying relative sequence
numbers and ACKs.

--
Barry Margolin, (E-Mail Removed)
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
 
Reply With Quote
 
Medgya
Guest
Posts: n/a

 
      03-17-2006, 12:53 AM
Thanks! I confirmed that the sequence numbers reported in the SACK are
indeed relative to the ISN. I guess this points to a bug in the
server's TCP stack. That'll be fun trying to track down ;-)

Medgya

Barry Margolin wrote:
> One thing to check -- are both the ACK and SACK values relative to the
> ISN? I think either tcpdump or Ethereal has a bug where SACKs are
> displayed as absolute values even when displaying relative sequence
> numbers and ACKs.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
when not to use net.ipv4.tcp_{sack,fack,dsack} Richard Eich Linux Networking 0 11-28-2006 07:10 AM
Blair is a lying sack of Sh1te none Broadband 38 05-01-2005 06:29 PM
Blair may be a lying sack of Sh1te Big Jim Broadband 1 04-30-2005 04:03 PM
SACK johnny lau Linux Networking 2 09-02-2004 05:34 PM
timout in TCP SACK Tejas Kokje Linux Networking 0 04-09-2004 08:13 PM



1 2 3 4 5 6 7 8 9 10 11