1. 22 Jun, 2009 2 commits
  2. 20 Jun, 2009 1 commit
  3. 19 Jun, 2009 3 commits
  4. 18 Jun, 2009 1 commit
    • Nick Mathewson's avatar
      tor-resolve: Don't automatically refuse .onion addresses. · 298dc95d
      Nick Mathewson authored
      If the Tor is running with AutomapHostsOnResolve set, it _is_
      reasonable to do a DNS lookup on a .onion address.  So instead we make
      tor-resolve willing to try to resolve anything.  Only if Tor refuses
      to resolve it do we suggest to the user that resolving a .onion
      address may not work.
      
      Fix for bug 1005.
      298dc95d
  5. 16 Jun, 2009 1 commit
  6. 12 Jun, 2009 1 commit
  7. 08 Jun, 2009 1 commit
  8. 07 Jun, 2009 1 commit
  9. 05 Jun, 2009 1 commit
  10. 03 Jun, 2009 1 commit
    • Nick Mathewson's avatar
      Fix gprof bottlenecks on exit nodes found by Jacob. · b262e765
      Nick Mathewson authored
      Apparently all the stuff that does a linear scan over all the DNS
      cache entries can get really expensive when your DNS cache is very
      large.  It's hard to say how much this will help performance, since
      gprof doesn't count time spent in OpenSSL or zlib, but I'd guess 10%.
      
      Also, this patch removes calls to assert_connection_ok() from inside
      the read and write callbacks, which are similarly unneeded, and a
      little costlier than I'm happy with.
      
      This is probably worth backporting to 0.2.0.
      b262e765
  11. 31 May, 2009 1 commit
  12. 30 May, 2009 2 commits
    • Nick Mathewson's avatar
      Don't attempt to log messages to a controller from a worker thread. · fd992dee
      Nick Mathewson authored
      This patch adds a function to determine whether we're in the main
      thread, and changes control_event_logmsg() to return immediately if
      we're in a subthread.  This is necessary because otherwise we will
      call connection_write_to_buf, which modifies non-locked data
      structures.
      
      Bugfix on 0.2.0.x; fix for at least one of the things currently
      called "bug 977".
      fd992dee
    • Sebastian Hahn's avatar
      Consider *ListenAddress when warning about low ports and hibernation · e70fe116
      Sebastian Hahn authored
      Tas (thanks!) noticed that when *ListenAddress is set, Tor would
      still warn on startup when *Port is low and hibernation is active.
      The patch parses all the *ListenAddress lines, and checks the
      ports. Bugfix on 0.2.1.15-rc
      e70fe116
  13. 27 May, 2009 1 commit
  14. 25 May, 2009 3 commits
  15. 22 May, 2009 1 commit
  16. 18 May, 2009 1 commit
    • Nick Mathewson's avatar
      Possible fix for crash bug related to event timeouts. [Bug 957] · 34030a3d
      Nick Mathewson authored
      If we ever add an event, then set it, then add it again, there will be
      now two pointers to the event in the event base.  If we delete one and
      free it, the first pointer will still be there, and possibly cause a
      crash later.
      
      This patch adds detection for this case to the code paths in
      eventdns.c, and works around it.  If the warning message ever
      displays, then a cleverer fix is in order.
      
      {I am not too confident that this *is* the fix, since bug 957 is very
      tricky.  If it is, it is a bugfix on 0.2.0.}
      34030a3d
  17. 17 May, 2009 5 commits
  18. 14 May, 2009 1 commit
  19. 13 May, 2009 2 commits
  20. 12 May, 2009 1 commit
  21. 23 Apr, 2009 1 commit
  22. 12 Apr, 2009 2 commits
  23. 11 Apr, 2009 6 commits