mirror of
https://github.com/nmap/nmap.git
synced 2026-11-22 07:30:59 +00:00
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 |
||
|---|---|---|
| .. | ||
| licenses | ||
| man-xlate | ||
| style | ||
| 3rd-party-licenses.txt | ||
| 3rd-party.xml | ||
| committers.txt | ||
| DATAFILES.md | ||
| device-types.txt | ||
| leet-nmap-ascii-art-eye.txt | ||
| leet-nmap-ascii-art-pc.txt | ||
| leet-nmap-ascii-art.txt | ||
| legal-notices.xml | ||
| nmap-fo.xsl | ||
| nmap-install.xml | ||
| nmap-man-enclosure.xml | ||
| Nmap-Third-Party-Open-Source.docx | ||
| Nmap-Third-Party-Open-Source.pdf | ||
| nmap-usage.xml | ||
| nmap.1 | ||
| nmap.dtd | ||
| nmap.usage.txt | ||
| nmap.xsl | ||
| nmap_gpgkeys.txt | ||
| nse-scripts.dtd | ||
| README | ||
| refguide.xml | ||
| scripting.xml | ||
| SIGNATURES.md | ||
| win32-installer-zenmap-buildguide.txt | ||
| zenmap.1 | ||
| zenmap.xml | ||
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 ).