aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Expand)AuthorAge
...
* if johnny has three fenceposts, and jill takes four away...•••svn:r2089 Roger Dingledine2004-07-21
* authdirservers accept the uploading of unverified descriptors.•••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 Roger Dingledine2004-07-21
* a whole swath of fixes•••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 Roger Dingledine2004-07-20
* Remove 1024-router limit in routerparse.c; unify handling of running-routers ...•••svn:r2051 Nick Mathewson2004-07-16
* Finish most pre2 items: make running-routers list work right; rename secret k...•••svn:r2043 Nick Mathewson2004-07-13
* running-routers now lists down routers too (with a ! before their name)•••svn:r1996 Roger Dingledine2004-07-01
* cleanups on 008pre1 items•••svn:r1993 Roger Dingledine2004-06-30
* Always use get_data_directory() instead of options.DataDirectory; fix a memor...•••svn:r1991 Nick Mathewson2004-06-30
* Remaining 008pre1 items done; deferred where more design is needed.•••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 Nick Mathewson2004-06-25
* Implement several 008pre1 items: needs more testing•••svn:r1981 Nick Mathewson2004-06-21
* router->is_trusted_dir implies router->dir_port>0•••and add some infrastructure for fetching running-routers list svn:r1973 Roger Dingledine2004-06-16
* non-dirservers expire routerinfo's that are more than a day old•••svn:r1907 Roger Dingledine2004-05-20
* fix compile error in dirserv•••(declare variables before the rest of the function) svn:r1896 Roger Dingledine2004-05-19
* remove upper limit on number of descriptors/directories in dirserver; use sma...•••svn:r1894 Nick Mathewson2004-05-18
* fix a seg fault, add another XXX for nick ;)•••svn:r1892 Roger Dingledine2004-05-18
* Resolve some XXXs•••svn:r1889 Nick Mathewson2004-05-18
* Make directory functions update routerlist, not replace it. Add notion of OR...•••svn:r1880 Nick Mathewson2004-05-17
* Split directory/router parsing functionality into separate file from routerli...•••svn:r1846 Nick Mathewson2004-05-10
* More doxygenation.•••svn:r1832 Nick Mathewson2004-05-10
* more doxygen markup•••plenty more remains svn:r1824 Roger Dingledine2004-05-09
* Never list unapproved servers as recommended•••svn:r1790 Nick Mathewson2004-05-05
* More documentation•••svn:r1785 Nick Mathewson2004-05-05
* note another bug to be fixed sometime•••svn:r1754 Roger Dingledine2004-04-30
* Make Tor build on win32 with VC6 without warnings.•••svn:r1739 Nick Mathewson2004-04-28
* Remove onion_pkey from connection, since onion keys can change more often tha...•••svn:r1693 Nick Mathewson2004-04-25
* Merge flagday into main branch.•••svn:r1683 Nick Mathewson2004-04-24
* Scan list of servers in directory after reloading fingerprint list; remove an...•••svn:r1613 Nick Mathewson2004-04-13
* Continue attack on magic numbers; use new crypto wrappers where possible•••svn:r1504 Nick Mathewson2004-04-06
* alice can now look up bob's service descriptor,•••choose an intro point, connect to it, choose a rend point, connect to it and establish a cookie, get an ack from the rendezvous point, and know when both circs are ready for her. APConns don't use conn->purpose anymore don't initiate a renddesc lookup if one is already in progress also fix a buffer overflow in nickname parsing (only exploitable by the operator though) svn:r1471 Roger Dingledine2004-04-05
* Make "common" no longer depend on or.h•••svn:r1466 Nick Mathewson2004-04-03
* old or skewed descriptor doesn't mean we failed to parse it•••svn:r1373 Roger Dingledine2004-03-29
* fix typo•••svn:r1364 Roger Dingledine2004-03-29
* Re-enable unit tests for directory generation.•••svn:r1362 Nick Mathewson2004-03-29
* Remove descriptors that are older than 24 hours from the directory. Use strl...•••svn:r1361 Nick Mathewson2004-03-29
* bugfix: address that strcat vulnerability in circuit.c•••svn:r1273 Roger Dingledine2004-03-14
* inform unapproved servers when we reject their descriptors•••svn:r1263 Roger Dingledine2004-03-12
* stop troubling router operators with unapproved router connect attempts•••but give the dirserver operator more information svn:r1246 Roger Dingledine2004-03-09
* when you get a desc from an unknown router, log its fingerprint•••svn:r1244 Roger Dingledine2004-03-08
* New, more flexible directory parsing backend. Uses a bit more RAM, but implem...•••svn:r1235 Nick Mathewson2004-03-05
* remove trailing whitespace•••svn:r951 Roger Dingledine2003-12-17
* betcha didn't know strncpy could leave an unterminated string•••svn:r949 Roger Dingledine2003-12-17
* on hup, close and rebind listener ports too (in case their config has changed)•••svn:r926 Roger Dingledine2003-12-14
* clean up some file-scope-global directory variables•••svn:r925 Roger Dingledine2003-12-14
* clean up some copyrights•••svn:r907 Roger Dingledine2003-12-13
* Make router/directory parsing nondestructive and more const-friendly•••svn:r890 Nick Mathewson2003-12-08
* terminology shift:•••directory is the string that dirserv.c and directory.c deal with routerlist is routerinfo's that are bundled together in routers.c rename some of the get_routerlist functions to set_routerlist preparing to break into router.c for stuff the router does, and routerlist.c for handling routerlist. svn:r886 Roger Dingledine2003-12-05
* use the tor_malloc_zero wrapper•••svn:r837 Roger Dingledine2003-11-18
* let getconfig survive repeated calls. now we call it again when we hup.•••change RecommendedVersions into a config option, so dirservers can hup for a new one svn:r809 Roger Dingledine2003-11-13
* make dir parsing robust to invalid but well-formed descriptors•••svn:r800 Roger Dingledine2003-11-12
* Clock skew fixes.•••Allow some slop (currently 3 minutes) when checking certificate validity. Change certificate lifetime from 1 year to 2 days. Since we regenerate regularly (we regenerate regularly, right??), this shouldn't be a problem. Have directories reject descriptors published too far in the future (currently 30 minutes). If dirservs don't do this: 0) Today is January 1, 2000. 1) A very skewed server publishes descriptor X with a declared publication time of August 1, 2000. 2) The directory includes X. 3) Because of certificate lifetime issues, nobody can use the skewed server. 4) The server fixes its skew, and goes to republish a new descriptor Y with publication time of January 1, 2000. 5) But because the directory already has a "more recent" descriptor X, it rejects descriptor "Y" as superseded! This patch should make step 2 go away. svn:r658 Nick Mathewson2003-10-22