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

Hole punching and IPv6 #620

Open
kehiy opened this issue Aug 1, 2023 · 3 comments
Open

Hole punching and IPv6 #620

kehiy opened this issue Aug 1, 2023 · 3 comments
Assignees

Comments

@kehiy
Copy link
Contributor

kehiy commented Aug 1, 2023

Describe the problem you'd like to have solved

We should find out the IPv6 problem and try to use them if the device that runs the node able to use IPv6
already we should implement the libp2p hole-punching in Pactus`. (Also find a good way to test it)

Alternatives and current workaround

for now, we use relay nodes, and also the full nodes can't use IPv6 (the code seems to have supported it but there is an issue with this)

Additional context

one of the ways to ensure nodes using IPv6 is using a systemd file.

like:

BindIPv6Only=true

in a pactus.gateway.socket file, then the kernel forces the app to just use IPv6.

this way as we said, forces the OS to run the app on IPv6, However sometimes the IPS doesn't allow IPv6, so that can make running a pactus node suffer or impossible for those who want to run it with home network.

@kehiy
Copy link
Contributor Author

kehiy commented Jul 4, 2024

I think we need to attempt a manual test for hole-punch feature added in #697, but about IPv6 I think we should not be interested in it anymore.

@b00f
Copy link
Collaborator

b00f commented Jul 4, 2024

Did you try to run metrics and see how it works?

@kehiy
Copy link
Contributor Author

kehiy commented Jul 4, 2024

hole punch or IPv6?

For hole-punch I think we can check at the Grafana panel, I need access to it. it can show us the success rate.

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

No branches or pull requests

2 participants