fyodor
61b976a45c
o Nmap now saves the target name (if any) specified on the command
...
line, since this can differ from the reverse DNS results. It can be
particularly important when doing HTTP tests against virtual hosts.
The data can be accessed from target->HostName() from Nmap proper
and host.targetname from NSE scripts. The NSE HTTP library now uses
this for the Host header. Thanks to Sven Klemm for adding this
useful feature.
2008-02-04 22:10:29 +00:00
fyodor
29c912f394
URL change from http://insecure.org/nmap/ * to http://nmap.org/ *
2008-01-17 07:22:03 +00:00
fyodor
8220c8a42f
update copyright line at the top of files from 1996-2006 to 1996-2008
2007-12-22 06:32:03 +00:00
kris
1b1fcc753b
Adding a new ping type: IPProto Ping. It's used with '-PO'. I've changed references to -P0 (zero) to -PN throughout the source code and refguide.xml
2007-10-28 00:05:03 +00:00
david
0a2764f198
Remove massping.
...
2 files changed, 1301 deletions(-)
Would that all patches could be like that.
2007-10-12 03:46:46 +00:00
david
c76cdc8e44
Make the old massping be used when NEW_MASSPING is undefined in targets.h. This
...
is the last revision that contains massping.
2007-10-12 03:38:38 +00:00
david
302547375b
Look out, world, here comes the Nmap massping migration!
...
This is the merging of the code that was previously in
/nmap-exp/david/nmap-massping-migration. These are all the big changes
that get rid of massping in favor of doing host discovery using
ultra_scan.
For now, there is a toggle that turns these new changes off. Undefine
NEW_MASSPING in targets.cc to go back to the old code. All of that will
be deleted eventually.
There are likely a few more changes that will be made to this system in
the near future. Those will be made in
/nmap-exp/david/nmap-massping-migration and merged back.
Don't release this just yet, because I'm going to make a few more
commits real quick to remove some debugging stuff.
(Note to self: this merge back was from r5693 in
/nmap-exp/david/nmap-massping-migration.)
2007-08-27 23:58:23 +00:00
david
338b1913d8
Fix some switch-case logic in massping that made all connection-refused responses look like syn-acks when doing TCP connect ping scan.
2007-08-23 20:23:57 +00:00
kris
0b50c16b38
Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf().
2007-08-14 06:46:54 +00:00
fyodor
6c06f51bd7
merge soc07 r5100 - Changing fprintf(stderr, )'s to error()'s (or fatal() if followed by and exit()). Besides providing consistency, this also allows more errors to actually be logged with --log-errors.
2007-08-11 05:16:56 +00:00
fyodor
8d74bbcd8a
merge soc07 r4871:4884 and r4888 - renaming __FUNCTION__ to __func__ and changing hardcoded func names to __func__
2007-08-11 04:06:09 +00:00
fyodor
58522c59f6
merge soc07 r4822 - Reduce the number of build dependencies.
2007-08-11 03:35:46 +00:00
fyodor
58f46706e5
merge soc07 r4751 - UDP traceroute hop distance and port state reason feature
2007-08-11 03:15:24 +00:00
kris
69754e8311
Use dnet headers for TCP and UDP. This allows us to remove netinet tcp.h and udp.h references, the udphdr_bsd stuff, and the TH_ECE/TH_CWR #defines in tcpip.h. That was easy, but we (Fyodor and I) came to the conclusion that IP and ICMP aren't worth the hassle to switch (I was testing TCP, UDP and IP in my branch). The struct icmp_hdr in dnet isn't setup anything like what we're using now. Then, struct ip_hdr uses ip_addr_t (typedef'd to uint32_t in that ip.h) instead of struct in_addr for the IP addresses, and that would require some dnet modifying to work right. We might be able to come up with some elegant solution for IP, but probably not for ICMP. For now, they're still left up to netinet (or tcpip.h).
2007-01-23 05:29:59 +00:00
fyodor
508e674ce4
fix Mac OS X pcap problem, I hope
2006-11-19 09:35:26 +00:00
fyodor
2140dfb00f
Applied a patch by Kris Katterjohn which makes 14 functions static
2006-08-29 04:03:03 +00:00
fyodor
9cbae88f44
Add -ip-options support
2006-08-29 03:26:00 +00:00
fyodor
b28d51167c
Minor source code header improvements
2006-08-25 01:47:49 +00:00
fyodor
a403864351
Replace file headers, mostly to update copyright to 2006
2006-08-24 04:43:50 +00:00
fyodor
9c0af0a95b
memory releasing patch from Marek
2006-07-04 23:04:56 +00:00
fyodor
bba26da49f
incl nmap-os-db in windows binary distros, fix max-retries, some spellchecking
2006-07-02 21:34:29 +00:00
fyodor
56384d8770
About to release 4.20SOC-ALPHA1
2006-06-25 02:02:14 +00:00
fyodor
0b33f41633
About to do Nmap 4.03
2006-04-22 23:00:09 +00:00
fyodor
7fafddee53
latest changes ...
2006-03-25 23:56:48 +00:00
fyodor
86089c4255
Renamed tty.cc/.h to nmap_tty.cc/.h
2006-03-06 00:15:49 +00:00
fyodor
76ab1500b3
make a ton of global symbols static
2006-03-05 23:59:46 +00:00
fyodor
c9dd83e327
about to apply Doug DNS fix patch
2006-02-07 07:15:32 +00:00
fyodor
aaf6495447
Nmap 3.97Shmoo
2006-01-11 01:32:04 +00:00
fyodor
ccce12128f
Just added Paul's status patch
2005-12-31 00:32:42 +00:00
fyodor
7b8eea1212
fixed (I hope) some problems with -S and -e; about to release informal 3.94ALPHA1
2005-11-28 01:34:08 +00:00
fyodor
68fcbbe1cf
fixed previous attempted fix for --exclude bug
2005-11-27 23:08:29 +00:00
fyodor
0d32ed3592
heading off for thanksgiving
2005-11-22 23:21:55 +00:00
fyodor
d187c68017
blah
2005-10-01 23:50:27 +00:00
fyodor
b80808b3f3
Nmap 3.93
2005-09-12 10:36:34 +00:00
fyodor
af98474855
3.92 release pending
2005-09-12 08:46:04 +00:00
fyodor
a14f8bc51c
close to 3.92 release
2005-09-12 08:08:35 +00:00
fyodor
e93e746aa4
done updating libpcap and pcre
2005-09-11 10:55:03 +00:00
fyodor
b3923483ea
3.84ALPHA1 release imminant
2005-08-11 05:07:01 +00:00
fyodor
02397959b3
removed winip lib
2005-08-10 04:16:18 +00:00
fyodor
f2e62cf403
Windoze just about working
2005-08-09 04:20:41 +00:00
fyodor
7a85cf32dd
Nmap 3.83DC13
2005-07-28 07:04:22 +00:00
fyodor
aafb4a0a82
Arp sp00fing c0de
2005-07-26 06:26:00 +00:00
fyodor
2b834d90d2
Have it compiling on Solaris, and soon should have it working. Bwahahahahahahaha
2005-07-22 10:08:53 +00:00
fyodor
153df8bb21
new goodz
2005-07-22 05:33:51 +00:00
fyodor
30863f2f15
fixed a little bug
2005-07-19 08:50:58 +00:00
fyodor
555c986ac3
Whew -- big reorganization to allow ethernet sends of IP packets
2005-07-19 05:07:51 +00:00
fyodor
3922128b12
first build with ARP kung-fu, though far from finished with that feature
2005-04-29 06:53:17 +00:00
fyodor
26ce3d66f4
get rid of silly top-level trunk dir
2005-04-11 22:34:19 +00:00