| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | A few tests for circparameters generation. | Nick Mathewson | 2021-06-19 | 1 | -7/+19 |
| | | |||||
| * | Misc tests in tor-proto. | Nick Mathewson | 2021-06-19 | 1 | -4/+23 |
| | | |||||
| * | Fix some warnings about needless & from nightly clippy | Nick Mathewson | 2021-06-18 | 1 | -3/+3 |
| | | |||||
| * | Implement Debug for ClientCirc and Channel. | Nick Mathewson | 2021-06-14 | 1 | -0/+9 |
| | | |||||
| * | Add a warning comment about truncate-and-reextend. | Nick Mathewson | 2021-05-28 | 1 | -0/+5 |
| | | |||||
| * | tor-proto: change internal meta-handler API for error-proofing | Nick Mathewson | 2021-05-28 | 1 | -66/+107 |
| | | | | | | | | The previous API required the caller to check that the meta-cell it got was coming from the right hop; the new API requires the caller to say which hop it expects to get a cell from. With this change, it's not possible to omit the correct-hop check. | ||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 1 | -3/+3 |
| | | |||||
| * | Check "connection" usage for when stream or channel would be better. | Nick Mathewson | 2021-05-18 | 1 | -4/+4 |
| | | |||||
| * | Prefer "relay" over "router" in docs and APIs. | Nick Mathewson | 2021-05-18 | 1 | -1/+1 |
| | | |||||
| * | Prefer "relay" to "server" when appropriate. | Nick Mathewson | 2021-05-18 | 1 | -7/+7 |
| | | |||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 1 | -1/+1 |
| | | |||||
| * | Fix Rust-1.51 clippy warnings about acronyms in camel case. | Nick Mathewson | 2021-03-29 | 1 | -2/+2 |
| | | | | | This is painful, but we shouldn't have to do it again. | ||||
| * | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 1 | -2/+2 |
| | | |||||
| * | Check for channel match in create_firsthop_ntor(). | Nick Mathewson | 2021-03-24 | 1 | -4/+19 |
| | | | | | | | This way we won't even try sending the CREATE2 cell unless the Ed25519 identity we know for the channel matches the provided CircTarget. | ||||
| * | Move stream timeout logic into tor-client. | Nick Mathewson | 2021-03-24 | 1 | -146/+134 |
| | | | | | | | | | | | This is consistent with the other pieces of tor-proto, which do not handle timeouts on their own. It also lets us remove tor-rtcompat as a dependency from tor-proto, and simplify some of the test cases to use async_test. This commit unindents a lot of test code; use git's "-b" flag to read the parts that matter. | ||||
| * | Add tests for correct incoming sendme handling. | Nick Mathewson | 2021-03-22 | 1 | -5/+198 |
| | | | | | | | At this point I'm going to pause writing tor-proto tests for a little while and think about refactoring that could make these tests simpler. I'm doing way too much copy-paste here. | ||||
| * | Extend the begindir test to exchange data on the stream. | Nick Mathewson | 2021-03-19 | 1 | -3/+44 |
| | | |||||
| * | Introduce a helper to tor_proto::circuit tests | Nick Mathewson | 2021-03-19 | 1 | -44/+24 |
| | | |||||
| * | circuit: Add a test for a bad crypto handshake. | Nick Mathewson | 2021-03-16 | 1 | -0/+13 |
| | | |||||
| * | circuit: tests for different undesired responses to EXTEND. | Nick Mathewson | 2021-03-16 | 1 | -3/+93 |
| | | |||||
| * | circuit: improve errors on bad extended2 | Nick Mathewson | 2021-03-16 | 1 | -4/+11 |
| | | |||||
| * | Merge remote-tracking branch 'origin/mr/21' | Nick Mathewson | 2021-03-12 | 1 | -5/+1 |
| |\ | |||||
| | * | Avoid a slice copy in send_relay_cell(). | George Kadianakis | 2021-03-12 | 1 | -5/+1 |
| | | | | | | | | | Convert slice to array in the parent function instead of copying. | ||||
| * | | Better management for END cells in streams. | Nick Mathewson | 2021-03-10 | 1 | -10/+10 |
| | | | |||||
| * | | Rename TorStream => RawCellStream | Nick Mathewson | 2021-03-10 | 1 | -4/+4 |
| |/ | |||||
| * | Make a few async_test tests work correctly again. | Nick Mathewson | 2021-03-02 | 1 | -33/+35 |
| | | | | | | | For these, we need to call tor_rtcompat::task::block_on() directly, since they would crash with tokio enabled. Perhaps down the line we should look for a better fix here. | ||||
| * | Use futures::join!() to simplify test_create(). | Nick Mathewson | 2021-02-23 | 1 | -19/+11 |
| | | |||||
| * | Simplify error checking in begin_data_stream(). | George Kadianakis | 2021-02-08 | 1 | -18/+12 |
| | | |||||
| * | Implement timeout for new streams (set to 120 seconds). | George Kadianakis | 2021-02-05 | 1 | -11/+23 |
| | | |||||
| * | Fix some clippy warnings from nightly. | Nick Mathewson | 2021-01-02 | 1 | -2/+5 |
| | | |||||
| * | Implement the "circwindow" and "ExtendByEd25519ID" parameters | Nick Mathewson | 2020-12-22 | 1 | -17/+87 |
| | | | | | | | These necessitated a little complexity for our circuit creation/extension API; we might want to refactor that down the road. | ||||
| * | Fix a few clippy warnings | Nick Mathewson | 2020-12-17 | 1 | -3/+3 |
| | | |||||
| * | Handle an error in circuit.rs without crashing. | George Kadianakis | 2020-12-17 | 1 | -1/+4 |
| | | |||||
| * | Basic support for IPv6 and begin flags. | Nick Mathewson | 2020-12-15 | 1 | -3/+10 |
| | | | | | | | We now have a way to tell a circuitmgr whether we require ipv4/ipv6 support for a target address in an exit policy, and we use similar logic to set begin flags. | ||||
| * | Fix some rustdoc warnings. | Nick Mathewson | 2020-12-09 | 1 | -2/+2 |
| | | |||||
| * | Make RSAIdentity implement Copy. | Nick Mathewson | 2020-12-08 | 1 | -2/+2 |
| | | |||||
| * | Mark some XXXX issues as XXXX-A1. | Nick Mathewson | 2020-12-07 | 1 | -1/+1 |
| | | |||||
| * | Expose UniqId types for channels and circuits | Nick Mathewson | 2020-12-01 | 1 | -1/+11 |
| | | |||||
| * | Rename LogId -> UniqId. | Nick Mathewson | 2020-12-01 | 1 | -22/+29 |
| | | |||||
| * | Move closed-check for circuits into an atomicbool. | Nick Mathewson | 2020-11-13 | 1 | -26/+43 |
| | | |||||
| * | Make Arc<>-ness of ClientCirc explicit. | Nick Mathewson | 2020-11-12 | 1 | -34/+39 |
| | | |||||
| * | Make the Arc-ness of channels more explicit. | Nick Mathewson | 2020-11-12 | 1 | -4/+4 |
| | | | | | | | Previously every channel was a secret Arc<>, which I think is bad style, and which stopped us from using weak references in other places. | ||||
| * | stream: Update to enable more fine-grained locking | Nick Mathewson | 2020-11-04 | 1 | -1/+1 |
| | | | | | | Not sure this is quite right, or quite deadlock free, but it lets us read/write cells on a stream we haven't locked. | ||||
| * | Add a tiny bit of cleanup logic to tor-circmgr | Nick Mathewson | 2020-11-02 | 1 | -0/+7 |
| | | |||||
| * | tor-proto API: Use new_ref, not clone. | Nick Mathewson | 2020-10-29 | 1 | -4/+11 |
| | | | | | | | Semantically, cloning a Channel or Circuit is actually increasing an internal reference count. We should name the functions to reflect that, to be more explicit about what we're doing. | ||||
| * | Add a simple test for stream creation. | Nick Mathewson | 2020-10-27 | 1 | -1/+37 |
| | | |||||
| * | Add a test for extending a circuit with ntor. | Nick Mathewson | 2020-10-27 | 1 | -0/+53 |
| | | |||||
| * | circuit: test meta-cell receiving | Nick Mathewson | 2020-10-27 | 1 | -11/+77 |
| | | |||||
| * | Add a test for sending a cell. | Nick Mathewson | 2020-10-27 | 1 | -1/+84 |
| | | |||||
| * | Expand test to handle building circuit with ntor. | Nick Mathewson | 2020-10-27 | 1 | -15/+82 |
| | | |||||
