aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
Commit message (Collapse)AuthorAge
* 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
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-07-13
| | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
* running-routers now lists down routers too (with a ! before their name)Roger Dingledine2004-07-01
| | | | svn:r1996
* cleanups on 008pre1 itemsRoger Dingledine2004-06-30
| | | | svn:r1993
* Always use get_data_directory() instead of options.DataDirectory; fix a ↵Nick Mathewson2004-06-30
| | | | | | memory leak in router.c svn:r1991
* 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
* router->is_trusted_dir implies router->dir_port>0Roger Dingledine2004-06-16
| | | | | | | and add some infrastructure for fetching running-routers list svn:r1973
* non-dirservers expire routerinfo's that are more than a day oldRoger Dingledine2004-05-20
| | | | svn:r1907
* fix compile error in dirservRoger Dingledine2004-05-19
| | | | | | | (declare variables before the rest of the function) svn:r1896
* remove upper limit on number of descriptors/directories in dirserver; use ↵Nick Mathewson2004-05-18
| | | | | | smartlists instead of arrays svn:r1894
* fix a seg fault, add another XXX for nick ;)Roger Dingledine2004-05-18
| | | | svn:r1892
* Resolve some XXXsNick Mathewson2004-05-18
| | | | svn:r1889
* Make directory functions update routerlist, not replace it. Add notion of ↵Nick Mathewson2004-05-17
| | | | | | OR-is-trusted-to-be-a-dirserver. Arma, please review: does this handle being a dirserver right? svn:r1880
* Split directory/router parsing functionality into separate file from ↵Nick Mathewson2004-05-10
| | | | | | routerlist.c svn:r1846
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* Never list unapproved servers as recommendedNick Mathewson2004-05-05
| | | | svn:r1790
* More documentationNick Mathewson2004-05-05
| | | | svn:r1785
* note another bug to be fixed sometimeRoger Dingledine2004-04-30
| | | | svn:r1754
* Make Tor build on win32 with VC6 without warnings.Nick Mathewson2004-04-28
| | | | svn:r1739
* Remove onion_pkey from connection, since onion keys can change more often ↵Nick Mathewson2004-04-25
| | | | | | than connections. Also add more log messages svn:r1693
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* Scan list of servers in directory after reloading fingerprint list; remove ↵Nick Mathewson2004-04-13
| | | | | | any servers that are no longer recognized. svn:r1613
* Continue attack on magic numbers; use new crypto wrappers where possibleNick Mathewson2004-04-06
| | | | svn:r1504
* alice can now look up bob's service descriptor,Roger Dingledine2004-04-05
| | | | | | | | | | | | | | | | | 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
* Make "common" no longer depend on or.hNick Mathewson2004-04-03
| | | | svn:r1466
* old or skewed descriptor doesn't mean we failed to parse itRoger Dingledine2004-03-29
| | | | svn:r1373
* fix typoRoger Dingledine2004-03-29
| | | | svn:r1364
* Re-enable unit tests for directory generation.Nick Mathewson2004-03-29
| | | | svn:r1362
* Remove descriptors that are older than 24 hours from the directory. Use ↵Nick Mathewson2004-03-29
| | | | | | strlcat instead of strncat to generate directories. svn:r1361
* bugfix: address that strcat vulnerability in circuit.cRoger Dingledine2004-03-14
| | | | svn:r1273
* inform unapproved servers when we reject their descriptorsRoger Dingledine2004-03-12
| | | | svn:r1263
* stop troubling router operators with unapproved router connect attemptsRoger Dingledine2004-03-09
| | | | | | | but give the dirserver operator more information svn:r1246
* when you get a desc from an unknown router, log its fingerprintRoger Dingledine2004-03-08
| | | | svn:r1244
* New, more flexible directory parsing backend. Uses a bit more RAM, but ↵Nick Mathewson2004-03-05
| | | | | | implements the new spec. Uses more RAM, but not so you would notice. svn:r1235
* remove trailing whitespaceRoger Dingledine2003-12-17
| | | | svn:r951
* betcha didn't know strncpy could leave an unterminated stringRoger Dingledine2003-12-17
| | | | svn:r949
* on hup, close and rebind listener ports too (in case their config has changed)Roger Dingledine2003-12-14
| | | | svn:r926
* clean up some file-scope-global directory variablesRoger Dingledine2003-12-14
| | | | svn:r925
* clean up some copyrightsRoger Dingledine2003-12-13
| | | | svn:r907
* Make router/directory parsing nondestructive and more const-friendlyNick Mathewson2003-12-08
| | | | svn:r890
* terminology shift:Roger Dingledine2003-12-05
| | | | | | | | | | | | | 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
* use the tor_malloc_zero wrapperRoger Dingledine2003-11-18
| | | | svn:r837
* let getconfig survive repeated calls. now we call it again when we hup.Roger Dingledine2003-11-13
| | | | | | | | change RecommendedVersions into a config option, so dirservers can hup for a new one svn:r809
* make dir parsing robust to invalid but well-formed descriptorsRoger Dingledine2003-11-12
| | | | svn:r800
* Clock skew fixes.Nick Mathewson2003-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* move closer to being able to reload config on HUPRoger Dingledine2003-10-21
| | | | | | | | rename APPort to SocksPort introduce new tor_free() macro svn:r642
* fix two more memory problemsRoger Dingledine2003-10-18
| | | | | | | one remains :) svn:r621
* put a blank line in the directory, before the first routerRoger Dingledine2003-10-17
| | | | | | | this makes it easier to read (at least for me) svn:r613