| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'todo-not-hss' into 'main' | Alexander Færøy | 2023-10-22 | 1 | -1/+1 |
| |\ | | | | | | | | | Remove an "HSS" from a "TODO HSS" comment in ptmgr See merge request tpo/core/arti!1676 | ||||
| | * | Remove an "HSS" from a "TODO HSS" comment in ptmgr | Nick Mathewson | 2023-10-16 | 1 | -1/+1 |
| | | | | | | | | | This isn't actually onion service related, AFAICT. | ||||
| * | | tor-ptmgr: Handle unsupported escapes | Emil Engler | 2023-10-17 | 1 | -1/+8 |
| |/ | |||||
| * | oneshot: Apply deferred rustfmt churn | Ian Jackson | 2023-10-11 | 1 | -1/+1 |
| | | | | | cargo fmt, precisely. | ||||
| * | oneshot: Use veneer in tor-ptmgr | Ian Jackson | 2023-10-11 | 1 | -1/+1 |
| | | |||||
| * | Resolve ClientTransportLaunched and ServerTransportLaunched in different arms | Saksham Mittal | 2023-09-13 | 1 | -24/+26 |
| | | |||||
| * | Rename ClientTransportGaveError to TransportGaveError | Saksham Mittal | 2023-09-13 | 2 | -4/+4 |
| | | |||||
| * | Deduplicate ClientTransportLaunched and ServerTransportLaunched | Saksham Mittal | 2023-09-11 | 1 | -106/+135 |
| | | | | | | | | Note: this isn't perfect, though it moves both match arms to try_match_common_messages, it does end up resolving them separately using a helper function, and also necessitated creating another function in the PluggableTransportPrivate trait | ||||
| * | Deduplicate ClientTransportFailed and ServerTransportFailed | Saksham Mittal | 2023-09-11 | 1 | -22/+11 |
| | | |||||
| * | Import sealed module to avoid syntactic vinegar | Saksham Mittal | 2023-09-11 | 1 | -14/+15 |
| | | |||||
| * | tor-ptmgr: Test for empty values | Emil Engler | 2023-09-07 | 1 | -0/+7 |
| | | | | | | | | This commit adds a unit test that checks if an empty value is parsed properly. It fixes the coverage in `crates/tor-ptmgr/src/ipc.rs:120`. | ||||
| * | tor-ptmgr: Test for missing values | Emil Engler | 2023-09-07 | 1 | -0/+6 |
| | | | | | | This commit adds a test which checks for a missing value in an SMETHOD argument. | ||||
| * | tor-ptmgr: Test for forbidden `=` | Emil Engler | 2023-09-07 | 1 | -0/+6 |
| | | | | | | This commit adds a unit test to the `tor-ptmgr` crate, which checks for forbidden `=` signs while reading a value. | ||||
| * | tor-ptmgr: Test argument ending with backslash | Emil Engler | 2023-09-07 | 1 | -0/+6 |
| | | | | | | This commit adds a unit test to the `tor-ptmgr` crate, which checks if arguments are terminated with a backslash, which is forbidden. | ||||
| * | tor-ptmgr: Test unsupported octal sequences | Emil Engler | 2023-09-07 | 1 | -0/+9 |
| | | | | | | This commit adds a unit test that checks if all octal escape sequences are treated as an unsupported error. | ||||
| * | tor-ptmgr: Test escape sequences | Emil Engler | 2023-09-07 | 1 | -0/+8 |
| | | | | | | This commit adds a test to the `tor-ptmgr` crate, which increases the test coverage by checking for escape sequences in values. | ||||
| * | Add cognitive-complexity exceptions for clippy. | Nick Mathewson | 2023-09-05 | 1 | -0/+2 |
| | | | | | I have no idea why these became necessary. | ||||
| * | Add initial support for running a PT in server mode | Saksham Mittal | 2023-08-24 | 2 | -301/+642 |
| | | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 1 | -2/+2 |
| | | |||||
| * | tor-guardmgr: bridges: fix typo in getter doc | Ian Jackson | 2023-07-21 | 1 | -1/+1 |
| | | |||||
| * | tor-guardmgr: bridges: getter for ManagedTransportConfigBuilder.protocols | Ian Jackson | 2023-07-20 | 1 | -0/+9 |
| | | | | | | It's a bit of a wart that tor-ptmgr calls these "protocols" and tor-guardmgr calls these "transport names". | ||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 2 | -0/+2 |
| | | |||||
| * | Throughout: Use *_report!() macros for reporting Errors. | Nick Mathewson | 2023-07-07 | 2 | -10/+6 |
| | | | | | | | | | | | | | | | | I identified the cases to replace by searching for the string `.report()`. There are a few that I didn't change: * A couple of cases that used anyhow::Error, * One case that reported two Errors. * Two cases in `tor_hsclient::err` that just did `error!("Bug: {}")`. I have also not audited the cases in `tor-hsclient` where we're using `tor_error::Report` manually. Nonetheless, closes #949. | ||||
| * | Run add_warning to remove `missing_panics_doc` deny. | Nick Mathewson | 2023-07-06 | 1 | -1/+0 |
| | | | | | Closes #950. | ||||
| * | Additional documentation around bridges/PT configuration | Nick Mathewson | 2023-07-03 | 1 | -2/+11 |
| | | | | | | | | This tries to flesh out some of the details for users who may be new to bridges and PTs. Closes #706. | ||||
| * | lints: Run maint/add_warning to actually apply new lints | Ian Jackson | 2023-06-21 | 1 | -0/+2 |
| | | |||||
| * | Use ErrorReport - run rustfmt | Ian Jackson | 2023-01-30 | 1 | -1/+5 |
| | | | | | Split off for ease of review and possible rebase. | ||||
| * | Use ErrorReport for errors in error! in tor-ptmgr | Ian Jackson | 2023-01-30 | 1 | -1/+2 |
| | | |||||
| * | Use ErrorReport for errors in warn! in tor-ptmgr | Ian Jackson | 2023-01-30 | 1 | -3/+3 |
| | | |||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | Disable clippy::unlinlined-format-args | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | | | | This warning kind of snuck up on us! (See #748) For now, let's disable it. (I've cleaned it up in a couple of examples, since those are meant to be more idiomatic and user-facing.) Closes #748. | ||||
| * | ptmgr: Add more logs when looking/creating a PT. | Nick Mathewson | 2023-01-06 | 1 | -24/+46 |
| | | | | | | | | These are also based on temporary logs that I added locally while I was hunting bugs. Also part of #677. | ||||
| * | ptmgr: Add more logging to IPC code. | Nick Mathewson | 2023-01-06 | 1 | -9/+34 |
| | | | | | | | | | This is based on logs that I added locally while I was trying to debug some startup issues. Hopefully they'll make things easier the next time there's something to debug. Part of #677. | ||||
| * | Fix typos | Dimitris Apostolou | 2022-12-09 | 1 | -1/+1 |
| | | |||||
| * | Hang onto a PT object after it is launched | Nick Mathewson | 2022-11-30 | 1 | -0/+1 |
| | | | | | | | | If we don't do this, then snowflake's stdin will get closed and it will exit immediately. Found while investigating #333. | ||||
| * | ptmgr todo: Remove dead code allow | Ian Jackson | 2022-11-30 | 1 | -2/+0 |
| | | |||||
| * | ptmgr: No need for state_dir in PtMgr | Ian Jackson | 2022-11-30 | 1 | -4/+1 |
| | | | | | This is used exclusively by the reactor. | ||||
| * | ptmgr todo: Tolerate exposing the Vec for now | Ian Jackson | 2022-11-30 | 1 | -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 'no_empty_select' into 'main' | eta | 2022-11-30 | 1 | -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 Mathewson | 2022-11-30 | 1 | -1/+9 |
| | | | | | | | | | | | | | Closes #670. Closes #672. | ||||
| * | | ptmgr: change error UnconfiguredTransportDueToConcurrentReconfiguration | Ian Jackson | 2022-11-30 | 2 | -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::NotAFile | Ian Jackson | 2022-11-30 | 1 | -2/+6 |
| | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/901#note_2858454 | ||||
| * | | ptmgr: Fix kind for E::StatedirCreateFailed | Ian Jackson | 2022-11-30 | 1 | -1/+1 |
| |/ | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/901#note_2858456 | ||||
| * | ptmgr: report an error if PT transports don't match requested. | Nick Mathewson | 2022-11-29 | 2 | -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 requests | Nick Mathewson | 2022-11-29 | 1 | -1/+1 |
| | | |||||
| * | ptmgr: Use anonymize_home when displaying paths in errors | Nick Mathewson | 2022-11-29 | 1 | -3/+4 |
| | | |||||
| * | ptmgr: Use PluggableTransport::identity in logs. | Nick Mathewson | 2022-11-29 | 2 | -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 Mathewson | 2022-11-29 | 2 | -11/+37 |
| | | |||||
| * | Merge remote-tracking branch 'eta/ptreactor-v1' into merge_ptreactor | Nick Mathewson | 2022-11-29 | 3 | -39/+263 |
| |\ | | | | | | | | | Resolved several conflicts while doing so; mostly with !893 and !895. | ||||
