Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
преди 19 години |
Nick Mathewson
|
f67f83b1fa
Use strlcpy, not strncpy
|
преди 19 години |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
преди 19 години |
Nick Mathewson
|
b90b2bb848
Add and document router-status line using new unified liveness/verifiedness format; continue to generate running-routers; continue to parse running-routers when no router-status line is found
|
преди 19 години |
Nick Mathewson
|
01eacbca9e
Make RecommendedVersions a CONFIG_TYPE_LINELIST option, and have it tolerate whitespace a little better.
|
преди 19 години |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
преди 19 години |
Nick Mathewson
|
55634e4eec
Fix comment in dirserv.c
|
преди 19 години |
Roger Dingledine
|
2b7b86f5e6
stop trying to print a NULL
|
преди 19 години |
Nick Mathewson
|
afd8b650ee
hex-to-hex compare makes more sense than hex-to-bin.
|
преди 19 години |
Roger Dingledine
|
a1041154eb
fix const char * vs char * issue
|
преди 20 години |
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
|
преди 20 години |
Nick Mathewson
|
43ef5a3e37
Add long-term format for dir-signing-key fields (commented out)
|
преди 20 години |
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.
|
преди 20 години |
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.
|
преди 20 години |
Nick Mathewson
|
2bba65148b
Refactor fingerprint handling: remember hex digests (no spaces) instead of beautified fingerprints
|
преди 20 години |
Nick Mathewson
|
9e8ae9766e
Only check versions against downloaded directories, not cached directories.
|
преди 20 години |
Roger Dingledine
|
3f4b544b77
use size_t rather than int for directory lengths in memory
|
преди 20 години |
Roger Dingledine
|
136d4e5739
prefer tor_free to free
|
преди 20 години |
Roger Dingledine
|
a31ba30ae6
if our local cached directory is new enough, go ahead and
|
преди 20 години |
Roger Dingledine
|
4b3001a08c
fix some local buffer overflows
|
преди 20 години |
Nick Mathewson
|
d20d10f360
If we are an authoritative dirserver, check out the fingerprint list when setting connection nicknames
|
преди 20 години |
Roger Dingledine
|
9f9f0e5edd
fix another bug with cached compressed directories
|
преди 20 години |
Roger Dingledine
|
d0edf8e8b5
fix two bugs with cached directories:
|
преди 20 години |
Roger Dingledine
|
185b9fddf2
protect dirservers from overzealous descriptor uploading
|
преди 20 години |
Nick Mathewson
|
c20b24c952
clean up/bugfix deflate logic and log messages
|
преди 20 години |
Nick Mathewson
|
0ef85f6dba
Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware.
|
преди 20 години |
Nick Mathewson
|
c66e4c4870
Flush more changes from sandbox
|
преди 20 години |
Nick Mathewson
|
d6e47bec46
Keep a deflated version of each directory so we can deliver it when requested
|
преди 20 години |
Roger Dingledine
|
7506cce649
stop wasting cpu time on authdirservers
|
преди 20 години |
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 години |