summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | dirauth: Remove FaravaharDavid Goulet2022-12-061-1/+0
| | | | | | | | | | | | | | | | | | See https://gitlab.torproject.org/tpo/core/tor/-/issues/40688 Signed-off-by: David Goulet <[email protected]>
* | | dirauth: New v3 identity key for moria1David Goulet2022-12-061-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | We are rotating moria1's key due to a break-in few weeks ago. See https://gitlab.torproject.org/tpo/core/tor/-/issues/40722 for more details. The original MR for C-tor (tor.git) done by Roger Dingledine, moria1's operator, is here: https://gitlab.torproject.org/tpo/core/tor/-/merge_requests/662 Signed-off-by: David Goulet <[email protected]>
* | Merge branch 'optional-deps-static' into 'main'eta2022-12-053-5/+5
|\ \ | |/ |/| | | | | | | | | make use of 1.60 weak dependancy features Closes #434 See merge request tpo/core/arti!920
| * make use of 1.60 opt dependancy featurestrinity-1686a2022-11-303-5/+5
| |
* | Remove semver.md files now that 1.1.0 is released.Nick Mathewson2022-11-3017-46/+0
| |
* | Merge branch 'version_bump' into 'main'Nick Mathewson2022-11-3037-237/+237
|\ \ | | | | | | | | | | | | Bump the minor version of every crate. See merge request tpo/core/arti!918
| * | Bump the minor version of every crate.Nick Mathewson2022-11-3037-237/+237
| |/ | | | | | | | | We made this job easy this time around: by incrementing our MSRV, we have forced ourselves to do at least a minor bump everywhere.
* / Hang onto a PT object after it is launchedNick Mathewson2022-11-301-0/+1
|/ | | | | | | If we don't do this, then snowflake's stdin will get closed and it will exit immediately. Found while investigating #333.
* Merge branch 'renaming' into 'main'Nick Mathewson2022-11-307-13/+13
|\ | | | | | | | | | | | | Renaming a couple of items for arti 1.1.0 Closes #623 See merge request tpo/core/arti!916
| * Rename for_circuit_usage => as_relay_with_descNick Mathewson2022-11-302-2/+2
| |
| * Rename TransportHelper => TransportImplHelper.Nick Mathewson2022-11-305-11/+11
| |
* | Downgrade a "TODO pt-client" commentNick Mathewson2022-11-301-1/+3
|/
* Merge branch 'redacted_test_serial' into 'main'Ian Jackson2022-11-301-0/+1
|\ | | | | | | | | | | | | safelog: Apply #[serial] to test_redacted() Closes #675 See merge request tpo/core/arti!914
| * safelog: Apply #[serial] to test_redacted()Nick Mathewson2022-11-301-0/+1
| | | | | | | | Closes #675.
* | Merge branch 'ptmgr-todos' into 'main'eta2022-11-301-7/+2
|\ \ | | | | | | | | | | | | Dispose of ptmgr TODOs (and remove a dead variable) See merge request tpo/core/arti!912
| * | ptmgr todo: Remove dead code allowIan Jackson2022-11-301-2/+0
| | |
| * | ptmgr: No need for state_dir in PtMgrIan Jackson2022-11-301-4/+1
| | | | | | | | | | | | This is used exclusively by the reactor.
| * | ptmgr todo: Tolerate exposing the Vec for nowIan Jackson2022-11-301-1/+1
| |/ | | | | | | | | We may want to change this later, but this API is in a low level crate, so this isn't a blocker.
* | Merge branch 'bridge-addr-2' into 'main'Nick Mathewson2022-11-306-67/+254
|\ \ | | | | | | | | | | | | Separate BridgeAddr and PtTargetAddr See merge request tpo/core/arti!904
| * | bridge config: Add a TODO about a redundant cloneIan Jackson2022-11-301-0/+3
| | |
| * | bridge config: Rename accessorsIan Jackson2022-11-302-4/+4
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/904#note_2858480
| * | bridge config: Use unreachable, not None.expectIan Jackson2022-11-301-2/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/904#note_2858479
| * | BridgeAddr tests: dedupe slightlyIan Jackson2022-11-301-12/+11
| | |
| * | Separate BridgeAddr and PtTargetAddrIan Jackson2022-11-306-67/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/668#note_2858220 This commit is difficult to split up. The innards of BridgeAddr and PtTargetAddr are still a bit entangled.
* | | Merge branch 'fix_pt_protocol' into 'main'eta2022-11-301-11/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve two bugs in our pt-socks implementation Closes #676 See merge request tpo/core/arti!913
| * | | PT protocol: pt-spec conformance with password fieldNick Mathewson2022-11-301-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pt-spec says: ``` If the encoded argument list is less than 255 bytes in length, the "PLEN" field must be set to "1" and the "PASSWD" field must contain a single NUL character. ``` This is a very silly thing to say, but some PTs enforce it. Fixes #676.
| * | | connect_via_proxy: Actually send initial handshake.Nick Mathewson2022-11-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Our previous code would make a TCP connection to the proxy, then wait forever for it to say something. Whoops! Part of a fix for #676.
| * | | PT SOCKS tests: add a few more testsIan Jackson2022-11-301-1/+6
| | | |
| * | | PT SOCKS tests: test name that only fits in V4Ian Jackson2022-11-301-3/+7
| | | |
* | | | Merge branch 'abolish-set-default-transport' into 'main'Ian Jackson2022-11-302-19/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Abolish ChanMgr::set_default_transport See merge request tpo/core/arti!910
| * | | Abolish ChanMgr::set_default_transportIan Jackson2022-11-302-19/+0
| | |/ | |/| | | | | | | | | | | | | The comment says // TODO pt-client: It's not clear to me that we really need this method. and empirically, deleting it, and its callee, is fine.
* | | Merge branch 'pt-todo-highlevel' into 'main'Nick Mathewson2022-11-303-15/+3
|\ \ \ | |_|/ |/| | | | | | | | Dispose of all TODO pt-client in arti-* See merge request tpo/core/arti!909
| * | arti: transports parsing: Record this as a ticketIan Jackson2022-11-301-4/+3
| | |
| * | arti: BridgesConfig is evidently not too high upIan Jackson2022-11-301-8/+0
| | | | | | | | | | | | | | | Since apparently it was possible to write all the other code without moving it.
| * | arti: pt mgr spawns the task itself in newIan Jackson2022-11-301-3/+0
| |/
* | Merge branch 'no_empty_select' into 'main'eta2022-11-301-1/+9
|\ \ | | | | | | | | | | | | | | | | | | ptmgr: Do not construct an empty select_all future. Closes #672 and #670 See merge request tpo/core/arti!907
| * | ptmgr: Do not construct an empty select_all future.Nick Mathewson2022-11-301-1/+9
| | | | | | | | | | | | | | | | | | Closes #670. Closes #672.
* | | Merge branch 'ptmgr-errs' into 'main'Ian Jackson2022-11-302-9/+15
|\ \ \ | |_|/ |/| | | | | | | | ptmgr: error fixes See merge request tpo/core/arti!906
| * | ptmgr: change error UnconfiguredTransportDueToConcurrentReconfigurationIan Jackson2022-11-302-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Rename it from UnconfiguredTransport. Change descriptions, kind, and retry. Add a TODO. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/901#note_2858455
| * | ptmgr: Clarify E::NotAFileIan Jackson2022-11-301-2/+6
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/901#note_2858454
| * | ptmgr: Fix kind for E::StatedirCreateFailedIan Jackson2022-11-301-1/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/901#note_2858456
* | | Merge branch 'redaction_fix' into 'main'Ian Jackson2022-11-301-4/+13
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fix a logic error in Redacted. Closes #671 See merge request tpo/core/arti!905
| * | Fix a logic error in Redacted.Nick Mathewson2022-11-301-4/+13
| | | | | | | | | | | | | | | | | | | | | Previously it was redacting exactly when safelogging was _disabled_, which obviously isn't correct. Fixes #671. Regression test included.
* | | Merge branch 'merge_ptreactor' into 'main'Nick Mathewson2022-11-304-44/+311
|\ \ \ | | |/ | |/| | | | | | | Merge PtReactor, resolve a few of my comments. See merge request tpo/core/arti!903
| * | ptmgr: report an error if PT transports don't match requested.Nick Mathewson2022-11-292-2/+9
| | | | | | | | | | | | | | | (I think this may be impossible now, since we check in ipc.rs, but IMO it's best to check.)
| * | Register transport in pt reactor even if it has no pending requestsNick Mathewson2022-11-291-1/+1
| | |
| * | ptmgr: Use anonymize_home when displaying paths in errorsNick Mathewson2022-11-292-3/+5
| | |
| * | ptmgr: Use PluggableTransport::identity in logs.Nick Mathewson2022-11-292-2/+10
| | | | | | | | | | | | This lets us avoid logging the user's path.
| * | Centralize the "find an identifier for the pt name" logic in one place.Nick Mathewson2022-11-292-11/+37
| | |
| * | Merge remote-tracking branch 'eta/ptreactor-v1' into merge_ptreactorNick Mathewson2022-11-293-39/+263
| |\ \ | | |/ | |/| | | | | | | Resolved several conflicts while doing so; mostly with !893 and !895.