summaryrefslogtreecommitdiff
path: root/src/or/main.c
AgeCommit message (Collapse)Author
2004-12-16Clarify confusing messagetor-0.0.9.1Nick Mathewson
svn:r3151
2004-12-13note a future thing we should doRoger Dingledine
svn:r3141
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-13Only launch dns workers when we are actually starting a server.Nick Mathewson
svn:r3137
2004-12-07log bytes written with kill -USR1 tooRoger Dingledine
svn:r3112
2004-12-07salvage another 300 bytes per hupRoger Dingledine
svn:r3106
2004-12-07Make unit tests work on win32Nick Mathewson
svn:r3094
2004-12-01Spell-check strings and commentsNick Mathewson
svn:r3052
2004-12-01do even less inside our signal handler,Roger Dingledine
just to be extra paranoidly safe svn:r3050
2004-11-30Let resolve conns retry/expire also, rather than sticking around forever.Roger Dingledine
Put the check-if-requested-exitrouter-will-reject-us code in the circuit_attach loop, so it gets checked periodically and not just once at the beginning. This is useful in case the routerlist changes, but also in case the address gets resolved into something that we learn we'll reject. svn:r3039
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019
2004-11-28wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine
totally unacceptable to me. svn:r3005
2004-11-28Normalize space: add one between every control keyword and control clause.Nick Mathewson
svn:r3003
2004-11-28remember; tor_socket_errno has side effects!Nick Mathewson
svn:r2997
2004-11-26inform him more sanelyRoger Dingledine
svn:r2993
2004-11-26inform the user that you noticed when he sent a USR2Roger Dingledine
svn:r2992
2004-11-26if you want to handle -USR2, you should catch it too.Roger Dingledine
svn:r2990
2004-11-26remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine
svn:r2989
2004-11-25Clarify a bunch of log messagesNick Mathewson
svn:r2983
2004-11-24patch to nick's patchRoger Dingledine
svn:r2969
2004-11-24make nt service version match actual versionNick Mathewson
svn:r2968
2004-11-23initialize rephist before we init_from_config, since init_from_configRoger Dingledine
can make us init_keys if we're going to hibernate, which makes us build a router_desc. svn:r2953
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-21Dont keep rephist info for routers that havent had activity for 24 hours.Nick Mathewson
svn:r2926
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-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-17bugfix: when our poll is interrupted, we believed the revents values.Roger Dingledine
svn:r2907
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-15Only record bandwidth usage when accounting is enabledNick Mathewson
svn:r2886
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-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 kill -USR1 work againRoger Dingledine
svn:r2853
2004-11-14clean a commentRoger Dingledine
svn:r2844
2004-11-13Track whether descriptor is dirty/uploaded. When any options are set, mark ↵Nick Mathewson
it dirty. Once a minute, regenerate and upload the server descriptor if it is dirty. svn:r2832
2004-11-13Comment a confusing conditionalNick Mathewson
svn:r2828
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-12dfc caught a SIGXFSZ error when his debugfile reached 2GB.Roger Dingledine
so if they exist, catch them and ignore them. write() will fail normally and we'll look at errno like normal human beings. svn:r2804
2004-11-11when clients do --list-fingerprint, it's misleading toRoger Dingledine
give them one, because it will never be the same again svn:r2800
2004-11-10weaken our anonymity warning a little bit moreRoger Dingledine
svn:r2771
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-09Resolve many XXXs and all DOCDOCsNick Mathewson
svn:r2755
2004-11-09mark_logs_temp() before init'ing new ones.Roger Dingledine
we were seeing double, triple, etc each time we setconf'ed. svn:r2738
2004-11-09stop wanting to split init_keys()Roger Dingledine
svn:r2735
2004-11-09Stop using the wrong DataDirectory when we're validating.Roger Dingledine
Also validate/normalize the DataDirectory better. svn:r2732
2004-11-09Make an options_act() where we do all the things a new options setRoger Dingledine
needs. Still needs more work. svn:r2716
2004-11-07Clean up copyrights.Roger Dingledine
Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698