aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
Commit message (Expand)AuthorAge
* 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
* r9274@Kushana: nickm | 2006-10-19 16:16:58 -0400••• Add unit tests for tor_mmap_file(); make tor_mmap_t.size always be the size of the file (not the size of the mapping); add an extra argument to read_file_to_str() so it can return the size of the result string. svn:r8762 Nick Mathewson2006-10-19
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r7299@Kushana: nickm | 2006-08-10 01:08:58 -0700••• Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS. svn:r7007 Nick Mathewson2006-08-10
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400••• Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906 Nick Mathewson2006-07-26
* Oh. And apparently, msvc6 doesnt think very much of doing u64-and-double arit...•••svn:r6785 Nick Mathewson2006-07-18
* MSVC6 is apparently terrified of unnatural cross-breeding between uint64_t an...•••svn:r6768 Nick Mathewson2006-07-17
* refuse to write an iso_time which we can't parse, when dumping•••bandwidth state. this fixes the particular incident in bug 308, but the general issue remains. svn:r6684 Roger Dingledine2006-06-24
* make more hibernate log messages use local time. we should audit•••to see what other log messages keep switching back and forth between GMT and local. svn:r6411 Roger Dingledine2006-04-23
* Be a little more careful when our calculated bandwidth is so high that we cou...•••svn:r6146 Nick Mathewson2006-03-13
* Cleanup on time-relaqted constants. New conventions:••• 1) Surround all constants by (parens), whether we'll be using them in a denominator or not. 2) Express all time periods as products (24*60*60), not as multiplied-out constants (86400). 3) Comments like "(60*60) /* one hour */" are as pointless as comments like "c = a + b; /* set c to the sum of a and b */". Remove them. 4) All time periods should be #defined constants, not given inline. 5) All time periods should have doxygen comments. 6) All time periods, unless specified, are in seconds. It's not necessary to say so. To summarize, the old (lack of) style would allow: #define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */ next_try = now + 3600; The new style is: /** How often do we reattempt foo? */ #define FOO_RETRY_INTERVAL (60*60) next_try = now + RETRY_INTERVAL; svn:r6142 Nick Mathewson2006-03-12
* the things we do for our windows users.•••i hope they appreciate it. svn:r6004 Roger Dingledine2006-02-13
* Happy new year!•••svn:r5949 Roger Dingledine2006-02-09
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ...•••svn:r5582 Nick Mathewson2005-12-14
* when we changed from log_fn to debug/info/notice/warn/err,•••we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551 Roger Dingledine2005-12-10
* In my private little universe, terminals are still 80 columns. Impose a 160-...•••svn:r5548 Nick Mathewson2005-12-09
* Fix number in error message•••svn:r5369 Nick Mathewson2005-11-14
* Remove last vestiges of old logging interface.•••svn:r5317 Nick Mathewson2005-10-25
* Switch remaining files to new log interface.•••svn:r5315 Nick Mathewson2005-10-25
* a bit more code cleanup•••svn:r5033 Roger Dingledine2005-09-13
* fix whitespace issues•••svn:r4752 Nick Mathewson2005-08-08
* Possibly broken implementation of persistant state; handles helper nodes; doe...•••svn:r4680 Nick Mathewson2005-07-28
* Fix out-of-place declaration•••svn:r4640 Nick Mathewson2005-07-23
* Be consistent about preferring foo* to struct foo*•••svn:r4637 Nick Mathewson2005-07-22
* Add getinfo logic for accounting; add options for helper nodes•••svn:r4632 Nick Mathewson2005-07-22
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09