Nmap Development mailing list archives

Re: Ncat without IPv6 and rpl_malloc


From: Dirk Loss <lists () dirk-loss de>
Date: Fri, 19 Dec 2008 21:43:20 +0100

Kris Katterjohn wrote:
On 12/19/2008 10:43 AM, Dirk Loss wrote:
What would be the recommended way to disable IPv6 (which my device
doesn't support) and rpl_malloc (which lead to a compilation
error)?
"configure --disable-ipv6" should do the trick for IPv6,

Thanks, that worked.

try running autoconf and building configure yourself to fix the
rpl_malloc problem.

This turned out to be a cross-compilation issue. I've found the following workaround [1]:

 $ export ac_cv_func_malloc_0_nonnull=yes
 $ ./configure

Moreover I had to run Nmap's ./configure script once before calling Ncats configure script.

With these compilation tweaks and no patches to Ncat or Nmap themselves I now can run Ncat on my little Yoggie appliance. I haven't tested SSL yet, but basic listening, connecting and brokering works nicely. :-)
And Nmap (including NSE) works as well.

Maybe we could make a poll out of that: What is the (physically) smallest device you have ever managed to run Nmap on? :-)

Regards
Dirk

[1] http://wiki.buici.com/wiki/Autoconf_and_RPL_MALLOC

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


Current thread: