summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-12-09Clean up some XXX comments.Mike Perry
2012-12-09Space fixes.Mike Perry
2012-12-09Fix a rather serious use-count state bug.Mike Perry
We need to use the success count or the use count depending on the consensus parameter.
2012-12-09Convert to doubles for all pathbias state.Mike Perry
Let's hope this solves the rounding error issue..
2012-12-09Also shorten circuit_successes to circ_successes.Mike Perry
For consistency and great justice. Ok, mostly consistency.
2012-12-09Rename first_hop to circ_attempt.Mike Perry
Since we've generalized what we can count from (first or second hop), we should generalize the variable and constant naming too.
2012-12-09Change from first hop accounting to 2nd hop accountingMike Perry
This has several advantages, including more resilience to ambient failure. I still need to rename all the first_hop vars tho.. Saving that for a separate commit.
2012-12-09Add intro+rend cannibalize param..Mike Perry
2012-12-09Flag cannibalized circs as used (non-ideal).Mike Perry
Also add some comments.
2012-12-08Allow any valid 'end' cell to mean a circuit was used successfully.Mike Perry
Also improve some log messages.
2012-12-08Sadly, we can't safely count client intro circ successMike Perry
2012-12-08Fix some hidden service edge cases.Mike Perry
2012-12-07Refactor path use bias code into own function.Mike Perry
Also, improve and log some failure cases.
2012-12-07Actually, both nacks and acks indicate a valid pathMike Perry
2012-12-07Note more potential issues.Mike Perry
2012-12-07Note a strange case for SOCKS streams.Mike Perry
2012-12-07Fix another crash bug.Mike Perry
2012-12-07Fix a crash bug and pass down a remote reason code.Mike Perry
Unexpected channel closures count as remote circ failures.
2012-12-07Document that care needs to be taken with any_streams_attached.Mike Perry
2012-12-07Remove n_chan codepaths for determinining guard.Mike Perry
Cpath is apparently good enough.
2012-12-07Move a pathbias function that depends on entryguard_t.Mike Perry
2012-12-07Fix a crash due to NULL circ->n_chan.Mike Perry
Is this redundant? Can we always rely on circ->cpath->extend_info being present for origin circuits?
2012-12-07Prop209: Rend circuits weren't ever marked dirty.Mike Perry
2012-12-07Prop 209: Add in hidserv path bias counts for usage.Mike Perry
2012-12-07Prop 209: Add path bias counts for timeouts and other mechanisms.Mike Perry
Turns out there's more than one way to block a tagged circuit. This seems to successfully handle all of the normal exit circuits. Hidden services need additional tweaks, still.
2012-12-07Be explicit about units for timeout.Mike Perry
2012-12-07Fix an assert crash and an incorrectly placed return.Mike Perry
2012-12-07Update with code review changes from Nick.Mike Perry
2012-12-07Fix spaces.Mike Perry
2012-12-07Refactor pathbias functions to use pathbias_should_count.Mike Perry
2012-12-07Update Path Bias log messages to match Proposal 209.Mike Perry
2012-12-07Add log message checks for different rates.Mike Perry
May want to squash this forward or back..
2012-12-07Update pathbias parameters to match Proposal 209.Mike Perry
Needs manpage update and testing still..
2012-12-07Add the ability to count circuit timeouts for guards.Mike Perry
This is purely for informational reasons for debugging.
2012-12-07Fix some wide linesNick Mathewson
2012-12-07Merge branch 'win64-7260'Nick Mathewson
Conflicts: src/or/dns.c
2012-12-07Fix infinite loop in circuit_expire_buldingNick Mathewson
Fixes bug 7663; bug introduced in 42e3c04a7a5fb47a9. Not in any released version of Tor.
2012-12-07Merge remote-tracking branch 'karsten/task-6266'Nick Mathewson
2012-12-07Merge branch 'bug7306'Nick Mathewson
2012-12-07Merge remote-tracking branch 'public/bug6887'Nick Mathewson
2012-12-07Bug 3443: Don't count ORconn setup in circuit build time.Mike Perry
Also, add a hack Roger suggested where we're more patient if no circuits are opened yet.
2012-12-06Use FreeLibrary, not CloseHandle, for library in test_util.cNick Mathewson
Fix for bug 7306. Bugfix on 0.2.2.17-alpha.
2012-12-06Update to the December 2012 GeoIP database.Karsten Loesing
2012-12-04Merge remote-tracking branch 'asn/bug7592_take2'Nick Mathewson
2012-12-05Return connection_exit_connect() if payload creation failed.George Kadianakis
Fixes bug #7592; bugfix on 882b389668067a29bb539d0f5bd5cb2f83b93012. The bug is not present in any released versions of Tor.
2012-12-03fix some typosRoger Dingledine
2012-11-27Merge branch 'bug7013_take2_squashed'Nick Mathewson
2012-11-27Introduce tor_addr_port_parse() and use it to parse ServerTransportListenAddr.George Kadianakis
2012-11-27Add a torrc option to specify the bind address of managed proxies.George Kadianakis
2012-11-27Update to the November 2012 GeoIP database.Karsten Loesing