aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
Commit message (Expand)AuthorAge
* Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\
| * Refactor the safe_str_*() API to make more sense.•••The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log". Nick Mathewson2009-12-15
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
|/
* Fix typos and comments, plus two bugs•••A) We were considering a circuit had timed out in the special cases where we close rendezvous circuits because the final rendezvous circuit couldn't be built in time. B) We were looking at the wrong timestamp_created when considering a timeout. Roger Dingledine2009-09-20
* Implement and document new network liveness algorithm.•••Based on irc discussion with arma. Mike Perry2009-09-20
* Fix some precision-related asserts in unit tests.•••Mostly by storing the timeout as milliseconds and not seconds internally. Mike Perry2009-09-20
* Choose early circuit idle timeout better.•••Don't discard all circuits every MaxCircuitDirtiness, because the user might legitimately have set that to a very lower number. Also don't use up all of our idle circuits with testing circuits, since that defeats the point of preemptive circuits. Roger Dingledine2009-09-17
* Fix issues found by arma in review.Mike Perry2009-09-16
* space/indent cleanups, plus point out three bugsRoger Dingledine2009-09-16
* Use our variable directly for timeout.•••Using CircuitBuildTimeout is prone to issues with SIGHUP, etc. Also, shuffle the circuit build times array after loading it in so that newer measurements don't replace chunks of similarly timed measurements. Mike Perry2009-09-16
* Fix the math.h log() conflict.•••It was compiling, but causing segfaults. Also, adjust when the timer starts for new test circs and save state every 25 circuits. Mike Perry2009-09-16
* Recover from changing network connections.•••Also add code to keep creating circuits every minute until we hit our minimum threshhold. Mike Perry2009-09-16
* Implement the pareto fitting and timeout calculating bits.Mike Perry2009-09-16
* Merge branch 'maint-0.2.1'Roger Dingledine2009-08-31
|\
| * Only send reachability status events on overall success/failure•••We were telling the controller about CHECKING_REACHABILITY and REACHABILITY_FAILED status events whenever we launch a testing circuit or notice that one has failed. Instead, only tell the controller when we want to inform the user of overall success or overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported by SwissTorExit. Roger Dingledine2009-08-31
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-28
|\|
| * Fixes to spelling fixes. Thanks, Roger!Nick Mathewson2009-05-28
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\|
| * Spell-check Tor.Nick Mathewson2009-05-27
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | Clients do not request version 0 hidserv descs anymore.Karsten Loesing2009-05-04
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* Retry circuits if the exit node is optional and nonexistant.•••Previously, when we had the chosen_exit set but marked optional, and we failed because we couldn't find an onion key for it, we'd just give up on the circuit. But what we really want to do is try again, without the forced exit node. Spotted by rovv. Another case of bug 752. I think this might be unreachable in our current code, but proposal 158 could change that. svn:r18451 Nick Mathewson2009-02-09
* If we're using bridges and our network goes away, be more willing•••to forgive our bridges and try again when we get an application request. Bugfix on 0.2.0.x. svn:r18396 Roger Dingledine2009-02-04
* Support 64-bit time_t. Patch from Matthias Drochner. Partial backport candid...•••svn:r18234 Nick Mathewson2009-01-22
* actually find the right identity_digest to blame when we get•••a destroy cell from our first hop. svn:r17991 Roger Dingledine2009-01-07
* well, that was a disaster. this time for sure.•••svn:r17989 Roger Dingledine2009-01-06
* no actual changes besides a seg fault on startup, i meant•••svn:r17986 Roger Dingledine2009-01-06
* simplify. no actual changes i think. ;)•••svn:r17985 Roger Dingledine2009-01-06
* When our circuit fails at the first hop (e.g. we get a destroy•••cell back), avoid using that OR connection anymore, and also tell all the one-hop directory requests waiting for it that they should fail. Bugfix on 0.2.1.3-alpha. svn:r17984 Roger Dingledine2009-01-06
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Downgrade some xxx021s, comment more on others, etc•••svn:r17823 Nick Mathewson2008-12-29
* Checkpoint my big bug-891 patch.•••svn:r17757 Nick Mathewson2008-12-24
* Fix all of the doxygen warnings not pertaining to missing documentation.•••svn:r17727 Nick Mathewson2008-12-22
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Remove fixed xxx020s; downgrade unfixed ones.•••(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.) svn:r17682 Nick Mathewson2008-12-18
* Move edge-only flags from connection_t to edge_connection_t.•••svn:r17643 Nick Mathewson2008-12-17
* Rename or_is_obsolete and move it to or_connection_t where it belongs.•••svn:r17642 Nick Mathewson2008-12-17
* fix wide lines•••svn:r17198 Nick Mathewson2008-11-07
* (a - b) / 2 != a - (b / 2); this is the reason why tunneled directory request...•••svn:r17189 Karsten Loesing2008-11-05
* Fix an assertion failure on double-marked circuits, and a double-mark.•••svn:r17179 Nick Mathewson2008-11-01
* Fix another case of refusing to use a chosen exit node because we think it wi...•••svn:r17139 Nick Mathewson2008-10-21
* add patch2 from proposal 155:•••Launch a second client-side introduction circuit in parallel after a delay of 15 seconds (based on work by Christian Wilms). svn:r17108 Roger Dingledine2008-10-15
* put in karsten's patch #1 for proposal 155, modified•••svn:r17106 Roger Dingledine2008-10-15
* Nobody calls circuit_launch_by_nickname; remove it.•••svn:r17006 Nick Mathewson2008-09-29
* Patch from mwenge: update TrackHostExits mapping expiry times when the mappin...•••svn:r17004 Nick Mathewson2008-09-29
* Fix a bug where an unreachable relay would establish enough•••reachability testing circuits to do a bandwidth test -- if we already have a connection to the middle hop of the testing circuit, then it could establish the last hop by using the existing connection. Bugfix on 0.1.2.2-alpha, exposed when we made testing circuits no longer use entry guards in 0.2.1.3-alpha. svn:r16997 Roger Dingledine2008-09-29
* Add patch 4 from Karsten for proposal 121, slightly modified. Karsten should...•••svn:r16955 Nick Mathewson2008-09-24
* Add a circuit_conforms_to_options() function for use in debugging paths [and ...•••svn:r16914 Nick Mathewson2008-09-15
* karsten's patch for bug 767.•••svn:r16808 Roger Dingledine2008-09-09