summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
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-12Fix two comments in torrc.sample.in directly in the upstream sourcePeter Palfrader
svn:r2812
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-12clean torrc sampleRoger Dingledine
change log files to end in .log for logrotate to notice mention that address doesn't need to be defined svn:r2803
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