Do not receive echo-reply from ping request with scapy

927 views Asked by At

I use scapy and try to make a ping and receive the reply.

my_ping = Ether() / IP(dst='8.8.8.8') / ICMP() rep,no_rep = srp(my_ping)

The problem is that I don't receive any answer. The ping 8.8.8.8 works well using the terminal. I've this problem on my Mac (OS X 10.10 Yosemite) and also on the Ubuntu VM installed on my Mac. However, those commands work on my AWS Ubuntu machine.

If somebody has a clue... feel free to answer

0

There are 0 answers