Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traceroute6 fails to set destination MAC address #232

Open
maikeueule opened this issue Jan 11, 2018 · 2 comments
Open

traceroute6 fails to set destination MAC address #232

maikeueule opened this issue Jan 11, 2018 · 2 comments

Comments

@maikeueule
Copy link

maikeueule commented Jan 11, 2018

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.

@gpotter2
Copy link

gpotter2 commented Jan 11, 2018

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
Copy link
Author

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants