Commit graph

557 commits

Author SHA1 Message Date
dmiller
806c0af5ee Fix disparity in const between OpenSSL 3 and 4
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-06-19 00:05:22 +00:00
dmiller
b3620f74c3 Check return from OpenSSL allocation functions. Fixes #2721 2026-06-18 23:26:06 +00:00
dmiller
538764bb6a OpenSSL 4.0 compatibility. Fixes #3375 2026-06-16 13:58:41 +00:00
dmiller
d8c9880cd5 Consolidate inet_ntop_ez-like code from throughout
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-06-11 23:28:26 +00:00
dmiller
f030a20f04 Avoid double-frees in ncat http 2026-05-28 22:00:10 +00:00
dmiller
c86132442b Don't treat quoted empty string as NULL 2026-05-28 22:00:09 +00:00
dmiller
7a0dbf40a0 Fix OOB read when parsing HTTP version 2026-05-28 22:00:09 +00:00
dmiller
c3630dfaac Fix incorrect behavior of dotelnet 2026-05-28 22:00:08 +00:00
dmiller
b0293fe9fe Document Ncat's -z option. Closes #2242 2026-05-18 14:31:05 +00:00
dmiller
bd576e86f8 Report real listen address. Fixes #3005
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-05-16 18:39:46 +00:00
dmiller
0e6e731b01 Process all fds in last select before quitting. Fixes #1672
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-05-16 17:31:51 +00:00
dmiller
5688bd25ed Check for errors on socket in send-only listen mode. Fixes #2827
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-05-15 22:30:56 +00:00
dmiller
b408fc243c Ignore stdin with --recv-only
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-05-15 17:34:41 +00:00
dmiller
b637304542 Use SHA256 instead of SHA-1 for Ncat temporary cert 2026-05-01 19:12:23 +00:00
dmiller
74ad0a99cb Use default DH params. Fixes #290 2026-05-01 19:12:22 +00:00
dmiller
757609ad8a Double-check length in SOCKS5 response processing 2026-04-16 23:36:47 +00:00
dmiller
b477941dfd Ensure Ncat receives enough bytes during SOCKS negotiation 2026-04-16 23:36:46 +00:00
dmiller
bfb569d8ec Fix memory leaks in Ncat test programs 2026-04-02 19:14:13 +00:00
dmiller
d39b20c6a3 Fix memory leak in Ncat's SSL validation 2026-04-02 19:14:12 +00:00
dmiller
6dac43b5d8 Bump version to 7.99SVN 2026-03-27 13:56:38 +00:00
dmiller
deb076224e Reintegrate Nmap 7.99 release branch 2026-03-27 13:52:02 +00:00
dmiller
8ce9f04570 Use cross-platform-safe quoting for perl commands 2026-03-10 20:23:17 +00:00
dmiller
edc7c4b492 ncat-test.pl: Also test that server is still running 2026-03-10 20:23:16 +00:00
dmiller
fd8957052a Alter sleeps for slower Windows reconnect behavior 2026-03-10 20:23:16 +00:00
dmiller
2f9c3065fa Fix tests on Windows under MSYS2 2026-03-10 20:23:15 +00:00
dmiller
ceccf5b237 ncat-test.pl: indicate timedout reads directly 2026-03-10 18:32:52 +00:00
dmiller
fd46d288c4 Ncat DTLS: shutdown connection on stdin EOF 2026-03-10 18:32:51 +00:00
dmiller
62206c623a ncat-test.pl: regen cert correctly 2026-03-10 18:32:51 +00:00
dmiller
aea57f7849 Fix HTTP proxy SSL mode 2026-03-05 20:16:22 +00:00
dmiller
d546ada07a Fix HTTP proxy server: block socket while reading 2026-03-04 21:36:07 +00:00
dmiller
dd5eba48be Fix Idle timer for listen mode, broken since -q option was added 2026-03-03 21:40:33 +00:00
dmiller
66fea77905 Fix typo 2026-03-03 21:36:53 +00:00
dmiller
223ba8a541 Fix handling of socket EOF with --exec on Windows 2026-03-02 23:05:58 +00:00
dmiller
95d8e96d1c Limit inherited handles for subprocesses on Windows 2026-03-02 17:11:36 +00:00
dmiller
25a76d7876 Fix compilation with OpenSSL 1.0.1 2026-02-25 20:43:12 +00:00
dmiller
95d380b836 Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
dmiller
52508f77bb Try to rescue users in one simple case 2026-02-16 18:40:19 +00:00
dmiller
92224d5470 Ncat docs: note danger of unquoted commands on Windows 2026-02-16 18:40:19 +00:00
dmiller
1b3ca45054 Compatibility fixes and Github autobuilds. Closes #3214 2026-01-12 16:59:25 +00:00
nnposter
cca10689fe Rectify orphaned or misaligned AC_MSG_RESULT output 2025-08-31 02:59:44 +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
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
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
40b5bda3ac Consistent Windows build parameters 2025-04-15 23:58:46 +00:00
dmiller
12f2f1e592 Initialize qtv for clarity. Closes #3035 2025-03-05 17:16:12 +00:00
dmiller
6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +00:00