Nmap Development mailing list archives

Re: nping localhost


From: 食肉大灰兔V5 <hsluoyz () gmail com>
Date: Sun, 2 Oct 2016 15:43:11 +0800

Hi,

I can't reproduce your issue on either Npcap 0.10 or 0.10 r2. I want you to
help these steps:

1) provide the DiagReport output:
https://github.com/nmap/npcap#diagnostic-report.

2) determine the latest workable Npcap version. For example, 0.10 works and
0.10 r2 doesn't work.

3) reproduce steps. I guess you just installed Nmap 7.30 together with the
shipped Npcap 0.10 r2. If the steps are not as above, please provide them.

Thanks!


Cheers,
Yang


On Fri, Sep 30, 2016 at 3:06 PM, Nping User <npinguser () gmail com> wrote:

Hi,

I am not sure if its suppose to work, but nping is unable to get replies
from localhost with ncpap.

Host is Windows 7 64bit

c:\>nmap --version
Nmap version 7.30 ( https://nmap.org )
Platform: i686-pc-windows-windows
Compiled with: nmap-liblua-5.3.3 openssl-1.0.2j nmap-libpcre-7.6
Npcap-0.10 r2 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: iocp poll select


c:\>nping -d4 -c 1 localhost
Nping will send packets at raw ethernet level
Starting Nping 0.7.30 ( https://nmap.org/nping )
Resolving specified targets...
+-----------------TARGET-----------------+
Device Name:            lo0
Device FullName:        lo0
Device Type:            Loopback
Directly connected?:    yes
Address family:         AF_INET
Resolved Hostname:
Supplied Hostname:      localhost
Target Address:         127.0.0.1
Source Address:         127.0.0.1
Next Hop Address:       127.0.0.1
Target MAC Address:     00:00:00:00:00:00
Source MAC Address:     00:00:00:00:00:00
Next Hop MAC Address:   00:00:00:00:00:00
1 target IP address determined.
Next target returned by getNextTarget(): Targets[0/1] --> 127.0.0.1
BPF-filter: (src host 127.0.0.1 and dst host 127.0.0.1) and ((icmp and
icmp[icmptype] = 0) or (icmp and (icmp[icmptype] = 3 or icmp[icmptype]
cmp[icmptype] = 5 or icmp[icmptype] = 11 or icmp[icmptype] = 12)) )
Opening pcap device lo0
Pcap device lo0 open successfully
Next target returned by getNextTarget(): Targets[0/1] --> 127.0.0.1
fillPacket(target=004D1A40, port=0, buff=0041FC10, bufflen=65535,
filledlen=00418BF0 rawfd=-1)
fillPacketICMP(target=004D1A40, buff=0041FC1E, bufflen=65521,
filledlen=00418B78)
nping_event_handler()
nping_event_handler(): Received callback of type TIMER with status SUCCESS
SENT (0.6860s) ICMP [127.0.0.1 > 127.0.0.1 Echo request (type=8/code=0)
id=44031 seq=1] IP [ver=4 ihl=5 tos=0x00 iplen=28 id=19189 foff=0 ttl=
=1 csum=0x31ea]
0000   00 00 00 00 00 00 00 00  00 00 00 00 08 00 45 00  ..............E.
0010   00 1c 4a f5 00 00 40 01  31 ea 7f 00 00 01 7f 00  ..J...@.1.......
0020   00 01 08 00 4b ff ab ff  00 01                    ....K.....
nping_event_handler()
nping_event_handler(): Received callback of type READ-PCAP with status
TIMEOUT
nping_event_handler(): READ-PCAP timeout: Unknown error
nping_event_handler()
nping_event_handler(): Received callback of type READ-PCAP with status
TIMEOUT
nping_event_handler(): READ-PCAP timeout: Unknown error
nping_event_handler()
nping_event_handler(): Received callback of type READ-PCAP with status
TIMEOUT
nping_event_handler(): READ-PCAP timeout: Unknown error

Next target returned by getNextTarget(): Targets[0/1] --> 127.0.0.1
Max rtt: N/A | Min rtt: N/A | Avg rtt: N/A
Raw packets sent: 1 (42B) | Rcvd: 0 (0B) | Lost: 1 (100.00%)
Tx time: 0.31000s | Tx bytes/s: 135.48 | Tx pkts/s: 3.23
Rx time: 1.31200s | Rx bytes/s: 0.00 | Rx pkts/s: 0.00
Nping done: 1 IP address pinged in 2.00 seconds

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: