aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-22 17:34:05 -0400
committerNick Mathewson <nickm@torproject.org>2012-10-23 13:49:48 -0400
commit85659d3964669f9f419123c648e517f4ba539462 (patch)
treecf95df6542f0219c67d9ebe2963a3ef46fb687ca /changes
parent4c8b58f9005b7a187878273b8ff0f8ec23e86326 (diff)
downloadtor-85659d3964669f9f419123c648e517f4ba539462.tar
tor-85659d3964669f9f419123c648e517f4ba539462.tar.gz
Fix parse_short_policy (bug 7192.)
Our implementation of parse_short_policy was screwed up: it would ignore the last character of every short policy. Obviously, that's broken. This patch fixes the busted behavior, and adds a bunch of unit tests to make sure the rest of that function is okay. Fixes bug 7192; fix on 0.2.3.1-alpha.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug719210
1 files changed, 10 insertions, 0 deletions
diff --git a/changes/bug7192 b/changes/bug7192
new file mode 100644
index 000000000..10cbc2469
--- /dev/null
+++ b/changes/bug7192
@@ -0,0 +1,10 @@
+ o Major bugfixes:
+ - When parsing exit policy summaries from microdescriptors, we had
+ previously been ignoring the last character in each one, so that
+ "accept 80,443,8080" would be treated by clients as indicating a
+ node that allows access to ports 80, 443, and 808. That would lead
+ to clients attempting connections that could never work, and
+ ignoring exit nodes that would support their connections. Now clients
+ parse these exit policy summaries correctly. Fixes bug 7192;
+ bugfix on 0.2.3.1-alpha.
+