Skip to content
Snippets Groups Projects
  1. Mar 24, 2018
    • Nick Mathewson's avatar
      Basic unit tests for relay_crypto.c · 7db4d0c5
      Nick Mathewson authored
      These tests handle incoming and outgoing cells on a three-hop
      circuit, and make sure that the crypto works end-to-end.  They don't
      yet test spec conformance, leaky-pipe, or various error cases.
      7db4d0c5
  2. Feb 08, 2018
  3. Jan 30, 2018
  4. Dec 07, 2017
    • Mike Perry's avatar
      Add tests for circuitstats.c · 050bb679
      Mike Perry authored
      These tests primarily test the relaxed and measured behavior of
      circuitstats.c, to make sure we did not break it with #23100 or #23114.
      050bb679
  5. Dec 06, 2017
  6. Nov 02, 2017
  7. Oct 27, 2017
  8. Oct 24, 2017
  9. Sep 28, 2017
  10. Sep 27, 2017
  11. Sep 15, 2017
  12. Sep 12, 2017
  13. Aug 29, 2017
  14. Aug 23, 2017
  15. Aug 21, 2017
  16. Aug 09, 2017
  17. Aug 03, 2017
  18. Jul 13, 2017
  19. Jul 07, 2017
  20. May 19, 2017
  21. May 15, 2017
  22. May 09, 2017
    • David Goulet's avatar
      test: Move duplicate HS test code and unify it · 0cc18ef6
      David Goulet authored
      
      Create the hs_test_helpers.{c|h} files that contains helper functions to
      create introduction point, descriptor and compare descriptor.
      
      Used by both the hs cache and hs descriptor tests. Unify them to avoid code
      duplication.
      
      Also, this commit fixes the usage of the signing key that was wrongly used
      when creating a cross signed certificate.
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      0cc18ef6
  23. May 08, 2017
    • Mike Perry's avatar
      Netflow record collapsing defense. · b0e92634
      Mike Perry authored and Nick Mathewson's avatar Nick Mathewson committed
      This defense will cause Cisco, Juniper, Fortinet, and other routers operating
      in the default configuration to collapse netflow records that would normally
      be split due to the 15 second flow idle timeout.
      
      Collapsing these records should greatly reduce the utility of default netflow
      data for correlation attacks, since all client-side records should become 30
      minute chunks of total bytes sent/received, rather than creating multiple
      separate records for every webpage load/ssh command interaction/XMPP chat/whatever
      else happens to be inactive for more than 15 seconds.
      
      The defense adds consensus parameters to govern the range of timeout values
      for sending padding packets, as well as for keeping connections open.
      
      The defense only sends padding when connections are otherwise inactive, and it
      does not pad connections used solely for directory traffic at all. By default
      it also doesn't pad inter-relay connections.
      
      Statistics on the total padding in the last 24 hours are exported to the
      extra-info descriptors.
      b0e92634
  24. Apr 29, 2017
    • Sebastian Hahn's avatar
      Add --enable-rust configure switch · 915fa39d
      Sebastian Hahn authored
      Introduce a way to optionally enable Rust integration for our builds. No
      actual Rust code is added yet and specifying the flag has no effect
      other than failing the build if rustc and cargo are unavailable.
      915fa39d
  25. Apr 25, 2017
  26. Apr 24, 2017
    • Nick Mathewson's avatar
      Unit tests for consdiffmgr module · 7fc37d41
      Nick Mathewson authored
      Initial tests. These just try adding a few consensuses, looking
      them up, and making sure that consensus diffs are generated in a
      more or less reasonable-looking way.  It's enough for 87% coverage,
      but it leaves out a lot of functionality.
      7fc37d41
  27. Apr 13, 2017
  28. Apr 06, 2017
  29. Apr 03, 2017
  30. Mar 31, 2017
Loading