Nmap Development mailing list archives
Re: nping localhost
From: "Michael D. Lawler" <mdlawler () lawlers us>
Date: Sun, 02 Oct 2016 03:56:04 -0400
I am also able to duplicate this under Win 7 32 with nmap 7.30 and npcat 0.10R2. If I copy nping.exe to c:\windows\system32\npcap and run it from that directory it works. Running nmap on localhost from the normal c:\program files\nmap folder works so it seems that nping isn't seeing that npcap is available on my system unless I put the nping.exe executable in the c:\windows\system32\npcap folder.
At 03:43 AM 10/2/2016, é£è大ç°å V5 wrote:
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>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, YangOn Fri, Sep 30, 2016 at 3:06 PM, Nping User <<mailto:npinguser () gmail com>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>https://nmap.org ) Platform: i686-pc-windows-windowsCompiled with: nmap-liblua-5.3.3 openssl-1.0.2j nmap-libpcre-7.6 Npcap-0.10 r2 nmap-libdnet-1.12 ipv6Compiled 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>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.1BPF-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.1fillPacket(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 SUCCESSSENT (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>https://nmap.org/mailman/listinfo/dev Archived at <http://seclists.org/nmap-dev/>http://seclists.org/nmap-dev/ _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
-- Michael D. Lawler email mailto:mdlawler () lawlers us
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: nping localhost 食肉大灰兔V5 (Oct 02)
- Message not available
- Re: nping localhost Michael D. Lawler (Oct 02)
- Message not available
- Re: nping localhost Michael D. Lawler (Oct 02)
- Re: nping localhost Gisle Vanem (Oct 02)
- Re: nping localhost Michael D. Lawler (Oct 02)
- Re: nping localhost 食肉大灰兔V5 (Oct 02)
- Re: nping localhost Luis MartinGarcia (Oct 02)
- Re: nping localhost Michael D. Lawler (Oct 02)
- Message not available