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
|
b70c229f6e
make some functions static; clean dead networkstatus entries more often.
|
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
|
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
|
7c6679d8dc
Add new config.c function to set options that can fail, and roll back if they do. This should solve the setconf-an-impossible-port bug.
|
20 years ago |
Nick Mathewson
|
6aa8850d90
note that routerstatus_t.entries is sorted.
|
20 years ago |
Roger Dingledine
|
1f930a9a70
checkpoint: clean up and document the three ways to call config_assign()
|
20 years ago |
Nick Mathewson
|
4efa652a98
add docs, fix whitespace, and make ANY rule in routerparse a little tighter.
|
20 years ago |
Roger Dingledine
|
63bb27f19d
be more thorough about noticing when a directory request has failed:
|
20 years ago |
Nick Mathewson
|
3dc5e77b58
Numerous changes to move towards client-side v2 directories.
|
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 |
Roger Dingledine
|
022f23249f
make doxygen output look prettier
|
20 years ago |
Nick Mathewson
|
f50ddfd4dd
Download network-status at regular intervals. The code is probably iffy, and the constants need to be renamed.
|
20 years ago |
Roger Dingledine
|
0a8a8ba546
fix some typos
|
20 years ago |
Nick Mathewson
|
4aca47268d
Logic to launch connections for new directory types.
|
20 years ago |
Nick Mathewson
|
eac917fd6a
clean whitespace.
|
20 years ago |
Nick Mathewson
|
5c6c88e76d
More stuff for new directories.
|
20 years ago |
Nick Mathewson
|
1e37ec4782
Comment structs, reload a field, start making network status caches work
|
20 years ago |
Roger Dingledine
|
33b2abbc90
remove redundant logs about unreachable servers
|
20 years ago |
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.
|
20 years ago |
Roger Dingledine
|
1b04f38145
subtle change to avoid some false positives:
|
20 years ago |
Roger Dingledine
|
711cad94ed
when we think a router is unreachable, pass the message back to the
|
20 years ago |
Roger Dingledine
|
4240410a9d
don't whine about reachability if the guy is hibernating now.
|
20 years ago |
Roger Dingledine
|
e9524f9d2d
refactor -- no actual changes
|
20 years ago |
Nick Mathewson
|
26d2301c76
Make unit tests (and others) run without launching listeners, creating subdirectories, and so on.
|
20 years ago |
Nick Mathewson
|
e24d540d81
We no longer need dirserv_load_from_directory_string, so dirserv_add_descriptor no longer has to keep track of where each descriptor ends.
|
20 years ago |