1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00
Commit Graph

267 Commits

Author SHA1 Message Date
kris
aff1d727ef Merging in r4769:4773 from /nmap-exp/soc07/nmap 2007-05-23 22:51:25 +00:00
fyodor
e882edf484 added Eddie Bell's traceroute patch, with only minor changes 2007-03-13 08:02:19 +00:00
kris
40143f4d37 Missed another assert() we can remove because of r4515 2007-02-28 14:12:50 +00:00
kris
f221d54908 Change a little over 10 malloc()s and realloc()s to their safe_* equivalents (which let's us get rid a two checks on the returned mem elsewhere in the code). 2007-02-25 15:43:56 +00:00
kris
692f904579 Print IP addresses in ippackethdrinfo() in tcpip.cc when there's an unknown protocol (like with -sO) 2007-02-04 02:12:59 +00:00
kris
176046784b Use ipid parameter for build_icmp_raw() and build_igmp_raw() instead of get_random_u16() when calling build_ip_raw(). 2007-01-30 00:35:44 +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
doug
a869a1df8f UDP --badsum fix 2007-01-23 03:17:32 +00:00
kris
928750ce05 Fix some typos, one in output. IPPROTO_TCP -> IPPROTO_IP (2), extre -> extra, /etc/protocol -> /etc/protocols 2007-01-19 01:39:03 +00:00
kris
9ff574d50e Merging my IGMP -sO patch. This adds build_igmp_raw() to easily build IGMP packets and uses it for -sO. Systems respond more when these packets are sent with an actual IGMP header. The RFC says they MUST verify the checksum, so that's most likely why I always got open|filtered instead of open. Since the different IGMP types all seem to have the checksum in the same place in the packet, it should at least tell us if it's supported or not even if the rest of the header is bogus (because the rest of the header has changed a little bit between the versions). 2007-01-17 17:40:16 +00:00
fyodor
70bdc77289 some bugfixes from Eddie Bell related to build_icmp_raw ttl argument and nmap_getprotobyname calling nmap_protocols_init 2006-12-31 08:52:07 +00:00
fyodor
13d439efe2 Applied pcap-select cleanup patch from Kris 2006-12-21 08:39:03 +00:00
fyodor
8e2de50dd3 Kris Katterjohn patches for code clean up, iana ip assignment update, fixe fileexistsandisreadable 2006-12-12 09:56:15 +00:00
fyodor
1308928e29 Nmap 4.20, woohoo 2006-12-08 03:01:08 +00:00
fyodor
9c686d4a12 about to do more os fingerprint integration 2006-12-03 00:34:19 +00:00
fyodor
49a4a74d70 I hope these changes fix windows compilation 2006-11-20 07:56:38 +00:00
fyodor
508e674ce4 fix Mac OS X pcap problem, I hope 2006-11-19 09:35:26 +00:00
fyodor
9a1fece75d fix a couple bugs found by Jochen (voss at seehuhn.de 2006-11-06 02:14:35 +00:00
fyodor
979e57ed9d Preparing to release ALPHA10 2006-10-24 02:14:20 +00:00
fyodor
c608b64dfd Integrate the latest fingerprint submissions 2006-10-14 06:02:43 +00:00
fyodor
4d44853d78 a bunch of small patches by Kris Katterjohn 2006-09-16 02:25:20 +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
a15e1e0f05 OS detection changes to improve timing/reliability, print fprint in more cases, etc. Also some tiny changes from Kris Katterjohn 2006-08-24 04:06:08 +00:00
fyodor
29b1d58389 Some minor misc. fixes from Marek Majkowski and Kris Katterjohn 2006-08-22 21:31:37 +00:00
fyodor
1da53c8366 Added Zhao changes which cause packet-trace to print tcp ops, slight changes to new os detection, and update fingerfix.pl for recent os detection changes 2006-08-20 18:17:03 +00:00
fyodor
40672e849b a decent amount of OS detection changes/fixes 2006-08-20 01:56:53 +00:00
fyodor
3d9ccee8ff I think I'm done with pcap upgrade and doug's pcap selectable_fd patch 2006-08-17 00:23:03 +00:00
fyodor
9c0af0a95b memory releasing patch from Marek 2006-07-04 23:04:56 +00:00
fyodor
d3055b26bf Some patches from Marek 2006-07-04 08:00:11 +00:00
fyodor
56384d8770 About to release 4.20SOC-ALPHA1 2006-06-25 02:02:14 +00:00
fyodor
09a3a48293 removed unused ServiceProbe::setName and some TCPIP_DEBUGGING stuff 2006-06-19 04:19:52 +00:00
fyodor
48a6d1ce41 latest changes, including a couple doug fixes 2006-05-16 21:46:41 +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
76ab1500b3 make a ton of global symbols static 2006-03-05 23:59:46 +00:00
fyodor
7224f4a52d patch by Kris Katterjohn to Amiga system to use atexit rather than some macro hack 2006-03-05 21:31:04 +00:00
fyodor
848ad2a96a Nmap 4.02Alpha1 release for Everdream 2006-03-03 23:12:14 +00:00
fyodor
c9dd83e327 about to apply Doug DNS fix patch 2006-02-07 07:15:32 +00:00
fyodor
63f2b8c3de Nmap 3.999 truly just about ready now 2006-01-26 09:50:57 +00:00
fyodor
3f7d5a27a4 true 3.98BETA1 release 2006-01-22 22:05:26 +00:00
fyodor
aaf6495447 Nmap 3.97Shmoo 2006-01-11 01:32:04 +00:00
fyodor
e2b19b36a3 a bunch of misc. changes 2005-12-29 11:34:45 +00:00
fyodor
4a3a773963 potential fix to kx-reported problem 2005-12-28 09:12:49 +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
ba5fe2eb20 Doug Hoyte version detection additions, etc. 2005-10-10 22:50:45 +00:00
fyodor
d187c68017 blah 2005-10-01 23:50:27 +00:00
fyodor
e93e746aa4 done updating libpcap and pcre 2005-09-11 10:55:03 +00:00
fyodor
c939fdaf23 Nmap 3.90 2005-09-07 22:37:43 +00:00