summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2004-11-22Fix sign-related warningsNick Mathewson
svn:r2942
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-22Apply NT service patch from Osamu Fujino. This still has some problems ↵Nick Mathewson
(indicated in a comment adapted from the patch submission email), but it is better than before and better than nothing. svn:r2938
2004-11-22Implement weekly/monthly/daily accountingNick Mathewson
svn:r2936
2004-11-22Absolutely never call close_temp_logs while validating log options.Nick Mathewson
svn:r2934
2004-11-21The crowning bugfix.Roger Dingledine
The problem was that with high load, circuit package window was reaching 0. Whenever we got a circuit-level sendme, we were reading a lot on each socket, but only writing out a bit. So we would eventually reach eof. This would be noticed and acted on even when there are still bytes sitting in the inbuf. svn:r2932
2004-11-21clean up some more.Roger Dingledine
i think i'm getting closer. svn:r2931
2004-11-21break reached_eof() out of process_inbuf()Roger Dingledine
svn:r2930
2004-11-21some more debugging aidsRoger Dingledine
svn:r2929
2004-11-21be more greedy about filling up all relay cells.Roger Dingledine
this may have some bugs in it still. and it may end up not being what we want to do. svn:r2928
2004-11-21Dont keep rephist info for routers that havent had activity for 24 hours.Nick Mathewson
svn:r2926
2004-11-21fix typoNick Mathewson
svn:r2925
2004-11-21Call init_keys() where needed; fix hibernate bug.Nick Mathewson
svn:r2924
2004-11-20allow StrictEntryNode and StrictExitNode to be singularRoger Dingledine
svn:r2922
2004-11-20stop some more seg faultsRoger Dingledine
svn:r2921
2004-11-20if your requested exit node has bandwidth 0, pick it anywayRoger Dingledine
svn:r2920
2004-11-20printfs want carriage returnsRoger Dingledine
svn:r2917
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-17bugfix: when our poll is interrupted, we believed the revents values.Roger Dingledine
svn:r2907
2004-11-16add a TODO item and some comment changes.Nick Mathewson
svn:r2904
2004-11-16minor fixesRoger Dingledine
svn:r2901
2004-11-15Tweak on patch to make authoritative directory servers cacheNick Mathewson
directories on disk. Make authdirservers cache *their own* directories instead of the ones they download. This gives better liveness, and marginally better resistance to broken authdirservers. Authdirservers don't cache running-routers at all: r-r isn't stored to disk, so there's no point right now. svn:r2893
2004-11-15Authoritative dirservers now also cache the directory, sinceRoger Dingledine
they weren't writing anything into their datadirectory, so when they stop and start, they would know nothing until they fetched a directory from another authdirserver. svn:r2891
2004-11-15move second stat to a cleaner placeRoger Dingledine
svn:r2890
2004-11-15Break DirFetchPostPeriod into:Roger Dingledine
- DirFetchPeriod for fetching full directory, - StatusFetchPeriod for fetching running-routers, - DirPostPeriod for posting server descriptor, - RendPostPeriod for posting hidden service descriptors. Also make sure the hidden service descriptors are at a random offset from each other, to hinder linkability. svn:r2889
2004-11-15clean up socks handling, refuse connections to port 0Roger Dingledine
svn:r2888
2004-11-15a first cut at a print_usage()Roger Dingledine
svn:r2887
2004-11-15Only record bandwidth usage when accounting is enabledNick Mathewson
svn:r2886
2004-11-15Change "warn if unverified routers are very skewed" to "never warn about ↵Nick Mathewson
unverified router skew" svn:r2885
2004-11-15Cache running-routers; compress running-routers; serve compressed ↵Nick Mathewson
running-routers.z svn:r2883
2004-11-15Patch to patch: do not send both error and done for one command.Nick Mathewson
svn:r2882
2004-11-15fix a bug in configuring accounting in options_act()Roger Dingledine
svn:r2881
2004-11-15some fixes so farRoger Dingledine
svn:r2880
2004-11-14Fix compilation. Duh.Nick Mathewson
svn:r2876
2004-11-14Resolve some hibernating-related XXXX009s.Nick Mathewson
svn:r2875
2004-11-14Allow more clock skew from unrecognized hosts than from recognized ones.Nick Mathewson
svn:r2874
2004-11-14Fetch running-routers.Nick Mathewson
Split logic to initiate dirfetch, running-routers fetch, and descriptor post. arma: There are some XXXs here that raise design questions which we should solve before the next release. The biggest problem is this: Right now, the directory is about 50X as large as running-routers uncompressed, and about 36X as large compressed. Assuming: - everybody gets the compressed version of everything, - everybody gets cached directories from random dirservers and uncached r-r from authdirservers - everybody downloads r-r at the same rate they now download dirs, then using r-r from will *increase* authdirserver directory bandwidth usage if there are significantly more caches than authdirservers. I think it's safe to leave this in for now, since there aren't 3x36 caching dirservers, but we should make everybody with a dirport cache running-routers soon. But I could be wrong. svn:r2872
2004-11-14Make running-routers fetch (apparently) workNick Mathewson
svn:r2871
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-14Add simpler option_is_same, as suggested by arma. Finish implementing SAVECONFNick Mathewson
svn:r2868
2004-11-14Fix windows whitespaceNick Mathewson
svn:r2860
2004-11-14Add an unreachable return 0.Nick Mathewson
svn:r2859
2004-11-14Remove redundant declarationNick Mathewson
svn:r2855
2004-11-14make kill -USR1 work againRoger Dingledine
svn:r2853
2004-11-14ok ok the stat wasn't redundantRoger Dingledine
but the warn was svn:r2852
2004-11-14Remove redundant stat() for reading cached directory, and removeRoger Dingledine
confusing warn when the cached directory isn't there yet. svn:r2847
2004-11-14clean a commentRoger Dingledine
svn:r2844
2004-11-13normalize whitespaceNick Mathewson
svn:r2839