| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r951
|
|
|
|
| |
svn:r949
|
|
|
|
| |
svn:r926
|
|
|
|
| |
svn:r925
|
|
|
|
| |
svn:r907
|
|
|
|
| |
svn:r890
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r837
|
|
|
|
|
|
|
|
| |
change RecommendedVersions into a config option, so dirservers can hup
for a new one
svn:r809
|
|
|
|
| |
svn:r800
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
rename APPort to SocksPort
introduce new tor_free() macro
svn:r642
|
|
|
|
|
|
|
| |
one remains :)
svn:r621
|
|
|
|
|
|
|
| |
this makes it easier to read (at least for me)
svn:r613
|
|
|
|
|
|
|
| |
and fix a few typos
svn:r571
|
|
|
|
| |
svn:r538
|
|
|
|
| |
svn:r527
|
|
|
|
| |
svn:r516
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve debugging output on fingerprint checking.
Make sure to add our own fingerprint to the fingerprint list _before_
adding our own descriptor, or else we'll reject ourself.
Don't call a directory invalid just because we have a newer descriptor
for some router.
Use router_get_dir_hash to generate hashes for signed directories.
Make sure we add our own descriptor successfully.
Don't fall-through on failed base64-endode.
svn:r514
|
|
|
|
|
|
|
|
| |
we now add our own descriptor to the descriptor list
and we rebuild the directory (and dump to disk) after receiving a POST
svn:r509
|
|
|
|
|
|
|
|
|
|
|
| |
fix a variety of seg faults
don't try to list OPs in running-routers
write cached-directory to disk when rebuilding the dir
on boot, dirservers load approved-routers file
on boot, dirservers load cached directory file
svn:r508
|
|
|
|
|
|
|
| |
still not finished integrating new dirserv stuff
svn:r507
|
|
|
|
| |
svn:r506
|
|
svn:r503
|