aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* 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
* check [X-]Forwarded-For headers in HTTP requests when generating log ↵Nick Mathewson2005-08-23
| | | | | | messages. Implements feature for bug 181. Arma--please review? svn:r4826
* fix bug 180: handle duplicate lines in approved-routers files.Nick Mathewson2005-08-23
| | | | svn:r4825
* downgrade back to 0.1.1.5-alpha-cvsRoger Dingledine2005-08-23
| | | | | | | it's going to be another while svn:r4824
* Our logic to decide if the OR we connected to was the right guyRoger Dingledine2005-08-23
| | | | | | | | | | was brittle and maybe open to a mitm for unverified routers. Now we be sure to check the digest, and if the nickname he claims is not a verified one then we don't care what nickname he claims. svn:r4823
* that comma was importantRoger Dingledine2005-08-23
| | | | svn:r4820
* fix bad logic that has been lurking for eons, that now prevented usRoger Dingledine2005-08-23
| | | | | | | from uploading descriptors after the first one. svn:r4818
* and don't print the null string here eitherRoger Dingledine2005-08-22
| | | | svn:r4816
* whoops, avoid printing a null string sometimesRoger Dingledine2005-08-22
| | | | svn:r4815
* Make DirPostPeriod config option obsolete.Roger Dingledine2005-08-22
| | | | | | | | | Force new descriptor upload every 18 hours, not 24, to avoid races. Change rate-limiting on new descriptors due to bandwidth changes, from 45 minutes to 20 minutes. svn:r4814
* bump version to 0.1.1.6-alphaRoger Dingledine2005-08-22
| | | | svn:r4813
* fix function headers from the descriptor-frequency commitRoger Dingledine2005-08-22
| | | | svn:r4809
* when we begin reachability testing, log the address:port for eachRoger Dingledine2005-08-22
| | | | | | | | port we're testing, so people are more likely to notice that they're using the wrong ip address. svn:r4808
* change log entry for unreachability to explicitly suggest /etc/hostsRoger Dingledine2005-08-22
| | | | | | | as the culprit svn:r4807