Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
21 年之前 |
Nick Mathewson
|
bc62f8e983
Replace sprintf with snprintf
|
21 年之前 |
Nick Mathewson
|
6899b8001a
Check for low _MSC_VER, not high. On windows, always use winsock.
|
21 年之前 |
Nick Mathewson
|
e5049d5aa3
Remove routerinfo_t->is_trusted_dir, and all the twisted machinery used to
|
21 年之前 |
Nick Mathewson
|
b130aa3c8f
Fix segfault in unit tests. (Main program is unaffected)
|
21 年之前 |
Roger Dingledine
|
de65052312
don't assert multiple things in the same tor_assert()
|
21 年之前 |
Nick Mathewson
|
25a046df74
Fix unit tests, make it compile
|
21 年之前 |
Nick Mathewson
|
c5964d6738
Basic string-join functionality
|
21 年之前 |
Roger Dingledine
|
3737566465
make it build on amd64
|
21 年之前 |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
21 年之前 |
Nick Mathewson
|
f7404f6bb9
Use tor_parse_long in more places
|
21 年之前 |
Nick Mathewson
|
79636823b8
Oops, missed one
|
21 年之前 |
Nick Mathewson
|
a91fc48b39
Note byte-order on result for parse_addr_port()
|
21 年之前 |
Nick Mathewson
|
8b037509f3
Add functions to parse addr[:port] consistently
|
21 年之前 |
Nick Mathewson
|
6c970aec94
Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately.
|
21 年之前 |
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 年之前 |
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 年之前 |
Nick Mathewson
|
2bba65148b
Refactor fingerprint handling: remember hex digests (no spaces) instead of beautified fingerprints
|
21 年之前 |
Nick Mathewson
|
9e8ae9766e
Only check versions against downloaded directories, not cached directories.
|
21 年之前 |
Roger Dingledine
|
d381aa4696
Fix an evil bug: when we failed to write to our log, fputs()
|
21 年之前 |
Roger Dingledine
|
a2517b4f07
checking only 0.0.7 and 0.0.8 didn't work, because some dirservers
|
21 年之前 |
Roger Dingledine
|
fa0a1ec49f
cleanup: use strcmpstart() in more places
|
21 年之前 |
Nick Mathewson
|
3590eb535a
Add basic wrappers for zlib/gzip
|
21 年之前 |
Nick Mathewson
|
86980cf6e2
Functions to test nickname validity
|
21 年之前 |
Nick Mathewson
|
7cb93e5bb6
Move string-splitting into a separate function
|
21 年之前 |
Roger Dingledine
|
cd3da3fc12
o clients choose nodes proportional to advertised bandwidth
|
21 年之前 |
Nick Mathewson
|
ba7cc463d4
Clean up tempdir after finishing unittests; use tor_temp_$PID instead of tor_temp; quit if tor_temp_$PID exists.
|
21 年之前 |
Nick Mathewson
|
e6c34ad071
Make unittests pass
|
21 年之前 |
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 年之前 |
Nick Mathewson
|
14d5478f29
Add functions to format and parse RFC1123-style times, for HTTP protocol.
|
21 年之前 |