aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
AgeCommit message (Collapse)Author
2004-12-16Make split(..., NULL) split on horizontal space; fix bug with tabs in config ↵Nick Mathewson
file. svn:r3155
2004-12-13clean up logging,Roger Dingledine
make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
2004-12-08make the 64 bit args print correctly on 64 bit archstor-0.0.9rc7Roger Dingledine
svn:r3123
2004-12-07Log contents of bw_accounting when we read it; fix memory leak.Nick Mathewson
svn:r3118
2004-12-05send an end to the streams we close when we hibernate, ratherRoger Dingledine
than just chopping them off svn:r3083
2004-12-05talk about quotas rather than bandwidths, in the logsRoger Dingledine
svn:r3080
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-23Better notice for hibernate interval spans; when estimate is 0, start out awake.Nick Mathewson
svn:r2963
2004-11-23another slightly less confusing messageRoger Dingledine
nick: we need to figure out if we should say anything different here when the wake-up time and the expected back-to-sleep time have both passed. svn:r2956
2004-11-23less confusing message upon hibernationRoger Dingledine
svn:r2955
2004-11-23fix some typos; move to 0.0.9rc1Roger Dingledine
svn:r2951
2004-11-22Compile cleanly on windows; prevent some insane bandwidth cases (e.g., ↵Nick Mathewson
"BandwidthBurst 1000 TB" from occuring. svn:r2941
2004-11-22Normalize spaceNick Mathewson
svn:r2939
2004-11-22Implement weekly/monthly/daily accountingNick Mathewson
svn:r2936
2004-11-21Call init_keys() where needed; fix hibernate bug.Nick Mathewson
svn:r2924
2004-11-20kill -USR2 now moves all logs to loglevel debugRoger Dingledine
plus fix some typos svn:r2914
2004-11-20Add "MEMUNIT" and "INTERVAL" types to configuration. Also tweak Accounting ↵Nick Mathewson
setup. More docs needed svn:r2911
2004-11-16add a TODO item and some comment changes.Nick Mathewson
svn:r2904
2004-11-15fix a bug in configuring accounting in options_act()Roger Dingledine
svn:r2881
2004-11-14Fix compilation. Duh.Nick Mathewson
svn:r2876
2004-11-14Resolve some hibernating-related XXXX009s.Nick Mathewson
svn:r2875
2004-11-14Hibernate if we start tor during the "wait for wakeup-time" phase of an ↵Nick Mathewson
accounting interval. Log our hibernation plans better. svn:r2869
2004-11-12Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson
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. svn:r2808
2004-11-10When we think we have no bandwidth, guess that we will run for 1 day.Nick Mathewson
svn:r2795
2004-11-10Fix a few bugs in accounting: parse bw_accounting correctly; set end time of ↵tor-0.0.9pre5Nick Mathewson
continued interval; record used bandwidth on state change. svn:r2785
2004-11-09Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson
target; fix a braino in dirserv.c svn:r2758
2004-11-09bugfix: ^c ought to work even while hibernatingRoger Dingledine
svn:r2748
2004-11-09Stop using the wrong DataDirectory when we're validating.Roger Dingledine
Also validate/normalize the DataDirectory better. svn:r2732
2004-11-09fix comments in hibernate.cRoger Dingledine
svn:r2714
2004-11-09various fixesRoger Dingledine
svn:r2712
2004-11-07Document hibernate.c. Also fix handling of corner case where we hit the end ↵Nick Mathewson
of the interval while we are in HIBERNATE_STATE_LOWBANDWIDTH svn:r2709
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
2004-11-06only play the accounting game if it's possible you'll choose to hibernateRoger Dingledine
svn:r2694
2004-11-06Make options no longer a global variable.Roger Dingledine
Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
2004-11-05Write hibernation code. Needs docs and tests.Nick Mathewson
svn:r2689
2004-11-04make the default default options.FirewallPorts be the defaultRoger Dingledine
svn:r2683
2004-11-04Move accounting code into hibernate; start adding logic to track ↵Nick Mathewson
bandwidth-per-seconds-active svn:r2680
2004-11-02First attempt at hibernation code. It needs more work around the XXXXs, but ↵Nick Mathewson
first I want arma to review the basic approach while I meditate on how to fix them. svn:r2649
2004-10-31oh, and add the actual file tooRoger Dingledine
svn:r2631