Nick Mathewson
|
05bab28c7d
Add some (notice, for now) log messages that imply confusing things are happening.
|
před 20 roky |
Nick Mathewson
|
e72e76cad6
Make authdirs smarter. Reject/invalidate by key and IP. Remember that not every authdir has to be a naming authdir.
|
před 20 roky |
Nick Mathewson
|
ed21abfe87
And some documentation before bed.
|
před 20 roky |
Nick Mathewson
|
b70c229f6e
make some functions static; clean dead networkstatus entries more often.
|
před 20 roky |
Nick Mathewson
|
b16048917c
Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
|
před 20 roky |
Nick Mathewson
|
e83e1df811
separate validation from naming in authoritative directory servers; simplify some router-management code.
|
před 20 roky |
Nick Mathewson
|
d4e0af7822
Fix a bunch of log messages. Deprecate some routerlist fields; remove 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.
|
před 20 roky |
Nick Mathewson
|
27bbfe9dcf
Would you believe that the software_versions field of routerlist_t was never actually used for anything?
|
před 20 roky |
Nick Mathewson
|
e3adcbdb95
Big commit: clients start downloading and using network-statuses.
|
před 20 roky |
Nick Mathewson
|
d9ee94543e
Declare 0.1.1.7 as The Version With The Good Dirservers.
|
před 20 roky |
Nick Mathewson
|
890847d232
I forgot -- smart kids make their code compile.
|
před 20 roky |
Nick Mathewson
|
4efa652a98
add docs, fix whitespace, and make ANY rule in routerparse a little tighter.
|
před 20 roky |
Nick Mathewson
|
76351b8416
Fix DOCDOC entries in routerlist.c. Make more functions use SMARTLIST_FOREACH instead of raw loops. Replace router_list_superseded implementation with one that has a prayer of working.
|
před 20 roky |
Nick Mathewson
|
29c57b54d4
Add functions to extend and compress new router store logic. (Basic idea: use a journal of newly received router descriptors, and periodically replace the old file. This avoids the "too many files" problem and the "too many rewrites" problem.)
|
před 20 roky |
Nick Mathewson
|
3dc5e77b58
Numerous changes to move towards client-side v2 directories.
|
před 20 roky |
Roger Dingledine
|
b0a5ba4248
downgrade the dirserver log messages when whining about unreachability
|
před 20 roky |
Nick Mathewson
|
d410c49965
Clean up some more fingerprint-checking logic
|
před 20 roky |
Roger Dingledine
|
e28931dc94
unused variable
|
před 20 roky |
Nick Mathewson
|
4528bbfd9f
Resolve some XXXs. Add some others.
|
před 20 roky |
Nick Mathewson
|
18e4d78354
Fix an assert in directory.c. Check received network-status objects against the list we expected to get. Do not let anyone else update our network-status object.
|
před 20 roky |
Nick Mathewson
|
059148f588
Only caches download network-status for now, and they use a different strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint.
|
před 20 roky |
Nick Mathewson
|
df79dc673b
Remove sneaky double declaration.
|
před 20 roky |
Nick Mathewson
|
0f94aa2ea1
Write status to disk in the right place
|
před 20 roky |
Nick Mathewson
|
1e2f1679c8
Fix some more bugs; add a temporary log.
|
před 20 roky |
Nick Mathewson
|
3a99927859
Make directory download code slightly less likely to segfault or assert.
|
před 20 roky |
Nick Mathewson
|
f50ddfd4dd
Download network-status at regular intervals. The code is probably iffy, and the constants need to be renamed.
|
před 20 roky |
Nick Mathewson
|
9e76eae810
add missing return
|
před 20 roky |
Nick Mathewson
|
5c6c88e76d
More stuff for new directories.
|
před 20 roky |
Nick Mathewson
|
1e37ec4782
Comment structs, reload a field, start making network status caches work
|
před 20 roky |
Nick Mathewson
|
815c092b22
Make structs for (v2) network-status and its per-router components. Add functions to parse them. Re-do the parsing logic a litt.e. Change signatures in or.h to support new DNS TTL logic.
|
před 20 roky |