Nmap Development mailing list archives

Re: nping not working as intended


From: Luis MartinGarcia <luis.mgarc () gmail com>
Date: Wed, 21 Jan 2015 09:40:19 +0100

Hi Morgan,

Can you try passing also -e and the nane of the interface that should be
used to send the packets? If that doesn't work, try passing the source MAC
address to.

Let me know if that works.

Regards

Luis MartinGarcia

-- Sent from a cellphone. Apologies for the brevity or any typos.
On 21 Jan 2015 05:50, "Morgan Tørvolt" <morgan () torvolt com> wrote:

Hi.

Bonsaiviking on IRC referred me to this mail address.

I have been trying to ping the internet without having a default gw set.
From what I have read several places, this should be possible with nping by
setting --dest-mac

My command:
nping -4 --icmp --dest-mac "e0:cb:4e:7a:f1:5c" 8.8.8.8

This works if default gw is set. It also works to IPs on my lan without
default gw set. It does however not work without default gw set and trying
to ping the internet. It seems like --dest-mac is not really doing anything.

The error message I get is:
Starting Nping 0.6.00 ( http://nmap.org/nping ) at 2015-01-21 00:15 CET
Could not find interface eth0 which was specified by -e

I realize that 0.6.00 is not the newest, but that is what I have on my
raspberry pi.

Any ideas on what to test? I could possibly compile and test the newest
version, but that takes forever on the PI, and I don't have a cross
compiler setup going unfortunately. Was hoping you have a quick fix, or a
quick "won't work" reply.

Best regards
Morgan Tørvolt

_______________________________________________
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
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: