diff options
author | Roger Dingledine <arma@torproject.org> | 2013-02-10 16:45:48 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-02-11 13:29:56 -0500 |
commit | 92ea0b86de30dafe392a2dcd2eb12d9ab83114a7 (patch) | |
tree | 1cfb1df27350e7750914b3557ce1c811de4bb440 /changes/ticket2267 | |
parent | dfbb12cabf958f0ff2a1004761c22fc093c73dd0 (diff) | |
download | tor-92ea0b86de30dafe392a2dcd2eb12d9ab83114a7.tar tor-92ea0b86de30dafe392a2dcd2eb12d9ab83114a7.tar.gz |
Refactor resolve_my_address() so logs are more accurate / helpful
It returns the method by which we decided our public IP address
(explicitly configured, resolved from explicit hostname, guessed from
interfaces, learned by gethostname).
Now we can provide more helpful log messages when a relay guesses its IP
address incorrectly (e.g. due to unexpected lines in /etc/hosts). Resolves
ticket 2267.
While we're at it, stop sending a stray "(null)" in some cases for the
server status "EXTERNAL_ADDRESS" controller event. Resolves bug 8200.
Diffstat (limited to 'changes/ticket2267')
-rw-r--r-- | changes/ticket2267 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/changes/ticket2267 b/changes/ticket2267 new file mode 100644 index 000000000..b589b5721 --- /dev/null +++ b/changes/ticket2267 @@ -0,0 +1,8 @@ + o Minor features: + - Refactor resolve_my_address() so it returns the method by which we + decided our public IP address (explicitly configured, resolved from + explicit hostname, guessed from interfaces, learned by gethostname). + Now we can provide more helpful log messages when a relay guesses + its IP address incorrectly (e.g. due to unexpected lines in + /etc/hosts). Resolves ticket 2267. + |