Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

(please correct me if i'm wrong) Re: TCP and/or IP options example code or docs

From: sandr8 <a.salvatori(at)universitari.crocetta.org>
Date: Wed Jun 25 2003 - 17:22:09 EDT

the only difficult thing should be that... how can i say... let me make a little drawing...

                                         +---------+
                                         | payload |
                                         +---------+

                           +-------------+---------+
                           | tcp options | payload |
                           +-------------+---------+

 +-------------------------+-------------+---------+
 | TCP header (fixed part) | tcp options | payload |
 +-------------------------+-------------+---------+

to do this the simpler way is to...

   libnet_build_tcp_options()
   libnet_build_tcp() <---------- here you use the payload

and between the TCP (fixed part of the) header and the payload there will appear the options... the tcp header will have the correct data offset value. :)

please correct me if i am wrong
i've prepared some powerpoint slides that amongst different things also speak about this thing... hope i'm right ;) sorry they are in Italian but graphics and source code are in english as well as soon as i've done them all i'll send a link to Mike they are no good documentation since they are in .ppt but hope that may help building the new documentation cheers
sandr8)

On Wed, 25 Jun 2003 08:21:02 -0400
"Darren" <darren@obtuse.net> wrote:

> Let me make myself a little bit more clear. The subject and body are a



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Wed Jun 25 17:31:11 2003
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library