Commit graph

13505 commits

Author SHA1 Message Date
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
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-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
dmiller
c3140c4799 Avoid bad downcast 2026-04-22 16:13:07 +00:00
dmiller
36f0b76bdb More alignment fixes 2026-04-22 01:01:19 +00:00
dmiller
a98e14f4b6 Avoid casting PacketElement to ICMPHeader until type is known. 2026-04-22 01:01:18 +00:00
dmiller
0742876cca Fix memory leak in FPEngine: unused heap object 2026-04-22 01:01:17 +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
ba12d8b03e Note a potential enhancement. Closes #63 2026-04-20 20:19:34 +00:00
dmiller
3671ea512f Fix zenmap packaging to include translations 2026-04-20 17:03:42 +00:00
dmiller
8ef3ed1471 Avoid undefined behavior from unaligned accesses 2026-04-20 15:21:55 +00:00
dmiller
ab973f548a Nbase: make checksum functions const, avoid undefined behavior in shifts 2026-04-20 15:21:54 +00:00
dmiller
f6eef1796a Fix clang warnings about braces in initialization 2026-04-20 15:21:53 +00:00
dmiller
782f59634e Use serviceDeductions::erase() and not constructor to reset the object. 2026-04-16 23:36:49 +00:00
dmiller
53e6be8f28 Avoid undefined shifts due to int promotion 2026-04-16 23:36:48 +00:00