1. 13 Oct, 2009 1 commit
    • Nick Mathewson's avatar
      Fix a crash when using evdns from Libevent 2. · 81eee0ec
      Nick Mathewson authored
      When we tried to use the deprecated non-threadsafe evdns
      interfaces in Libevent 2 without using the also-deprecated
      event_init() interface, Libevent 2 would sensibly crash, since it
      has no guess where to find the Libevent library.
      
      Here we use the evdns_base_*() functions instead if they're
      present, and fake them if they aren't.
      81eee0ec
  2. 12 Oct, 2009 2 commits
  3. 11 Oct, 2009 1 commit
  4. 10 Oct, 2009 4 commits
  5. 07 Oct, 2009 1 commit
  6. 01 Oct, 2009 2 commits
  7. 30 Sep, 2009 2 commits
  8. 29 Sep, 2009 2 commits
  9. 27 Sep, 2009 2 commits
  10. 24 Sep, 2009 3 commits
    • Roger Dingledine's avatar
      Revert to the "June 3 2009" ip-to-country file. · cbbd6f92
      Roger Dingledine authored
      The September one seems to have removed most US IP addresses.
      cbbd6f92
    • Karsten Loesing's avatar
      Fix a couple of smaller issues with gathering statistics. · 457bebe0
      Karsten Loesing authored
      - Avoid memmoving 0 bytes which might lead to compiler warnings.
      
      - Don't require relays to be entry node AND bridge at the same to time to
        record clients.
      
      - Fix a memory leak when writing dirreq-stats.
      
      - Don't say in the stats files that measurement intervals are twice as long
        as they really are.
      
      - Reduce minimum observation time for requests to 12 hours, or we might
        never record usage.
      
      - Clear exit stats correctly after writing them, or we accumulate old stats
        over time.
      
      - Reset interval start for buffer stats, too.
      457bebe0
    • Nick Mathewson's avatar
      Debugging logs for TLS handshake · b8b29353
      Nick Mathewson authored
      The big change is to add a function to display the current SSL handshake
      state, and to log it everywhere reasonable.  (A failure in
      SSL23_ST_CR_SRVR_HELLO_A is different from one in
      SSL3_ST_CR_SESSION_TICKET_A.)
      
      This patch also adds a new log domain for OR handshaking, so you can pull out
      all the handshake log messages without having to run at debug for everything.
      For example, you'd just say "log notice-err [handshake]debug-err file
      tor.log".
      b8b29353
  11. 23 Sep, 2009 4 commits
  12. 21 Sep, 2009 5 commits
  13. 18 Sep, 2009 1 commit
  14. 17 Sep, 2009 2 commits
  15. 16 Sep, 2009 1 commit
  16. 15 Sep, 2009 3 commits
    • 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
  17. 14 Sep, 2009 2 commits
    • 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
  18. 03 Sep, 2009 1 commit
    • 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
  19. 02 Sep, 2009 1 commit