Commit Graph

25 Commits

Author SHA1 Message Date
dmiller 5de629e3dd Modernize autoconf macros for nbase 2026-08-14 17:16:19 +00:00
dmiller 3e2fc8533a Use AS_CASE when case/esac contains AC macros 2026-08-14 17:16:13 +00:00
dmiller 8c74077140 Update Nping's configure.ac to use modern macros 2026-08-14 17:16:12 +00:00
dmiller b403ddee1e Disable RDMA support when building included libpcap 2026-08-13 14:54:46 +00:00
dmiller 5e40d2be2e Stop m4 from mangling C source in libpcap check 2026-08-13 14:54:46 +00:00
dmiller 7a81c8e5dd Fuzzing framework using libfuzzer 2026-08-11 22:13:31 +00:00
dmiller 58874849d3 Reintegrate Nmap 7.98 release branch 2025-08-21 20:24:37 +00:00
dmiller 95b974b101 Merge 7.95 release branch into trunk 2024-04-23 19:34:03 +00:00
dmiller dd82097c80 Merge changes from 7.92 release branch 2021-08-08 21:20:19 +00:00
paulino 062c8cd0d8 Removes hostmap-ip2hosts 2019-01-31 23:28:21 +00:00
dmiller 4deb24fec4 Change configure check for libpcap to require pcap_create (libpcap 1.0.0 or later). See #1291 2018-08-20 22:08:55 +00:00
dmiller b90786a5ef Regen configure scripts 2017-09-27 21:29:31 +00:00
dmiller 28bd96b82e Reorder checks and libs to fix building when OpenSSL requires -ldl 2016-07-31 13:57:01 +00:00
tomsellers af618266ec Whitepace cleanup after last commit 2016-03-03 03:54:13 +00:00
tomsellers 318accba6e NSE add STARTTLS to sslv2 improving detection of SSLv2 and DROWN oracles. Closes #320 2016-03-03 02:06:05 +00:00
gio 263872f60b Normalize some forgotten target 2015-08-20 19:50:37 +00:00
gio 90edf7ba5c normalized *_[dist]clean target to [dist]clean-* target 2015-08-20 19:50:34 +00:00
gio 3b42a41f44 normalized *_build target to build-* target 2015-08-20 19:50:29 +00:00
dmiller 44e251306e Re-autoconf the configure scripts (using 2.69) 2013-12-11 23:17:47 +00:00
david 6b7b428cb9 Remove COMPAT_SRCS and COMPAT_OBJS.
These appear not to have any effect any more. They were initially used
to conditionally compile and link some files with replacements for
standard library functions, but seem not to have been used after r828
("Moved to nbase system for compatability funcs").
2013-05-13 04:21:11 +00:00
fyodor ea05ae2586 Latest auto-generated files in prep for upcoming 6.20BETA1 release 2012-11-16 00:54:16 +00:00
david 7e5c9a8914 Regen with Autoconf 2.68 and aclocal 1.11.6.
for DIR in . nbase ncat nsock/src nping;
	do (echo $DIR; cd $DIR && aclocal --force && autoconf --force);
done
2012-09-19 16:41:35 +00:00
david cb68c85409 Don't use exit in PCAP_IS_SUITABLE.
John Spencer reported that musl libc doesn't automatically include
<stdlib.h>, as Glibc does, so the configure check was wrongly failing.

conftest.c: In function 'main':
conftest.c:35:5: error: implicit declaration of function 'exit'
2012-09-08 19:44:24 +00:00
david 894f858fd4 Include <sys/types.h> in the PCAP_IS_SUITABLE test.
The lack of this was causing PCAP_IS_SUITABLE to fail on Arch Linux, at
least. I think that in some cases this caused both -L../libpcap and
-lpcap to be added to the linker line, which could cause an error
because of the need to link with -lnl. (We check for -lnl when
--with-libpcap=included is used (since r23163), but the PCAP_IS_SUITABLE
failure went around this check and allowed linking with the included
libpcap without checking whether -lnl is required.)

Here are reported build failures and responses:
http://seclists.org/nmap-dev/2011/q3/449
http://seclists.org/nmap-dev/2011/q4/33
http://seclists.org/nmap-dev/2012/q1/369
2012-03-04 05:18:08 +00:00
david ed2ba4e168 Copy nping, nsock, nbase, zenmap, ncat from their homes in /.
If you have trouble updating after this revision you need to follow
these instructions. You have probably just seen an error like this:

svn: URL 'svn://svn.insecure.org/nping' of existing directory 'nping'
does not match expected URL 'svn://svn.insecure.org/nmap/nping'

This is caused by the replacement of SVN externals.

Here's what you need to do. First, save any local changes you might have
in the nping, nsock, nbase, ncat, and zenmap directories. (For example
by running "cd nping; svn diff > ../nping.diff".) If you don't have any
local changes you can skip this step.

Then run these commands:

rm -rf nping/ nsock/ nbase/ ncat/ zenmap/
svn update
svn cleanup

If all else fails, you can just delete your whole working directory and
check out anew:

svn co --username guest --password "" svn://svn.insecure.org/nmap

There may be further discussion in the mailing list thread at
http://seclists.org/nmap-dev/2011/q4/303.
2011-11-16 21:49:44 +00:00