summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
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
2004-11-13Use the data, *then* free it. It works so much better.Nick Mathewson
svn:r2837
2004-11-13Document remaining configuration options; add a ccheck for redundant ↵Nick Mathewson
authentication mechanisms in options_validate; add TODO items for post-009 hibernation features svn:r2833
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-12fix a seg fault when fetching rendezvous descsRoger Dingledine
svn:r2825
2004-11-12Nobody was using the return values from smartlist_(set|del|del_keeporder), ↵Nick Mathewson
so remove them. svn:r2823
2004-11-12Write most of the implementation for SAVECONF.Nick Mathewson
svn:r2820
2004-11-12Rename exit_policy to addr_policy, since it gets used for SOCKS and ↵Nick Mathewson
directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act. svn:r2819
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-12Resolve FIXME: Possible solution to note_disconnect problem; needs thought ↵Nick Mathewson
and review. svn:r2807
2004-11-12Use autoconf to enable largefile support where necessary. Use ftello where ↵Nick Mathewson
available, since ftell can fail at 2GB. svn:r2806
2004-11-12Resolve FIXMES: sometimes an error code is just an error codeNick Mathewson
svn:r2805
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-11apply patch from Andre Eisenbach: include event code with events, as ↵Nick Mathewson
required by control-spec.txt svn:r2799
2004-11-10Remove XXXX009 comment telling us to do the last (circID-related) fixNick Mathewson
svn:r2798
2004-11-10Resolve a FIXME: use identity comparison, not nickname comparison, toNick Mathewson
choose circuit ID types. This is important because our view of "the nickname of the router on the other side of this connection" is skewed, and depends on whether we think the other rotuer is verified--and there's no way to know whether another router thinks you are verified. For backward compatibility, we notice when the other router chooses the same circuit ID type as us (because it's running an old version), and switch our type to be polite. svn:r2797
2004-11-10When we think we have no bandwidth, guess that we will run for 1 day.Nick Mathewson
svn:r2795
2004-11-10Clarify a warning about /.torNick Mathewson
svn:r2794
2004-11-10Resolve FIXME items: make the kill-unattached-AP timeout symbolicNick Mathewson
svn:r2793
2004-11-10Resolve FIXME items: make circuit_free_cpath_node staticNick Mathewson
svn:r2792
2004-11-10Resolve FIXME items: clarify two XXXX comments for 009Nick Mathewson
svn:r2791