Skip to content
Snippets Groups Projects
  1. Jun 24, 2011
  2. Jun 23, 2011
  3. Jun 22, 2011
  4. Jun 20, 2011
  5. Jun 17, 2011
  6. Jun 14, 2011
    • 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)
      54d7d31c
  7. Jun 13, 2011
  8. Jun 08, 2011
  9. Jun 06, 2011
  10. Jun 05, 2011
  11. Jun 03, 2011
    • Nick Mathewson's avatar
      Reject 128-byte keys that are not 1024-bit · bbf2fee8
      Nick Mathewson authored
      When we added the check for key size, we required that the keys be
      128 bytes.  But RSA_size (which defers to BN_num_bytes) will return
      128 for keys of length 1017..1024.  This patch adds a new
      crypto_pk_num_bits() that returns the actual number of significant
      bits in the modulus, and uses that to enforce key sizes.
      
      Also, credit the original bug3318 in the changes file.
      bbf2fee8
  12. Jun 02, 2011
  13. Jun 01, 2011
    • 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.
      1d8bcba0
    • Nick Mathewson's avatar
      Report wrong key sizes correctly · 0fd3ad75
      Nick Mathewson authored
      When we introduced NEED_KEY_1024 in routerparse.c back in
      0.2.0.1-alpha, I forgot to add a *8 when logging the length of a
      bad-length key.
      
      Bugfix for 3318 on 0.2.0.1-alpha.
      0fd3ad75
    • 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.
      7039c345
  14. May 31, 2011
    • 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.
      56771f39
  15. May 30, 2011
Loading