1. 11 Dec, 2017 2 commits
  2. 08 Dec, 2017 2 commits
  3. 06 Dec, 2017 4 commits
  4. 29 Nov, 2017 1 commit
  5. 27 Nov, 2017 1 commit
  6. 21 Nov, 2017 1 commit
  7. 17 Nov, 2017 1 commit
  8. 14 Nov, 2017 3 commits
  9. 09 Nov, 2017 1 commit
  10. 04 Nov, 2017 3 commits
  11. 01 Nov, 2017 1 commit
  12. 31 Oct, 2017 1 commit
  13. 24 Oct, 2017 5 commits
  14. 23 Oct, 2017 2 commits
  15. 20 Oct, 2017 3 commits
  16. 19 Oct, 2017 1 commit
    • Nick Mathewson's avatar
      Comment-only change: annotate exit() calls. · 35746a9e
      Nick Mathewson authored
      Sometimes when we call exit(), it's because the process is
      completely hopeless: openssl has a broken AES-CTR implementation, or
      the clock is in the 1960s, or something like that.
      
      But sometimes, we should return cleanly from tor_main() instead, so
      that embedders can keep embedding us and start another Tor process.
      
      I've gone through all the exit() and _exit() calls to annotate them
      with "exit ok" or "XXXX bad exit" -- the next step will be to fix
      the bad exit()s.
      
      First step towards 23848.
      35746a9e
  17. 18 Oct, 2017 2 commits
    • Nick Mathewson's avatar
      Move tor_git_revision into a new module. · 72b5e4a2
      Nick Mathewson authored
      At first, we put the tor_git_revision constant in tor_main.c, so
      that we wouldn't have to recompile config.o every time the git
      revision changed.  But putting it there had unintended side effect
      of forcing every program that wanted to link libor.a (including
      test, test-slow, the fuzzers, the benchmarks, etc) to declare their
      own tor_git_revision instance.
      
      That's not very nice, especially since we want to start supporting
      others who want to link against Tor (see 23846).
      
      So, create a new git_revision.c file that only contains this
      constant, and remove the duplicated boilerplate from everywhere
      else.
      
      Part of implementing ticket 23845.
      72b5e4a2
    • Nick Mathewson's avatar
      Add __OwningControllerFD to allow controllers without controlports · f1bf9bf8
      Nick Mathewson authored
      This feature should help programs that want to launch and manage a
      Tor process, as well as programs that want to launch and manage a
      Tor instance in a separate thread.  Right now, they have to open a
      controlport, and then connect to it, with attendant authentication
      issues.  This feature allows them to just start with an
      authenticated connection.
      
      Bug 23900.
      f1bf9bf8
  18. 17 Oct, 2017 1 commit
  19. 02 Oct, 2017 1 commit
    • Nick Mathewson's avatar
      Make changes in server_mode() affect workers; fix a crash. · c50c98ba
      Nick Mathewson authored
      Without this fix, changes from client to bridge don't trigger
      transition_affects_workers(), so we would never have actually
      initialized the cpuworkers.
      
      Fixes bug 23693.  Bugfix on 3bcdb262 0.2.6.3-alpha, which
      fixed bug 14901 in the general case, but not on the case where
      public_server_mode() did not change.
      c50c98ba
  20. 26 Sep, 2017 1 commit
    • Nick Mathewson's avatar
      Add test to make sure all confparse variables are well-typed · eb54a856
      Nick Mathewson authored
      New approach, suggested by Taylor: During testing builds, we
      initialize a union member of an appropriate pointer type with the
      address of the member field we're trying to test, so we can make
      sure that the compiler doesn't warn.
      
      My earlier approach invoked undefined behavior.
      eb54a856
  21. 20 Sep, 2017 1 commit
    • teor's avatar
      Remove longclaw's IPv6 address, as it will soon change · 8e52c465
      teor authored
      Authority IPv6 addresses were originally added in 0.2.8.1-alpha.
      
      This leaves 3/8 directory authorities with IPv6 addresses, but there
      are also 52 fallback directory mirrors with IPv6 addresses.
      
      Resolves 19760.
      8e52c465
  22. 18 Sep, 2017 1 commit
  23. 15 Sep, 2017 1 commit