summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2013-02-10 16:45:48 -0500
committerRoger Dingledine <arma@torproject.org>2013-02-11 13:29:56 -0500
commit92ea0b86de30dafe392a2dcd2eb12d9ab83114a7 (patch)
tree1cfb1df27350e7750914b3557ce1c811de4bb440 /changes
parentdfbb12cabf958f0ff2a1004761c22fc093c73dd0 (diff)
downloadtor-92ea0b86de30dafe392a2dcd2eb12d9ab83114a7.tar.gz
tor-92ea0b86de30dafe392a2dcd2eb12d9ab83114a7.zip
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')
-rw-r--r--changes/bug82005
-rw-r--r--changes/ticket22678
2 files changed, 13 insertions, 0 deletions
diff --git a/changes/bug8200 b/changes/bug8200
new file mode 100644
index 0000000000..65fc9dd03a
--- /dev/null
+++ b/changes/bug8200
@@ -0,0 +1,5 @@
+ o Minor bugfix:
+ - Stop sending a stray "(null)" in some cases for the server status
+ "EXTERNAL_ADDRESS" controller event. Resolves bug 8200; bugfix
+ on 0.1.2.6-alpha.
+
diff --git a/changes/ticket2267 b/changes/ticket2267
new file mode 100644
index 0000000000..b589b5721f
--- /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.
+