nmap/docs
結友 168eb1a349
Windows: stop setting MaxUserPort and delete any existing value
nmap_performance.reg no longer sets MaxUserPort=0xfffe. It now contains
"MaxUserPort"=- instead, which deletes the value unconditionally: any
existing MaxUserPort is removed whenever the file is applied, whoever
set it, not only when an earlier Nmap installer wrote it. This is the
only way to undo what earlier installers did on upgrade. As before, the
file is only applied when the user opts into the "Network Performance
Improvements" installer section, and the dynamic port range itself
changes after the next reboot because MaxUserPort is read at boot.

MaxUserPort raised the ephemeral port limit on Windows 2000/XP/2003,
whose default dynamic port range was 1025-5000. Nmap dropped those
systems in 7.25BETA1, and since 7.92 the Windows binaries do not run on
Vista or earlier at all. On Windows Vista and later the default range is
already 49152-65535, and MaxUserPort instead widens it to 1024-65534.
That spreads every outgoing connection over the whole port space and
breaks software that needs a contiguous block of host ports: WSL2
mirrored networking fails with
CreateInstance/CreateVm/ConfigureNetworking/0x8007054f and falls back
to no networking (microsoft/WSL#13454, where several reporters traced
it to this installer option).

TcpTimedWaitDelay and StrictTimeWaitSeqCheck are unchanged. The install
guide now describes the deletion, the manual fix for users who do not
re-run the installer, and how to widen the ephemeral range with netsh
from a high starting port if a scan really needs more than 16384 ports.

Verified on Windows 11: applying the file with "regedt32 /S" deletes
MaxUserPort and sets the other two values. The installer itself was not
tested end to end.

Refs: GH#149
2026-11-06 10:47:13 +09:00
..
licenses Migrated Nmap Third Party Open Source doc from OpenOffice to Word format and updated it to cover Nmap 7.95 instead of 7.94. Updated the PCRE license file to match the newer PCRE 2025-02-12 21:52:22 +00:00
man-xlate Reintegrate Nmap 7.992 release branch 2026-10-15 22:30:27 +00:00
style Remove trailing whitespace in lua files 2014-01-23 21:51:58 +00:00
3rd-party-licenses.txt Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
3rd-party.xml Remove vestiges of Nping's alpha version number. See #2862 2026-06-25 21:58:51 +00:00
committers.txt Adds an entry for nnposter 2017-09-24 16:46:58 +00:00
DATAFILES.md Keep a list of updatable data files. Closes #162 2026-04-27 20:03:26 +00:00
device-types.txt
leet-nmap-ascii-art-eye.txt New Nmap configure art 2015-05-27 19:48:59 +00:00
leet-nmap-ascii-art-pc.txt New Nmap configure art 2015-05-27 19:48:59 +00:00
leet-nmap-ascii-art.txt New Nmap configure art 2015-05-27 19:48:59 +00:00
legal-notices.xml Update and reorganize Nmap third party component docs with sample acknowledgment text, etc. Also made very minor updates to legal-notices doc. 2022-03-22 18:54:08 +00:00
nmap-fo.xsl Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
nmap-install.xml Windows: stop setting MaxUserPort and delete any existing value 2026-11-06 10:47:13 +09:00
nmap-man-enclosure.xml Add lang attributes to manpage translations 2016-12-29 21:51:45 +00:00
Nmap-Third-Party-Open-Source.docx Update the 3rd party open source docs to cover Nmap 7.99 2026-04-30 23:38:10 +00:00
Nmap-Third-Party-Open-Source.pdf Update the 3rd party open source docs to cover Nmap 7.99 2026-04-30 23:38:10 +00:00
nmap-usage.xml
nmap.1 Reintegrate Nmap 7.993 release branch 2026-10-29 17:43:59 +00:00
nmap.dtd Update DTD to match output after #1351. Fixes #2494. 2022-06-28 17:40:30 +00:00
nmap.usage.txt Bump version to 7.993SVN 2026-10-29 17:44:01 +00:00
nmap.xsl Fixes a typo. Closes #1332 2018-09-20 16:32:12 +00:00
nmap_gpgkeys.txt Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
nse-scripts.dtd
README Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
refguide.xml Always release memory 2026-05-26 01:52:16 +00:00
scripting.xml Update docs for Lua 5.4.4 upgrade 2023-05-01 17:44:47 +00:00
SIGNATURES.md Add a provisional list of updateable signature files. Closes #163 2026-04-27 20:43:28 +00:00
win32-installer-zenmap-buildguide.txt Update docs to note that zip file is OEM-only 2024-01-30 14:46:49 +00:00
zenmap.1 Reintegrate Nmap 7.993 release branch 2026-10-29 17:43:59 +00:00
zenmap.xml http > https, 2021 > 2022 in docs 2022-04-14 23:06:01 +00:00

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( https://nmap.org ).