1. 14 Jun, 2011 1 commit
    • Jérémy Bobbio's avatar
      Make ControlSocketsGroupWritable work with User. · 54d7d31c
      Jérémy Bobbio authored and Nick Mathewson's avatar Nick Mathewson committed
      Original message from bug3393:
      check_private_dir() to ensure that ControlSocketsGroupWritable is
      safe to use. Unfortunately, check_private_dir() only checks against
      the currently running user… which can be root until privileges are
      dropped to the user and group configured by the User config option.
      The attached patch fixes the issue by adding a new effective_user
      argument to check_private_dir() and updating the callers. It might
      not be the best way to fix the issue, but it did in my tests.
      (Code by lunar; changelog by nickm)
  2. 08 Jun, 2011 6 commits
  3. 06 Jun, 2011 3 commits
  4. 05 Jun, 2011 2 commits
  5. 03 Jun, 2011 3 commits
  6. 02 Jun, 2011 10 commits
  7. 01 Jun, 2011 3 commits
    • Gisle's avatar
      Fix compile error in procmon.c · 1d8bcba0
      Gisle authored and Nick Mathewson's avatar Nick Mathewson committed
      An elusive compile-error (MingW-gcc v4.50 on Win_XP); a missing
      comma (!) and a typo ('err_msg' at line 277 changed to 'errmsg').
      Aso changed the format for 'err_code' at line 293 into a "%ld" to suppress
      a warning. How did this go unnoticed for ~1 month? Btw. This is my 1st ever
      'git commit', so it better work.
    • Nick Mathewson's avatar
      Report wrong key sizes correctly · 0fd3ad75
      Nick Mathewson authored
      When we introduced NEED_KEY_1024 in routerparse.c back in, I forgot to add a *8 when logging the length of a
      bad-length key.
      Bugfix for 3318 on
    • Roger Dingledine's avatar
      fix a bridge edge case similar to 2511 · 7039c345
      Roger Dingledine authored
      If you had configured a bridge but then switched to a different bridge
      via the controller, you would still be willing to use the old one.
  8. 31 May, 2011 1 commit
    • Roger Dingledine's avatar
      stop asserting at boot · 56771f39
      Roger Dingledine authored
      The patch for 3228 made us try to run init_keys() before we had loaded
      our state file, resulting in an assert inside init_keys. We had moved
      it too early in the function.
      Now it's later in the function, but still above the accounting calls.
  9. 30 May, 2011 11 commits