Age | Commit message (Collapse) | Author |
|
|
|
Roger correctly pointed out that my code was broken for accounting
periods that shifted forwards, since
start_of_accounting_period_containing(interval_start_time) would not
be equal to interval_start_time, but potentially much earlier.
|
|
The significant one is that we look at RelayBandwidthRate if it is set.
|
|
|
|
|
|
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.
|
|
This should help address bug 1789.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Right now it says "552 internal error" because there's no way for
getinfo_helper_*() countries to specify an error message. This
patch changes the getinfo_helper_*() interface, and makes most of the
getinfo helpers give useful error messages in response to failures.
This should prevent recurrences of bug 1699, where a missing GeoIPFile
line in the torrc made GETINFO ip-to-county/* fail in a "not obvious
how to fix" way.
|
|
Conflicts:
src/common/test.h
src/or/test.c
|
|
|
|
|
|
|
|
|
|
svn:r19367
|
|
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
|
|
svn:r17754
|
|
svn:r17739
|
|
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
svn:r13412
|
|
svn:r12786
|
|
Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff".
svn:r12000
|
|
Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list.
svn:r11957
|
|
Remove support for long-obsolete bw_accounting file.
svn:r11917
|
|
When we are loading state info from disk, never believe any date in the future. Doing so can keep us from retrying guards, rotating onion keys, storing bandwidth info, etc. Fixes bug 434, and others. Backport candidate, once it has been tested.
svn:r11166
|
|
Patch from Robert Hogan: set conn->dns_server_port correctly so that we can close dns server ports when they change, thus avoiding crashes and dangling references and other sources of unhappiness.
svn:r10933
|
|
good point.
svn:r10320
|
|
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit.
svn:r9899
|
|
We have a PATH_SEPARATOR macro. How about we use it?
svn:r9782
|
|
Resolve 56 DOCDOC comments.
svn:r9594
|
|
Update copyright dates.
svn:r9570
|
|
Set hibernate_end_time whenever we start hibernating. This fixes a problem where we would start hibernating upon startup (since it isn't time to wake up yet) but we would wind up setting the "stop hibernating" time not to the wakeup time, but to the end of the interval. Also, split hibernate_end_time from shutdown_time. Possible fix for bug 362.
svn:r9512
|
|
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
|
|
Document a few undocumented functions and arguments.
svn:r9385
|
|
fault when starting a server without a fingerprint file present.
svn:r9261
|
|
svn:r9250
|
|
svn:r9246
|
|
Fix "r may be used uninitialized" warning from last patch.
svn:r9177
|
|
More changes wrt unnecessary disk writes.
svn:r9176
|
|
Update the state file less often when AvoidDiskWrites is set.
svn:r9174
|
|
Remove an artificial upper bound on expected bandwidth. More immediately, fix a VC warning.
svn:r9146
|
|
svn:r9141
|