Nmap Development mailing list archives

Re: Looking at the windows 64 sockets allowed bug.


From: James Rogers <jamesmrogers () gmail com>
Date: Mon, 2 Jul 2012 10:06:38 -0700

Added #define FD_SETSIZE 1024 to a few headers, had to rearrange the
order that a few libraries loaded in a handful of files to limit the
number of times I defined FD_SETSIZE.   Eliminated all the compile
errors, then replaced a return 0 with a return FD_SETSIZE in
set_max_open_descriptors() called by max_sd() function in module
netutil.cc.

max_sd() is called by several functions in scan_engine.cc.

I tested this by calling nmap with various --min_parallelism and
--max_parallelism flags.

On Mon, Jun 25, 2012 at 1:04 PM, Fyodor <fyodor () insecure org> wrote:
On Mon, Jun 25, 2012 at 03:44:13PM -0400, James Rogers wrote:

What is the preferred version of Windows you would like nmap
developers to develop on?  I have Windows 7 and XP.

Hi James.  There's not really a preferred version, as having
developers use different versions can actually help.  Most of us use
Windos 7 by now, but Windows XP SP2 and later is fine.  Older versions
can help catch compatability problems.

Of course it is even better to test on both (I keep Windows 7 and
Windows XP VMs around for testing).

What tools do we use to compile nmap under windows?  I have an older
version of visual studio on the XP machine.

We have details and instructions here:

http://nmap.org/book/inst-windows.html#inst-win-source

What are the best command line options to exercise 1000 ports on a
single machine?

I guess it depends what your goals are for the scan.  A plain "nmap
<target>" command will scan 1,000 ports on the target machine.  But
you can also add options like -A to make the scan more intense.

Cheers,
Fyodor

Attachment: FD_SETSIZE.patch
Description:

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

Current thread: