ipfs / rainbow

A specialized IPFS HTTP gateway
https://docs.ipfs.tech/reference/http/gateway/
Other
66 stars 11 forks source link

cli: libp2p listen addresses #139

Closed aschmahmann closed 1 month ago

aschmahmann commented 1 month ago

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.