From 4d2b3164ec922916d01d6772ef86b7041e7c7d78 Mon Sep 17 00:00:00 2001 From: s7r Date: Mon, 15 Aug 2016 09:50:10 +0000 Subject: Make log message clearer Longer and more explicit log message so we don't confuse users with behind NAT with working configurations and state that public IP addresses only should be provided with "Address", won't work with internal addresses. --- src/or/router.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/or/router.c b/src/or/router.c index d48bd05d98..c6bbafb95f 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1947,8 +1947,13 @@ router_check_descriptor_address_consistency(uint32_t ipv4h_desc_addr) log_warn(LD_CONFIG, "The configured IPv4 ORPort address %s does not " "match the address %s in the descriptor. Please configure " - "matching IPv4 addresses for the Address and ORPort options. " - "Use NoListen on the ORPort if you are behind a NAT.", + "the matching IPv4 addresses for this Tor relay as " + "Address in the torrc configuration file if " + "you have multiple public IP addresses. If you are behind a " + "NAT and have the right ports forwarded, you can ignore this " + "warning or, to remove it, use 2 ORPort lines with options " + "NoListen (for the public IPv4 address line) and NoAdvertise " + "(for the internal NAT IPv4 address line).", port_addr_str, desc_addr_str); } @@ -1969,8 +1974,13 @@ router_check_descriptor_address_consistency(uint32_t ipv4h_desc_addr) log_warn(LD_CONFIG, "The configured IPv4 DirPort address %s does not " "match the address %s in the descriptor. Please configure " - "matching IPv4 addresses for the Address and DirPort options. " - "Use NoListen on the DirPort if you are behind a NAT.", + "the matching IPv4 addresses for this Tor relay as " + "Address in the torrc configuration file if " + "you have multiple public IP addresses. If you are behind a " + "NAT and have the right ports forwarded, you can ignore this " + "warning or, to remove it, use 2 DirPort lines with options " + "NoListen (for the public IPv4 address line) and NoAdvertise " + "(for the internal NAT IPv4 address line).", port_addr_str, desc_addr_str); } } -- cgit v1.2.3-54-g00ecf