Nick Mathewson
|
283032960d
Make give-up-on-failure actually work: it seems the servers gave me a real test case.
|
20 years ago |
Nick Mathewson
|
d118d5069a
Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug.
|
20 years ago |
Nick Mathewson
|
87f6d526fe
Refactor new directory code a bit. Keep a big list of rolled-up router status info, including # of download failures (not yet used). Update this list from networkstatuses when they arrive, then update routers from this list. Only download 128 routers at a time, to avoid gargantuan URLs.
|
20 years ago |
Nick Mathewson
|
e86893e87b
Move to new base64 digest functions. Switch to new router digest calculation. Make sure there are no duplicates in router status lists.
|
20 years ago |
Nick Mathewson
|
f8a80e8d59
Helper functions to perform our truncated base64 encoding on hexdigests.
|
20 years ago |
Nick Mathewson
|
312af36126
Make smartlist_add_all more efficient.
|
20 years ago |
Nick Mathewson
|
d69089fc64
Specify exactly what we meant by "the digest of a descriptor". Fortunately, we dont depend on it being right yet.
|
20 years ago |
Nick Mathewson
|
f859e34fb9
add a couple of directory items
|
20 years ago |
Nick Mathewson
|
1fbe499bfe
Remove a bunch of #if0d code that I no longer need to look at.
|
20 years ago |
Nick Mathewson
|
6d15a73548
Resolve/expand some XXXXs and improve a log message or two
|
20 years ago |
Roger Dingledine
|
cce469c5ce
simplify
|
20 years ago |
Nick Mathewson
|
538740e362
Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.
|
20 years ago |
Nick Mathewson
|
d45badd9f4
Add a missing return
|
20 years ago |
Nick Mathewson
|
1a786a297f
Fix the confusing bug where we were downloading only the first n/2-1 of the servers we actually wanted.
|
20 years ago |
Nick Mathewson
|
9c2ca40df3
Unify our "figure out which fingerprints we were downloading" code.
|
20 years ago |
Nick Mathewson
|
05bab28c7d
Add some (notice, for now) log messages that imply confusing things are happening.
|
20 years ago |
Nick Mathewson
|
51da58eccf
fix braino in dirserv.
|
20 years ago |
Nick Mathewson
|
e72e76cad6
Make authdirs smarter. Reject/invalidate by key and IP. Remember that not every authdir has to be a naming authdir.
|
20 years ago |
Nick Mathewson
|
ed21abfe87
And some documentation before bed.
|
20 years ago |
Nick Mathewson
|
b70c229f6e
make some functions static; clean dead networkstatus entries more often.
|
20 years ago |
Nick Mathewson
|
3dcc4630b9
Make unittests not die
|
20 years ago |
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.
|
20 years ago |
Nick Mathewson
|
e83e1df811
separate validation from naming in authoritative directory servers; simplify some router-management code.
|
20 years ago |
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.
|
20 years ago |
Nick Mathewson
|
6973ef9be4
Add a touch_file() function to compat so we can update cache mtimes.
|
20 years ago |
Nick Mathewson
|
bc0af7046a
Oops. directory_set_dirty() needs to mark networkstatus as dirty too.
|
20 years ago |
Roger Dingledine
|
b903b98e03
tweak punctuation
|
20 years ago |
Nick Mathewson
|
27bbfe9dcf
Would you believe that the software_versions field of routerlist_t was never actually used for anything?
|
20 years ago |
Nick Mathewson
|
e3adcbdb95
Big commit: clients start downloading and using network-statuses.
|
20 years ago |
Nick Mathewson
|
922cee3d0c
Clean up a few warnings that make gcc twig out a bit.
|
20 years ago |