- 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 16, 2018
-
-
Isis Lovecruft authored
* FIXES #25271: https://bugs.torproject.org/25271
-
- Feb 08, 2018
-
-
David Goulet authored
This also adds one that tests the integration with the nodelist. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Feb 07, 2018
-
-
- Feb 02, 2018
-
-
David Goulet authored
If the cache is using 20% of our maximum allowed memory, clean 10% of it. Same behavior as the HS descriptor cache. Closes #25122 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Jan 30, 2018
-
-
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Dec 08, 2017
-
-
Nick Mathewson authored
This one only evaluates the input once, so it cannot mess up even if there are side effects.
-
Nick Mathewson authored
This covers addressmap.h (no change needed) through confparse.h
-
- 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>
-
- 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
-
-
Nick Mathewson authored
-
- Aug 24, 2017
-
-
The `test-operator-cleanup` patch, and related coccinelle patches, don't do any checks for line length. This patch fixes the line length issues caused by the previous commits.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Aug 19, 2017
-
-
George Kadianakis authored
We need this func so that we recognize SOCKS conns to v3 addresses. - Also rename rend_valid_service_id() to rend_valid_v2_service_id() - Also move parse_extended_hostname() tests to their own unittest, and add a v3 address to the test as well. Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 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>
-
- Jul 24, 2017
-
-
Nick Mathewson authored
We need to keep these around for TAP and old-style hidden services, but they're obsolete, and we shouldn't encourage anyone to use them. So I've added "obsolete" to their names, and a comment explaining what the problem is. Closes ticket 23026.
-
- Jul 13, 2017
-
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- Jul 07, 2017
-
-
- May 19, 2017
-
-
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 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 25, 2017
- 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 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.
-
- Mar 16, 2017
-
-
Nick Mathewson authored
We could use one of these for holding "junk" descriptors and unparseable things -- but we'll _need_ it for having cached consensuses and diffs between them.
-
(This commit was extracted by nickm based on the final outcome of the project, taking only the changes in the files touched by this commit from the consdiff_rebased branch. The directory-system changes are going to get worked on separately.)
-
- Mar 15, 2017
-
-
Nick Mathewson authored
-
- Dec 14, 2016
-
-
Test for both v2 and v3 ESTABLISH_INTRO handling.
-
- Nov 24, 2016
-
-
Chelsea H. Komlo authored
-
- Nov 04, 2016
-
-
David Goulet authored
Signed-off-by:
David Goulet <dgoulet@torproject.org> Signed-off-by:
George Kadianakis <desnacked@riseup.net>
-
Signed-off-by:
David Goulet <dgoulet@torproject.org> Signed-off-by:
George Kadianakis <desnacked@riseup.net>
-
- Sep 26, 2016
-
-
Nick Mathewson authored
-