Nmap Development mailing list archives

Re: Nmap on Android: bitset


From: Vlatko Kosturjak <kost () linux hr>
Date: Thu, 19 Aug 2010 22:25:43 +0200

On 08/15/2010 05:40 AM, David Fifield wrote:
On Mon, Jul 26, 2010 at 11:24:21PM +0200, Vlatko Kosturjak wrote:
Here's the nmap 5.35DC1 port to Android. Everything is still the same
and the problem with stdout/stderr remains. Still did not have time to
properly investigate it.

I've committed one part of this patch so far, but in a different way. I
cahnged the std::bitset to a std::vector<bool>. That should be portable
without any ifdefs. This was in r19757. Please check if this works on
Android.

Yes, it works! There is still other things that need patching (which you
are aware), but I'm including patch for reference:
http://ftp.linux.hr/android/nmap/nmap-android-fixes-svn-20100819.diff

From my viewpoint and IMHO (that means feel free to bash my thoughts),
following patches are worth applying even now as they will fix compiling
of nmap in certain conditions and archs:
- libdnet-stripped patches which does not put #ifdefs everywhere (bug?).
- patches to strip support for MD2 in OpenSSL. I see there is a plan to
move to newer version of OpenSSL, that will ease migration as MD2 is not
included by default any more in OpenSSL.

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


Current thread: