aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Actually set is_hibernating when parsing router descriptors.Nick Mathewson2005-08-30
| | | | svn:r4888
* fix a pair of hard-coded urlsRoger Dingledine2005-08-30
| | | | svn:r4887
* don't whine about reachability if the guy is hibernating now.Roger Dingledine2005-08-30
| | | | | | | | speaking of which, we don't actually parse is_hibernating out of the router descriptor right now. nick, can you fix this? svn:r4886
* refactor -- no actual changesRoger Dingledine2005-08-30
| | | | svn:r4885
* a bit of cleanupRoger Dingledine2005-08-30
| | | | svn:r4884
* Update routerinfo_t.is_running when generating network status on authdirserver.Nick Mathewson2005-08-29
| | | | svn:r4883
* Allow tor_gzip_uncompress to handle multiple concatenated compressed strings.Nick Mathewson2005-08-29
| | | | svn:r4882
* Change semantics of set_cached_dir; fix massive authdir memleak.Nick Mathewson2005-08-28
| | | | svn:r4880
* Make unit tests (and others) run without launching listeners, creating ↵Nick Mathewson2005-08-26
| | | | | | subdirectories, and so on. svn:r4876
* Fix a warning, add an assert.Nick Mathewson2005-08-26
| | | | svn:r4875
* Crashing dirservers on startup is often considered bad form.Nick Mathewson2005-08-26
| | | | svn:r4874
* Log when falling back to nonfast/nonstabl routersNick Mathewson2005-08-26
| | | | svn:r4869
* Set a variable that exists. That works better.Nick Mathewson2005-08-26
| | | | svn:r4868
* when we're trying to build a circuit and we're being picky about whatRoger Dingledine2005-08-26
| | | | | | | | sort we get but there aren't any suitable servers, try being less picky rather than simply failing. svn:r4867
* Remember to mark v2 networkstatus non-dirty when we generate it; also, fix ↵Nick Mathewson2005-08-26
| | | | | | spaces. svn:r4866
* Make sure that cached-status directory exists.Nick Mathewson2005-08-26
| | | | svn:r4865
* fix some logs and commentsRoger Dingledine2005-08-26
| | | | svn:r4864
* Change the return values on dirserv_add_descriptorNick Mathewson2005-08-26
| | | | svn:r4863
* fix compile complaints (and a bug)Roger Dingledine2005-08-26
| | | | svn:r4862
* We no longer need dirserv_load_from_directory_string, so ↵Nick Mathewson2005-08-26
| | | | | | dirserv_add_descriptor no longer has to keep track of where each descriptor ends. svn:r4861
* No need to load cached directory twiceNick Mathewson2005-08-26
| | | | svn:r4860
* disarm a trapRoger Dingledine2005-08-26
| | | | svn:r4859
* Fix assert failure on directory startup.Nick Mathewson2005-08-26
| | | | svn:r4858
* Make network-status strings wellformedNick Mathewson2005-08-26
| | | | svn:r4857
* Remove a field that nobody sets or uses.Nick Mathewson2005-08-26
| | | | svn:r4856
* Note that a descriptor has changed when we receive a new directory.Nick Mathewson2005-08-26
| | | | svn:r4855
* Remove descriptor_list and use routerlist instead. Make directories manage ↵Nick Mathewson2005-08-26
| | | | | | routerlist a little better. svn:r4854
* stop freeing the new global options list whenever we update it.Roger Dingledine2005-08-26
| | | | svn:r4853
* make it clearer which elements of routerinfo_t are for reachabilityRoger Dingledine2005-08-26
| | | | | | | testing svn:r4852
* if dirservers set assumereachable, it overrides their individualRoger Dingledine2005-08-26
| | | | | | | reachability testing svn:r4851
* fix an infinite loop at hupRoger Dingledine2005-08-26
| | | | svn:r4850
* Clean up the "add myself as a trusted dirserver" code.Nick Mathewson2005-08-26
| | | | svn:r4849
* The circus music begins playing as nickm and arma juggle an ntohl. Hoop-lah!Nick Mathewson2005-08-26
| | | | svn:r4848
* move a wandering ntohlNick Mathewson2005-08-26
| | | | svn:r4847
* Only free strmap if it is allocated.Nick Mathewson2005-08-26
| | | | svn:r4846
* Add quotes around filenames in src/orNick Mathewson2005-08-26
| | | | svn:r4845
* put quotes around user-supplied strings so they are more likely toRoger Dingledine2005-08-26
| | | | | | | realize if they add bad characters (like quotes) to the torrc svn:r4844
* fix syntax errNick Mathewson2005-08-26
| | | | svn:r4843
* More documentingNick Mathewson2005-08-26
| | | | svn:r4842
* Remove accidentally added printfNick Mathewson2005-08-26
| | | | svn:r4841
* Add some documentation; move the signature generation logic into ↵Nick Mathewson2005-08-26
| | | | | | routerparse.c along with the hash generation logic; make router signing use it as well. svn:r4840
* Make a new AssumeReachable config option that will publish anyway.Roger Dingledine2005-08-26
| | | | | | | | Also, let authdirservers start without setting their Address field. Something is still not working though. Will fix in morning. svn:r4839
* add a tor_dup_addr() function to simplify malloc()+tor_inet_ntoa()Roger Dingledine2005-08-26
| | | | svn:r4838
* Fall back to routerlist instead of descriptor_list when we are a cache.Nick Mathewson2005-08-25
| | | | svn:r4837
* Fix a segfault when starting a dir cacheNick Mathewson2005-08-25
| | | | svn:r4836
* Start implementing the server side of the new directory protocol.Nick Mathewson2005-08-25
| | | | | | | | | | | | | | | | | | | | | | | Probably very buggy, since I can't actually run an authdir. Features - Generate and publish new network-status format - Code to cache and re-serve network-status objects generated by others. - Publish individual descriptors (by fingerprint, by "all", and by "tell me yours.") [Still needs compression logic] - Publish client and server recommended versions seprately. - Add digest of descriptor to routerinfo_t, so we can track them better, and length, so we can server them more easily. Cleanups - Unify code to sign directory-like things - Make resolve_my_address() able to tell you which name it wound up resolving. - Unify code to store and serve directory-like things so it all uses cached_dir_t. - Unify code to set the value of cached_dir_t objects. svn:r4835
* be much more conservative about logging reachability complaints.Roger Dingledine2005-08-24
| | | | | | | the ones it logs now are probably genuine problem servers. svn:r4832
* ha ha, that infinite loop was fun.Roger Dingledine2005-08-24
| | | | | | | but dirservers aren't supposed to have infinite loops. svn:r4831
* Dirservers now do their own external reachability testing of eachRoger Dingledine2005-08-24
| | | | | | | | | | | | | Tor server, and only list them as running if they've been found to be reachable. Dirservers also log trouble servers, but only start complaining loudly after they've been up for an hour, to reduce false positives. We still need to do something about the fact that it is quite loud when there are many trouble servers. svn:r4829
* TOR_ISSPACE, not isspace.Nick Mathewson2005-08-24
| | | | svn:r4828