Commit graph

1323 commits

Author SHA1 Message Date
結友
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
dmiller
ec562e9e8b Bump version to 7.993SVN 2026-10-29 17:44:01 +00:00
dmiller
68cdcb93b5 Reintegrate Nmap 7.993 release branch 2026-10-29 17:43:59 +00:00
dmiller
f06480daed Reintegrate Nmap 7.992 release branch
Some checks failed
nmap multiplatform autobuilds / build (arm64, gcc, ubuntu-latest-gcc-arm64, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, freebsd-15-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, macos-15-clang, macos-15) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, macos-26-clang, macos-26) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, netbsd-10-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, openbsd-7-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, solaris-11-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (clang, ubuntu-latest-clang, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (egcc, openbsd-7-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, freebsd-15-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, netbsd-10-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, solaris-11-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (gcc, ubuntu-latest-gcc, ubuntu-latest) (push) Has been cancelled
nmap multiplatform autobuilds / build (msvc, windows-latest-msvc, windows-latest) (push) Has been cancelled
2026-10-15 22:30:27 +00:00
dmiller
b6727c3de6 Bump version to 7.991SVN 2026-08-07 15:40:11 +00:00
dmiller
542eda7cf6 Bump version, use git 2026-08-07 15:40:04 +00:00
dmiller
8508d02033 Remove vestiges of Nping's alpha version number. See #2862
Some checks are pending
nmap multiplatform autobuilds / build (arm64, gcc, ubuntu-latest-gcc-arm64, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, freebsd-15-clang, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, macos-15-clang, macos-15) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, macos-26-clang, macos-26) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, netbsd-10-clang, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, openbsd-7-clang, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, solaris-11-clang, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (clang, ubuntu-latest-clang, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (egcc, openbsd-7-gcc, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (gcc, freebsd-15-gcc, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (gcc, netbsd-10-gcc, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (gcc, solaris-11-gcc, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (gcc, ubuntu-latest-gcc, ubuntu-latest) (push) Waiting to run
nmap multiplatform autobuilds / build (msvc, windows-latest-msvc, windows-latest) (push) Waiting to run
2026-06-25 21:58:51 +00:00
dmiller
ff028e681f Always release memory 2026-05-26 01:52:16 +00:00
fyodor
a1473fa843 Update the 3rd party open source docs to cover Nmap 7.99 2026-04-30 23:38:10 +00:00
dmiller
8f0ebd84ad Add a provisional list of updateable signature files. Closes #163 2026-04-27 20:43:28 +00:00
dmiller
5a69179c25 Keep a list of updatable data files. Closes #162 2026-04-27 20:03:26 +00:00
dmiller
919bf6c0c5 Note that Nmap quits if excluded names do not resolve. See #74 2026-04-20 20:52:24 +00:00
dmiller
6dac43b5d8 Bump version to 7.99SVN 2026-03-27 13:56:38 +00:00
dmiller
d93858793c docs: Update Zenmap install from RPM to Python wheel [ci skip] 2026-03-27 13:56:36 +00:00
dmiller
deb076224e Reintegrate Nmap 7.99 release branch 2026-03-27 13:52:02 +00:00
dmiller
240174c03b Document Windows installer options. Fixes #2375 2026-01-12 17:52:16 +00:00
nnposter
306263da43 Explain the effect of arguments that are not script-specific. Close #3223, close #3221, fix #3211 2025-12-02 22:48:31 +00:00
dmiller
72b6830067 Bump version to 7.98SVN 2025-08-21 20:29:59 +00:00
dmiller
58874849d3 Reintegrate Nmap 7.98 release branch 2025-08-21 20:24:37 +00:00
dmiller
afdff26fbf Normalize line endings and XML declaration in man-xlate 2025-05-21 20:47:37 +00:00
dmiller
3352909894 Correct a mistake in French man page. Fixes #3072 2025-05-21 20:47:36 +00:00
dmiller
b23300c65a Bump version to 7.97SVN 2025-05-15 16:03:29 +00:00
dmiller
ec3b1d264b Reintegrate 7.97 changes 2025-05-15 15:42:03 +00:00
dmiller
7dfa8e8186 Regen man pages 2025-05-07 22:57:07 +00:00
dmiller
3cba03a8da Long-overdue update for Windows install docs 2025-05-07 22:57:06 +00:00
dmiller
c2d04beaa4 Bump version to 7.96SVN 2025-05-07 22:57:05 +00:00
dmiller
c66baf785e Merge Nmap 7.96 release branch 2025-05-07 13:22:40 +00:00
dmiller
38dd2d6d29 Bump python (and other) versions for macos build 2025-04-29 17:42:02 +00:00
nnposter
1eb35b6f37 Add a missing parenthesis. Close #3009 2025-03-23 00:15:56 +00:00
fyodor
c932f08f42 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
nnposter
6cf1290112 Clarify that -sC is superseded by --script. See #2940 2024-12-02 02:31:39 +00:00
fyodor
c0e500f453 Regenerate PDF from the fodt using newer libreoffice to avoid false positive flagging by antivirus software (fixes nmap#2856) 2024-06-01 19:40:16 +00:00
dmiller
e9ea425f12 Update docs for parallel forward-DNS lookups. 2024-05-16 19:31:48 +00:00
dmiller
0b89ae00c0 Bump version to 7.95SVN 2024-04-23 19:38:37 +00:00
dmiller
95b974b101 Merge 7.95 release branch into trunk 2024-04-23 19:34:03 +00:00
dmiller
47b763e154 Update docs to note that zip file is OEM-only 2024-01-30 14:46:49 +00:00
fyodor
d1d1d6901a Update details from Nmap 7.92 to 7.94 2023-09-05 17:04:34 +00:00
dmiller
85f38cb858 Bump version to 7.94SVN post-release 2023-05-20 23:05:18 +00:00
dmiller
72d67cf401 Merge 7.94 release branch 2023-05-20 22:59:41 +00:00
dmiller
6fdccee5ba Update docs for Lua 5.4.4 upgrade 2023-05-01 17:44:47 +00:00
dmiller
dcb375cf7a Regen man pages 2023-03-31 22:13:49 +00:00
dmiller
20be2a9c6a Convert/declare all translations to UTF-8 2023-03-31 22:13:47 +00:00
dmiller
44f626b390 Add refmiscinfo for translations 2023-03-31 22:13:46 +00:00
dmiller
0a97963f91 Fix XML errors in docs 2023-03-31 22:13:44 +00:00
fyodor
9049308afa Update --ip-options flag to note that S (strict routing) is the option which takes a route, not R (record route). 2023-02-13 23:10:37 +00:00
dmiller
a28d9b77f9 Remove/edit references to nmap-payloads. See #2541 2023-02-09 17:57:15 +00:00
nnposter
cb7edf43ed Fixes URL typo. Closes #2545 2022-10-20 22:01:21 +00:00
dmiller
c75665f88e Update some syntax and note some areas of further need in Japanese translation 2022-10-04 20:22:19 +00:00
dmiller
ac1affb18e Update Japanese manpage translation. Closes #2507 2022-10-04 20:22:18 +00:00
dmiller
b092262a22 Clarify docs around timing templates [ci skip] 2022-09-23 21:41:58 +00:00