phaethon/kamene

traceroute6 fails to set destination MAC address

maikeueule opened this issue · 2 comments

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.
(<Traceroute: TCP:0 UDP:0 ICMP:0 Other:0>, <Unanswered: TCP:30 UDP:0 ICMP:0 Other:0>)

Original version:

traceroute6('2001:db8::1')
Begin emission:
..**.****Finished to send 30 packets.
.................................................................
Received 74 packets, got 6 answers, remaining 24 packets
[...]
(<Traceroute: TCP:0 UDP:0 ICMP:0 Other:6>, <Unanswered: TCP:24 UDP:0 ICMP:0 Other:0>)

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.

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

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 !