- Mar 24, 2018
-
-
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.
-
- Feb 08, 2018
-
-
Nick Mathewson authored
-
David Goulet authored
This also adds one that tests the integration with the nodelist. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Jan 30, 2018
-
-
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Dec 07, 2017
-
-
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.
-
- Dec 06, 2017
-
-
This introduces the test_hs_control.c file which at this commit contains basic unit test for the HS_DESC event. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Nov 02, 2017
-
-
When running "make test-network-all", test that IPv6-only clients can use microdescriptors. IPv6-only microdescriptor client support was fixed in tor 0.3.0.1-alpha. Requires chutney master 61c28b9 or later. Closes ticket 24109.
-
Part of #23820.
-
- Oct 27, 2017
-
-
- Oct 24, 2017
-
-
- Sep 28, 2017
-
-
Nick Mathewson authored
There was some coverage before, but it was mostly accidental.
-
- Sep 27, 2017
-
-
Nick Mathewson authored
-
- Sep 15, 2017
-
-
David Goulet authored
Using a test vector in python, test both hs_build_hsdir_index() and hs_build_hs_index(). This commit also adds the hs_build_address.py to EXTRA_DIST which was missing. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Sep 12, 2017
-
-
teor authored
Requires chutney master 50f64ea or later. Implements ticket 22437.
-
- Aug 29, 2017
-
-
Nick Mathewson authored
-
- Aug 23, 2017
-
-
Nick Mathewson authored
-
- Aug 21, 2017
-
-
- make tor_util static library name configurable - fix Rust libary dependency order for Windows
-
- Aug 09, 2017
-
-
Move tests from test_hs_service.c to this file. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Move the ntor test from test_hs_service.c to this file. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
Move ESTABLISH_INTRO tests from test_hs_service.c to this new file. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Aug 03, 2017
-
-
Isis Lovecruft authored
* CLOSES #17639. * ADDS new --key-expiration commandline option which prints when the signing key expires.
-
- Jul 13, 2017
-
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Jul 07, 2017
-
-
-
Move code to create connection streams and rend_data structures to test_helpers so that we can use them from the e2e rendezvous circuit unittests.
-
- May 19, 2017
-
-
This adds a couple of configure commands to control whether we're requiring all dependencies to be available locally (default) or not (--enable-cargo-online-mode). When building from a tarball, we require the RUST_DEPENDENCIES variable to point to the local repository of crates. This also adds src/ext/rust as a git submodule that contains such a local repository for easy setup.
-
Passing --enable-cargo-online-mode during configure allows cargo to make network requests while building Tor or running tests. If this flag is not supplied, the dependencies need to be available in the form of a local mirror.
-
-
This gives an indication in the log that Tor was built with Rust support, as well as laying some groundwork for further string-returning APIs to be converted to Rust
-
- May 15, 2017
-
-
Nick Mathewson authored
-
- May 09, 2017
-
-
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 <dgoulet@torproject.org>
-
- May 08, 2017
-
-
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.
-
- Apr 29, 2017
-
-
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.
-
- Apr 25, 2017
-
-
This commit adds the src/trace directory containing the basics for our tracing subsystem. It is not used in the code base. The "src/trace/debug.h" file contains an example on how we can map our tor trace events to log_debug(). The tracing subsystem can only be enabled by tracing framework at compile time. This commit introduces the "--enable-tracing-debug" option that will make all "tor_trace()" function be maped to "log_debug()". Closes #13802 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
This patch adds support for enabling support for Zstandard to our configure script. By default, the --enable-zstd option is set to "auto" which means if libzstd is available we'll build Tor with Zstandard support. See: https://bugs.torproject.org/21662
-
This patch adds support for enabling support for LZMA to our configure script. By default, the --enable-lzma option is set to "auto" which means if liblzma is available we'll build Tor with LZMA support. See: https://bugs.torproject.org/21662
-
- Apr 24, 2017
-
-
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.
-
- Apr 13, 2017
-
-
This test is identical to the ./src/test/test_ntor.sh integration test.
-
- Apr 06, 2017
-
-
Nick Mathewson authored
-
- Apr 03, 2017
-
-
- Mar 31, 2017
-
-
Nick Mathewson authored
Create a new test_crypto_openssl to test openssl-only crypto.c functionality.
-