aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Also shorten circuit_successes to circ_successes.Mike Perry2012-12-09
| | | | | | For consistency and great justice. Ok, mostly consistency.
* Rename first_hop to circ_attempt.Mike Perry2012-12-09
| | | | | Since we've generalized what we can count from (first or second hop), we should generalize the variable and constant naming too.
* Change from first hop accounting to 2nd hop accountingMike Perry2012-12-09
| | | | | | | 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.
* Add intro+rend cannibalize param..Mike Perry2012-12-09
|
* Flag cannibalized circs as used (non-ideal).Mike Perry2012-12-09
| | | | Also add some comments.
* Allow any valid 'end' cell to mean a circuit was used successfully.Mike Perry2012-12-08
| | | | Also improve some log messages.
* Sadly, we can't safely count client intro circ successMike Perry2012-12-08
|
* Fix some hidden service edge cases.Mike Perry2012-12-08
|
* Refactor path use bias code into own function.Mike Perry2012-12-07
| | | | Also, improve and log some failure cases.
* Actually, both nacks and acks indicate a valid pathMike Perry2012-12-07
|
* Note more potential issues.Mike Perry2012-12-07
|
* Note a strange case for SOCKS streams.Mike Perry2012-12-07
|
* Fix another crash bug.Mike Perry2012-12-07
|
* Fix a crash bug and pass down a remote reason code.Mike Perry2012-12-07
| | | | Unexpected channel closures count as remote circ failures.
* Document that care needs to be taken with any_streams_attached.Mike Perry2012-12-07
|
* Remove n_chan codepaths for determinining guard.Mike Perry2012-12-07
| | | | Cpath is apparently good enough.
* Move a pathbias function that depends on entryguard_t.Mike Perry2012-12-07
|
* Fix a crash due to NULL circ->n_chan.Mike Perry2012-12-07
| | | | | Is this redundant? Can we always rely on circ->cpath->extend_info being present for origin circuits?
* Prop209: Rend circuits weren't ever marked dirty.Mike Perry2012-12-07
|
* Prop 209: Add in hidserv path bias counts for usage.Mike Perry2012-12-07
|
* Prop 209: Add path bias counts for timeouts and other mechanisms.Mike Perry2012-12-07
| | | | | | | 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.
* Be explicit about units for timeout.Mike Perry2012-12-07
|
* Fix an assert crash and an incorrectly placed return.Mike Perry2012-12-07
|
* Update with code review changes from Nick.Mike Perry2012-12-07
|
* Fix spaces.Mike Perry2012-12-07
|
* Refactor pathbias functions to use pathbias_should_count.Mike Perry2012-12-07
|
* Update Path Bias log messages to match Proposal 209.Mike Perry2012-12-07
|
* Add log message checks for different rates.Mike Perry2012-12-07
| | | | May want to squash this forward or back..
* Update pathbias parameters to match Proposal 209.Mike Perry2012-12-07
| | | | Needs manpage update and testing still..
* Add the ability to count circuit timeouts for guards.Mike Perry2012-12-07
| | | | This is purely for informational reasons for debugging.
* Fix some wide linesNick Mathewson2012-12-07
|
* Merge branch 'win64-7260'Nick Mathewson2012-12-07
|\ | | | | | | | | Conflicts: src/or/dns.c
| * In the unit tests, use "test_eq_ptr" and "test_neq_ptr" consistentlyNick Mathewson2012-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | This is part of what's needed to build without warnings on mingw64: it was warning about the cast from void* to long that happened in the places we were using test_{n,}eq on pointers. The alternative here would have been to broaden tt_int_op to accept a long long or an intptr_t, but that's less correct (since pointers aren't integers), and would hurt the portability of tinytest a little. Fixes part of 7260.
| * Add a TOR_SOCKET_T_FORMAT construction for logging sockets.Nick Mathewson2012-11-02
| | | | | | | | | | | | We need this since win64 has a 64-bit SOCKET type. Based on a patch from yayooo for 7260, forward-ported to 0.2.4.
| * Add a PID_T_FORMAT for writing pids to logsNick Mathewson2012-11-02
| | | | | | | | | | | | | | | | | | This is based on code by yayooo for 7260, but: - It allows for SIZEOF_PID_T == SIZEOF_SHORT - It addresses some additional cases where we weren't getting any warnings only because we were casting pid_t to int.
| * Remove an unused variable; part of mingw64 patch from yayoooNick Mathewson2012-11-02
| |
| * Compile (with warnings) with mingw64Nick Mathewson2012-11-02
| | | | | | | | Patch from yayooo for bug 7260, forward-ported to 0.2.4.
* | Fix infinite loop in circuit_expire_buldingNick Mathewson2012-12-07
| | | | | | | | | | Fixes bug 7663; bug introduced in 42e3c04a7a5fb47a9. Not in any released version of Tor.
* | Merge remote-tracking branch 'karsten/task-6266'Nick Mathewson2012-12-07
|\ \
| * | Update to the December 2012 GeoIP database.Karsten Loesing2012-12-06
| | |
| * | Update to the November 2012 GeoIP database.Karsten Loesing2012-11-27
| | |
| * | Add script to fix "A1" entries in geoip file.Karsten Loesing2012-11-27
| | | | | | | | | | | | Fixes #6266.
* | | Merge branch 'bug7306'Nick Mathewson2012-12-07
|\ \ \
| * | | Use FreeLibrary, not CloseHandle, for library in test_util.cNick Mathewson2012-12-06
| | | | | | | | | | | | | | | | Fix for bug 7306. Bugfix on 0.2.2.17-alpha.
* | | | Merge remote-tracking branch 'public/bug6887'Nick Mathewson2012-12-07
|\ \ \ \
| * | | | Remove some deadcode for parsing v1 directoriesNick Mathewson2012-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 6887. There are opportunities to remove more functions if authorities can stop serving dummy v1 directory documents
* | | | | Bug 3443: Don't count ORconn setup in circuit build time.Mike Perry2012-12-07
| |/ / / |/| | | | | | | | | | | | | | | Also, add a hack Roger suggested where we're more patient if no circuits are opened yet.
* | | | Merge remote-tracking branch 'asn/bug7592_take2'Nick Mathewson2012-12-04
|\ \ \ \
| * | | | Return connection_exit_connect() if payload creation failed.George Kadianakis2012-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #7592; bugfix on 882b389668067a29bb539d0f5bd5cb2f83b93012. The bug is not present in any released versions of Tor.
* | | | | fix some typosRoger Dingledine2012-12-03
|/ / / /