summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix some litter in a doc comment.Nick Mathewson2022-10-241-1/+1
| | | |
| * | | n_key_set: Add ability to modify entries in the map.Nick Mathewson2022-10-241-1/+118
| |/ / | | | | | | | | | | | | | | | The keys can change: if they do, then the entry is removed from its previous position and inserted at the new one, possibly displacing others.
* | | Merge branch 'fix_typos' into 'main'eta2022-10-211-3/+3
|\ \ \ | | | | | | | | | | | | | | | | tor-cell: Fix typos in msg.rs See merge request tpo/core/arti!788
| * | | tor-cell: Fix typos in msg.rsEmil Engler2022-10-211-3/+3
| | |/ | |/|
* | | Merge branch 'remove_redundant' into 'main'eta2022-10-211-2/+0
|\ \ \ | | | | | | | | | | | | | | | | tor-cell: Remove redundant match clauses See merge request tpo/core/arti!792
| * | | tor-cell: Remove redundant match clausesEmil Engler2022-10-211-2/+0
| |/ / | | | | | | | | | | | | This commit removes two redundant match clauses inside the take_one_netinfo_addr function found inside msg.rs.
* | | Merge branch 'concrete_comments' into 'main'eta2022-10-212-7/+12
|\ \ \ | | | | | | | | | | | | | | | | tor-cell: Make historical comments more concrete See merge request tpo/core/arti!787
| * | | tor-cell: Make historical comments more concreteEmil Engler2022-10-212-7/+12
| |/ / | | | | | | | | | | | | This commit extends comments that make references to historical protocol versions of Tor, by adding the concrete protocol version numbers.
* | | Merge branch 'circmgr' into 'main'eta2022-10-217-14/+40
|\ \ \ | | | | | | | | | | | | | | | | tor-circmgr make get_or_launch_dir_specific depend on specific-relay feature See merge request tpo/core/arti!795
| * | | tor-circmgr: Make get_or_launch_dir_specific feature-specificIan Jackson2022-10-215-5/+22
| | | |
| * | | tor-circmgr: Rename get_or_launch_dir_specific from _bridgeIan Jackson2022-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | DirSpecificTarget in the usage was renamed apropos an MR comment but this function name was overlooked.
| * | | tor-chanmgr: Suppress an unused imports warning for `use super::*`Ian Jackson2022-10-211-0/+1
| | | | | | | | | | | | | | | | | | | | If pt-client is disabled, there are in fact no tests, so the module is empty. But we would always want `use super::*` here.
| * | | tor-circmgr README: Add experimental features boilerplateIan Jackson2022-10-211-0/+18
| | | |
| * | | tor-circmgr README: Remove "Limitations"Ian Jackson2022-10-211-6/+0
| | | | | | | | | | | | | | | | | | | | This doesn't make sense now we've released Arti 1.0. The version number is enough I think.
| * | | tor-dirmgr README: Remove some redundant/duplicated headingsIan Jackson2022-10-211-4/+0
| | |/ | |/|
* | | Merge branch 'ci-cleanup' into 'main'Ian Jackson2022-10-212-2/+38
|\ \ \ | | | | | | | | | | | | | | | | cleanup target dir on job completion See merge request tpo/core/arti!786
| * | | cleanup target dir on job completiontrinity-1686a2022-10-212-2/+38
| | | |
* | | | Merge branch 'no_redundant_copy' into 'main'Ian Jackson2022-10-211-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-cell: Avoid redundant pointer copy See merge request tpo/core/arti!791
| * | | tor-cell: Avoid redundant pointer copyEmil Engler2022-10-211-2/+2
| | |/ | |/| | | | | | | | | | | | | This commit changes an iteration by copying a u16 (which is 2 bytes) instead of a pointer address, which is most likely 8 bytes on most machines.
* | | Merge branch 'bridge-api-error' into 'main'Nick Mathewson2022-10-215-5/+22
|\ \ \ | |_|/ |/| | | | | | | | Make error from bridge descriptor provider be a trait object See merge request tpo/core/arti!796
| * | tor-guardmgr: descs: Make BridgeDescError DynCloneIan Jackson2022-10-213-1/+6
| | |
| * | tor-guardmgr: descs: Make BridgeDescError into a traitIan Jackson2022-10-211-4/+15
| | |
| * | tor-error: make HasRetryTime object-safeIan Jackson2022-10-212-1/+2
|/ / | | | | | | | | | | | | | | We could in the future provide a version of abs_retry_time which took an &dyn closure if that turns out to be wanted. I think this isn't a semver break because trait implementors are allowed to relax bounds.
* | Merge branch 'whoops_unused_imports' into 'main'Nick Mathewson2022-10-211-3/+9
|\ \ | | | | | | | | | | | | Oops: Mark some imports as pt-client only. See merge request tpo/core/arti!794
| * | Oops: Mark some imports as pt-client only.Nick Mathewson2022-10-211-3/+9
| | | | | | | | | | | | This causes CI problems, and is entirely my fault.
* | | Merge branch 'matrix-features' into 'main'Nick Mathewson2022-10-216-4/+118
|\ \ \ | |/ / |/| | | | | | | | | | | | | | add checks for many feature combinations Closes #303 See merge request tpo/core/arti!775
| * | move test to dedicated jobtrinity-1686a2022-10-171-2/+8
| | |
| * | fix doc-feature synchrotrinity-1686a2022-10-163-2/+10
| | |
| * | add test for many featurestrinity-1686a2022-10-163-2/+102
| | | | | | | | | | | | and fix issue compiling tor-rtcompat with on ssl runtime
* | | Merge branch 'no_redundant_allocation' into 'main'Nick Mathewson2022-10-211-1/+1
|\ \ \ | | | | | | | | | | | | | | | | tor-cell: Avoid redundant allocation See merge request tpo/core/arti!790
| * | | tor-cell: Avoid redundant allocationEmil Engler2022-10-211-1/+1
| | |/ | |/| | | | | | | | | | | | | This commit changes the way how a vector with a known sized gets allocated, by using Vec::with_capacity() instead of Vec::new(). It will eventually avoid an allocation of more memory than required.
* | | Merge branch 'fixed_len_handshake' into 'main'Nick Mathewson2022-10-211-7/+7
|\ \ \ | |/ / |/| | | | | | | | tor-cell: Rename fixed_len to fixed_len_handshake See merge request tpo/core/arti!789
| * | tor-cell: Rename fixed_len to fixed_len_handshakeEmil Engler2022-10-211-7/+7
|/ / | | | | | | | | | | This commit renames the fixed_len! macro to fixed_len_handshake!, in order to indicate, that this macro is only suited for cells with commands related to handshaking.
* | Merge branch 'dirclient-errors' into 'main'Ian Jackson2022-10-205-43/+147
|\ \ | | | | | | | | | | | | Make DirResponse API not an error handling footgun See merge request tpo/core/arti!782
| * | tor-dirclient: Provide fallible DirResponse::output and into_outputIan Jackson2022-10-202-1/+82
| | |
| * | tor-dirclient: Make DirResponse be CloneIan Jackson2022-10-202-1/+2
| | | | | | | | | | | | I want this for testing. It seems friendly to provide it, though.
| * | tor-dirclient: Introduce RequestError:HttpStatusIan Jackson2022-10-201-0/+5
| | |
| * | tor-dirclient: Make RequestFailed its own error type (rustfmt)Ian Jackson2022-10-201-12/+18
| | | | | | | | | | | | Split off to assist review.
| * | tor-dirclient: Make RequestFailed its own error typeIan Jackson2022-10-204-31/+38
| | | | | | | | | | | | | | | | | | | | | We're going to have functions on Response that fail by returning only one of these. Sadly this diff is quite noisy.
| * | tor-dirclient Response: Rename output methodsIan Jackson2022-10-203-7/+11
| | | | | | | | | | | | | | | These don't check errors and are therefore quite hazardous. I'm going to introduce a more cooked version in a moment.
* | | Merge branch 'pt-serde' into 'main'Nick Mathewson2022-10-205-78/+26
|\ \ \ | | | | | | | | | | | | | | | | serde support for PtTarget See merge request tpo/core/arti!780
| * | | Remove now-needless check_doc_features exception.Nick Mathewson2022-10-201-6/+0
| | | |
| * | | Implement serde for PtTarget and its members.Nick Mathewson2022-10-203-5/+21
| | | | | | | | | | | | | | | | This will let us remember bridges that use pluggable transports.
| * | | Inline now-needless variant constructors for PtTargetAddrNick Mathewson2022-10-201-22/+2
| | | |
| * | | Remove a now-needless `allow(dead_code)`Nick Mathewson2022-10-201-1/+0
| | | |
| * | | linkspec: Always expose PT-related types.Nick Mathewson2022-10-202-46/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `PtTarget` type and its contents (`TransportName`, `PtTargetAddr`, `PtSettings`) are now unconditionally compiled and exposed. This will allow us to serialize and deserialize them in our guard-state files even when we have been built without explicit PT support. The `pt-client` feature controls whether `TransportName` is a variant of `TransportId`, and whether `PtTarget` is a variant of `ChanMethod`: this in turn means that we'll still have simpler binary code and smaller structures when we're building without PT support (which is what we wanted when we initially made these types conditional).
* | | | Merge branch 'connect-via-proxy' into 'main'Nick Mathewson2022-10-208-3/+479
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Implement a TransportHelper to connect via a SOCKS-based pluggable transport See merge request tpo/core/arti!776
| * | | | transport: Escape = signs in keys only.Nick Mathewson2022-10-201-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a compromise between C tor (never escapes = signs) and the spec (calls for escaping all = signs). In C tor there is no way to actually construct a key with an = sign in it, so this difference should be undetectable.
| * | | | Clarify comment on ExternalProxyPlugin.Nick Mathewson2022-10-201-1/+2
| | | | |
| * | | | transport: rename "ExtraneousData" to "UnexpectedData"Nick Mathewson2022-10-201-5/+5
| | | | |