Nick Mathewson
|
c66e4c4870
Flush more changes from sandbox
|
20 years ago |
Nick Mathewson
|
d6e47bec46
Keep a deflated version of each directory so we can deliver it when requested
|
20 years ago |
Nick Mathewson
|
bcf8ca5ba6
Check for time skew on http headers; report date in response to "GET /".
|
20 years ago |
Nick Mathewson
|
f6cc218742
Refactor ISO-style (yyyy-mm-dd hh:mm:ss) time parsing into util.c; rename format/parse_rfc1123_time; make rephist remember used bandwidth; published used bandwidth in descriptors in 15-minute chunks. Breaks unittests.
|
20 years ago |
Nick Mathewson
|
3ca2728eb2
(size_t)-1 is never < 0; fix an XXXX008 by changing the interface for dirserv_get_runningrouters
|
20 years ago |
Nick Mathewson
|
630e1e4b44
Hack: Include date with successful directory GETs.
|
20 years ago |
Roger Dingledine
|
aebec8ab9e
stop using atexit() to remove our pid, since it's called
|
20 years ago |
Roger Dingledine
|
906d1aa99f
caching dirservers don't handle posts, running-routers, or rend descs
|
20 years ago |
Roger Dingledine
|
73ffcc5cef
add a new advertised_server_mode() to distinguish ORs that
|
20 years ago |
Roger Dingledine
|
f54224ab35
clients can now pick non-authdirservers for fetching directories.
|
20 years ago |
Roger Dingledine
|
b4d4a961b1
break connection_dir_client_finished_reading() into its own function
|
20 years ago |
Roger Dingledine
|
a3aaff34b7
why does gcc not warn me about this at all? that's evil.
|
20 years ago |
Roger Dingledine
|
2325050b1b
tor now tolerates down dirservers better
|
20 years ago |
Nick Mathewson
|
7d8de8cd10
More digest/nickname fixes
|
20 years ago |
Nick Mathewson
|
541add90a1
Track routers by hash of identity key; use hex hash of identity key in place of nickname; accept (and use) hash of identity key in EXTEND cells.
|
20 years ago |
Roger Dingledine
|
f42f04c859
cleanups on 008pre1 items
|
20 years ago |
Nick Mathewson
|
76f769deb9
Remaining 008pre1 items done; deferred where more design is needed.
|
20 years ago |
Roger Dingledine
|
ba5d48e852
router->is_trusted_dir implies router->dir_port>0
|
20 years ago |
Nick Mathewson
|
65e26bae3d
Check directory signatures based on name of signer, not on whom we got the directory from.
|
20 years ago |
Roger Dingledine
|
011ccbbf8d
crank up some of our constants, for better scalability
|
20 years ago |
Nick Mathewson
|
50b7ebcf9e
Make directory functions update routerlist, not replace it. Add notion of OR-is-trusted-to-be-a-dirserver. Arma, please review: does this handle being a dirserver right?
|
20 years ago |
Roger Dingledine
|
5ba9235873
clean up directory.c API
|
20 years ago |
Roger Dingledine
|
1cf1836990
break connection_edge_end out of connection_mark_for_close
|
20 years ago |
Roger Dingledine
|
7ee6194f3a
break part of circuit.c into relay.c
|
20 years ago |
Nick Mathewson
|
f1bc7af9f5
Make "connected" a different case from "finished_flushing"; always close_immediate whhen connect() fails.
|
20 years ago |
Nick Mathewson
|
81922a125c
More doxygenation.
|
20 years ago |
Roger Dingledine
|
c6d4a00c5f
more doxygen markup
|
20 years ago |
Roger Dingledine
|
b384c5a18d
bugfix: do directory_send_command only after we've established a socket
|
20 years ago |
Roger Dingledine
|
d4efa475a1
forward-port header-length-increase patch
|
20 years ago |
Roger Dingledine
|
9bf9ca4d09
bugfix: add a circ->resolving_streams field, and make dns resolving streams not actually in the connection_array until they're done resolving.
|
20 years ago |