1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-10 08:29:02 +00:00

mac os x portability fix from christophe thil

This commit is contained in:
fyodor
2007-03-16 09:58:25 +00:00
parent 94b77b4980
commit 7f12aaafe6
4 changed files with 8 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
# Nmap Changelog ($Id$); -*-text-*-
o Fix a portability problem related to the new traceroute
functionality so that it compiles on Mac OS X. Thanks to Christophe
Thil for reporting the problem and sending the 1-line fix.
4.21ALPHA3
o Just fixed a packaging problem with the 4.21ALPHA2 release (thanks

View File

@@ -2,7 +2,7 @@
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
.TH "NMAP" "1" "03/15/2007" "" "Nmap Reference Guide"
.TH "NMAP" "1" "03/16/2007" "" "Nmap Reference Guide"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -117,6 +117,7 @@ SCAN TECHNIQUES:
\-sI <zombie host[:probeport]>: Idlescan
\-sO: IP protocol scan
\-b <ftp relay host>: FTP bounce scan
\-\-traceroute: Trace hop path to each host
PORT SPECIFICATION AND SCAN ORDER:
\-p <port ranges>: Only scan specified ports
Ex: \-p22; \-p1\-65535; \-p U:53,111,137,T:21\-25,80,139,8080

View File

@@ -1,4 +1,4 @@
Nmap 4.21ALPHA2 ( http://insecure.org )
Nmap 4.21ALPHA3 ( http://insecure.org )
Usage: nmap [Scan Type(s)] [Options] {target specification}
TARGET SPECIFICATION:
Can pass hostnames, IP addresses, networks, etc.

View File

@@ -124,7 +124,7 @@
#define NAMEIPLEN MAXHOSTNAMELEN+INET6_ADDRSTRLEN
#ifdef WIN32
#if defined(WIN32) || defined(MACOSX)
#define ICMP_ECHOREPLY 0
#define ICMP_DEST_UNREACH 3
#define ICMP_ECHO 8