1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 10:19:03 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
david
77204b9d43 Add an ifindex member to interface_info.
This is a copy of intf_index from libdnet.
2011-08-30 23:55:08 +00:00
djalal
fc79deba75 Made getInterfaceByName() return IPv6 interface information. 2011-08-10 22:56:34 +00:00
weilin
1dcf652410 Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
david
e748e46d9e Add ipv6_get_data_any and ip_get_data_any.
These version allow returning an extension header or other
non–upper-layer protocol if it is the final header before the end of the
packet. This is used to parse the broken packets sent as part of
protocol scan.
2011-06-17 05:47:33 +00:00
david
36af9da175 Make abstract_ip_hdr.ipid 16 bits, not 8.
This was a mistake that was cauding later IP ID comparisons to be false
because of truncation. In particular, it could make all protocols appear
to be open when doing a -sO scan against localhost because the outgoing
packets looked like protocol replies.
2011-06-14 02:29:38 +00:00
david
35d920cda9 Rename do_arp_cache to do_mac_cache.
It is no longer specific to ARP; it also caches IPv6 ND results.
2011-06-14 00:42:39 +00:00
david
4aa4a154f9 Merge from /nmap-exp/david/nmap-ipv6.
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
david
b08c07339a Make netutil_fatal return void. 2011-06-07 16:18:51 +00:00
david
04e2cc9936 Add __attribute__((noreturn)) to netutil_fatal. 2011-06-07 04:59:26 +00:00
david
a89479112b Remove trailing whitespace in netutil.h. 2011-06-07 04:56:57 +00:00
david
afce65a3a8 Rename tcpudp_cksum to ipv4_pseudoheader_cksum. Partial merge of r21278
from /nmap-exp/david/nmap-ipv6.
2011-04-26 15:38:44 +00:00
fyodor
86e59a8c4e Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
david
7653cf7d4a Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match. 2010-10-30 03:01:50 +00:00
luis
d0a4d0ad50 Moved function max_sd() to libnetutil. Also, two new helper functions have been added. 2010-10-20 15:57:50 +00:00
batrick
80672911fd Use const char *. 2010-08-28 16:01:35 +00:00
kris
57664a51cf Committing MTU-related changes:
* Adding path-mtu.nse for Path MTU Discovery
* Nmap now stores the MTU for interfaces (from SIOCGIFMTU or libdnet)
* Scripts can access the MTU for host.interface via host.interface_mtu
* Nmap prints the MTU for interfaces in --iflist
2010-08-24 01:47:12 +00:00
luis
d11edeb3e7 Changed send_frag_ip_packet() to make sure it accepts big MTU values, and fixed the format specifier, which was printing a signed integer when it should print an unsigned one 2010-06-22 18:22:54 +00:00
luis
da126c8b78 Merged nmap-dedup branch from nmap-exp/luis/nmap-dedup. This completes the Nmap/Nping code de-duplication phase. 2010-06-22 17:24:34 +00:00