From 976ec912dbd9930c73c05158200eae5b41bd8c5f Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 15 Mar 2021 08:25:07 +1000 Subject: [PATCH] Document that the listed address is also advertised to peers (#1891) Documents a potential privacy leak, and a missing feature. --- zebra-network/src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zebra-network/src/config.rs b/zebra-network/src/config.rs index 2fab27a9..bae23fcc 100644 --- a/zebra-network/src/config.rs +++ b/zebra-network/src/config.rs @@ -13,6 +13,10 @@ const MAX_SINGLE_PEER_RETRIES: usize = 2; #[serde(deny_unknown_fields, default)] pub struct Config { /// The address on which this node should listen for connections. + /// + /// Zebra will also advertise this address to other nodes. Advertising a + /// different external IP address is currently not supported, see #1890 + /// for details. pub listen_addr: SocketAddr, /// The network to connect to.