aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
Commit message (Collapse)AuthorAge
* Use new split function and strcmpstart correctlyNick Mathewson2004-09-02
| | | | svn:r2327
* make the compile work (and not complain) on sunos 5.9Roger Dingledine2004-08-25
| | | | svn:r2312
* Fix some DOCDOCsNick Mathewson2004-08-18
| | | | svn:r2295
* Functions to test nickname validityNick Mathewson2004-08-18
| | | | svn:r2269
* Clean up last patch; implement (mostly) proper handling for ↵Nick Mathewson2004-08-17
| | | | | | verified/unverified name collisions. svn:r2248
* Parse uptime into routerinfoNick Mathewson2004-08-17
| | | | svn:r2247
* o clients choose nodes proportional to advertised bandwidthRoger Dingledine2004-08-15
| | | | | | | | | | o and/or while avoiding unreliable nodes, depending on goals o 'fascistfirewall' option to pick dirservers on port 80 and ORs on port 443. o if a begin failed due to exit policy, but we believe the IP should have been allowed, switch that router to exitpolicy reject *:* until we get our next directory. svn:r2231
* fix a race condition in 008pre2: don't try to extend onto a connectionRoger Dingledine2004-08-08
| | | | | | | | | | that's still handshaking. for servers in clique mode, require the conn to be open before you'll choose it for your path. svn:r2198
* Don't warn about being unverified if you're not in the running-routersRoger Dingledine2004-08-07
| | | | | | | list at all. svn:r2193
* Only warn about version newness onceNick Mathewson2004-08-07
| | | | svn:r2189
* Remove obsolete link-key keywordNick Mathewson2004-08-07
| | | | svn:r2186
* router_get_hash_impl would fail when end_str started with \n. Now it works.Nick Mathewson2004-08-07
| | | | svn:r2185
* Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename ↵Nick Mathewson2004-08-07
| | | | | | format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests. svn:r2182
* untwisting the logic, it would seem the pkey is always defined?Roger Dingledine2004-08-07
| | | | svn:r2180
* Comment about n_args<1 is correct, since all directory servers are running ↵Nick Mathewson2004-08-07
| | | | | | post-007x versions svn:r2179
* print the name of the dirserver that told us we were unverifiedRoger Dingledine2004-08-07
| | | | | | | nick, please review this. svn:r2177
* There is no space after network-status; make router_get_hash_impl more ↵Nick Mathewson2004-08-06
| | | | | | bulletproof. svn:r2162
* Bugfix: "Okay, I just shut down like you told me. Now let me verify your ↵Nick Mathewson2004-08-04
| | | | | | signature." Also fix error message when running over-new version. svn:r2135
* log a warning if you're running an unverified server, to letRoger Dingledine2004-08-04
| | | | | | | | | | | | | you know you might want to get it verified also, moved that whole block below the check-signature logic, so we don't execute it if the directory is a fake. (the recommended-versions logic is still executed before the signature is checked; we should fix that.) svn:r2131
* stop using atexit() to remove our pid, since it's calledRoger Dingledine2004-07-22
| | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
* Never use time(NULL) as assumed publication time for a directory.Nick Mathewson2004-07-22
| | | | svn:r2105
* populate router_get_my_routerinfo()->is_verifiedRoger Dingledine2004-07-22
| | | | svn:r2097
* authdirservers accept the uploading of unverified descriptors.Roger Dingledine2004-07-21
| | | | | | | | fix a bunch of bugs in router_update_status_from_smartlist() (Nick, did I get them all, or was there a trickier one still hiding?) svn:r2081
* a whole swath of fixesRoger Dingledine2004-07-20
| | | | | | | | | | | | | | | | | | | introduce an authdir_mode() macro to match the others. don't initialize uptime to the number of seconds since 1970. non-authoritative dirservers don't cache their directory on disk. make only authdirservers use clique_mode. only read approved-routers file if you're an authdirserver. even authdirservers fetch a new directory in do_hup. retry_all_connections() is now called retry_all_listeners(). router_parse_list_from_string() correctly reports the router number it's working on. only call dirserv_add_own_fingerprint() and dirserv_add_descriptor() on startup if we're an authdirserver. if AuthDir and !ORPort then fail. if AuthDir and ClientOnly then fail. svn:r2061
* Change rule from "reject non-recommended versions" to "reject obsolete ↵Nick Mathewson2004-07-16
| | | | | | versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. svn:r2052
* Remove 1024-router limit in routerparse.c; unify handling of running-routers ↵Nick Mathewson2004-07-16
| | | | | | lines in running-routers requests and in directories; set is_verified field of routerinfo_ts correctly; use most-recent-info rule to decide whether to change router-is-running status. svn:r2051
* Resolve all DOCDOCs.Nick Mathewson2004-07-16
| | | | svn:r2050
* Code to parse tor version numbers so we can do an is-newer-than check.Nick Mathewson2004-07-13
| | | | svn:r2044
* add 'advertisedbandwidth' to router descriptorRoger Dingledine2004-07-12
| | | | svn:r2028
* More digest/nickname fixesNick Mathewson2004-07-02
| | | | svn:r2000
* Track routers by hash of identity key; use hex hash of identity key in place ↵Nick Mathewson2004-07-01
| | | | | | of nickname; accept (and use) hash of identity key in EXTEND cells. svn:r1994
* Remaining 008pre1 items done; deferred where more design is needed.Nick Mathewson2004-06-25
| | | | | | | | | | | | | More docs and (way more!) testing needed. Done: - Authdirservers down directories from others. - Generate and use running-routers lists - Cache directories; store across reboots. - Refactor directory parsing a bit; note potential trouble spots. svn:r1985
* Implement several 008pre1 items: needs more testingNick Mathewson2004-06-21
| | | | svn:r1981
* Check directory signatures based on name of signer, not on whom we got the ↵Nick Mathewson2004-06-02
| | | | | | directory from. svn:r1940
* Check recommended-software string *early*, before actually parsing the ↵Nick Mathewson2004-06-01
| | | | | | directory. svn:r1930
* Allow multiple exit policy lines; mostly add support for AP policiesNick Mathewson2004-05-20
| | | | svn:r1905
* Resolve some XXXsNick Mathewson2004-05-18
| | | | svn:r1889
* Split directory/router parsing functionality into separate file from ↵Nick Mathewson2004-05-10
routerlist.c svn:r1846