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,706 of 14,669    |
|    Ralf to All    |
|    Capturing TCP SYN packets for a specific    |
|    06 Feb 09 05:26:37    |
      From: rm@amitrader.com              Hi,       I need to capture TCP connect packets (ie. SYN-Packets)       sent to a given local port, for example to port 1234.              That small code needs to run on a normal host.       It should not disturb the normal traffic flow,       ie. without setting the interface(s) into promiscious mode or so.       Is this possible?              Can I then, when such a packet gets captured, use normal       socket functions to accept the connection as usual?       Or will the packet be removed from the device buffer when I capture it?       It should not remove it if possible.              I would prefer a solution without any external library if possible.              BTW, is it possible to send a payload within a SYN packet?              Can you please give me some tips and advice on how to do this?              TIA       Ralf              --- 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