phaethon / kamene

Network packet and pcap file crafting/sniffing/manipulation/visualization security tool. Originally forked from scapy in 2015 and providing python3 compatibility since then.
GNU General Public License v2.0
868 stars 191 forks source link

traceroute6 fails to set destination MAC address #232

Open maikeueule opened 6 years ago

maikeueule commented 6 years ago

Hi,

I noticed that this version of scapy fails to set the destination MAC address, while the original scapy version works.

An example using the latest git version, and redacted IPv6's :

This version:

traceroute6('2001:db8::1') Begin emission: .WARNING: Mac address to reach destination not found. Using broadcast. ..WARNING: Mac address to reach destination not found. Using broadcast. .WARNING: more Mac address to reach destination not found. Using broadcast. (, )

Original version:

traceroute6('2001:db8::1') Begin emission: ...**Finished to send 30 packets. ................................................................. Received 74 packets, got 6 answers, remaining 24 packets [...] (, )

I inspected generated probes with Wireshark, and we indeed have dst = ff:ff:ff:ff:ff:ff in the Ethernet header.

Thanks for any guidance.

gpotter2 commented 6 years ago

Hi !

This issue has been resolved on the original scapy fork, which now supports Python 3 ! This fork (scapy3k) is missing many updates, bug fixes and tweaks. You can have a look at https://github.com/secdev/scapy to get more support !

Have a good day

Edit: proof image

maikeueule commented 6 years ago

Thanks for your prompt reply,

I have just seen the announcement of the original project for official Python 3 support. I stumbled upon this repo as this is the code currently packaged in debian :)

Have a good day !