Nmap Development mailing list archives

Re: Using nping echo mode over IPv6


From: Juhani Toivonen <juhani.toivonen () cs helsinki fi>
Date: Thu, 10 Oct 2013 02:46:11 +0300

Hi,

Thank you. I tried this out and looks like it works on IPv6 now.

We had a further goal of using nping over a tunnelling protocol called HIP to measure its performance. Towards 
applications the implementation we use speaks IPv6, but it might be a bit picky about using raw sockets and such, we 
did not yet succeed with that one. As this might as well be an issue with our implementation I'll be looking to learn 
more first.

As for the basic IPv6 this fixed our issue.

Thanks, and best regards

Juhani Toivonen
juhani.toivonen () cs helsinki fi


On 08.10.2013, at 12:07 AM, Luis MartinGarcia. <luis.mgarc () gmail com> wrote:

Hi Juhani,

I've been looking into this. The echo client/server functionality over IPv6 had never been properly implement (my 
fault). I've just committed a series of patches that may solve the issue. The patches are in a development branch. 
Here are instructions on how to download the code:

svn co https://svn.nmap.org/nmap-exp/luis/nmap-npingchanges
cd nmap-npingchanges
./configure && make
sudo make install

And here's what I get:

SERVER$ sudo ./nping --es public -e vmnet2 -6

Starting Nping 0.6.26SVN ( http://nmap.org/nping ) at 2013-10-07 23:03 CEST
Packet capture will be performed using network interface vmnet2.
Waiting for connections...
[1381179815] Connection received from 3ffe::1:39217
[1381179819] Client #0 (3ffe::1:39217) disconnected

CLIENT$ sudo ./nping --ec public 3ffe::2 

Starting Nping 0.6.26SVN ( http://nmap.org/nping ) at 2013-02-17 01:59 EST
SENT (0.0000s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
CAPT (0.0000s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
RCVD (0.0000s) IPv6[3ffe::2 > 3ffe::1 hlim=255] ICMPv6[Echo reply id=63387 seq=0]
SENT (1.0010s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
CAPT (1.0012s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
RCVD (1.0010s) IPv6[3ffe::2 > 3ffe::1 hlim=255] ICMPv6[Echo reply id=63387 seq=0]
SENT (2.0010s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
CAPT (2.0012s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
RCVD (2.0010s) IPv6[3ffe::2 > 3ffe::1 hlim=255] ICMPv6[Echo reply id=63387 seq=0]
SENT (3.0000s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
CAPT (3.0002s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
RCVD (3.0000s) IPv6[3ffe::2 > 3ffe::1 hlim=255] ICMPv6[Echo reply id=63387 seq=0]
SENT (4.0000s) IPv6[3ffe::1 > 3ffe::2 hlim=64] ICMPv6[Echo request id=63387 seq=0]
RCVD (4.0000s) IPv6[3ffe::2 > 3ffe::1 hlim=255] ICMPv6[Echo reply id=63387 seq=0]

Raw packets sent: 5 (310B) | Rcvd: 5 (240B) | Unanswered: 0 (0.00%) | Echoed: 4 (80.00%)
Nping done: 1 IP address pinged in 4.94 seconds
[root@localhost nping]# sudo ./nping --ec public 3ffe::2


Please let me know if this fixes the issue. 

Thank you and best regards,

Luis MartinGarcia.


On 09/25/2013 06:26 PM, Juhani Toivonen wrote:
Great, thanks. :)

--
Juhani Toivonen
juhani.toivonen () cs helsinki fi


On Sep 25, 2013, at 7:23 PM, "Luis MartinGarcia." <luis.mgarc () gmail com> wrote:

Thanks, Toni.

Juhani, that output is enough. I'll have a look at as soon as I can, and will let you know.

Regards,

Luis MartinGarcia.

On 09/25/2013 06:18 PM, Toni Ruottu wrote:
Apparently the files got filtered out because Juhani was not subscribed to the list. I volunteered to post the 
files for him.

  Cheers, --Toni


On Wed, Sep 25, 2013 at 6:52 PM, Luis MartinGarcia. <luis.mgarc () gmail com> wrote:
Hi Juhani,

It looks like you forgot to attach the output ;-)
Hi Luis, 

Thanks for the reply. 


My mail agent says that the files were attached, I'm leaning more toward the mailing list software filtering them 
out (maybe I need some sort of whitelist entry first).
We're trying again in just a moment with my friend Toni.


Btw, if you didn't, can you please run with the -d5 flag?

Thanks. Best regards,

Luis MartinGarcia.

On 09/25/2013 05:03 PM, Juhani Toivonen wrote:
Hi,

We're having some problems running nping over ipv6. Handshaking seems to succeed at first, but the actual 
pinging doesn't work.
The hosts are connected to the same switch and general ipv6 connectivity works. See attached output from client 
and server.




--
Juhani Toivonen
juhani.toivonen () cs helsinki fi




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


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





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


Current thread: