mirror of
https://github.com/nmap/nmap.git
synced 2025-12-23 16:09:02 +00:00
routing fix
This commit is contained in:
@@ -17,6 +17,9 @@ o Added the --spoof_mac option, which asks Nmap to use the given MAC
|
|||||||
"Apple", "0", "01:02:03:04:05:06", "deadbeefcafe", "0020F2", and
|
"Apple", "0", "01:02:03:04:05:06", "deadbeefcafe", "0020F2", and
|
||||||
"Cisco".
|
"Cisco".
|
||||||
|
|
||||||
|
o Fixed a but that would cause Nmap to ARP for a gateway MAC address
|
||||||
|
even when it was already in the system ARP cache.
|
||||||
|
|
||||||
o Fixed a problem where Nmap compilation would use header files from
|
o Fixed a problem where Nmap compilation would use header files from
|
||||||
the libpcap included with Nmap even when it was linking to a system
|
the libpcap included with Nmap even when it was linking to a system
|
||||||
libpcap. Thanks to Solar Designer (solar(a)openwall.com) and Okan
|
libpcap. Thanks to Solar Designer (solar(a)openwall.com) and Okan
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export NMAP_VERSION = 3.83.SOC3
|
export NMAP_VERSION = 3.83.DC13
|
||||||
NMAP_NAME= nmap
|
NMAP_NAME= nmap
|
||||||
NMAP_URL= http://www.insecure.org/nmap/
|
NMAP_URL= http://www.insecure.org/nmap/
|
||||||
NMAP_PLATFORM=@host@
|
NMAP_PLATFORM=@host@
|
||||||
|
|||||||
@@ -1930,7 +1930,7 @@ static UltraProbe *sendIPScanProbe(UltraScanInfo *USI, HostScanStats *hss,
|
|||||||
|
|
||||||
if (USI->ethsd) {
|
if (USI->ethsd) {
|
||||||
memcpy(eth.srcmac, hss->target->SrcMACAddress(), 6);
|
memcpy(eth.srcmac, hss->target->SrcMACAddress(), 6);
|
||||||
memcpy(eth.dstmac, hss->target->MACAddress(), 6);
|
memcpy(eth.dstmac, hss->target->NextHopMACAddress(), 6);
|
||||||
eth.ethsd = USI->ethsd;
|
eth.ethsd = USI->ethsd;
|
||||||
eth.devname[0] = '\0';
|
eth.devname[0] = '\0';
|
||||||
ethptr = ð
|
ethptr = ð
|
||||||
|
|||||||
Reference in New Issue
Block a user