Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Quick patch for Intel-based Macintosh
From: Fyodor <fyodor () insecure org>
Date: Wed, 25 Jan 2006 14:46:23 -0800

On Wed, Jan 25, 2006 at 12:05:13AM -0800, Kurt Grutzmacher wrote:
--- nmap-3.98BETA1/tcpip.cc     2006-01-22 13:50:10.000000000 -0800
+++ nmap-3.98BETA1-grutz/tcpip.cc       2006-01-24 22:26:25.000000000  
-0800
@@ -987,7 +987,7 @@
       must deal with it here rather than when building the packet,
       because they should be in NBO when I'm sending over raw
       ethernet */
-#if FREEBSD || BSDI || NETBSD || DEC
+#if FREEBSD || BSDI || NETBSD || DEC || MACOSX
    ip->ip_len = ntohs(ip->ip_len);
    ip->ip_off = ntohs(ip->ip_off);
#endif

Otherwise you get a ton of these:

sendto in send_ip_packet: sendto(6, packet, 40, 0, 127.0.0.1, 16) =>  
Invalid argument

Thanks, I have applied this patch for the next version of Nmap.

Cheers,
Fyodor


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


  By Date           By Thread  

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