aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
Commit message (Expand)AuthorAge
* Create main.hSebastian Hahn2010-07-27
* Create hibernate.hSebastian Hahn2010-07-27
* Create connection_edge.hSebastian Hahn2010-07-27
* Create connection.hSebastian Hahn2010-07-27
* Create config.hSebastian Hahn2010-07-27
* Create router.hSebastian Hahn2010-07-27
* Make the controller act more usefully when GETINFO fails•••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. Nick Mathewson2010-07-18
* Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\
| * Update Tor Project copyright yearsNick Mathewson2010-02-27
* | Fix/annotate deadcode for CID 402,403Nick Mathewson2009-10-26
|/
* Spell-check Tor.Nick Mathewson2009-05-27
* Update copyright to 2009.Karsten Loesing2009-05-04
* Return -1 in the error case from read_bandwidth_usage.•••svn:r19367 Sebastian Hahn2009-04-23
* Remove svn $Id$s from our source, and remove tor --version --version.•••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 Nick Mathewson2009-01-04
* Document most undocumented variables.•••svn:r17754 Nick Mathewson2008-12-23
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* r14399@tombo: nickm | 2008-02-22 14:09:38 -0500••• More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680 Nick Mathewson2008-02-22
* Update some copyright notices: it is now 2008.•••svn:r13412 Nick Mathewson2008-02-07
* clean up copyrights, and assign 2007 copyrights to The Tor Project, Inc•••svn:r12786 Roger Dingledine2007-12-12
* r15877@catbus: nickm | 2007-10-17 12:54:56 -0400••• 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 Nick Mathewson2007-10-17
* r15806@catbus: nickm | 2007-10-15 19:14:57 -0400••• 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 Nick Mathewson2007-10-15
* r15749@catbus: nickm | 2007-10-13 20:06:06 -0400••• Remove support for long-obsolete bw_accounting file. svn:r11917 Nick Mathewson2007-10-14
* r14659@catbus: nickm | 2007-08-18 14:19:34 -0400••• 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 Nick Mathewson2007-08-18
* r13908@catbus: nickm | 2007-07-25 18:55:47 -0400••• 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 Nick Mathewson2007-07-25
* irix64's cc doesn't think hibernate_state_t is necessarily an int.•••good point. svn:r10320 Roger Dingledine2007-05-24
* r12768@catbus: nickm | 2007-05-16 17:25:33 -0400••• Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198 Nick Mathewson2007-05-16
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400••• Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899 Nick Mathewson2007-03-24
* r12474@Kushana: nickm | 2007-03-06 16:10:05 -0500••• We have a PATH_SEPARATOR macro. How about we use it? svn:r9782 Nick Mathewson2007-03-09
* r11826@catbus: nickm | 2007-02-16 14:58:38 -0500••• Resolve 56 DOCDOC comments. svn:r9594 Nick Mathewson2007-02-16
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11686@catbus: nickm | 2007-02-07 01:50:14 -0500••• 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 Nick Mathewson2007-02-07
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• 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 Nick Mathewson2007-02-02
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500••• Document a few undocumented functions and arguments. svn:r9385 Nick Mathewson2007-01-22
* Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix seg•••fault when starting a server without a fingerprint file present. svn:r9261 Roger Dingledine2007-01-04
* more cleanups, including a shiny new XXX012•••svn:r9250 Roger Dingledine2007-01-03
* interim tweaks•••svn:r9246 Roger Dingledine2007-01-03
* r11688@Kushana: nickm | 2006-12-23 22:08:36 -0500••• Fix "r may be used uninitialized" warning from last patch. svn:r9177 Nick Mathewson2006-12-24
* r11686@Kushana: nickm | 2006-12-23 22:05:57 -0500••• More changes wrt unnecessary disk writes. svn:r9176 Nick Mathewson2006-12-24
* r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500••• Update the state file less often when AvoidDiskWrites is set. svn:r9174 Nick Mathewson2006-12-24
* r11627@Kushana: nickm | 2006-12-17 11:37:39 -0500••• Remove an artificial upper bound on expected bandwidth. More immediately, fix a VC warning. svn:r9146 Nick Mathewson2006-12-17
* remove some dead comments, and resolve some XXXs•••svn:r9141 Roger Dingledine2006-12-16
* a changelog for write limiting. also, disable the "advertise dirport•••until we reach our max bandwidth if it's tiny" trick now that we do the bandwidth self-test on boot. svn:r9134 Roger Dingledine2006-12-15
* r11580@Kushana: nickm | 2006-12-15 00:09:46 -0500••• Resolve bug 369: Check for integer underflow when printing "bytes left" accounting numbers. Also fix a copyright date that I noticed while reading the bug. Also make a buffer big enough that strings will not get truncated. All are backport candidates. svn:r9115 Nick Mathewson2006-12-15
* some more cleanups and a bugfix on r9052•••svn:r9062 Roger Dingledine2006-12-10
* correction and cleanups on r9047•••svn:r9060 Roger Dingledine2006-12-09
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500••• Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052 Nick Mathewson2006-12-08
* r11469@Kushana: nickm | 2006-12-07 15:11:04 -0500••• Round stored/transmitted values for bandwidth usage. This might make some attacks work less well. This might well be voodoo, but it gives me a warm fuzzy feeling. svn:r9048 Nick Mathewson2006-12-07
* r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500••• Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second. svn:r9047 Nick Mathewson2006-12-07
* r11462@Kushana: nickm | 2006-12-07 13:42:21 -0500••• Make bandwidth accounting information get stored to the state file as well as bw_accounting. Read from the state file if it is more recent than bw_accounting, or if bw_accounting is not there. svn:r9044 Nick Mathewson2006-12-07
* r9308@totoro: nickm | 2006-11-13 18:41:23 -0500••• Add support for (Free?)BSD's natd, which was an old way to let you have your firewall automatically redirect traffic. (Original patch from Zajcev Evgeny, updated for 0.1.2.x by tup.) svn:r8946 Nick Mathewson2006-11-14