Nmap Development mailing list archives
Ncat/nsock TTL feature request
From: Daniele Iamartino <danieleiamartino () gmail com>
Date: Wed, 19 Dec 2012 18:09:56 +0900
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, ncat it's really a powerful tool, I use it quite everyday, really thanks for this cool project! For some network tests (e.g. NAT traversal hole punching) I sometimes need to choose the TTL value (IPv6) or hop limit (IPv6). Why don't add the possibility to choose this value in ncat using, let's say, -T <value> option ? Implementing it shouldn't be so hard since it's just a setsockopt like: setsockopt(sock, IPPROTO_IP, IP_TTL, &(ttl), sizeof(ttl)); or setsockopt(sock, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &(ttl), sizeof(ttl)); nsock should also be modified. I would send the patch by myself but I know nmap/ncat more as a user than as a developer and I'm still reviewing the code. Anyone else supporting this feature request? Thanks - -- Daniele Iamartino (aka Otacon22) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDRhF4ACgkQrZbmLW3Jw8ypxACfZpalKPmRpbpPlwlHrh5W1b8n 4i0AoJyk3t8PeEbUaB/QGxzZFfWOyw3c =F1p3 -----END PGP SIGNATURE----- _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Ncat/nsock TTL feature request Daniele Iamartino (Dec 19)
- Re: Ncat/nsock TTL feature request David Fifield (Dec 19)
- Re: Ncat/nsock TTL feature request Henri Doreau (Dec 19)