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

The traceroute under ipv6 only displays the last hop #74

Closed
simple9s opened this issue Dec 12, 2023 · 5 comments
Closed

The traceroute under ipv6 only displays the last hop #74

simple9s opened this issue Dec 12, 2023 · 5 comments

Comments

@simple9s
Copy link

simple9s commented Dec 12, 2023

Hi Valentine, thanks for the great library.I'm doing an experiment,and I had a small problem.
The traceroute under ipv6 only displays the last hop.
image
But my use of windwos tools is normal.
image

Thanks again and regards.

@jaraco

This comment was marked as off-topic.

@jaraco

This comment was marked as off-topic.

@ValentinBELYN
Copy link
Owner

Hi @simple9s,

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).

@simple9s
Copy link
Author

simple9s commented Aug 1, 2024

Hi @simple9s,

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).

Thank you for your reply. This is really a firewall problem.

@simple9s simple9s closed this as completed Aug 1, 2024
@simple9s
Copy link
Author

simple9s commented Aug 1, 2024

Oh! Reading this doc, I see that "traceroute" needs privileged execution for the TTL to work. Interestingly, here's what I've found:

  • On Linux, setting privileged=False causes the undesirable behavior (only the last hop is recorded).
  • On Windows, privileged is forced to False, so presumably may be the cause for only getting the last hop.
  • On macOS, I am able to set privileged=False and get reasonable results back from a traceroute.

Thanks for your explanation, but windows is the firewall problem as the author said.

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

3 participants