Nick Mathewson
|
afd8b650ee
hex-to-hex compare makes more sense than hex-to-bin.
|
21 years ago |
Roger Dingledine
|
a1041154eb
fix const char * vs char * issue
|
21 years ago |
Nick Mathewson
|
9c49947163
Check fingerprint list before generating running-routers lists; also add as-yet-uncalled function to update an OR connection nickname on the fly
|
21 years ago |
Nick Mathewson
|
43ef5a3e37
Add long-term format for dir-signing-key fields (commented out)
|
21 years ago |
Nick Mathewson
|
c7e8c2098a
Include a dir-signing-key token in directories to tell the parsing entity which key is being used to sign. This is the first step in obsoleting the dirservers file.
|
21 years ago |
Nick Mathewson
|
ce3162d035
Make base-64-encoded DER work, including workaround for ugly openssl misfeature that makes base64 decoding fail when you strip out the newlines.
|
21 years ago |
Nick Mathewson
|
2bba65148b
Refactor fingerprint handling: remember hex digests (no spaces) instead of beautified fingerprints
|
21 years ago |
Nick Mathewson
|
9e8ae9766e
Only check versions against downloaded directories, not cached directories.
|
21 years ago |
Roger Dingledine
|
3f4b544b77
use size_t rather than int for directory lengths in memory
|
21 years ago |
Roger Dingledine
|
136d4e5739
prefer tor_free to free
|
21 years ago |
Roger Dingledine
|
a31ba30ae6
if our local cached directory is new enough, go ahead and
|
21 years ago |
Roger Dingledine
|
4b3001a08c
fix some local buffer overflows
|
21 years ago |
Nick Mathewson
|
d20d10f360
If we are an authoritative dirserver, check out the fingerprint list when setting connection nicknames
|
21 years ago |
Roger Dingledine
|
9f9f0e5edd
fix another bug with cached compressed directories
|
21 years ago |
Roger Dingledine
|
d0edf8e8b5
fix two bugs with cached directories:
|
21 years ago |
Roger Dingledine
|
185b9fddf2
protect dirservers from overzealous descriptor uploading
|
21 years ago |
Nick Mathewson
|
c20b24c952
clean up/bugfix deflate logic and log messages
|
21 years ago |
Nick Mathewson
|
0ef85f6dba
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
|
21 years ago |
Nick Mathewson
|
c66e4c4870
Flush more changes from sandbox
|
21 years ago |
Nick Mathewson
|
d6e47bec46
Keep a deflated version of each directory so we can deliver it when requested
|
21 years ago |
Roger Dingledine
|
7506cce649
stop wasting cpu time on authdirservers
|
21 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.
|
21 years ago |
Roger Dingledine
|
e95ae1c9ad
let purging routerinfos and descriptors take an age argument
|
21 years ago |
Nick Mathewson
|
3ca2728eb2
(size_t)-1 is never < 0; fix an XXXX008 by changing the interface for dirserv_get_runningrouters
|
21 years ago |
Roger Dingledine
|
1d41c0ee35
note a bug that adam found
|
21 years ago |
Nick Mathewson
|
5b61dd0457
Fix all warnings on win32 build
|
21 years ago |
Roger Dingledine
|
a328aab316
clean whitespace and tabs
|
21 years ago |
Roger Dingledine
|
aebec8ab9e
stop using atexit() to remove our pid, since it's called
|
21 years ago |
Nick Mathewson
|
7b4865ec33
Add notion of "longest nickname-or-hex-digest-with-$"
|
21 years ago |
Roger Dingledine
|
a403c1035e
getting an unknown descriptor is an info, not a warn, now
|
21 years ago |