Nmap Development mailing list archives
Re: [PATCH] --ttl and connect() scans (and traceroute?)
From: "Kris Katterjohn" <katterjohn () gmail com>
Date: Sun, 14 Oct 2007 10:04:52 -0500
On 10/14/07, Eddie Bell <ejlbell () gmail com> wrote:
I'm not sure about the portability of setsockopt but it looks like IP_RECVTTL/IP_RECVERR don't works on STREAM sockets, only DGRAM. So it may be possible to do this with udp but probably not any other protocols. I don't have proper internet access till Tuesday so will check this out in a little more detail then (and all the other nmap happenings that have occurred whilst I've been internet-less) thanks - eddie
If by portability you mean "across systems" and not "STREAM vs DGRAM", it looks like Nmap uses setsockopt (without #ifdef or anything) for setting SO_LINGER, and for IP_HDRINCL (like my patch with #ifdef) among others. Or maybe you meant setsockopt options rather than the actual call? Either way I hope you can easily use setsockopt to enable traceroute with connect() scans because that'd be cool :) Thanks, Kris Katterjohn _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] --ttl and connect() scans (and traceroute?) Kris Katterjohn (Oct 13)
- Re: [PATCH] --ttl and connect() scans (and traceroute?) Fyodor (Oct 13)
- Re: [PATCH] --ttl and connect() scans (and traceroute?) Eddie Bell (Oct 14)
- Re: [PATCH] --ttl and connect() scans (and traceroute?) Kris Katterjohn (Oct 14)
- Re: [PATCH] --ttl and connect() scans (and traceroute?) Eddie Bell (Oct 14)
- Re: [PATCH] --ttl and connect() scans (and traceroute?) Fyodor (Oct 13)
