TCP Negotiation problems

Bowser Jason S Contr AFRL/IFTA <[email protected]> Mon, 2 Aug 2004 10:36:45 -0400
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>
Hello everyone
 
I am having a problem setting sending tcp packets with libnet.
 
I believe i have come to the conclusion that since i am opening up the network in raw that i have to do the 3 way handshake with tcp however i am unable to do this.  
 
I craft a TCP_SYN packet, and send it on the wire, however i am having problem with the TCP_ACK portion of the 3 way handshake any help would be greatly appreciated
 
Thank you
jason