diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-19 19:45:28 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-19 19:50:03 -0400 |
commit | c239c57d3c9a8ddff7db6ed20e836844b17efdae (patch) | |
tree | af4aad375fa1c817e969b6113906035a8390e2c9 /changes | |
parent | e6782b355ae77455aaff3af9fe3831c07312a5c8 (diff) | |
download | tor-c239c57d3c9a8ddff7db6ed20e836844b17efdae.tar.gz tor-c239c57d3c9a8ddff7db6ed20e836844b17efdae.zip |
Fix a regression bug in AllowDotExit
The code that detected the source of a remapped address checked that
an address mapping's source was a given rewrite rule if addr_orig had
no .exit, and addr did have a .exit after processing that rule. But
addr_orig was formatted for logging: it was not the original address
at all, but rather was the address escaped for logging and possibly
replaced with "[scrubbed]".
This new logic will correctly set ADDRMAPSRC_NONE in the case when the
address starts life as a .exit address, so that AllowDotExit can work
again.
Fixes bug 6211; bugfix on 0.2.3.17-beta
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug6211 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug6211 b/changes/bug6211 new file mode 100644 index 0000000000..2c8d9b8e70 --- /dev/null +++ b/changes/bug6211 @@ -0,0 +1,4 @@ + o Minor bugfixes: + - Fix a bug that stopped AllowDotExit from working on addresses + that had an entry in the DNS cache. Fixes bug 6211; bugfix on + 0.2.3.17-beta. |