Roger Dingledine
|
5f051574d5
Happy new year!
|
před 18 roky |
Nick Mathewson
|
50e1005327
Only v1 authorities get hidden service descriptors with current protocol
|
před 18 roky |
Roger Dingledine
|
640882c76c
clean up tabs and wide-lines from weasel's commit
|
před 18 roky |
Roger Dingledine
|
4c1fa73c7e
typos and nits
|
před 18 roky |
Peter Palfrader
|
94fb3f06b3
Fix compiler warning on 64 bit archs
|
před 18 roky |
Peter Palfrader
|
390bbb0a0c
Try to make tor work better through squid: Limit number of descriptors we fetch
|
před 18 roky |
Roger Dingledine
|
1800fbe486
don't warn when we receive a 503 from a dirserver/cache -- this
|
před 18 roky |
Roger Dingledine
|
f6084cf831
Jan 18 18:42:05.671 [debug] Encountered eof
|
před 18 roky |
Nick Mathewson
|
2dd566d5d5
Indirect access to the signed_descriptor field to make it easier to keep them lazily on disk.
|
před 18 roky |
Nick Mathewson
|
bef879540a
#undef FOO is cleaner than #define FOO_XX
|
před 18 roky |
Nick Mathewson
|
2fda7140e8
Fix bug 221 and bug 201: For 221, check return value from connection_add() when adding a rendezvous post connection. For 201, do not include a content-length 0 with a GET request.
|
před 18 roky |
Nick Mathewson
|
bec9b705cc
Instrument directory client bytes as well as server bytes.
|
před 18 roky |
Nick Mathewson
|
10100c4315
Make instrmentation code a little cleaner.
|
před 18 roky |
Roger Dingledine
|
fa05c1b21b
remove the loud logging of busted rendezvous descriptors
|
před 18 roky |
Nick Mathewson
|
ff9cfa9644
Instrument how many directory bytes we are serving in what kind of request.
|
před 18 roky |
Nick Mathewson
|
50b6b3258d
Dont call directory_get_from_dirserver when you have a particular dirserver in mind; remove fetch-from-authority special-case in directory_get_from_dirserver.
|
před 18 roky |
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.)
|
před 18 roky |
Roger Dingledine
|
2904c6f024
log how big the failed rend descriptor is, and if it's small, log
|
před 18 roky |
Roger Dingledine
|
14ea2e0b56
when we reject a rend descriptor, tell us where it came from.
|
před 18 roky |
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.
|
před 18 roky |
Roger Dingledine
|
a2186b9999
fix a ! that got left out
|
před 18 roky |
Roger Dingledine
|
dadcb19d17
fix typo
|
před 18 roky |
Nick Mathewson
|
713c995adb
Do not mark directories as down simply because they dont have the router descs we want.
|
před 18 roky |
Nick Mathewson
|
ce71b17224
Clean fake_status a bit. Switch from has_fetched_directory to have_minimum_dir_info, and make the latter function smarter.
|
před 18 roky |
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.
|
před 18 roky |
Nick Mathewson
|
1af630d32c
Bite the bullet and limit all our source lines to 80 characters, the way IBM intended.
|
před 18 roky |
Roger Dingledine
|
58366ffd24
when we changed from log_fn to debug/info/notice/warn/err,
|
před 18 roky |
Roger Dingledine
|
9b0a40ec78
crank the max line limit down to 150 chars.
|
před 18 roky |
Nick Mathewson
|
39265dd72e
In my private little universe, terminals are still 80 columns. Impose a 160-character-per-line limit; this will creep down.
|
před 18 roky |
Roger Dingledine
|
98f353fa7c
actually listen when we try to route our dir connection via tor.
|
před 18 roky |