Commit History

Author SHA1 Message Date
  Nick Mathewson 6101468cbe Enable trivial "download by descriptor digest" functionality. 20 years ago
  Nick Mathewson aac738d2be When no descriptors changed, do not send a NEWDESC event. 20 years ago
  Nick Mathewson 972b7512c7 authorities do not replace server descriptors where nothing semantically relevant has changed since the last upload. 20 years ago
  Nick Mathewson fd9bfef13b Funny. I could have sworn it compiled this morning when I checked it in. 20 years ago
  Nick Mathewson a7ca56b537 More work towards a sane digest-based liveness testing. 20 years ago
  Nick Mathewson 2b3a7b818f Add an as-yet-unused "EXTENDED" flag to SETEVENTS to indicate that the client can handle extra labeled info in its events. Add moreinfo to the "what is ready for downloading" msg so we can investigate digest-related download rules 20 years ago
  Nick Mathewson 08e4f132a8 add some docs; if warn_if_unnamed is 0, really do not warn. 20 years ago
  Nick Mathewson d7b04a8788 do not try to download a routerdesc if we would immediately reject it as obsolete. 20 years ago
  Nick Mathewson cc35e1720f Using RAND_pseudo_bytes instead of RAND_bytes is an accident waiting to happen, and does not really speed us up much when we do it. So stop doing it. 20 years ago
  Nick Mathewson 56be5a9706 I *knew* something was wrong here. Flip some comparison operators and make download-rate-limiting sane again. 20 years ago
  Nick Mathewson 1ebbaf5c3a improve INFO-level logging for directory downloads. This is still too chatty, but it will help us analyze things. 20 years ago
  Nick Mathewson 370e4abdc9 replace former relaunches of directory downloads with reset of failure count and relaunch of status downloads. Fix memory leak in trusted_dir_server_t. Reset "last download attempted" time when resetting failure counts. 20 years ago
  Nick Mathewson 509de69a7e reset warning flags on SIGHUP. arma: is this everything? 20 years ago
  Nick Mathewson 8434595584 Fix verbose compiler warnings, including one in routerlist.c that would have been an actual error. Normalize whitespace. Enforce convention that "address" is a hostname and "addr" is an IPv4 address. 20 years ago
  Nick Mathewson 0924094042 resolve some directory-related XXXXs; downgrade naming conflict messages from WARN to INFO for non-authorities; do not repeat naming conflict messages. 20 years ago
  Nick Mathewson 1223310b69 Downgrade noisy log messages in preparation for an alpha release. 20 years ago
  Nick Mathewson 61ea516885 Check for named servers when looking them up by nickname; 20 years ago
  Nick Mathewson 2d203fdcf3 link nicknames to trusted directory servers; log these nicknames when mentioning servers; also, when we get a naming conflict; log which nicknames or keys are supposed to bind. 20 years ago
  Nick Mathewson b10df0d595 cosmetic fix: only have one local to hold smartlist_len(downloadable), not too. 20 years ago
  Nick Mathewson 808e584a87 remove a never-used smartlist in routerlist.c 20 years ago
  Nick Mathewson 23864ad423 Try to hunt down a few more leaks 20 years ago
  Nick Mathewson 5333a3b838 fix a small filename leak 20 years ago
  Nick Mathewson 8408006318 fix a memory leak on exit in routerlist.c 20 years ago
  Nick Mathewson fc3c0197f9 Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download. 20 years ago
  Roger Dingledine 8fc9330686 fix typo 20 years ago
  Nick Mathewson abb8576538 But, of course, mirrors should get the most up-to-date server in any case. 20 years ago
  Nick Mathewson b726507d36 Log even less verbosely. Also, do not download old (frequently-updating) servers more than once every 2 hours. 20 years ago
  Nick Mathewson 18a0a0e458 Oops. It looks like some old GCCs dislike #if inside a macro argument. 20 years ago
  Nick Mathewson c345dab3bd Fix logic error (people who ask authorities should never split; others should always split). Also, fix timing error in main.c so retries really happen. 20 years ago
  Nick Mathewson a1f1c4bf6b Re-enable autosplitting, but authorities and mirrors should not do it, and make the cutoff higher than 1. 20 years ago