summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-21Bug1789 cleanups suggested by armaNick Mathewson
The significant one is that we look at RelayBandwidthRate if it is set.
2010-09-15finish a comment, lower a variableNick Mathewson
2010-09-15How many seconds until != timestamp of that dateSebastian Hahn
2010-09-03Base our expected bw accounting usage on time before soft limitNick Mathewson
Previously, we were also considering the time spent in soft-hibernation. If this was a long time, we would wind up underestimating our bandwidth by a lot, and skewing our wakeup time towards the start of the accounting interval. This patch also makes us store a few more fields in the state file, including the time at which we entered soft hibernation. Fixes bug 1789. Bugfix on 0.0.9pre5.
2010-09-03Use a more sophisticated soft-hibernation-limit calculationNick Mathewson
This should help address bug 1789.
2010-09-03Remove an obsolete comment from hibernate.cNick Mathewson
2010-08-31Merge branch 'ratelim'Nick Mathewson
2010-08-31Fix some issues in rate-limiting noticed by SebastianNick Mathewson
2010-08-26Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-08-26Use -Wno-system-headers on openbsd to resolve 2nd case of bug1848Nick Mathewson
2010-08-25Merge commit 'karsten/rendspec-koryk'Nick Mathewson
2010-08-22Fix a compile warning on OpenBSDSebastian Hahn
2010-08-20Add unit test for tor_listdir.Nick Mathewson
2010-08-20Merge commit 'sebastian/bug1843'Nick Mathewson
2010-08-20Warn for bad combination of cookie optionsSebastian Hahn
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.
2010-08-19Bump version to 0.2.2.15-alpha-devNick Mathewson
2010-08-19fix up contrib/checkOptionDocs.pl to match current practice (asciidoc ↵tor-0.2.2.15-alphaNick Mathewson
manpage, no "online docs").
2010-08-19Fix up compilation on windows.Nick Mathewson
2010-08-18bump to 0.2.2.15-alphaRoger Dingledine
2010-08-18fold in even more changelog entriesRoger Dingledine
2010-08-18delay geoip stats even more for relays-turned-bridgesRoger Dingledine
2010-08-18explain the non-fix for bug 1776Roger Dingledine
2010-08-18Add a generic rate-limited log mechanism, and use it in a few placesNick Mathewson
Incidentally fixes bug 1042.
2010-08-18bug 1776 isn't fixed. save its changelog entry for next time.Roger Dingledine
2010-08-18Edit the changelog to reflect the fact that we are backing off on ending ↵Nick Mathewson
NOROUTE for now
2010-08-18Merge commit 'origin/maint-0.2.1'Nick Mathewson
Conflicts: src/or/reasons.c
2010-08-18Backport END_STREAM_REASON_NOROUTE for client use.Sebastian Hahn
(Partial backport of 150ed553dfce9, 161b275028e90, and 4c948ffd6.)
2010-08-18Merge commit 'karsten/dirbytes2'Nick Mathewson
Conflicts: src/or/rephist.h
2010-08-18Correctly report written bytes on linked connections.Karsten Loesing
2010-08-18Count bytes we spend on answering directory requests.Karsten Loesing
2010-08-17Remove unused function declarationsSebastian Hahn
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.
2010-08-17Merge branch 'maint-0.2.1'Nick Mathewson
Resolved conflict in src/or/networkstatus.c
2010-08-17Merge branch 'bug1141_v3' into maint-0.2.1Nick Mathewson
2010-08-17Scale CONSENSUS_MIN_SECONDS_BEFORE_CACHING by voting intervalNick Mathewson
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.
2010-08-17Add koryk's modifications to rend-spec.Karsten Loesing
2010-08-16fold in the next set of changelog entriesRoger Dingledine
2010-08-16Merge commit 'public/warn1125'Nick Mathewson
2010-08-16Fix compilation with --with-dmallocKarsten Loesing
Fixes 1832; bugfix on 0.2.2.6-alpha
2010-08-16161b2750 didn't really retry the stream. this does.Roger Dingledine
2010-08-15Make Sebastian's bug1831 branch build with --enable-gcc-warningsNick Mathewson
2010-08-15Merge commit 'sebastian/bug1831'Nick Mathewson
2010-08-15Make Sebastian's misc-reasons branch compile; frob the changes fileNick Mathewson
2010-08-15Merge commit 'sebastian/misc-reason'Nick Mathewson
2010-08-15Make unit tests work when tests get run in subprocesses.Nick Mathewson
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.
2010-08-15Rename rep_hist_exit_stats_history in test.c tooNick Mathewson
2010-08-15Add a changes file for Karsten's stats-tests branchNick Mathewson
2010-08-15Merge commit 'karsten/stats-tests'Nick Mathewson
2010-08-15Merge commit 'karsten/stats-manpage'Nick Mathewson
2010-08-16Fix misplaced labelsSebastian Hahn
2010-08-16Add a rule to detect misplaced labels during check-spacesSebastian Hahn