aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
Commit message (Collapse)AuthorAge
...
* clean up the log entry for when a server posts a server descriptor thatRoger Dingledine2005-09-12
| | | | | | | the dirserver doesn't like svn:r5005
* Warn in more detail when network-status serving and fetching fails. Also, ↵Nick Mathewson2005-09-09
| | | | | | fix a small leak. svn:r4963
* when printing x-forwarded-by headers, don't print the \rRoger Dingledine2005-09-09
| | | | svn:r4959
* Fix segfault and memleak when getting many compressed server descs.Nick Mathewson2005-09-08
| | | | svn:r4956
* Fix some messages that say "failing".Nick Mathewson2005-09-08
| | | | svn:r4955
* Clean up some more fingerprint-checking logicNick Mathewson2005-09-08
| | | | svn:r4954
* make it work correctly when we download multiple network-status objects.Nick Mathewson2005-09-08
| | | | svn:r4952
* Resolve some XXXs. Add some others.Nick Mathewson2005-09-08
| | | | svn:r4947
* Fix an assert in directory.c. Check received network-status objects against ↵Nick Mathewson2005-09-08
| | | | | | the list we expected to get. Do not let anyone else update our network-status object. svn:r4945
* Only caches download network-status for now, and they use a different ↵Nick Mathewson2005-09-08
| | | | | | strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint. svn:r4944
* when reporting results from a dirserver fetch/post, tell us theRoger Dingledine2005-09-08
| | | | | | | port for the dirserver too svn:r4942
* Fix some more bugs; add a temporary log.Nick Mathewson2005-09-08
| | | | svn:r4936
* Clean up should-i-go-to-the-dirserv logic a little: All servers with ↵Nick Mathewson2005-09-08
| | | | | | DirPorts should get their directories from the source svn:r4930
* Make directory download code slightly less likely to segfault or assert.Nick Mathewson2005-09-08
| | | | svn:r4929
* Download network-status at regular intervals. The code is probably iffy, and ↵Nick Mathewson2005-09-08
| | | | | | the constants need to be renamed. svn:r4921
* Logic to launch connections for new directory types.Nick Mathewson2005-09-07
| | | | svn:r4914
* clean whitespace.Nick Mathewson2005-09-07
| | | | svn:r4912
* More stuff for new directories.Nick Mathewson2005-09-07
| | | | | | | | | | | | | | | | | | | | | | - Distinguish v1 authorities (all currently trusted directories) from v2 authorities (all trusted directories). - Add configuration option for which dirs are v1 authories. - Add configuration option for whether to be a v1 authority. - Make trusted dirserver selection functions take options to choose which functionality we need. - Remove option when getting directory cache to see whether they support running-routers; they all do now. Replace it with one to see whether caches support v2 stuff. - Parse, cache, and serve network-status objects properly. - Serve compressed groups of router descriptors. The compression logic here could be more memory-efficient. - svn:r4911
* stop using the v1 rend desc format. we're going to change v1Roger Dingledine2005-09-06
| | | | | | | some more before we switch to it. svn:r4909
* when we think a router is unreachable, pass the message back to theRoger Dingledine2005-08-31
| | | | | | | | server's logs, and make it a 'warn'. also, fix a memory leak for rejected router descriptors. svn:r4889
* fix a pair of hard-coded urlsRoger Dingledine2005-08-30
| | | | svn:r4887
* fix some logs and commentsRoger Dingledine2005-08-26
| | | | svn:r4864
* Change the return values on dirserv_add_descriptorNick Mathewson2005-08-26
| | | | svn:r4863
* 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
* 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
* 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
* 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
* start using new renddesc codeNick Mathewson2005-08-12
| | | | svn:r4769
* Replace (Fascist)Firewall* with a new ReachableAddresses option that ↵Nick Mathewson2005-08-08
| | | | | | understands address policies. svn:r4751
* Note which directory server said 400 to a renddesc.Nick Mathewson2005-08-08
| | | | svn:r4742
* Generalize FirewallPorts to FirewallIPs so I can run happily when locked in ↵Nick Mathewson2005-08-07
| | | | | | net 18. svn:r4737
* Initial, somewhat dodgy implementation of helper nodes. It has too many ↵Nick Mathewson2005-07-22
| | | | | | XXXXs, it logs too verbosely, and it doesnt do persistence. svn:r4633
* looks like we were never delivering deflated running-routers listsRoger Dingledine2005-07-12
| | | | svn:r4536
* Logic to implement rendezvous/introduction via unknown servers.Nick Mathewson2005-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a new extend_info_t datatype to hold information needed to extend a circuit (addr,port,keyid,onion_key). Use it in cpath and build_state. Make appropriate functions take or return it instead of routerinfo_t or keyid. - #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this error in 0.1.0.10, nobody will trigger it. - Implement new hidden service descriptor format, which contains "extend info" for introduction points, along with protocol version list. - Parse new format. - Generate new format - Cache old and new formats alongside each other. - Directories serve "old" format if asked in old way, "newest available" format if asked in new way. - Use new format to find introduction points if possible; otherwise fall back. Keep nickname lists and extendinfo lists in sync. - Tests for new format. - Implement new "v2" INTRODUCE cell format. - Accept new format - Use new format if we have a versioned service descriptor that says the server accepts the new format. - Add documentation for functions and data types. svn:r4506
* make the log message less scary when all the dirservers areRoger Dingledine2005-06-22
| | | | | | | temporarily unreachable svn:r4476
* overall cleanup and streamlining and doccingRoger Dingledine2005-06-20
| | | | | | | also fix a DoS avenue on dirservers svn:r4468
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* New whitespace normalization rule: no blank line at EOF.Nick Mathewson2005-06-09
| | | | svn:r4378
* clean up a few more log entriesRoger Dingledine2005-05-27
| | | | svn:r4304
* i screwed up the dirport reachability testing when we don't yetRoger Dingledine2005-05-23
| | | | | | | have a cached version of the directory. hopefully now fixed. svn:r4284
* add HttpProxyAuthenticator config option tooRoger Dingledine2005-05-20
| | | | svn:r4272
* doxygeny goodness from tyranixRoger Dingledine2005-05-17
| | | | svn:r4262
* cleanup now that 0.0.9pre1 is obsoleteRoger Dingledine2005-05-03
| | | | svn:r4175
* when we refuse a router descriptor, log contactinfo and source address.Roger Dingledine2005-05-02
| | | | svn:r4156
* clean up this TOR_FRAGILE businessRoger Dingledine2005-04-26
| | | | svn:r4116
* only whine about clock skew from the dirserver if he's a trustedRoger Dingledine2005-04-07
| | | | | | | dirserver. svn:r4048
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982