mirror of
https://github.com/nmap/nmap.git
synced 2026-01-28 17:19:05 +00:00
Set the default --max-conns to 60 on Windows.
Suggested by Andrey Olkhin. http://seclists.org/nmap-dev/2013/q1/390
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Ncat] Reduced the default --max-conns limit from 100 to 60 on
|
||||
Windows, to stay within platform limitations. Suggested by Andrey
|
||||
Olkhin.
|
||||
|
||||
o Fixed IPv6 routing table alignment on NetBSD.
|
||||
|
||||
o [NSE] Added http-phpmyadmin-dir-traversal by Alexey Meshcheryakov.
|
||||
|
||||
@@ -242,7 +242,7 @@
|
||||
</term>
|
||||
<listitem>
|
||||
<para>The maximum number of simultaneous connections accepted by an Ncat
|
||||
instance. 100 is the default.</para>
|
||||
instance. 100 is the default (60 on Windows).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -461,7 +461,7 @@
|
||||
specified port/application like inetd. Ncat will only
|
||||
accept a maximum, definable, number of simultaneous connections
|
||||
controlled by the <option>-m</option> option. By default this is set
|
||||
to 100.</para>
|
||||
to 100 (60 on Windows).</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
@@ -173,7 +173,13 @@ struct socks4_data {
|
||||
* a listening port. You may want to increase or decrease this value depending
|
||||
* on your specific needs.
|
||||
*/
|
||||
#ifdef WIN32
|
||||
/* Windows is commonly limited to 64 sockets, so keep the default somewhat below
|
||||
that. http://www.tangentsoft.net/wskfaq/advanced.html#64sockets */
|
||||
#define DEFAULT_MAX_CONNS 60
|
||||
#else
|
||||
#define DEFAULT_MAX_CONNS 100
|
||||
#endif
|
||||
|
||||
/* SOCKS4 protocol responses */
|
||||
#define SOCKS4_VERSION 4
|
||||
|
||||
Reference in New Issue
Block a user