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 12,712 of 14,669   
   Jorgen Grahn to Jorgen Grahn   
   Re: Capturing TCP SYN packets for a spec   
   06 Feb 09 09:34:23   
   
   From: grahn+nntp@snipabacken.se   
      
   On 6 Feb 2009 09:31:29 GMT, Jorgen Grahn  wrote:   
   > On Fri, 06 Feb 2009 05:55:41 +0100, Ralf  wrote:   
   >> David Schwartz wrote:   
   ...   
   >> >> BTW, is it possible to send a payload within a SYN packet?   
   >> >   
   >> > Not easily.   
   >>   
   >> :-) But your answer indicates that it somehow still is possible.   
   >> I would like to learn how to do it.   
   >> A 6 bytes payload in the 1st SYN packet would be sufficient for me,   
   >> it can also be placed in some unused header fields if there are any such.   
   >   
   > I assume David meant that the RFC kind of allows it, but that you   
   > cannot make the BSD sockets API send it, and circumventing the TCP   
   > part of the stack is painful/unfeasible.   
   >   
   > Also, I think an earlier discussion here (where I asked the question)   
   > showed that no modern TCP implementation at the other end would accept   
   > it. I guess it would refuse the connection altogether, not just   
   > discard that segment.   
      
   And the mandatory question: what are you really trying to do, what   
   problem are you trying to solve? There are probably easier, more   
   normal ways.   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn           R'lyeh wgah'nagl fhtagn!   
      
   --- 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