Commit History

Author SHA1 Message Date
  Nick Mathewson 5c53545d81 Add a bunch more warnings to out warning suite; resolve them; pack structs a little better. 20 years ago
  Roger Dingledine fba01c3cc0 bugfix: we were whining about using socks4 or socks5-with-local-lookup 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 20b9111266 Implement new version handling code. 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 9c2ca40df3 Unify our "figure out which fingerprints we were downloading" code. 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 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 7c6679d8dc Add new config.c function to set options that can fail, and roll back if they do. This should solve the setconf-an-impossible-port bug. 20 years ago
  Nick Mathewson 6aa8850d90 note that routerstatus_t.entries is sorted. 20 years ago
  Roger Dingledine 1f930a9a70 checkpoint: clean up and document the three ways to call config_assign() 20 years ago
  Nick Mathewson 4efa652a98 add docs, fix whitespace, and make ANY rule in routerparse a little tighter. 20 years ago
  Roger Dingledine 63bb27f19d be more thorough about noticing when a directory request has failed: 20 years ago
  Nick Mathewson 3dc5e77b58 Numerous changes to move towards client-side v2 directories. 20 years ago
  Nick Mathewson 18e4d78354 Fix an assert in directory.c. Check received network-status objects against the list we expected to get. Do not let anyone else update our network-status object. 20 years ago
  Nick Mathewson 059148f588 Only caches download network-status for now, and they use a different strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint. 20 years ago
  Roger Dingledine 022f23249f make doxygen output look prettier 20 years ago
  Nick Mathewson f50ddfd4dd Download network-status at regular intervals. The code is probably iffy, and the constants need to be renamed. 20 years ago
  Roger Dingledine 0a8a8ba546 fix some typos 20 years ago
  Nick Mathewson 4aca47268d Logic to launch connections for new directory types. 20 years ago
  Nick Mathewson eac917fd6a clean whitespace. 20 years ago