home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,943 of 14,669   
   Josef Moellers to Rick Jones   
   Re: telnet not giving up after RST packe   
   12 Mar 13 21:39:36   
   
   From: josef.moellers@invalid.invalid   
      
   On 03/12/2013 08:02 PM, Rick Jones wrote:   
   > Josef Moellers  wrote:   
   >> When I compare the two RST packets, I can see no obvious difference,   
   >> other than   
   >> a) trailing ff's (Linux) vs. trailing 00's (AtMega)   
   >> b) an IP "Identification" field of 0 (Linux) vs. 5 (AtMega)   
   >   
   >> What makes telnet give up on the Linux box and not give up on the   
   >> AtMega?   
   >   
   > Good question. I suspect though that it isn't so much that telnet   
   > isn't giving up as it is the connect() call being made by telnet isn't   
      
   Yep, that's what I saw in the strace: connect() hangs.   
      
   > giving up.  That is, if you were to try something other than telnet,   
   > you would see the same behaviour. If you could post the full tcpdump   
   > output of the two segments, perhaps folks will see something you might   
   > have missed.   
      
      
   I've found it myself: The TCP header checksum must include parts of the   
   IP Header! Thus, my checksum was bad and the TCP layer discarded the RST   
   packet.   
      
   Thanks anyway,   
      
   Josef   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca