Roger Dingledine
|
cf6ba3e76f
let an authdir that's not a naming authdir start even
|
19 years ago |
Nick Mathewson
|
fb7b5545ce
Implement GETINFO(dir/server/foo); status will be harder.
|
19 years ago |
Peter Palfrader
|
a4ec555228
change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LEN
|
19 years ago |
Peter Palfrader
|
2ef8f772a1
Fix an off-by-one buffer size in dirserv.c that magically never hit our
|
19 years ago |
Nick Mathewson
|
474c60b743
Cleanup on time-relaqted constants. New conventions:
|
19 years ago |
Roger Dingledine
|
b67a5ba498
lower the reachability timeout, so we're more likely to act
|
19 years ago |
Roger Dingledine
|
1fc5eb329b
We screwed up in anticipating how to add new dirservers:
|
19 years ago |
Nick Mathewson
|
4d3e709c4b
Use escaped() for remaining cases.
|
19 years ago |
Nick Mathewson
|
1ce3713889
Possible bug 265 fix: authorities must be more strict than clients about age of acceptable routers; make routers publish every 12 hours; client ROUTER_MAX_AGE must be greater than NETWORKSTATUS_MAX_AGE+authoirty ROUTER_MAX_AGE.
|
19 years ago |
Nick Mathewson
|
5777ee0e1a
Add some functions to escape values from the network before sending them to the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
|
19 years ago |
Roger Dingledine
|
aa63a84fe1
the things we do for our windows users.
|
19 years ago |
Roger Dingledine
|
5f051574d5
Happy new year!
|
19 years ago |
Nick Mathewson
|
e5a574ce2e
Move "sort list of versions" logic into routerparse.c; make version-checking code say which versions it would have accepted. (not tested.)
|
20 years ago |
Roger Dingledine
|
6535087845
when building v2 statuses or v1 running-routers, don't admit the
|
20 years ago |
Nick Mathewson
|
bfe285be61
Add a missing printf arg
|
20 years ago |
Nick Mathewson
|
9f42c9d650
Make dirservers generate a separate "guard" flag to mean, "would make a good entry guard". Make clients parse it and vote on it.
|
20 years ago |
Nick Mathewson
|
2dd566d5d5
Indirect access to the signed_descriptor field to make it easier to keep them lazily on disk.
|
20 years ago |
Nick Mathewson
|
5c78c89471
Appease verbose gcc warning: make dirserv_compute_stable_uptime() static.
|
20 years ago |
Roger Dingledine
|
c8e6003412
balance the reachability testing so a smidgen of it happens
|
20 years ago |
Nick Mathewson
|
43a4f8c7f3
Be more aggressive about throwing away expired router descriptors: they are of no use to anybody. Better still: dont serve expired descriptors by fingerprint. The only people who ask for them are busted 0.1.1.10 Tors that will throw them away and re-request them after 30 minutes.
|
20 years ago |
Nick Mathewson
|
5d709e8517
Fix bug in last commit. Also, fix bug 231: authorities should never treat their own descriptor changes as cosmetic.
|
20 years ago |
Nick Mathewson
|
e30516f33f
Fix bug 236: caches should cache up to 16 unrecognized network-status docs.
|
20 years ago |
Roger Dingledine
|
f8a59965a1
cleanups, and remove some unreachable code.
|
20 years ago |
Roger Dingledine
|
485aa9415d
authdirs now stop whining so loudly about bad descriptors that they fetch
|
20 years ago |
Roger Dingledine
|
9af33ef39c
when we choose not to use a server descriptor from our cache, don't
|
20 years ago |
Roger Dingledine
|
2efa056777
make the "stable" flag in network-status be the median of the uptimes
|
20 years ago |
Nick Mathewson
|
89eded7b17
Add "panic" option to reject all servers not in fingerprint list.
|
20 years ago |
Nick Mathewson
|
280c62314e
Make clients look at the fast and stable flags in networkstatus, not at the bandwidth and uptime declared in the router descriptors.
|
20 years ago |
Nick Mathewson
|
24e79df0b6
Whitespace fixes; comments.
|
20 years ago |
Nick Mathewson
|
1af630d32c
Bite the bullet and limit all our source lines to 80 characters, the way IBM intended.
|
20 years ago |