1. 26 Sep, 2019 1 commit
  2. 18 Sep, 2019 1 commit
  3. 09 Sep, 2019 1 commit
  4. 15 Aug, 2019 1 commit
    • David Goulet's avatar
      dirauth: Change dizum IP address · 5a1c3e44
      David Goulet authored
      New IP address from 194.109.206.212 to 45.66.33.45.
      
      Signed request from Alex de Joode, operator of dizum:
      https://trac.torproject.org/projects/tor/ticket/31406
      
      
      
      Published descriptor by dizum on August 12th, 2019:
      
      --
      r dizum fqbq1v2DCDxTj0QDi7+gd1h911U GZmZtCLaPDQNxkhIFj8UcgTRAuA 2019-08-12 15:28:40 45.66.33.45 443 80
      s Authority Fast Running Stable V2Dir Valid
      v Tor 0.4.0.5
      pr Cons=1-2 Desc=1-2 DirCache=1-2 HSDir=1-2 HSIntro=3-4 HSRend=1-2 Link=1-5 LinkAuth=1,3 Microdesc=1-2 Relay=1-2 Padding=1
      w Bandwidth=20 Unmeasured=1
      p reject 1-65535
      --
      
      Finally, confirmed by DNS:
      
        $ dig +short tor.dizum.com
        45.66.33.45
      
      Closes #31406
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      5a1c3e44
  5. 09 Aug, 2019 7 commits
  6. 08 Aug, 2019 8 commits
  7. 06 Aug, 2019 1 commit
    • Nick Mathewson's avatar
      Avoid using labs() on time_t in channeltls.c · 0849d2a2
      Nick Mathewson authored
      On some windows builds, time_t is 64 bits but long is not.  This is
      causing appveyor builds to fail.
      
      Also, one of our uses of labs() on time_t was logically incorrect:
      it was telling us to accept NETINFO cells up to three minutes
      _before_ the message they were responding to, which doesn't make
      sense.
      
      This patch adds a time_abs() function that we should eventually move
      to intmath.h or something.  For now, though, it will make merges
      easier to have it file-local in channeltls.c.
      
      Fixes bug 31343; bugfix on 0.2.4.4-alpha.
      0849d2a2
  8. 01 Jul, 2019 3 commits
  9. 28 Jun, 2019 3 commits
    • teor's avatar
      changes: file for 28795 · fb977f8c
      teor authored
      Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
      in December 2018 (of which ~122 were still functional), with a
      list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
      in June 2019.
      
      Closes ticket 28795.
      
      Note that we created extra lists from DE and US, but they didn't add
      any more fallbacks when we tried to merge them.
      fb977f8c
    • teor's avatar
      fallback: apply the second fallback list from 2019 · f3b2a81c
      teor authored
      Update the fallback directory mirrors by merging the current list with:
      fallback_dirs_2019-06-28-08-58-39_AU_f0437a39ddbc8459.inc
      
      Part of 28795, see that ticket for logs.
      f3b2a81c
    • teor's avatar
      fallback: apply the first fallback list from 2019 · 37c2808a
      teor authored
      Update the fallback directory mirrors by replacing the old list with:
      fallback_dirs_2019-06-25-11-49-10_AU_a37adb956fbb5cd2.inc
      
      Part of 28795, see that ticket for logs.
      37c2808a
  10. 12 Jun, 2019 2 commits
  11. 11 Jun, 2019 1 commit
  12. 05 Jun, 2019 1 commit
  13. 29 May, 2019 2 commits
    • Nick Mathewson's avatar
    • Tobias Stoeckmann's avatar
      Fixed tor_vasprintf on systems without vasprintf. · 0d5a0b4f
      Tobias Stoeckmann authored and Nick Mathewson's avatar Nick Mathewson committed
      
      
      If tor is compiled on a system with neither vasprintf nor _vscprintf,
      the fallback implementation exposes a logic flaw which prevents
      proper usage of strings longer than 127 characters:
      
      * tor_vsnprintf returns -1 if supplied buffer is not large enough,
        but tor_vasprintf uses this function to retrieve required length
      * the result of tor_vsnprintf is not properly checked for negative
        return values
      
      Both aspects together could in theory lead to exposure of uninitialized
      stack memory in the resulting string. This requires an invalid format
      string or data that exceeds integer limitations.
      
      Fortunately tor is not even able to run with this implementation because
      it runs into asserts early on during startup. Also the unit tests fail
      during a "make check" run.
      Signed-off-by: default avatarTobias Stoeckmann <tobias@stoeckmann.org>
      
        [backported to 0.2.9 by nickm]
      0d5a0b4f
  14. 17 May, 2019 1 commit
  15. 30 Apr, 2019 2 commits
  16. 19 Apr, 2019 2 commits
  17. 17 Apr, 2019 1 commit
    • teor's avatar
      test/relay: add a missing typedef · 031ed59d
      teor authored
      In 0.3.4 and later, these functions are declared in rephist.h:
      STATIC uint64_t find_largest_max(bw_array_t *b);
      STATIC void commit_max(bw_array_t *b);
      STATIC void advance_obs(bw_array_t *b);
      
      But in 0.2.9, they are declared in rephist.c and test_relay.c.
      
      So compilers fail with a "must use 'struct' tag" error.
      
      We add the missing struct typedef in test_relay.c, to match the
      declarations in rephist.c.
      
      (Merge commit 813019cc moves these functions into rephist.h instead.)
      
      Fixes bug 30184; not in any released version of Tor.
      031ed59d
  18. 16 Apr, 2019 2 commits
    • teor's avatar
      rephist: fix an undeclared type compilation error · 05d25d06
      teor authored
      In 0.3.4 and later, we declare write_array as:
      extern struct bw_array_t *write_array;
      ...
      typedef struct bw_array_t bw_array_t;
      
      But in 0.2.9, we declare write_array as:
      typedef struct bw_array_t bw_array_t;
      extern bw_array_t *write_array;
      
      And then again in rephist.c:
      typedef struct bw_array_t bw_array_t;
      
      So some compilers fail with a duplicate declaration error.
      
      We backport 684b396c, which removes the duplicate declaration.
      And this commit deals with the undeclared type error.
      
      Backports a single line from merge commit 813019cc.
      
      Fixes bug 30184; not in any released version of Tor.
      05d25d06
    • Nick Mathewson's avatar
      Remove another needless typedef · 684b396c
      Nick Mathewson authored and teor's avatar teor committed
      684b396c