Home page logo

nmap-dev logo Nmap Development mailing list archives

[PATCH] --ttl and connect() scans (and traceroute?)
From: "Kris Katterjohn" <katterjohn () gmail com>
Date: Sat, 13 Oct 2007 16:35:12 -0500

Hi everyone!

I have attached a patch to enable --ttl to work with connect() scans (-sT).
As long as the system supports the setsockopt IP_TTL option, it sets it.
From googling, it looks like most systems support this (Linux, BSD, OS X,

I've tested it on Linux and verified it with Wireshark.

Hey Eddie, do you think you can use IP_TTL for --traceroute as well?

Kris Katterjohn

Attachment: connect-ttl.patch

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]