Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Make Docker image listen on ipv6 as well as ipv4 #4089

Merged
merged 1 commit into from
Oct 25, 2018

Conversation

dekonnection
Copy link
Contributor

Currently, the Docker image only listens on ipv4, making it unusable on ipv6-enabled setups.

This commit modifies the binding address from "0.0.0.0" to "::", so Synapse would listen on all addresses, ipv4 or ipv6 ones.
On ipv4-only setups, this has no undesired side-effect, everything works as previously, and synapse will listen on all ipv4 addresses.

@dekonnection dekonnection changed the title Make Docker image listening on ipv6 as well as ipv4 Make Docker image listen on ipv6 as well as ipv4 Oct 25, 2018
@richvdh richvdh changed the base branch from master to develop October 25, 2018 16:05
@richvdh richvdh changed the base branch from develop to master October 25, 2018 16:08
@richvdh richvdh changed the base branch from master to develop October 25, 2018 16:09
@richvdh
Copy link
Member

richvdh commented Oct 25, 2018

please could you add a newsfile as per CONTRIBUTING.rst?

@dekonnection dekonnection force-pushed the master branch 2 times, most recently from e363396 to 8bb67a1 Compare October 25, 2018 17:32
@dekonnection
Copy link
Contributor Author

please could you add a newsfile as per CONTRIBUTING.rst?

Just added it :)

Sorry for missing that, first contribution here.

@@ -0,0 +1,4 @@
Currently, the Docker image only listens on ipv4, making it unusable on ipv6-enabled setups.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, sorry: this file is what ends up in the changelog, so needs to be a succinct one-line summary. see https://github.com/matrix-org/synapse/blob/master/CHANGES.md#synapse-0337rc1-2018-10-15 for some examples, but basically, you want something more like "Configure the Docker image to listen on IPv6 addresses".

I'm sorry the CONTRIBUTING.rst doesn't make that clearer :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's done :)

Signed-off-by: Cédric Laudrel <dek@iono.me>
@richvdh
Copy link
Member

richvdh commented Oct 25, 2018

\o/ thank you!

@richvdh richvdh merged commit 6cb2e24 into matrix-org:develop Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants