| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Misc tests in tor-proto. | Nick Mathewson | 2021-06-19 | 1 | -5/+18 |
| | | |||||
| * | Implement Debug for ClientCirc and Channel. | Nick Mathewson | 2021-06-14 | 1 | -0/+11 |
| | | |||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 1 | -1/+1 |
| | | |||||
| * | Add the "unreachable_pub" lint. | Nick Mathewson | 2021-05-18 | 1 | -1/+1 |
| | | | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are. | ||||
| * | Check "connection" usage for when stream or channel would be better. | Nick Mathewson | 2021-05-18 | 1 | -1/+1 |
| | | |||||
| * | Prefer "relay" over "node" in most circumstances. | Nick Mathewson | 2021-05-18 | 1 | -1/+1 |
| | | |||||
| * | Refactor and simplify ChanMgr to use AbstractChanMgr. | Nick Mathewson | 2021-04-23 | 1 | -0/+5 |
| | | |||||
| * | Fix a rust 1.51 warning: remove a semicolon | Nick Mathewson | 2021-04-02 | 1 | -1/+1 |
| | | |||||
| * | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 1 | -5/+5 |
| | | |||||
| * | Check for channel match in create_firsthop_ntor(). | Nick Mathewson | 2021-03-24 | 1 | -2/+2 |
| | | | | | | | This way we won't even try sending the CREATE2 cell unless the Ed25519 identity we know for the channel matches the provided CircTarget. | ||||
| * | Test for Channel::check_match | Nick Mathewson | 2021-03-16 | 1 | -0/+39 |
| | | |||||
| * | Migrate from futures_codec to asynchronous_codec. | Nick Mathewson | 2021-01-15 | 1 | -0/+1 |
| | | | | | | | | | asynchronous_codec is a fork of futures_codec that is up-to-date on its dependencies. This migration allows us to upgrade to the current version of the bytes crate. | ||||
| * | Fix some clippy warnings from nightly. | Nick Mathewson | 2021-01-02 | 1 | -2/+5 |
| | | |||||
| * | Fix some rustdoc warnings. | Nick Mathewson | 2020-12-09 | 1 | -1/+1 |
| | | |||||
| * | Expose UniqId types for channels and circuits | Nick Mathewson | 2020-12-01 | 1 | -2/+7 |
| | | |||||
| * | Rename LogId -> UniqId. | Nick Mathewson | 2020-12-01 | 1 | -18/+18 |
| | | |||||
| * | Refactor first-hop handling types a bit | Nick Mathewson | 2020-11-17 | 1 | -1/+1 |
| | | | | | | | This lets us have the notion of "get the first hop of a path as some kind of a chantarget", which will make it easier to write other path types. | ||||
| * | Light refactoring on remaining ChannelImpl functions | Nick Mathewson | 2020-11-13 | 1 | -22/+21 |
| | | |||||
| * | Turn the channel "closed" method into an AtomicBool | Nick Mathewson | 2020-11-13 | 1 | -19/+21 |
| | | | | | This lets us make the test for closed channels non-async. | ||||
| * | Move a few immutable fields from ChannelImpl outside the lock. | Nick Mathewson | 2020-11-13 | 1 | -30/+25 |
| | | | | | | Since these don't change while the channel is alive, we don't need the lock to protect them. | ||||
| * | Make the Arc-ness of channels more explicit. | Nick Mathewson | 2020-11-12 | 1 | -25/+13 |
| | | | | | | | Previously every channel was a secret Arc<>, which I think is bad style, and which stopped us from using weak references in other places. | ||||
| * | Tests for tor-chanmgr. | Nick Mathewson | 2020-10-30 | 1 | -0/+6 |
| | | |||||
| * | chanmgr: don't return closing channels. | Nick Mathewson | 2020-10-30 | 1 | -0/+7 |
| | | |||||
| * | Implement a channel-manager type to get or launch channels on request. | Nick Mathewson | 2020-10-30 | 1 | -1/+1 |
| | | |||||
| * | Function to check whether a channel matches a target. | Nick Mathewson | 2020-10-29 | 1 | -2/+27 |
| | | |||||
| * | tor-proto API: Use new_ref, not clone. | Nick Mathewson | 2020-10-29 | 1 | -9/+8 |
| | | | | | | | 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. | ||||
| * | Make a test for create_firsthop_fast. WOW that was hard. | Nick Mathewson | 2020-10-27 | 1 | -2/+5 |
| | | |||||
| * | Add a fake, reactorless channel, for use in testing circuits | Nick Mathewson | 2020-10-27 | 1 | -0/+44 |
| | | |||||
| * | Remove use of Cell<> in tor_proto. | Nick Mathewson | 2020-10-27 | 1 | -5/+4 |
| | | | | | I was confused about what this was for, I guess. | ||||
| * | Rename CircIDRange to CircIdRange | Nick Mathewson | 2020-10-27 | 1 | -2/+2 |
| | | |||||
| * | Improve documentation in tor-proto | Nick Mathewson | 2020-10-26 | 1 | -17/+47 |
| | | |||||
| * | rudimentary test for channelbuilder. | Nick Mathewson | 2020-10-26 | 1 | -1/+10 |
| | | |||||
| * | Tests for sending bad/good cell types on a channel | Nick Mathewson | 2020-10-26 | 1 | -2/+39 |
| | | |||||
| * | Rename CircID and StreamID to end with Id instead, for consistency | Nick Mathewson | 2020-10-25 | 1 | -4/+4 |
| | | |||||
| * | channel: Refactor the point when we split the framed codec. | Nick Mathewson | 2020-10-25 | 1 | -8/+13 |
| | | | | | | | We used to do this during creating the channel in Channel::new, but now we do it one step before, so that it's easier to construct channels for testing. | ||||
| * | Move cell logging into ChannelImpl | Nick Mathewson | 2020-10-23 | 1 | -12/+11 |
| | | |||||
| * | Add new `terminate()` method to circuits and channels. | Nick Mathewson | 2020-10-20 | 1 | -3/+26 |
| | | | | | | | | | These aren't called "close" because they're more destructive than that: they can be called even if other parties are using the circuit or channel. This is for arti#21. | ||||
| * | Missing file and docs | Nick Mathewson | 2020-10-20 | 1 | -0/+6 |
| | | |||||
| * | Add some helpful logs in circuit code. | Nick Mathewson | 2020-10-20 | 1 | -3/+10 |
| | | |||||
| * | Add reasonable logging (I hope!) to channel | Nick Mathewson | 2020-10-20 | 1 | -18/+79 |
| | | |||||
| * | tor-proto: Add a "CreateResponse" type. | Nick Mathewson | 2020-10-15 | 1 | -1/+2 |
| | | | | | | | CreateResponse includes exactly those cells that are a correct response to a CREATE2/CREATE_FAST, so we can be sure that only those cells are actually passed to a PendingClientCirc. | ||||
| * | Turn the channel's ref to its circmap into a Weak reference | Nick Mathewson | 2020-10-15 | 1 | -6/+11 |
| | | | | | | This way, when the channel reactor is dropped, the circuit map can get dropped too, which will cause reading circuits to notice. | ||||
| * | Mark channels as unusable if reactor gets an error. | Nick Mathewson | 2020-10-15 | 1 | -1/+10 |
| | | | | | | Similarly as with circuits, we want this code to set a "closed" flag so that attempts to write on the channel will fail. | ||||
| * | Send DESTROY cells when a circuit is dropped. | Nick Mathewson | 2020-10-14 | 1 | -14/+59 |
| | | | | | | | | | | This reuses a lot of mechanism from the circuit code that sends END cells when streams are dropped. There is a problem here: Circuits and channels won't actually get dropped, because we should be using a weak reference from the reactor. | ||||
| * | Document all private members in tor-proto | Nick Mathewson | 2020-10-13 | 1 | -2/+3 |
| | | |||||
| * | Rename remaining get_ accessors | Nick Mathewson | 2020-09-28 | 1 | -8/+4 |
| | | |||||
| * | Split the cell-handling parts of tor-proto into a new crate. | Nick Mathewson | 2020-09-26 | 1 | -3/+4 |
| | | |||||
| * | Lower our "#[allow(dead_code)]" decl in tor_proto." | Nick Mathewson | 2020-09-25 | 1 | -0/+1 |
| | | |||||
| * | More documentation for channel, circuit, stream. | Nick Mathewson | 2020-09-21 | 1 | -11/+45 |
| | | |||||
| * | Start implementing streams and circuit-level reactors. | Nick Mathewson | 2020-09-21 | 1 | -6/+15 |
| | | | | | | | Also, revise nearly all of the circuit/channel interaction to actually send relay cells to the right place and do sensible things with them. | ||||
