| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
likely to be used.
svn:r5471
|
|
|
|
|
|
| |
but others might.)
svn:r5389
|
|
|
|
|
|
| |
superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
svn:r5349
|
|
|
|
|
|
| |
entry. (Found by Lasse)
svn:r5327
|
|
|
|
| |
svn:r5317
|
|
|
|
|
|
| |
domain. Domains are now bitmasks... just in case. Make some err msgs non-general.
svn:r5309
|
|
|
|
|
|
| |
interface; use new circ_log_path interface
svn:r5302
|
|
|
|
| |
svn:r5283
|
|
|
|
|
|
| |
responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
svn:r5249
|
|
|
|
| |
svn:r5212
|
|
|
|
| |
svn:r5172
|
|
|
|
|
|
| |
when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download.
svn:r5166
|
|
|
|
| |
svn:r5147
|
|
|
|
| |
svn:r5101
|
|
|
|
| |
svn:r5100
|
|
|
|
| |
svn:r5098
|
|
|
|
|
|
| |
remaining: the "give up forever" bug.
svn:r5090
|
|
|
|
|
|
| |
calculation. Make sure there are no duplicates in router status lists.
svn:r5088
|
|
|
|
| |
svn:r5083
|
|
|
|
| |
svn:r5082
|
|
|
|
|
|
| |
some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
svn:r5070
|
|
|
|
|
|
| |
others, and status_set_at from routerinfo_t. Compress routerlist.c cleanup functions. Update cached networkstatus mtime when we download the same one twice. Change some interfaces.
svn:r5068
|
|
|
|
|
|
| |
actually used for anything?
svn:r5064
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only caches need to get running-routers; nobody needs to parse, store,
or use it. Same for the router-status line in the directories. Add
many #if 0's that can get removed once I'm convinced they don't
contain anything I'm forgetting.
Start all newly-parsed routers as non-running and non-valid; update
them from the list of network statuses.
Update all routers when a new networkstatus comes in.
After 3 tries for a networkstatus, clients give up until they're told
to try again.
"Let's get those missles ready to **DESTROY THE UNIVERSE**!"
-TMBG
svn:r5063
|
|
|
|
| |
svn:r5031
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
connection.c:
- Add some more connection accessor functions to make directory
download redundancy checking work.
directory.c, or.h, router.c, routerlist.c:
- Start on logic to note when networkstatus downloads fail.
dirserv.c, routerlist.c, routerparse.c:
- Start maintaining an is_named field in routerstatus_t. Don't
actually look at it yet.
dirserv.c, routerlist.c:
- Remove expired networkstatus objects.
or.h:
- Make some booleans into bitfields
- Add prototypes
routerlist.c:
- Sort networkstatus list by publication time
- Function to remove old (older than 10 days) networkstatus objects.
- Function to set a list of routerinfo_ts' status info from the
current set of networkstatus objects.
- Function to tell which routerinfos we need to download based no the
current set of networkstatus objects.
- Do not launch a networkstatus download if a redundant one is in progress.
routerparse.c:
- Keep router entries in networkstatus sorted by digest.
svn:r5012
|
|
|
|
| |
svn:r5007
|
|
|
|
| |
svn:r4996
|
|
|
|
| |
svn:r4947
|
|
|
|
| |
svn:r4939
|
|
|
|
| |
svn:r4938
|
|
|
|
| |
svn:r4937
|
|
|
|
| |
svn:r4936
|
|
|
|
|
|
| |
networkstatus format
svn:r4933
|
|
|
|
| |
svn:r4912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Distinguish v1 authorities (all currently trusted directories) from
v2 authorities (all trusted directories).
- Add configuration option for which dirs are v1 authories.
- Add configuration option for whether to be a v1 authority.
- Make trusted dirserver selection functions take options to
choose which functionality we need.
- Remove option when getting directory cache to see whether they
support running-routers; they all do now. Replace it with one
to see whether caches support v2 stuff.
- Parse, cache, and serve network-status objects properly.
- Serve compressed groups of router descriptors. The compression logic
here could be more memory-efficient.
-
svn:r4911
|
|
|
|
| |
svn:r4908
|
|
|
|
|
|
| |
functions to parse them. Re-do the parsing logic a litt.e. Change signatures in or.h to support new DNS TTL logic.
svn:r4898
|
|
|
|
| |
svn:r4888
|
|
|
|
|
|
| |
routerparse.c along with the hash generation logic; make router signing use it as well.
svn:r4840
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Probably very buggy, since I can't actually run an authdir.
Features
- Generate and publish new network-status format
- Code to cache and re-serve network-status objects generated by others.
- Publish individual descriptors (by fingerprint, by "all", and by
"tell me yours.") [Still needs compression logic]
- Publish client and server recommended versions seprately.
- Add digest of descriptor to routerinfo_t, so we can track them better, and
length, so we can server them more easily.
Cleanups
- Unify code to sign directory-like things
- Make resolve_my_address() able to tell you which name it wound up resolving.
- Unify code to store and serve directory-like things so it all uses
cached_dir_t.
- Unify code to set the value of cached_dir_t objects.
svn:r4835
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tor server, and only list them as running if they've been found to
be reachable.
Dirservers also log trouble servers, but only start complaining loudly
after they've been up for an hour, to reduce false positives. We still
need to do something about the fact that it is quite loud when there
are many trouble servers.
svn:r4829
|
|
|
|
|
|
|
|
|
|
| |
it if it's not.
(this also fixes some potential security problems with people providing
hostnames as their address and then preferentially resolving them and
partitioning users.)
svn:r4790
|
|
|
|
| |
svn:r4755
|
|
|
|
|
|
| |
understands address policies.
svn:r4751
|
|
|
|
| |
svn:r4746
|
|
|
|
| |
svn:r4480
|
|
|
|
| |
svn:r4435
|
|
|
|
|
|
| |
function definition format uniform.
svn:r4411
|
|
|
|
| |
svn:r4404
|