aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * pt: bridge parsing: Add an IPv6 test caseIan Jackson2022-09-301-0/+12
| |
| * pt: impl Display for Bridge and test itIan Jackson2022-09-301-0/+43
| |
| * pt: Provide accessors for PtTargetIan Jackson2022-09-301-1/+15
| |
| * implement FromStr for Bridge, and test itIan Jackson2022-09-301-0/+327
| |
| * tor-guardmgr: Introduce pt-client featureIan Jackson2022-09-301-1/+3
| | | | | | | | | | guardmgr needs to know how to parse Bridge lines into Bridge structs so it needs to know about PTs specifically
| * pt: Make some more types EqIan Jackson2022-09-302-4/+4
| | | | | | | | I wanted this for testing. I think it's reasonable to promise this.
| * pt: Provide constructors for PtTargetIan Jackson2022-09-301-5/+23
| | | | | | | | | | | | | | | | Make PtTargetSettings be Default. No longer wrap it in Arc. We want to be able to update it here during construction. If we want to save memory with copies of the same bridge line, we should do this for the whole Bridge I think.
| * tor-error::internal: Remove a redundant suppressionIan Jackson2022-09-301-1/+0
| | | | | | | | Spotted this in passing.
* | Merge branch 'new-libfuzzer' into 'main'Nick Mathewson2022-10-036-6/+6
|\ \ | | | | | | | | | | | | Upgrade all fuzzers to newer libfuzzer-sys version. See merge request tpo/core/arti!752
| * | Upgrade all fuzzers to newer libfuzzer-sys version.Nick Mathewson2022-10-036-6/+6
| | |
* | | Merge branch 'hostname-validation' into 'main'Nick Mathewson2022-10-032-18/+2
|\ \ \ | |/ / |/| | | | | | | | Use hostname-validator crate for hostname validation See merge request tpo/core/arti!739
| * | Use hostname-validator crate for hostname validationReylaba2022-10-032-18/+2
| | |
* | | Remove semver.md files now that arti 1.0.1 is out.Nick Mathewson2022-10-036-9/+0
| | |
* | | Merge branch 'multi_keyed_set' into 'main'Nick Mathewson2022-10-033-0/+572
|\ \ \ | | | | | | | | | | | | | | | | Include a HashSet variant that can be keyed on multiple keys. See merge request tpo/core/arti!747
| * | | n_key_set: fix doctest compilation.Nick Mathewson2022-10-031-2/+2
| | | |
| * | | n_key_set: Update generic syntaxNick Mathewson2022-10-031-12/+14
| | | | | | | | | | | | | | | | Doing this lets us work with defaults and const generics.
| * | | n_key_set: rename map elements.Nick Mathewson2022-10-031-9/+9
| | | | | | | | | | | | | | | | This prevents an explosion if somebody has a key called "values".
| * | | n_key_set: Add support for generic lifetimes.Nick Mathewson2022-10-031-6/+48
| | | | | | | | | | | | | | | | | | | | It doesn't work for const generics yet, since they can't be repeated in quite the same way.
| * | | Tweaks and improvements in documentation.Nick Mathewson2022-10-031-7/+16
| | | | | | | | | | | | | | | | Most of these were suggested by Ian
| * | | Require slab 0.4.4Nick Mathewson2022-10-031-1/+1
| | | | | | | | | | | | | | | | The `try_remove()` method, which we need, was introduced there.
| * | | Repair rustdoc.Nick Mathewson2022-10-031-20/+16
| | | | | | | | | | | | | | | | | | | | The previous indentation was making it think that we had rust code where none existed.
| * | | n_key_set: Add a function to check invariant violationsNick Mathewson2022-10-031-1/+53
| | | | | | | | | | | | | | | | Also, document another invariant.
| * | | n_key_set: Use remove_by_foo to implement insert.Nick Mathewson2022-10-031-4/+4
| | | |
| * | | n_key_set: Panic on more invariant and constraint violations.Nick Mathewson2022-10-031-3/+10
| | | |
| * | | n_key_set: Remove by_$key_mut.Nick Mathewson2022-10-031-20/+0
| | | | | | | | | | | | | | | | This can't be used in a consistency-preserving way.
| * | | n_key_set: Add flags to keys rather than inferring from Option<T>Nick Mathewson2022-10-031-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using Option<T> as an alias for T was too clever indeed, and it meant that our HashMaps were declared with the wrong types. Putting flags here instead gives us an extension point that we can use in the future.
| * | | n_key_set: Use to_owned to permit &str accessors.Nick Mathewson2022-10-031-3/+2
| | | |
| * | | n_key_set: Add some tests, and notes on infelicities.Nick Mathewson2022-10-031-4/+106
| | | |
| * | | n_key_set: Fix a bug in function access.Nick Mathewson2022-10-031-1/+1
| | | |
| * | | n_key_set: add FromIterator.Nick Mathewson2022-10-031-0/+16
| | | |
| * | | Include a HashSet variant that can be keyed on multiple keys.Nick Mathewson2022-10-033-0/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every element in the set has up to N keys, each of which may have differnt types. No value for any key may correspond to more than one element in the set. These properties can be provided, via a macro, for values of N between 1 and $BIG_ENOUGH. We'll use this to implement a type that holds HasRelayIds.
* | | | Merge branch 'socks_client' into 'main'Nick Mathewson2022-10-0314-506/+1333
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Implement a SOCKS client handshake See merge request tpo/core/arti!746
| * | | | Move generate_* methods in socks client impl.Nick Mathewson2022-10-031-34/+38
| | | | |
| * | | | Require no NUL in socks hostname.Nick Mathewson2022-10-031-0/+6
| | | | |
| * | | | Tweak "handshake" docs.Nick Mathewson2022-10-032-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Per a suggestion from Diziet, clarify that the socks handshake code only wants you to drain your buffers when it tells you to.
| * | | | Add a SocksReply type to capture address/port information.Nick Mathewson2022-10-034-24/+87
| | | | | | | | | | | | | | | | | | | | | | | | | I don't expect us to need this information much, but we may as well hang on to it.
| * | | | Make sure that socks4 auth doesn't have any 0 bytes.Nick Mathewson2022-10-032-16/+45
| | | | | | | | | | | | | | | | | | | | | | | | | Try to do it in constant time, to avoid even the smell of side-channel attacks.
| * | | | Tests for socks client handshake.Nick Mathewson2022-10-033-0/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests include a few reference cases, as well as a little framework to make sure that the client and the proxy implementation will handshake with one another successfully.
| * | | | Bug fix: report empty SOCKS4 auth as "no auth".Nick Mathewson2022-10-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Previously we would report it as authenticating using the empty string.
| * | | | Fuzzer code for socks client implementation.Nick Mathewson2022-10-034-2/+72
| | | | |
| * | | | Implement client-side SOCKS handshakeNick Mathewson2022-09-288-7/+323
| | | | |
| * | | | Make "SocksRequest::new" public.Nick Mathewson2022-09-271-1/+17
| | | | | | | | | | | | | | | | | | | | Also, have it enforce more correctness properties.
| * | | | New ErrorKind::LocalProtocolFailed.Nick Mathewson2022-09-272-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This type is by analogy to `RemoteProtocolFailed`; we'll use it for cases when the Socks proxy refuses to talk to us.
| * | | | socksproto: Rename SocksHandshake to SocksProxyHandshake.Nick Mathewson2022-09-276-524/+547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Retain "SocksHandshake" as a deprecated synonym. Also, make an (on-by-default) feature for SocksProxyHandshake. (There is about to be a SocksClientHandshake as well.)
* | | | | Bump patchlevels of binary crates.Nick Mathewson2022-10-033-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Since these don't expose any Runtime-based APIs, they don't have a breaking change.
* | | | | Bump minor version of tor-rtcompat and most of its dependentsNick Mathewson2022-10-0314-61/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Since the APIs for the `Schedule::sleep*` functions changed, this is a breaking change in tor-rtcompat. Therefore, the Runtime trait in tor-rtcompat is now a different trait. Therefore, anything that uses the Runtime trait in its APIs has also broken.)
* | | | | Bump crates that have had backward compatible API changes.Nick Mathewson2022-10-0318-40/+40
| | | | |
* | | | | Bump crates that have had no API changes.Nick Mathewson2022-10-036-6/+6
| | | | |
* | | | | Update README.md files.Nick Mathewson2022-09-303-0/+61
| | | | |
* | | | | Upgrade dependencies in preparation for upcoming releaseNick Mathewson2022-09-301-2/+2
| |_|_|/ |/| | |