Nick Mathewson
|
36f4e15e81
Call init_keys() where needed; fix hibernate bug.
|
vor 19 Jahren |
Roger Dingledine
|
dd19cf6ba3
kill -USR2 now moves all logs to loglevel debug
|
vor 19 Jahren |
Nick Mathewson
|
8acaf8e187
Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting setup. More docs needed
|
vor 19 Jahren |
Nick Mathewson
|
647c076c8f
add a TODO item and some comment changes.
|
vor 19 Jahren |
Roger Dingledine
|
ee591be3f2
fix a bug in configuring accounting in options_act()
|
vor 19 Jahren |
Nick Mathewson
|
5109159ff9
Fix compilation. Duh.
|
vor 19 Jahren |
Nick Mathewson
|
3e6edf20cc
Resolve some hibernating-related XXXX009s.
|
vor 19 Jahren |
Nick Mathewson
|
bb80d60fe7
Hibernate if we start tor during the "wait for wakeup-time" phase of an accounting interval. Log our hibernation plans better.
|
vor 19 Jahren |
Nick Mathewson
|
60880cda84
Resolve a bunch of FIXME items; mark a lot more for attention; ask for clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs.
|
vor 19 Jahren |
Nick Mathewson
|
ec49905fb8
When we think we have no bandwidth, guess that we will run for 1 day.
|
vor 19 Jahren |
Nick Mathewson
|
c1bf171ed8
Fix a few bugs in accounting: parse bw_accounting correctly; set end time of continued interval; record used bandwidth on state change.
|
vor 19 Jahren |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
vor 19 Jahren |
Roger Dingledine
|
ca070e7de6
bugfix: ^c ought to work even while hibernating
|
vor 19 Jahren |
Roger Dingledine
|
6521c2ce51
Stop using the wrong DataDirectory when we're validating.
|
vor 19 Jahren |
Roger Dingledine
|
e3a067c73a
fix comments in hibernate.c
|
vor 19 Jahren |
Roger Dingledine
|
8c7b2ff7ed
various fixes
|
vor 19 Jahren |
Nick Mathewson
|
2640be28fa
Document hibernate.c. Also fix handling of corner case where we hit the end of the interval while we are in HIBERNATE_STATE_LOWBANDWIDTH
|
vor 19 Jahren |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
vor 19 Jahren |
Roger Dingledine
|
28a297ebe7
only play the accounting game if it's possible you'll choose to hibernate
|
vor 19 Jahren |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
vor 19 Jahren |
Nick Mathewson
|
7c0792d89a
Write hibernation code. Needs docs and tests.
|
vor 19 Jahren |
Roger Dingledine
|
2ba3a9de16
make the default default options.FirewallPorts be the default
|
vor 19 Jahren |
Nick Mathewson
|
19868fe968
Move accounting code into hibernate; start adding logic to track bandwidth-per-seconds-active
|
vor 19 Jahren |
Nick Mathewson
|
8db0abb687
First attempt at hibernation code. It needs more work around the XXXXs, but first I want arma to review the basic approach while I meditate on how to fix them.
|
vor 19 Jahren |
Roger Dingledine
|
790349c645
oh, and add the actual file too
|
vor 19 Jahren |