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

Implement IPv6 support #109

Closed
Daeinar opened this issue Nov 23, 2015 · 3 comments
Closed

Implement IPv6 support #109

Daeinar opened this issue Nov 23, 2015 · 3 comments
Assignees
Labels

Comments

@Daeinar
Copy link
Member

Daeinar commented Nov 23, 2015

Since it is to be expected that IPv4 addresses will become harder and harder to come by in the future, I guess it would make sense to have IPv6 support in the cothority framework to be independent of that "resource". I presume that the realisation of that is not too much of a trouble, as Golang's net package already supports IPv6. There might be even other reasons why we might want to have IPv6 support that I have not thought of yet. Any input is welcome.

@liamsi liamsi added the feature label Apr 5, 2016
@jeffallen
Copy link
Contributor

Find out if this is easy enough to get into v2.

@jeffallen jeffallen self-assigned this Feb 28, 2018
@jeffallen
Copy link
Contributor

IPv6 on the websocket side is working correctly at this point. Setting up a test to confirm conode/conode comms work right too.

@jeffallen jeffallen removed their assignment Mar 9, 2018
ineiti added a commit that referenced this issue Mar 12, 2018
@jeffallen jeffallen self-assigned this Mar 28, 2018
@jeffallen
Copy link
Contributor

Making a server listen to only ipv6 requires putting it's real IPv6 address into a ListenAddress line, like this:

ListenAddress = "[2605:2700:0:2:a800:ff:fe50:8f79]:6800"

I ran a test with two servers, one with a default config (listen on v4 and v6), but advertising it's public address as v6, and another with ListenAddress to listen only on v6. They were able to communicate on the conode-conode protocol doing "conode check -g two-server.toml"

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

No branches or pull requests

3 participants