Commit History

Author SHA1 Message Date
  Nick Mathewson 19868fe968 Move accounting code into hibernate; start adding logic to track bandwidth-per-seconds-active 21 years ago
  Roger Dingledine a4753283dd better interface for connection_ap_handshake_socks_reply() 21 years ago
  Nick Mathewson cea9125d71 Implement two flavors of authentication for control connections: one for trusted FS, one for untrusted FS. 21 years ago
  Nick Mathewson 451f8b5045 - Implement all of control interface except authentication, setconfig, 21 years ago
  Nick Mathewson 4fdaa5de51 Streamline the two redundant "Has the second rolled over?" checks in prepare_for_poll and connection_bucket_refill; also, generate BANDWIDTH control events 21 years ago
  Nick Mathewson d63d420930 Fix another typo 21 years ago
  Nick Mathewson 8db0abb687 First attempt at hibernation code. It needs more work around the XXXXs, but first I want arma to review the basic approach while I meditate on how to fix them. 21 years ago
  Nick Mathewson ad4dc74482 Use a stricter set of warnings; make them all pass. 21 years ago
  Roger Dingledine 4689243242 make sure options.MaxConn can be reached 21 years ago
  Roger Dingledine 984ffec105 implement first piece of hibernation 21 years ago
  Nick Mathewson 9510d9a792 tor --list-fingerprint to print fingerprint and exit 21 years ago
  Nick Mathewson 11d330be5e Tweaks to prevent obsolete restarting tors from hammering the dirservers. (1) Cache a received directory as soon as the signature checks out. (2) Treat a cached directory as "recent" based on its mtime. (3) If we have a recent directory, we dont need to fetch a newer one for DirFetchPostPeriod. This needs review! 21 years ago
  Nick Mathewson 2fbf31533b Tricksy compiler warnings! We hates them, hates them forever, my precious! 21 years ago
  Nick Mathewson 44d4516155 Use tor_snprintf, not snprintf 21 years ago
  Nick Mathewson bc62f8e983 Replace sprintf with snprintf 21 years ago
  Nick Mathewson 57f09573f5 Every 60 seconds, check whether the listeners are still alive, and relaunch the dead ones. 21 years ago
  Roger Dingledine 54c432bd93 pay attention to the return value of do_hup, and exit 21 years ago
  Nick Mathewson 88cffc3c5f Use bitwise masking to turn off bits, not compare-and-subtract 21 years ago
  Roger Dingledine 97a0a43511 start the process of making 0.0.7* obsolete 21 years ago
  Roger Dingledine de65052312 don't assert multiple things in the same tor_assert() 21 years ago
  Nick Mathewson 1c9426d6e0 Build without warnings on mac gcc 3.3 21 years ago
  Nick Mathewson b7bddcac75 Windows requires a different cast uint64_t format 21 years ago
  Roger Dingledine 3f4b544b77 use size_t rather than int for directory lengths in memory 21 years ago
  Roger Dingledine 136d4e5739 prefer tor_free to free 21 years ago
  Roger Dingledine 6ed095b177 print the IP if a conn fails badly, to see if there are any trends 21 years ago
  Roger Dingledine d381aa4696 Fix an evil bug: when we failed to write to our log, fputs() 21 years ago
  Roger Dingledine 8727a28119 bugfix: we were starting to daemonize before we opened our logs, 21 years ago
  Roger Dingledine c0db9fa803 fix confusing cut-n-paste mistake 21 years ago
  Nick Mathewson 0ef85f6dba Some platforms have weird translations when you open files in "test" mode; make read/write_str_to_file aware. 21 years ago
  Nick Mathewson c66e4c4870 Flush more changes from sandbox 21 years ago