aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Tolerate a little skew in accounting intervals.Nick Mathewson2010-09-03
| | | | | | | This will make changes for DST still work, and avoid double-spending bytes when there are slight changes to configurations. Fixes bug 1511; the DST issue is a bugfix on 0.0.9pre5.
* Merge branch 'ratelim'Nick Mathewson2010-08-31
|\
| * Fix some issues in rate-limiting noticed by SebastianNick Mathewson2010-08-31
| |
| * Add a generic rate-limited log mechanism, and use it in a few placesNick Mathewson2010-08-18
| | | | | | | | Incidentally fixes bug 1042.
* | Fix a compile warning on OpenBSDSebastian Hahn2010-08-22
| |
* | Add unit test for tor_listdir.Nick Mathewson2010-08-20
| |
* | Merge commit 'sebastian/bug1843'Nick Mathewson2010-08-20
|\ \
| * | Warn for bad combination of cookie optionsSebastian Hahn2010-08-20
| | | | | | | | | | | | | | | | | | Setting CookieAuthFileGroupReadable but without setting CookieAuthFile makes no sense, because unix directory permissions for the data directory prevent the group from accessing the file anyways.
* | | Bump version to 0.2.2.15-alpha-devNick Mathewson2010-08-19
|/ /
* | Fix up compilation on windows.Nick Mathewson2010-08-19
| |
* | bump to 0.2.2.15-alphaRoger Dingledine2010-08-18
| |
* | delay geoip stats even more for relays-turned-bridgesRoger Dingledine2010-08-18
|/
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-08-18
|\ | | | | | | | | Conflicts: src/or/reasons.c
| * Backport END_STREAM_REASON_NOROUTE for client use.Sebastian Hahn2010-08-18
| | | | | | | | (Partial backport of 150ed553dfce9, 161b275028e90, and 4c948ffd6.)
* | Merge commit 'karsten/dirbytes2'Nick Mathewson2010-08-18
|\ \ | | | | | | | | | | | | Conflicts: src/or/rephist.h
| * | Correctly report written bytes on linked connections.Karsten Loesing2010-08-18
| | |
| * | Count bytes we spend on answering directory requests.Karsten Loesing2010-08-18
| | |
* | | Remove unused function declarationsSebastian Hahn2010-08-17
| | | | | | | | | | | | | | | | | | Also remove some #if 0'd code from the unit tests for buffers. The code was killed in e6794e58081af773073c266e23fe3ab2ebecdb7e (5 years ago), and is now broken anyways.
* | | Merge branch 'maint-0.2.1'Nick Mathewson2010-08-17
|\ \ \ | | |/ | |/| | | | | | | Resolved conflict in src/or/networkstatus.c
| * | Merge branch 'bug1141_v3' into maint-0.2.1Nick Mathewson2010-08-17
| |\ \
| | * | Scale CONSENSUS_MIN_SECONDS_BEFORE_CACHING by voting intervalNick Mathewson2010-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the voting interval was short enough, the two-minutes delay of CONSENSUS_MIN_SECONDS_BEFORE_CACHING would confuse bridges to the point where they would assert before downloading a consensus. It it was even shorter (<4 minutes, I think), caches would assert too. This patch fixes that by having replacing the two-minutes value with MIN(2 minutes, interval/16). Bugfix for 1141; the cache bug could occur since 0.2.0.8-alpha, so I'm calling this a bugfix on that. Robert Hogan diagnosed this. Done as a patch against maint-0.2.1, since it makes it hard to run some kinds of testing networks.
* | | | Merge commit 'public/warn1125'Nick Mathewson2010-08-16
|\ \ \ \
| * | | | Make buf_shrink_freelists warn, not crash, when n_to_skip is too highNick Mathewson2010-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | This mitigates bug 1125, but doesn't fix its root cause (whatever that is).
* | | | | Fix compilation with --with-dmallocKarsten Loesing2010-08-16
| | | | | | | | | | | | | | | | | | | | Fixes 1832; bugfix on 0.2.2.6-alpha
* | | | | 161b2750 didn't really retry the stream. this does.Roger Dingledine2010-08-16
| | | | |
* | | | | Make Sebastian's bug1831 branch build with --enable-gcc-warningsNick Mathewson2010-08-15
| | | | |
* | | | | Merge commit 'sebastian/bug1831'Nick Mathewson2010-08-15
|\ \ \ \ \
| * | | | | Fix misplaced labelsSebastian Hahn2010-08-16
| | | | | |
| * | | | | Fix a memory leak in dirvote_compute_consensuses()Sebastian Hahn2010-08-16
| | | | | |
| * | | | | Fix a memory leakSebastian Hahn2010-08-16
| | | | | | | | | | | | | | | | | | | | | | | | It happened in dirvote_add_signatures_to_pending_consesus().
| * | | | | Refactor circuit_build_times_parse_stateSebastian Hahn2010-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the msg parameter to pass an error message out. This wasn't needed and made it harder to detect a memory leak.
| * | | | | Fix a memory leak in circuit_build_times_parse_stateSebastian Hahn2010-08-16
| | | | | | | | | | | | | | | | | | | | | | | | Thanks weasel for noticing.
* | | | | | Make Sebastian's misc-reasons branch compile; frob the changes fileNick Mathewson2010-08-15
| | | | | |
* | | | | | Merge commit 'sebastian/misc-reason'Nick Mathewson2010-08-15
|\ \ \ \ \ \
| * | | | | | Retry streams that ended with NOROUTE errorSebastian Hahn2010-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add the NOROUTE reason to control-spec.
| * | | | | | Introduce END_STREAM_REASON_NOROUTESebastian Hahn2010-08-03
| | | | | | |
| * | | | | | Handle EHOSTUNREACH in errno_to_stream_end_reason()Sebastian Hahn2010-08-03
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | We used to not recognize it and returned END_STREAM_REASON_MISC. Instead, return END_STREAM_REASON_INTERNAL.
* | | | | | Make unit tests work when tests get run in subprocesses.Nick Mathewson2010-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently the way we handled cleaning up temporary directories with atexit() meant that when the child process exited, it would remove the temporary directory, thus making other tests in the main process fail.
* | | | | | Rename rep_hist_exit_stats_history in test.c tooNick Mathewson2010-08-15
| | | | | |
* | | | | | Merge commit 'karsten/stats-tests'Nick Mathewson2010-08-15
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Run test_stats in a subprocess.Karsten Loesing2010-08-15
| | | | | |
| * | | | | Give rep_hist_exit_stats_history() a better name.Karsten Loesing2010-08-15
| | | | | |
| * | | | | Fix memory leak spotted by Nick.Karsten Loesing2010-08-15
| | | | | |
| * | | | | Refactor exit port statistics code and add unit tests.Karsten Loesing2010-08-11
| | |_|_|/ | |/| | |
* | | | | reinit per-conn token buckets on config or consensus changeRoger Dingledine2010-08-15
| | | | |
* | | | | factor out rate/burst setting. no actual changes.Roger Dingledine2010-08-15
| | | | |
* | | | | fix another piece of 1741Roger Dingledine2010-08-14
| | | | |
* | | | | changes entry for bug 1741Roger Dingledine2010-08-13
| | | | |
* | | | | Add check for CIRCUIT_PURPOSE_S_REND_JOINED.Mike Perry2010-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | These circuits stick around much longer than others on the server side for performance reasons. Their lifetime is controlled by the client.
* | | | | fix a memory leak introduced by df1ef2f0f0856afRoger Dingledine2010-08-13
| | | | |