aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Collapse)AuthorAge
...
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* doxygeny goodness from tyranixRoger Dingledine2005-05-17
| | | | svn:r4262
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* reformat routerparse a bitRoger Dingledine2005-05-02
| | | | svn:r4155
* Remove support for looking at old directory/routerdesc elements; mark ↵Nick Mathewson2005-05-02
| | | | | | non-new elements optional; switch to new format for dir-signing-key; start accepting newer elements so we can mark them as non-opt later; make tor-spec say the right stuff. svn:r4154
* improved log error messageRoger Dingledine2005-04-02
| | | | svn:r3986
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* spell recommended correctlyRoger Dingledine2005-03-31
| | | | svn:r3936
* Commit fixes for several pending tor core tasks: document all DOCDOCed ↵Nick Mathewson2005-03-17
| | | | | | functions; time out uncontrolled unattached streams; feed reasons to SOCKS5 (refactoring connection_ap_handshake_socks_reply in the process); change DirFetchPeriod/StatusFetchPeriod to have a special "Be smart" value. svn:r3769
* Change version parsing logic: a version is "obsolete" if it is not ↵Nick Mathewson2005-03-01
| | | | | | recommended and (1) there is a newer recommended version in the same series, or (2) there are no recommended versions in the same series, but there are some recommended versions in a newer series. A version is "new" if it is newer than any recommended version in the same series. svn:r3716
* Implement more control spec functionalityNick Mathewson2005-02-25
| | | | | | | | | | | | | | | | | | - 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
* Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson2005-02-22
| | | | svn:r3656
* if we fetch the dir from a mirror that has a wildly skewedRoger Dingledine2005-01-29
| | | | | | | | | | | | 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
* Fix a fun bug: do not rewrite a cached directory back to the cache; ↵Nick Mathewson2005-01-06
| | | | | | otherwise we will think it is recent and not fetch a newer one. svn:r3319
* Nothing actually _uses_ socks_port, so why publish it? For backward ↵Nick Mathewson2005-01-04
| | | | | | compatibility, publish a socks_port of 0, and never read socks_port. svn:r3279
* Resolve task 42: find where 19-char nicknames were getting truncated when ↵Nick Mathewson2005-01-03
| | | | | | read from certs, and fix it. Also audit use of MAX_NICKNAME_LEN; no other badness found, but some docs/code cleaned up a touch. svn:r3244
* fix the assert bug reported by bassclef@163.comRoger Dingledine2005-01-02
| | | | svn:r3237
* whoopsRoger Dingledine2004-12-04
| | | | | | | just because it says snprintf doesn't mean it's a noop svn:r3071
* Add function to check that addr_policy_t is okay; change struct ↵Nick Mathewson2004-12-04
| | | | | | addr_policy_t to addr_policy_t. svn:r3070
* make circuit building and router parsing less noisyRoger Dingledine2004-12-04
| | | | svn:r3068
* Spell-check strings and commentsNick Mathewson2004-12-01
| | | | svn:r3052
* Make version parsing tests passNick Mathewson2004-11-30
| | | | svn:r3028
* Implement new version format for post 0.1.Nick Mathewson2004-11-29
| | | | svn:r3022
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* when warning that a version is too new, don't use the confusingRoger Dingledine2004-11-25
| | | | | | | text "is_obsolete_version():". svn:r2986
* Clarify a bunch of log messagesNick Mathewson2004-11-25
| | | | svn:r2983
* Normalize a few more kinds of whitespace. We now dislike:Nick Mathewson2004-11-22
| | | | | | | | | - func (args) - if (x){ This doesn't normalize if(x), for(x); while(x), and friends. svn:r2943
* Tweak on patch to make authoritative directory servers cacheNick Mathewson2004-11-15
| | | | | | | | | | | | 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
* Authoritative dirservers now also cache the directory, sinceRoger Dingledine2004-11-15
| | | | | | | | | 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
* Cache running-routers; compress running-routers; serve compressed ↵Nick Mathewson2004-11-15
| | | | | | running-routers.z svn:r2883
* Make running-routers fetch (apparently) workNick Mathewson2004-11-14
| | | | svn:r2871
* Rename exit_policy to addr_policy, since it gets used for SOCKS and ↵Nick Mathewson2004-11-12
| | | | | | directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act. svn:r2819
* Normalize whitespace; add a "tell me about all the unnormalized whitespace" ↵Nick Mathewson2004-11-09
| | | | | | target; fix a braino in dirserv.c svn:r2758
* Resolve many XXXs and all DOCDOCsNick Mathewson2004-11-09
| | | | svn:r2755
* only non-authdirservers cache the dir they just fetchedRoger Dingledine2004-11-09
| | | | svn:r2747
* when rejecting an old-style router descriptor, tell us its nicknameRoger Dingledine2004-11-09
| | | | svn:r2730
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
* Use a stricter set of warnings; make them all pass.Nick Mathewson2004-11-02
| | | | svn:r2645
* canonicalize "src" and "dest" arg order in crypto.c (and others)Roger Dingledine2004-11-02
| | | | svn:r2644
* Tweaks to prevent obsolete restarting tors from hammering the dirservers. ↵Nick Mathewson2004-10-28
| | | | | | (1) Cache a received directory as soon as the signature checks out. (2) Treat a cached directory as "recent" based on its mtime. (3) If we have a recent directory, we dont need to fetch a newer one for DirFetchPostPeriod. This needs review! svn:r2618
* Tricksy compiler warnings! We hates them, hates them forever, my precious!Nick Mathewson2004-10-27
| | | | svn:r2615
* Use tor_snprintf, not snprintfNick Mathewson2004-10-27
| | | | svn:r2609
* Avoid strcat; use snprintf or strlcat insteadNick Mathewson2004-10-27
| | | | svn:r2605
* Add and document router-status line using new unified liveness/verifiedness ↵Nick Mathewson2004-10-27
| | | | | | format; continue to generate running-routers; continue to parse running-routers when no router-status line is found svn:r2592
* Remove routerinfo_t->is_trusted_dir, and all the twisted machinery used toNick Mathewson2004-10-19
| | | | | | | | | | | maintain it. Have clients default to the nickname "client" in their certificates. Give a less frightening warning on obsolete (pre-0.0.8) routerinfo_t's. svn:r2568
* start the process of making 0.0.7* obsoleteRoger Dingledine2004-10-17
| | | | svn:r2565