Nick Mathewson
|
f0fb9f6b0c
Directory authorities should go to the proper authority when asking for a networkstatus, even when they want a compressed one. (Also, bullet-proof the logic in case we ever accidentally request a networkstatus for a non-authority.)
|
20 years ago |
Roger Dingledine
|
2904c6f024
log how big the failed rend descriptor is, and if it's small, log
|
20 years ago |
Roger Dingledine
|
14ea2e0b56
when we reject a rend descriptor, tell us where it came from.
|
20 years ago |
Nick Mathewson
|
ece9865020
Implement new directory logic: download by descriptor digest, not by key digest. Caches try to download all listed digests from authorities; clients try to download "best" digests from caches.
|
20 years ago |
Roger Dingledine
|
a2186b9999
fix a ! that got left out
|
20 years ago |
Roger Dingledine
|
dadcb19d17
fix typo
|
20 years ago |
Nick Mathewson
|
713c995adb
Do not mark directories as down simply because they dont have the router descs we want.
|
20 years ago |
Nick Mathewson
|
ce71b17224
Clean fake_status a bit. Switch from has_fetched_directory to have_minimum_dir_info, and make the latter function smarter.
|
20 years ago |
Nick Mathewson
|
9482b1b9d5
Choose directory servers from routerstatus list, not from routerinfo list. This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories.
|
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 |
Roger Dingledine
|
58366ffd24
when we changed from log_fn to debug/info/notice/warn/err,
|
20 years ago |
Roger Dingledine
|
9b0a40ec78
crank the max line limit down to 150 chars.
|
20 years ago |
Nick Mathewson
|
39265dd72e
In my private little universe, terminals are still 80 columns. Impose a 160-character-per-line limit; this will creep down.
|
20 years ago |
Roger Dingledine
|
98f353fa7c
actually listen when we try to route our dir connection via tor.
|
20 years ago |
Roger Dingledine
|
5c949fce51
Start obeying our firewall options more rigorously:
|
20 years ago |
Nick Mathewson
|
b76f61ee66
If we stop knowing about a dirserver between request and answer, do not die.
|
20 years ago |
Nick Mathewson
|
75d85c8214
On directory servers, old_routers was wasting hundreds of bytes per superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
|
20 years ago |
Roger Dingledine
|
40ecaf4857
answer nick's XXX, and muck with some log domain choices
|
20 years ago |
Nick Mathewson
|
267af9ecf9
Fix a fun bug that was probably causing unnecessary downloads, and that coupld possibly have caused some segfaults: When post-processing a split fingerprint URL, we were trying to base16_decode() entries already in the fingerprint list, failing, and removing them. Ow.
|
20 years ago |
Nick Mathewson
|
5d85560d9e
Remove last vestiges of old logging interface.
|
20 years ago |
Nick Mathewson
|
e7e170a59e
Change more files to new loggin interface. 3 left.
|
20 years ago |
Nick Mathewson
|
81dd50a942
Fix memory leak when retrieving networkstatus or routerdesc by malformed fingerprint
|
20 years ago |
Peter Palfrader
|
d8daa910a6
Make dirserv_get_routerdescs() return better http 404 error messages instead of a generic "Servers unavailable."
|
20 years ago |
Peter Palfrader
|
64a631e187
Some http status lines ended in a dot, others did not. Make it all the same and remove the period from all
|
20 years ago |
Peter Palfrader
|
0d9aedfcea
Downgrade a few INFO level logs to DEBUG again. Also add two or three new
|
20 years ago |
Roger Dingledine
|
435fb973c2
when providing content-type application/octet-stream for providing
|
20 years ago |
Peter Palfrader
|
7b15f77dd6
Make a few INFO log lines into DEBUG
|
20 years ago |
Nick Mathewson
|
6101468cbe
Enable trivial "download by descriptor digest" functionality.
|
20 years ago |
Nick Mathewson
|
998cf8d622
Try to extract as many descriptors as possible from truncated http responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
|
20 years ago |
Nick Mathewson
|
11b76b9ca5
Allow tor_gzip_uncompress to extract as much as possible from truncated compressed data. Also, fix a bug where truncated compressed data could break tor_gzip_uncompress. [This last part is a backport candidate.]
|
20 years ago |