Document that the listed address is also advertised to peers (#1891)

Documents a potential privacy leak, and a missing feature.
This commit is contained in:
teor 2021-03-15 08:25:07 +10:00 committed by GitHub
parent 7f9d66a4af
commit 976ec912db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ const MAX_SINGLE_PEER_RETRIES: usize = 2;
#[serde(deny_unknown_fields, default)] #[serde(deny_unknown_fields, default)]
pub struct Config { pub struct Config {
/// The address on which this node should listen for connections. /// 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, pub listen_addr: SocketAddr,
/// The network to connect to. /// The network to connect to.