aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* clean up comments for router_is_general_exit()Roger Dingledine2005-09-08
| | | | svn:r4917
* add a RESETCONF controller command, and make setconf with a nullRoger Dingledine2005-09-08
| | | | | | | option actually mean to set it to "" svn:r4916
* fix some typosRoger Dingledine2005-09-08
| | | | svn:r4915
* Logic to launch connections for new directory types.Nick Mathewson2005-09-07
| | | | svn:r4914
* add missing returnNick Mathewson2005-09-07
| | | | svn:r4913
* 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
* Comment structs, reload a field, start making network status caches workNick Mathewson2005-09-04
| | | | svn:r4908
* if you're an auth dir server, start yourself out as verified.Roger Dingledine2005-09-03
| | | | svn:r4907
* Add directory listing functions to util.[ch]. Watch the features creep!Nick Mathewson2005-09-03
| | | | svn:r4906
* remove redundant logs about unreachable serversRoger Dingledine2005-09-03
| | | | svn:r4905
* fix order of items in network-statusNick Mathewson2005-09-03
| | | | svn:r4904
* Fix another ntohlNick Mathewson2005-09-03
| | | | svn:r4903
* and another byte counting error.Nick Mathewson2005-09-03
| | | | svn:r4902
* Excellent. We have at least 8 bytes, so I can safely get the 9th.Nick Mathewson2005-09-03
| | | | svn:r4901
* Note to self: htonl(htonl(X)) is *not* "twice as good as htonl(X)". Spotted ↵Nick Mathewson2005-09-03
| | | | | | by arma. svn:r4900
* Make structs for (v2) network-status and its per-router components. Add ↵Nick Mathewson2005-09-02
| | | | | | functions to parse them. Re-do the parsing logic a litt.e. Change signatures in or.h to support new DNS TTL logic. svn:r4898
* Add contact field to generated network-status objectsNick Mathewson2005-09-02
| | | | svn:r4897
* Make ContactInfo mandatory for authoritative directories.Nick Mathewson2005-09-02
| | | | svn:r4896
* Add TTLs to RESOLVED, CONNECTED, and END_REASON_EXITPOLICY cells. Also, add ↵Nick Mathewson2005-09-02
| | | | | | a missing ntohl in connection_ap_handshake_socks_resolved. svn:r4894
* bugfix: moria2 wasn't listing itself as verified in its directoryRoger Dingledine2005-09-02
| | | | svn:r4893
* when we're shutting down and we do something like try to post aRoger Dingledine2005-09-01
| | | | | | | | server descriptor or rendezvous descriptor, don't complain that we seem to be unreachable. of course we are, we're shutting down. svn:r4892
* subtle change to avoid some false positives:Roger Dingledine2005-09-01
| | | | | | | | | | if a server went down for six hours and then came back, we would complain to it that it's unreachable. now we wait until the third consecutive descriptor post that we thought it was unreachable, before complaining to it. svn:r4891
* and notify the dirserver operator whenever we doRoger Dingledine2005-08-31
| | | | svn:r4890
* 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
* 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