Nick Mathewson
|
cdc912714e
I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
|
20 years ago |
Roger Dingledine
|
1cfcc4b351
clean up misleading comment on authdir_wants_to_reject_router()
|
20 years ago |
Nick Mathewson
|
20b9111266
Implement new version handling code.
|
20 years ago |
Roger Dingledine
|
19f04ae9c3
make router_is_general_exit match its documentation
|
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
|
9c2ca40df3
Unify our "figure out which fingerprints we were downloading" code.
|
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
|
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
|
bc0af7046a
Oops. directory_set_dirty() needs to mark networkstatus as dirty too.
|
20 years ago |
Nick Mathewson
|
922cee3d0c
Clean up a few warnings that make gcc twig out a bit.
|
20 years ago |
Nick Mathewson
|
4efa652a98
add docs, fix whitespace, and make ANY rule in routerparse a little tighter.
|
20 years ago |
Roger Dingledine
|
82b3b6249c
fix a seg fault if we ask an authdirserver for a descriptor by
|
20 years ago |
Roger Dingledine
|
569efe61c0
make the patch less likely to bite us later
|
20 years ago |
Nick Mathewson
|
39e29738b1
Maybe I should pay more attention to return values and less to clever comments. Fortunately, the aforementioned comments came out against smacking upside the head.
|
20 years ago |
Nick Mathewson
|
a6271650d5
Versions should be sorted by version. Lexical sorting should be used only as a last resort.
|
20 years ago |
Roger Dingledine
|
689cb28098
when writing the recommended*versions lines, sort them first.
|
20 years ago |
Nick Mathewson
|
3dc5e77b58
Numerous changes to move towards client-side v2 directories.
|
20 years ago |
Nick Mathewson
|
dcf1e14190
downgrade warning to info
|
20 years ago |
Nick Mathewson
|
0de64f224e
Warn in more detail when network-status serving and fetching fails. Also, fix a small leak.
|
20 years ago |
Nick Mathewson
|
a938190bdb
Iteration is happier when you stop.
|
20 years ago |
Nick Mathewson
|
4528bbfd9f
Resolve some XXXs. Add some others.
|
20 years ago |
Nick Mathewson
|
c523e106b5
Do not generate more than 2 of each directory type per minute.
|
20 years ago |
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.
|
20 years ago |
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.
|
20 years ago |
Nick Mathewson
|
6c4d43c724
Special-case for retrieving own networkstatus by fingerprint: regenerate if dirty!
|
20 years ago |
Nick Mathewson
|
eab005c948
Ensure case match, not mismatch.
|
20 years ago |
Nick Mathewson
|
548a863779
Avoid assertion failure
|
20 years ago |