Commit History

Author SHA1 Message Date
  Nick Mathewson c5964d6738 Basic string-join functionality 21 years ago
  Roger Dingledine 3737566465 make it build on amd64 21 years ago
  Roger Dingledine aebc3a03ba more int to size_t conversions, fixing one or more amd64 bugs 21 years ago
  Nick Mathewson f7404f6bb9 Use tor_parse_long in more places 21 years ago
  Nick Mathewson 79636823b8 Oops, missed one 21 years ago
  Nick Mathewson a91fc48b39 Note byte-order on result for parse_addr_port() 21 years ago
  Nick Mathewson 8b037509f3 Add functions to parse addr[:port] consistently 21 years ago
  Nick Mathewson 6c970aec94 Turn tor_strpartion into a swiss-army-knife function, so it can terminate or not-terminate appropriately. 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 d381aa4696 Fix an evil bug: when we failed to write to our log, fputs() 21 years ago
  Roger Dingledine a2517b4f07 checking only 0.0.7 and 0.0.8 didn't work, because some dirservers 21 years ago
  Roger Dingledine fa0a1ec49f cleanup: use strcmpstart() in more places 21 years ago
  Nick Mathewson 3590eb535a Add basic wrappers for zlib/gzip 21 years ago
  Nick Mathewson 86980cf6e2 Functions to test nickname validity 21 years ago
  Nick Mathewson 7cb93e5bb6 Move string-splitting into a separate function 21 years ago
  Roger Dingledine cd3da3fc12 o clients choose nodes proportional to advertised bandwidth 21 years ago
  Nick Mathewson ba7cc463d4 Clean up tempdir after finishing unittests; use tor_temp_$PID instead of tor_temp; quit if tor_temp_$PID exists. 21 years ago
  Nick Mathewson e6c34ad071 Make unittests pass 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
  Nick Mathewson 14d5478f29 Add functions to format and parse RFC1123-style times, for HTTP protocol. 21 years ago
  Roger Dingledine aebec8ab9e stop using atexit() to remove our pid, since it's called 21 years ago
  Nick Mathewson d07d0a4e6b Add fingerprint to router format in tests 21 years ago
  Roger Dingledine 7459d067a5 now base16_encode() and base32_encode() can't ever fail 21 years ago
  Nick Mathewson 2a339b7627 Split uptime into separate field 21 years ago
  Nick Mathewson df3544422c Change rule from "reject non-recommended versions" to "reject obsolete versions". A version is "obsolete" if it is non-recommended, and at least one recommended version is newer than it. 21 years ago
  Nick Mathewson c458f33ef1 Fix warning 21 years ago
  Nick Mathewson 5f7738d4cc Code to parse tor version numbers so we can do an is-newer-than check. 21 years ago