aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Expand)AuthorAge
...
* More stuff for new directories.•••- 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 Nick Mathewson2005-09-07
* Comment structs, reload a field, start making network status caches work•••svn:r4908 Nick Mathewson2005-09-04
* Make structs for (v2) network-status and its per-router components. Add funct...•••svn:r4898 Nick Mathewson2005-09-02
* Actually set is_hibernating when parsing router descriptors.•••svn:r4888 Nick Mathewson2005-08-30
* Add some documentation; move the signature generation logic into routerparse....•••svn:r4840 Nick Mathewson2005-08-26
* Start implementing the server side of the new directory protocol.•••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 Nick Mathewson2005-08-25
* Dirservers now do their own external reachability testing of each•••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 Roger Dingledine2005-08-24
* the tor-spec says router->address must be an IP address. so refuse•••it if it's not. (this also fixes some potential security problems with people providing hostnames as their address and then preferentially resolving them and partitioning users.) svn:r4790 Roger Dingledine2005-08-16
* check_software_version_against_directory needs a return value.•••svn:r4755 Nick Mathewson2005-08-09
* Replace (Fascist)Firewall* with a new ReachableAddresses option that understa...•••svn:r4751 Nick Mathewson2005-08-08
* get rid of IgnoreVersion and the forced auto-exit mis-feature•••svn:r4746 Roger Dingledine2005-08-08
* It is not the end of the world when a router descriptor has an unrecognized kwd•••svn:r4480 Nick Mathewson2005-06-24
* Remove code that has been #if-0ed for a long time.•••svn:r4435 Nick Mathewson2005-06-15
* Docment or add DOCDOC comments to undocumented functions in src/or. Make fun...•••svn:r4411 Nick Mathewson2005-06-11
* flesh out the source file descriptions for doxygen•••svn:r4404 Roger Dingledine2005-06-11
* Change end-of-file NLNL convention. It turns out arma I and I agree.•••svn:r4382 Nick Mathewson2005-06-09
* doxygeny goodness from tyranix•••svn:r4262 Roger Dingledine2005-05-17
* Make Tor compile with no warnings with gcc4.0 on OSX•••svn:r4184 Nick Mathewson2005-05-07
* reformat routerparse a bit•••svn:r4155 Roger Dingledine2005-05-02
* Remove support for looking at old directory/routerdesc elements; mark non-new...•••svn:r4154 Nick Mathewson2005-05-02
* improved log error message•••svn:r3986 Roger Dingledine2005-04-02
* update copyright notices.•••svn:r3982 Nick Mathewson2005-04-01
* spell recommended correctly•••svn:r3936 Roger Dingledine2005-03-31
* Commit fixes for several pending tor core tasks: document all DOCDOCed functi...•••svn:r3769 Nick Mathewson2005-03-17
* Change version parsing logic: a version is "obsolete" if it is not recommende...•••svn:r3716 Nick Mathewson2005-03-01
* Implement more control spec functionality•••- Mapaddress - Postdescriptor - GetInfo on descriptors Required changes elsewhere: - Keep the most recent running_routers_t in the routerlist_t. That way we can learn about new routers and remember whether we were last told that they were up or down. Also enables more simplifications. - Keep the signed descriptor inside routerinfo_t. This makes descriptor_entry_t in dirservers.c unneeded. - Rename AddressMap (the verb) to MapAddress. Keep AddressMap as a noun. - Check addresses for plausibility before mapping them. svn:r3696 Nick Mathewson2005-02-25
* Change from inet_ntoa to a threadproof tor_inet_ntoa.•••svn:r3656 Nick Mathewson2005-02-22
* if we fetch the dir from a mirror that has a wildly skewed•••clock, then don't bother checking recommended-versions: it will just make us sad. as a side effect, people running obsolete versions and whose clocks are wildly skewed will not be auto-shut-down. but they will still get warns about their clock skew. svn:r3459 Roger Dingledine2005-01-29
* Fix a fun bug: do not rewrite a cached directory back to the cache; otherwise...•••svn:r3319 Nick Mathewson2005-01-06
* Nothing actually _uses_ socks_port, so why publish it? For backward compatibi...•••svn:r3279 Nick Mathewson2005-01-04
* Resolve task 42: find where 19-char nicknames were getting truncated when rea...•••svn:r3244 Nick Mathewson2005-01-03
* fix the assert bug reported by bassclef@163.com•••svn:r3237 Roger Dingledine2005-01-02
* whoops•••just because it says snprintf doesn't mean it's a noop svn:r3071 Roger Dingledine2004-12-04
* Add function to check that addr_policy_t is okay; change struct addr_policy_t...•••svn:r3070 Nick Mathewson2004-12-04
* make circuit building and router parsing less noisy•••svn:r3068 Roger Dingledine2004-12-04
* Spell-check strings and comments•••svn:r3052 Nick Mathewson2004-12-01
* Make version parsing tests pass•••svn:r3028 Nick Mathewson2004-11-30
* Implement new version format for post 0.1.•••svn:r3022 Nick Mathewson2004-11-29
* Suggestion from weasel: Make tor --version --version dump the cvs Id of every...•••svn:r3019 Nick Mathewson2004-11-29
* wrong is ok, and right is fine, but in between is apparently•••totally unacceptable to me. svn:r3005 Roger Dingledine2004-11-28
* Normalize space: add one between every control keyword and control clause.•••svn:r3003 Nick Mathewson2004-11-28
* remove emacs droppings, since nick says he doesn't need them anymore•••svn:r2989 Roger Dingledine2004-11-26
* when warning that a version is too new, don't use the confusing•••text "is_obsolete_version():". svn:r2986 Roger Dingledine2004-11-25
* Clarify a bunch of log messages•••svn:r2983 Nick Mathewson2004-11-25
* Normalize a few more kinds of whitespace. We now dislike:••• - func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943 Nick Mathewson2004-11-22
* Tweak on patch to make authoritative directory servers cache•••directories on disk. Make authdirservers cache *their own* directories instead of the ones they download. This gives better liveness, and marginally better resistance to broken authdirservers. Authdirservers don't cache running-routers at all: r-r isn't stored to disk, so there's no point right now. svn:r2893 Nick Mathewson2004-11-15
* Authoritative dirservers now also cache the directory, since•••they weren't writing anything into their datadirectory, so when they stop and start, they would know nothing until they fetched a directory from another authdirserver. svn:r2891 Roger Dingledine2004-11-15
* Cache running-routers; compress running-routers; serve compressed running-rou...•••svn:r2883 Nick Mathewson2004-11-15
* Make running-routers fetch (apparently) work•••svn:r2871 Nick Mathewson2004-11-14
* Rename exit_policy to addr_policy, since it gets used for SOCKS and directory...•••svn:r2819 Nick Mathewson2004-11-12