aboutsummaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2011-05-03Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/microdesc.c
2011-05-03Rebuild the microdesc cache when a sufficient number of bytes are droppedNick Mathewson
Previously on 0.2.2, we'd never clean the cache. Now that we can clean it, we want to add a condition to rebuild it: that should happen whenever we have dropped enough microdescriptors that we could save a lot of space. No changes file, since 0.2.3 doesn't need one and 0.2.2 already has some changes files for the backport of the microdesc_clean_cahce() function.
2011-05-03Backport microdesc_cache_clean to 0.2.2Nick Mathewson
Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound.
2011-05-03Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/microdesc.c
2011-05-03Fix a check for when to rebuild the microdesc cache. (Backport from 0.2.3.Nick Mathewson
2011-05-03Add missing code to set cache->journal_len when reading microdesc journalNick Mathewson
This could be one reason that authorities' journals would grow without bound; related to bug 2230. Bugfix on 0.2.2.6-alpha. Fix by "cypherpunks".
2011-04-30Don't choose exit nodes without desc availableSebastian Hahn
n_supported[i] has a random value prior to initialization, so a node that doesn't have routerinfo available can have a random priority. Patch contributed by wanoskarnet from #tor. Thanks!
2011-04-29Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-29Clean up a warning a bitNick Mathewson
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-28Merge remote-tracking branch 'arma/bug3012' into maint-0.2.2Nick Mathewson
2011-04-28relays checkpoint their state file twice a dayRoger Dingledine
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-28Merge remote-tracking branch 'arma/bug3039' into maint-0.2.2Nick Mathewson
2011-04-28stop putting wacky values into state->lastwrittenRoger Dingledine
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-28Clarify comment to say which version fixed 2722Nick Mathewson
2011-04-28Merge remote-tracking branches 'rransom/bug2722' and 'rransom/bug2722b' into ↵Nick Mathewson
maint-0.2.2
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-28Merge remote-tracking branch 'sebastian/bug3020' into maint-0.2.2Nick Mathewson
2011-04-28fix a function commentRoger Dingledine
2011-04-29Correctly check elapsed time in last hibernation periodSebastian Hahn
Fix bug 3020.
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-28Avoid false positives from proxy_mode()Nick Mathewson
Previously it would erroneously return true if ListenAddr was set for a client port, even if that port itself was 0. This would give false positives, which were not previously harmful... but which were about to become.
2011-04-28Fix bug 1930Robert Ransom
2011-04-28Ignore SIGNAL NEWNYM on relay-only Tor instancesRobert Ransom
2011-04-28Don't allow v0 HS auths to act as clientsRobert Ransom
A v0 HS authority stores v0 HS descriptors in the same descriptor cache that its HS client functionality uses. Thus, if the HS authority operator clears its client HS descriptor cache, ALL v0 HS descriptors will be lost. That would be bad.
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-28Merge remote-tracking branch 'sebastian/bug2497' into maint-0.2.2Nick Mathewson
2011-04-28Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/rendcommon.h
2011-04-28Clean up merge of bug3k_021Robert Ransom
2011-04-28Merge branch 'bug3k_021' into bug3k_022Sebastian Hahn
Conflicts: src/or/or.h src/or/rendclient.c
2011-04-28Fix a failure case of connection_ap_handshake_attach_circuit()Sebastian Hahn
tor_fragile_assert() might be a no-op, so we have to return something here to indicate failure to the caller.
2011-04-28Fix a bug introduced by purging rend_cache on NEWNYMRobert Ransom
If the user sent a SIGNAL NEWNYM command after we fetched a rendezvous descriptor, while we were building the introduction-point circuit, we would give up entirely on trying to connect to the hidden service. Original patch by rransom slightly edited to go into 0.2.1
2011-04-28Allow rend_client_send_introduction to fail transientlyRobert Ransom
i.e. without closing the AP connection.
2011-04-28Forget all rendezvous client state on SIGNAL NEWNYMRobert Ransom
2011-04-27Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-04-27Fix clear_trackhostexits_mapping() to actually work as advertisedNick Mathewson
Previously, it would remove every trackhostexits-derived mapping *from* xyz.<exitname>.exit; it was supposed to remove every trackhostexits-derived mapping *to* xyz.<exitname>.exit. Bugfix on 0.2.0.20-rc: fixes an XXX020 added while staring at bug-1090 issues.
2011-04-27Merge branch 'maint-0.2.2'Roger Dingledine
Conflicts: src/or/dirserv.h
2011-04-27Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: doc/tor.1.txt
2011-04-27make make check-spaces happier.Roger Dingledine
(still not happy.)
2011-04-27Fix double-free bug in microdesc parsercypherpunks
2011-04-27Merge maint-0.2.2 for the bug1090-part1-squashed branchNick Mathewson
Resolved conflicts in: doc/tor.1.txt src/or/circuitbuild.c src/or/circuituse.c src/or/connection_edge.c src/or/connection_edge.h src/or/directory.c src/or/rendclient.c src/or/routerlist.c src/or/routerlist.h These were mostly releated to the routerinfo_t->node_t conversion.
2011-04-27explain an argument in a function commentRoger Dingledine
2011-04-27Instead of checking whether we have unremoved intro points, check for usable ↵Nick Mathewson
ones
2011-04-27better user-facing warnings for unexpected last hopsRoger Dingledine
these still aren't perfect, but we won't know how to correct them until we start experiencing surprised users.
2011-04-27warn if we launch too many circuits for a given streamRoger Dingledine
2011-04-27revert most of ef81649d2fcRoger Dingledine
Now we believe it to be the case that we never build a circuit for our stream that has an unsuitable exit, so we'll never need to use such a circuit. The risk is that we have some code that builds the circuit, but now we refuse to use it, meaning we just build a bazillion circuits and ignore them all.
2011-04-27Add a circuit_purpose_to_string() function, and use itNick Mathewson
We had a circuit_purpose_to_controller_string() function, but it was pretty coarse-grained and didn't try to be human-readable.
2011-04-26Fix a check-spaces complaintSebastian Hahn