Skip to content
Snippets Groups Projects
  1. Sep 18, 2009
  2. Sep 17, 2009
  3. Sep 16, 2009
  4. Sep 15, 2009
    • Sebastian Hahn's avatar
      make some bug 1090 warnings go away · 113ba0e7
      Sebastian Hahn authored
      When we excluded some Exits, we were sometimes warning the user that we
      were going to use the node regardless. Many of those warnings were in
      fact bogus, because the relay in question was not used to connect to
      the outside world.
      
      Based on patch by Rotor, thanks!
      113ba0e7
    • Roger Dingledine's avatar
      Read "circwindow=x" from the consensus and use it · c43859c5
      Roger Dingledine authored
      Tor now reads the "circwindow" parameter out of the consensus,
      and uses that value for its circuit package window rather than the
      default of 1000 cells. Begins the implementation of proposal 168.
      c43859c5
    • Nick Mathewson's avatar
      Implement proposal 167: Authorities vote on network parameters. · 381766ce
      Nick Mathewson authored
      This code adds a new field to vote on: "params".  It consists of a list of
      sorted key=int pairs.  The output is computed as the median of all the
      integers for any key on which anybody voted.
      
      Improved with input from Roger.
      381766ce
  5. Sep 14, 2009
    • Sebastian Hahn's avatar
      Fix a memory leak when parsing a ns · b792afa9
      Sebastian Hahn authored
      Adding the same vote to a networkstatus consensus leads to a memory leak
      on the client side. Fix that by only using the first vote from any given
      voter, and ignoring the others.
      
      Problem found by Rotor, who also helped writing the patch. Thanks!
      b792afa9
    • Sebastian Hahn's avatar
      Fix a spec conformance issue when parsing a ns vote · c1a6fb42
      Sebastian Hahn authored
      A vote may only contain exactly one signature. Make sure we reject
      votes that violate this.
      
      Problem found by Rotor, who also helped writing the patch. Thanks!
      c1a6fb42
  6. Sep 03, 2009
    • Roger Dingledine's avatar
      Fix obscure 64-bit big-endian hidserv bug · fcacf224
      Roger Dingledine authored
      Fix an obscure bug where hidden services on 64-bit big-endian
      systems might mis-read the timestamp in v3 introduce cells, and
      refuse to connect back to the client. Discovered by "rotor".
      Bugfix on 0.2.1.6-alpha.
      fcacf224
  7. Sep 02, 2009
  8. Sep 01, 2009
  9. Aug 31, 2009
    • Roger Dingledine's avatar
      Add getinfo accepted-server-descriptor. Clean spec. · 075c0040
      Roger Dingledine authored
      Add a "getinfo status/accepted-server-descriptor" controller
      command, which is the recommended way for controllers to learn
      whether our server descriptor has been successfully received by at
      least on directory authority. Un-recommend good-server-descriptor
      getinfo and status events until we have a better design for them.
      075c0040
    • Roger Dingledine's avatar
      Only send reachability status events on overall success/failure · 4c297f74
      Roger Dingledine authored
      We were telling the controller about CHECKING_REACHABILITY and
      REACHABILITY_FAILED status events whenever we launch a testing
      circuit or notice that one has failed. Instead, only tell the
      controller when we want to inform the user of overall success or
      overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported
      by SwissTorExit.
      4c297f74
    • Nick Mathewson's avatar
      Revise parsing of time and memory units to handle spaces. · 00b37f07
      Nick Mathewson authored
      When we added support for fractional units (like 1.5 MB) I broke
      support for giving units with no space (like 2MB).  This patch should
      fix that.  It also adds a propoer tor_parse_double().
      
      Fix for bug 1076.  Bugfix on 0.2.2.1-alpha.
      00b37f07
  10. Aug 29, 2009
  11. Aug 28, 2009
  12. Aug 27, 2009
  13. Aug 26, 2009
  14. Aug 21, 2009
  15. Aug 20, 2009
    • Roger Dingledine's avatar
      Survive unparseable cached cert file · eb829cc3
      Roger Dingledine authored
      eb829cc3
    • Roger Dingledine's avatar
      Notice v3 cert parsing failures · 7f518873
      Roger Dingledine authored
      If any the v3 certs we download are unparseable, we should actually
      notice the failure so we don't retry indefinitely. Bugfix on 0.2.0.x;
      reported by "rotator".
      7f518873
    • Nick Mathewson's avatar
      Fix a rare infinite-recursion bug when shutting down. · 9d118277
      Nick Mathewson authored
      Once we had called log_free_all(), anything that tried to log a
      message (like a failed tor_assert()) would fail like this:
      
         1. The logging call eventually invokes the _log() function.
         2. _log() calls tor_mutex_lock(log_mutex).
         3. tor_mutex_lock(m) calls tor_assert(m).
         4. Since we freed the log_mutex, tor_assert() fails, and tries to
            log its failure.
         5. GOTO 1.
      
      Now we allocate the mutex statically, and never destroy it on
      shutdown.
      
      Bugfix on 0.2.0.16-alpha, which introduced the log mutex.
      
      This bug was found by Matt Edman.
      9d118277
  16. Aug 19, 2009
  17. Aug 11, 2009
  18. Aug 10, 2009
  19. Aug 09, 2009
  20. Jul 29, 2009
  21. Jul 28, 2009
Loading