dmiller
236a392cf0
Correctly decode numeric entities
2026-05-26 01:52:15 +00:00
dmiller
c110e3bfa1
Free argv copy when --resume is used
2026-05-26 01:52:14 +00:00
dmiller
9f8c9624f5
Fix reported integer underflow. No existing patterns affected
2026-05-26 01:52:13 +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
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
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
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
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
e9861daf84
Avoid timeout on STDIN socket. Fixes #3291 .
...
Windows enforces a 120-second timeout for sockets in FIN_WAIT_2, so the
STDIN socket was being forcibly closed after 2 minutes.
2026-05-15 16:23:46 +00:00
dmiller
ebdec1fa3e
Only enforce havePcap if necessary. Fixes #564
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-14 19:35:29 +00:00
dmiller
2a697d1c35
Match line for iperf2 >= 2.0.10. Closes #3350
2026-05-13 20:44:37 +00:00
dmiller
082894dcad
Try to loosen OpenSSL security. Fixes #583
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-12 21:53:50 +00:00
dmiller
1263089a52
Add a todo comment. Closes #552
2026-05-12 21:00:42 +00:00
dmiller
abf98ca7b7
Remove old makedepend command. Fixes #503
2026-05-12 20:09:07 +00:00
dmiller
2d46c6b86c
Avoid static buffer for protocol hdrinfo functions
2026-05-12 18:09:00 +00:00
dmiller
4ba5b9c335
Replace duplicate implementations of libnetutil functions
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-12 14:35:31 +00:00
dmiller
4ea1c703de
export various protocol header info functions
2026-05-12 14:35:30 +00:00
dmiller
013a93ce0a
Use brackets around IPv6 addresses used with port numbers
2026-05-12 14:35:29 +00:00
dmiller
94099a2ba9
Combine cases and refactor
2026-05-12 14:35:28 +00:00
dmiller
9543f7cbdb
refactor ippackethdrinfo, splitting out transports
2026-05-12 14:35:28 +00:00
dmiller
09793684cb
Move packet detail print functions to packettrace.cc
2026-05-12 14:35:27 +00:00
dmiller
af821fa833
Mark a few functions static
2026-05-12 14:35:26 +00:00
dmiller
10804bf42a
One more gitignore entry from Windows build
2026-05-08 20:29:54 +00:00
dmiller
9965fef774
Update .gitignore from svn:ignore. Closes #443
2026-05-07 22:25:05 +00:00
dmiller
050edb49cf
Update svn:ignore props
2026-05-07 21:23:01 +00:00
dmiller
31f3c2d461
Update svn:ignore property for idb, pdb, and other Windows build files
2026-05-07 21:06:03 +00:00
dmiller
e6614c0856
Don't perform traceroute on timed-out targets. Fixes #410
2026-05-07 20:12:47 +00:00
dmiller
bf82212b14
Avoid undefined unaligned accesses in Nping. Use more const.
2026-05-07 17:44:22 +00:00
dmiller
712f5474d9
Don't allow Eth-related options with --send-ip. Fixes #380
2026-05-07 17:44:21 +00:00
dmiller
323d875df8
Ensure nbase's hexdump doesn't print too much
2026-05-06 21:38:09 +00:00
dmiller
c94d96b65c
Also handle immediate callback for pcap read, in case that ever happens.
2026-05-05 20:58:57 +00:00
dmiller
3a528e1d1d
Correctly continue receive_buf on immediate error/success
2026-05-05 20:58:56 +00:00
dmiller
9458beda4c
Handle immediate callback before thread yields
...
Nsock makes no guarantees that it will not call the callback for various
functions before returning, so we have to check for that and not assert
it. Fixes #3250 . Fixes #3206 .
2026-05-05 20:58:55 +00:00
dmiller
36e2bf126d
Add a todo note. Closes #302
2026-05-04 19:56:22 +00:00
dmiller
7a0c8b890b
Remove unused variable
2026-05-04 17:42:09 +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
fyodor
a1473fa843
Update the 3rd party open source docs to cover Nmap 7.99
2026-04-30 23:38:10 +00:00
dmiller
6d95d721e0
Simplify function: return const strings, not static buffer
2026-04-30 22:02:01 +00:00
dmiller
3f5a1bd4c1
Remove single-thread restriction from http-form-brute. Closes #264
2026-04-30 22:02:01 +00:00
dmiller
91ea799a8b
Ensure null termination on copied strings
2026-04-30 22:02:00 +00:00
dmiller
c03bdbcc18
Use unsigned lengths to match libpcap
2026-04-30 22:01:59 +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
4085d78e3d
Resolve names in exclude lists in parallel
2026-04-22 21:46:45 +00:00
dmiller
86b6473cbc
Use aligned header structs in ippackethdrinfo()
2026-04-22 19:33:59 +00:00
dmiller
21557e7b2f
Ensure packet buffers are long enough for headers
2026-04-22 16:13:10 +00:00
dmiller
b2a7459609
Remove unused utility function
2026-04-22 16:13:09 +00:00
dmiller
dc3d01b783
Use aligned ICMPv6 header structs in traceND
2026-04-22 16:13:09 +00:00
dmiller
dc6b27be7e
Use existing aligned header structs in osscan functions
2026-04-22 16:13:08 +00:00