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

Support running consensus layer also on IPv6 #4660

Open
valentinbud opened this issue Apr 12, 2022 · 1 comment
Open

Support running consensus layer also on IPv6 #4660

valentinbud opened this issue Apr 12, 2022 · 1 comment

Comments

@valentinbud
Copy link

SUMMARY

I would like to be able to configure consensus tendermint to listen on both IPv4 and/or IPv6.

Also to be able to specify both IPv4 and/or IPv6 as consensus external addresses at which the node
can be reached.

The configuration flags I'm referring to are

      --consensus.tendermint.core.external_address string                    tendermint address advertised to other nodes
      --consensus.tendermint.core.listen_address string                      tendermint core listen address (default "tcp://0.0.0.0:26656")
ISSUE TYPE
  • Feature Idea / improvement
COMPONENT NAME

I believe the component is tendermint though I can't be 100% sure.

ADDITIONAL INFORMATION

IPv4 are depleting and IPv6 is here to solve the issue and also improve Internet traffic.

Some providers are even charging a couple of bucks for an IPv4 address and give you the
choice to have only IPv6 on your server.

Sooner rather than later IPv6 will become mainstream and everybody is going to use it.

The worker already has this capability and uses IPv6 if present. See below an excerpt from
oasis-node registry node list -v of one consensus-rpc node I run.

  "tls": {
    "pub_key": "jRTuzzh5an8kVouUrJjHj+5NgDyngEwfVIQJXALlN3I=",
    "next_pub_key": "l88tNlZDV5vgB1dT/QUk39766n9o33TWW5udwWuOO6M=",
    "addresses": [
      "jRTuzzh5an8kVouUrJjHj+5NgDyngEwfVIQJXALlN3I=@194.233.73.154:9100",
      "l88tNlZDV5vgB1dT/QUk39766n9o33TWW5udwWuOO6M=@194.233.73.154:9100",
      "jRTuzzh5an8kVouUrJjHj+5NgDyngEwfVIQJXALlN3I=@[2407:3640:2066:7619::1]:9100",
      "l88tNlZDV5vgB1dT/QUk39766n9o33TWW5udwWuOO6M=@[2407:3640:2066:7619::1]:9100"
    ]
  },
@valentinbud
Copy link
Author

Seems there's also an issue opened on tendermint about this. Hmm, I guess this won't be possible until tendermint implements it. I'll leave it here as reference tendermint/tendermint#2317

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

1 participant