summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-11-16bump us to 0.0.9pre6tor-0.0.9pre6Roger Dingledine
svn:r2902
2004-11-16minor fixesRoger Dingledine
svn:r2901
2004-11-16Fix a fun bug in read_all that was corrupting config files on windows, and ↵Nick Mathewson
probably doing other bad stuff too. svn:r2898
2004-11-15Make log_fn not fail so miserably on VC6Nick Mathewson
svn:r2896
2004-11-15Whitespace normalizationNick Mathewson
svn:r2895
2004-11-15ugly macros to make log_fn play nice on non-GCC compilers.Nick Mathewson
svn:r2894
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-14Split X509 certificate liveness checks into a separate functionNick Mathewson
svn:r2873
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-14Note where torrc goes.Nick Mathewson
svn:r2865
2004-11-14Fix windows whitespaceNick Mathewson
svn:r2860
2004-11-14Add an unreachable return 0.Nick Mathewson
svn:r2859
2004-11-14Fix cast warning in tor-resolve.cNick Mathewson
svn:r2857
2004-11-14Remove redundant declarationNick Mathewson
svn:r2855
2004-11-14Fix "implicit declaration of ftello" warning: add AC_FUNC_FSEEKO in ↵Nick Mathewson
configure.in and always include orconfig.h before anything else svn:r2854
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 stdio.hRoger Dingledine
i guess that wasn't the fix svn:r2849
2004-11-14clean up the ftello call a little bit.Roger Dingledine
but i'm still getting: log.c:94: warning: implicit declaration of function `ftello' svn:r2848
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-13Bump windows versionNick Mathewson
svn:r2838
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-12Fix argument to strncpy.Nick Mathewson
svn:r2824
2004-11-12Nobody was using the return values from smartlist_(set|del|del_keeporder), ↵Nick Mathewson
so remove them. svn:r2823
2004-11-12Add a FAST_SMARTLIST define to optionally inline smartlist_get and ↵Nick Mathewson
smartlist_len, which are two major profiling offenders. svn:r2822
2004-11-12Speed up tor_strndup a lot: profiling suggests that our use of strlcpy here ↵Nick Mathewson
was a bad idea. svn:r2821
2004-11-12Write most of the implementation for SAVECONF.Nick Mathewson
svn:r2820