Nmap Development mailing list archives

Re: Existing implementation to handle TCP Options?


From: David Fifield <david () bamsoftware com>
Date: Wed, 5 Aug 2009 10:00:24 -0600

On Wed, Aug 05, 2009 at 08:57:10AM +0200, Luis M. wrote:
David Fifield wrote:
On Tue, Aug 04, 2009 at 02:21:15PM +0200, Luis M. wrote:
  
One of Nping's TO-DO items is the addition of TCP Options support, this
is, let users somehow specify TCP options trough the command line and
craft TCP packets with the supplied options. The thing is that I'd
prefer no to reinvent the wheel and use some existing code (this
probably has been implemented a million times already). I've been
searching in a couple of code search engines but I haven't been able to
find anything useful.

Do any of you guys know of some code that does that? Ideally, It would
be great to have something like nmap's parse_ip_options() in utils.cc.
    

I don't understand. What's wrong with using parse_ip_options?

Nothing is wrong with parse_ip_options() except that it only works for
IP options not TCP options.

Oops, I'm sorry. I didn't read closely enough.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: