Re: libnet_build_tcp_options() help needed
Mike Schiffman <[email protected]>
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
These is a TCP options string. "03030a0102040109080a3f3f3f3f000000000000" is a binary string that equates to: <wscale 10,nop,mss 265,timestamp 1061109567 0,eol>. See http://www.iana.org/assignments/tcp-parameters for more information. On Jan 25, 2004, at 3:53 AM, <[email protected]> wrote: > > > Hi > > Could someone please explain to me what those numbers means in the > following line. ( first argument ) > > t = libnet_build_tcp_options( > "\003\003\\012\001\002\004\001\011\010\012\077\077\077\077\000\000\000\ > 000\000\000", > 20, > l, > 0); > > My guess is that they are the different tcp options like max tcp > payload, window scale factor etc, but I have no idea about the mapping > between the names and these numbers. > Eg : 000 - NOOP > 001 - Some TCP option > etc etc > > Thank you > psynaps3 > > > <!DSPAM:4014a862265611611620899> > > > -- Mike Schiffman, CISSP http://www.packetfactory.net/schiffman Doveryay No Proveryay