Commit History

Author SHA1 Message Date
  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
  Nick Mathewson f995edd516 Fix at least one overzealous download bug. (tor_malloc_zero new local_routerstatus_t objs); add a pile of logs back in; probe every 10sec; never autolaunch on failure. Let us see if this works better. 20 years ago
  Nick Mathewson 9050480339 Fix some compiler warnings 20 years ago
  Roger Dingledine 2d6b36a001 get rid of a noisy debug log 20 years ago
  Nick Mathewson cdc912714e I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder. 20 years ago
  Nick Mathewson 6693031947 Use a separate type for "local view of router status". Also, even though I told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand. 20 years ago
  Nick Mathewson 72915546cd Only check versions from versioning authdirs. 20 years ago
  Nick Mathewson 20b9111266 Implement new version handling code. 20 years ago
  Nick Mathewson 837b223c8c remove some debugging garbage 20 years ago
  Nick Mathewson 283032960d Make give-up-on-failure actually work: it seems the servers gave me a real test case. 20 years ago
  Nick Mathewson d118d5069a Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug. 20 years ago
  Nick Mathewson 87f6d526fe Refactor new directory code a bit. Keep a big list of rolled-up router status info, including # of download failures (not yet used). Update this list from networkstatuses when they arrive, then update routers from this list. Only download 128 routers at a time, to avoid gargantuan URLs. 20 years ago
  Nick Mathewson 1fbe499bfe Remove a bunch of #if0d code that I no longer need to look at. 20 years ago
  Nick Mathewson 6d15a73548 Resolve/expand some XXXXs and improve a log message or two 20 years ago
  Nick Mathewson 538740e362 Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo. 20 years ago
  Nick Mathewson 1a786a297f Fix the confusing bug where we were downloading only the first n/2-1 of the servers we actually wanted. 20 years ago
  Nick Mathewson 05bab28c7d Add some (notice, for now) log messages that imply confusing things are happening. 20 years ago
  Nick Mathewson e72e76cad6 Make authdirs smarter. Reject/invalidate by key and IP. Remember that not every authdir has to be a naming authdir. 20 years ago
  Nick Mathewson ed21abfe87 And some documentation before bed. 20 years ago
  Nick Mathewson b70c229f6e make some functions static; clean dead networkstatus entries more often. 20 years ago
  Nick Mathewson b16048917c Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing. 20 years ago
  Nick Mathewson e83e1df811 separate validation from naming in authoritative directory servers; simplify some router-management code. 20 years ago
  Nick Mathewson d4e0af7822 Fix a bunch of log messages. Deprecate some routerlist fields; remove others, and status_set_at from routerinfo_t. Compress routerlist.c cleanup functions. Update cached networkstatus mtime when we download the same one twice. Change some interfaces. 20 years ago
  Nick Mathewson 27bbfe9dcf Would you believe that the software_versions field of routerlist_t was never actually used for anything? 20 years ago
  Nick Mathewson e3adcbdb95 Big commit: clients start downloading and using network-statuses. 20 years ago
  Nick Mathewson d9ee94543e Declare 0.1.1.7 as The Version With The Good Dirservers. 20 years ago
  Nick Mathewson 890847d232 I forgot -- smart kids make their code compile. 20 years ago