ValentinBELYN / icmplib

Easily forge ICMP packets and make your own ping and traceroute.
GNU Lesser General Public License v3.0
266 stars 46 forks source link

Running traceroute only returns final hop #82

Open jamiabailey opened 3 months ago

jamiabailey commented 3 months ago

Using very basic example of traceroute. Following code used:

hops = traceroute(8.8.8.8)

for hop in hops: print (hop.address)

only thing printed is the last hop of 8.8.8.8. Running tracert from command line provides entire list of hops. Not sure what the issue could be. Multiping works fine in similar command. Using Python 3.9.

ValentinBELYN commented 2 months ago

Hi @jamiabailey,

The behavior you are seeing on Windows is most likely related to your firewall. Can you try to temporarily deactivate it during the test and try again? There are other issues on this subject (#7, #8 and #10).