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,918 of 14,669   
   Jorgen Grahn to glen herrmannsfeldt   
   Re: Shortest TCP session?   
   19 Jan 13 21:34:14   
   
   From: grahn+nntp@snipabacken.se   
      
   On Sat, 2013-01-19, glen herrmannsfeldt wrote:   
   > Someone in another newsgroup   
      
   Who, and which one?   
      
   > is trying to get especially high TCP   
   > connection setup/teardown rates, which reminded me that I forgot   
   > how short a TCP connection can be?   
   >   
   > Can you add data to the SYN, SYN+ACK, and ACK packets   
   > of the three-way handshake?   
   >   
   > Can you add FIN on the last (and first) data packet?   
   >   
   > That is, does:   
   >   
   > 1)  SYN+data+FIN   
   > 2)  SYN+ACK+data+FIN   
   > 3)  ACK   
   >   
   > work?   
      
   Rick Jones will most likely answer, but until then:   
      
   I asked here in 2005 or 2006.  IIRC, the answer was close to "maybe in   
   theory, but in practice this is broken in OSes, or disabled to avoid   
   attacks."  This also ties into the T/TCP protocol, and why it was   
   flawed and abandoned.   
      
   > Usually, I would choose UDP in this case, but some might   
   > like TCP better.   
      
   I'd try to avoid designing protocols with short-lived connections   
   in the first place!   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn    O  o   .   
      
   --- 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