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

cli: libp2p listen addresses #139

Merged
merged 1 commit into from
May 24, 2024
Merged

cli: libp2p listen addresses #139

merged 1 commit into from
May 24, 2024

Conversation

aschmahmann
Copy link
Contributor

@aschmahmann aschmahmann commented May 24, 2024

This is an updated version of #59 that closes #128

While we have holepunching support and might not need public listen addresses having them will make things more robust since we can rely on dialback behavior rather than holepunching. While we can listen on the default addresses having configurability here makes it easier for us to enable limited firewall rules.

Note: we could add announce addresses as well if we wanted, at the moment I've left it out to reduce complexity around announce vs append-announce and since I don't have an immediate need for it (e.g. not announcing DNS names). If others want this we could certainly add it though.

@aschmahmann aschmahmann force-pushed the feat/configurable-addrs branch 2 times, most recently from 406318d to 443002f Compare May 24, 2024 06:05
Add a command line argument and default values for the libp2p multiaddr listen addresses.

Ref.: https://docs.libp2p.io/concepts/transports/listen-and-dial/
@hacdias hacdias enabled auto-merge (rebase) May 24, 2024 06:24
@hacdias hacdias merged commit 3ee547b into main May 24, 2024
13 checks passed
@hacdias hacdias deleted the feat/configurable-addrs branch May 24, 2024 06:38
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

Successfully merging this pull request may close these issues.

Configurable Listen Addresses
3 participants