summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-proto: When relay IDs mismatch, the IDs are sensitive in errorsIan Jackson2023-01-063-3/+8
| | | |
* | | | chanmgr: trace-level logs when launching connections.Nick Mathewson2023-01-062-0/+15
| | | | | | | | | | | | | | | | Based on more temporary debugging code. Yet another part of #677.
* | | | ptmgr: Add more logs when looking/creating a PT.Nick Mathewson2023-01-061-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 Mathewson2023-01-061-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.
* | | Merge branch 'ya-lint' into 'main'eta2023-01-061-1/+4
|\ \ \ | | | | | | | | | | | | | | | | tor-linkspec: Fix an unused lint See merge request tpo/core/arti!935
| * | | tor-linkspec: Fix an unused lintIan Jackson2022-12-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise: cargo +stable clippy -p tor-proto --all-features --all-targets Produces: warning: unused import: `PtTargetAddr` --> crates/tor-linkspec/src/traits.rs:9:28 | 9 | use crate::{ChannelMethod, PtTargetAddr, RelayIdRef, RelayIdType, RelayIdTypeIter}; | ^^^^^^^^^^^^
* | | | Merge branch 'test-lints' into 'main'eta2023-01-06131-8/+1076
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add test lint blocks to all "mod test" See merge request tpo/core/arti!937
| * | | | test lint blocks: Add many many automaticallyIan Jackson2022-12-12120-1/+988
| | | | | | | | | | | | | | | | | | | | | | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks.
| * | | | test lint blocks: Do some semi-manuallyIan Jackson2022-12-1210-5/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the hunks from running the rune in maint/adhoc-add-lint-blocks but which require some subsequent manual fixup: usually, deleting now-superfluous outer allows, but in some cases manually putting back lints that the adhoc script deleted.
| * | | | test lint blocks: Standardise one in tor-socksprotoIan Jackson2022-12-121-2/+2
| |/ / / | | | | | | | | | | | | | | | | The previous syntax was recognised by the real script, but not by the ad-hoc script I'm about to use to add all the missing ones.
* | | | Merge branch 'bug589a' into 'main'eta2023-01-061-5/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove allow(unreachable_pub) from tor-guardmgr/src/lib.rs Closes #589 See merge request tpo/core/arti!944
| * | | | Remove allow(unreachable_pub) from tor-guardmgr/src/lib.rsNeel Chauhan2022-12-161-5/+0
| | | | | | | | | | | | | | | | | | | | Closes #589
* | | | | Merge branch 'socks-resolve-ip' into 'main'eta2023-01-061-15/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolve ip through socks by parsing them Closes #714 See merge request tpo/core/arti!957
| * | | | | resolve ip through socks by parsing themtrinity-1686a2023-01-031-15/+25
| | |_|/ / | |/| | |
* | | | | Merge branch 'ctbytes' into 'main'eta2023-01-064-39/+152
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Add a new "CtByteArray" type, and use it in Id types. See merge request tpo/core/arti!962
| * | | | Add a new "CtByteArray" type, and use it in Id types.Nick Mathewson2023-01-054-39/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This type provides a common implementation for types that are implemented as arrays of bytes that should only be compared with constant-time comparisons.
* | | | | Merge branch 'tor-rtmock-rfc3399' into 'main'Ian Jackson2023-01-042-2/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use parse_rfc3339() in the tor-rtmock crate See merge request tpo/core/arti!943
| * | | | | Use parse_rfc3339() in the tor-rtmock crateNeel Chauhan2022-12-162-2/+3
| | |_|/ / | |/| | |
* | | | | Merge branch 'tor-proto-use-rfc3339' into 'main'Ian Jackson2023-01-041-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use parse_rfc3339() in the tor-proto crate See merge request tpo/core/arti!942
| * | | | | Use parse_rfc3339() in the tor-proto crateNeel Chauhan2022-12-161-1/+2
| |/ / / /
* | | | | Merge branch 'tor-netdoc-rfc3399' into 'main'Ian Jackson2023-01-042-4/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Use parse_rfc3339() in the tor-netdoc crate See merge request tpo/core/arti!941
| * | | | Use parse_rfc3339() in the tor-netdoc crateNeel Chauhan2022-12-162-4/+5
| |/ / /
* | / / doc: consistent summary line for the READMEsEmil Engler2022-12-2020-20/+20
| |/ / |/| | | | | | | | | | | This commit introduces a consistency to the summary line of all README.md files in each and every crate.
* | | Add semver.md for (into_)handshake()Neel Chauhan2022-12-191-0/+2
| | |
* | | msg::{CreateFast/CreatedFast}: Rename accessor to (into_)body()Neel Chauhan2022-12-183-6/+6
|/ /
* | Merge branch 'err-dyn-report' into 'main'Ian Jackson2022-12-154-7/+51
|\ \ | | | | | | | | | | | | Error logging (ErrorReport, .report()) POC See merge request tpo/core/arti!936
| * | tor-error: tests: Add a test case for Report and Bug wrappingIan Jackson2022-12-151-0/+11
| | |
| * | tor-circmgr: Use ErrorReport on a logged errorIan Jackson2022-12-121-1/+2
| | | | | | | | | | | | To demonstrate what the use looks like.
| * | tor-error: Provide ErrorReport extension trait with .report() methodIan Jackson2022-12-121-0/+32
| | |
| * | tor_error: Promote internal StdError alias to reportIan Jackson2022-12-121-5/+5
| | | | | | | | | | | | | | | The std::error::Error repetition was getting rather repetitively repetitious, and is about to get more so.
| * | tor-proto: reactor tests: Use debug fmt on an errorIan Jackson2022-12-121-1/+1
| |/ | | | | | | | | | | | | In tests, debug fmt is usually appropriate. Found while looking for a candidate for https://gitlab.torproject.org/tpo/core/arti/-/issues/680
* | Tackling issue #663 (Use humantime in tests)coral2022-12-128-13/+20
| |
* | Rename Sensitive::into_inner() from ::unwrap()Ian Jackson2022-12-122-5/+21
|/ | | | | | | | | | By analogy with similar methods on Mutex, Cell, BufReader, etc. etc. Discussed here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/890#note_2856885 Make it a method, as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/928
* Fix typosDimitris Apostolou2022-12-092-2/+2
|
* Merge branch 'doc-config-must' into 'main'Nick Mathewson2022-12-071-0/+60
|\ | | | | | | | | | | | | tor-config: Document how to reject compiled-out features Closes #654 See merge request tpo/core/arti!929
| * tor-config: Document how to reject compiled-out featuresIan Jackson2022-12-061-0/+49
| | | | | | | | Fixes #654
| * tor-config: Add "particular situations" sections and mention list_builderIan Jackson2022-12-061-0/+11
| |
* | Merge branch 'shewllexpand' into 'main'Nick Mathewson2022-12-072-3/+9
|\ \ | | | | | | | | | | | | tor-config: Update to shellexpand 3.x See merge request tpo/core/arti!927
| * | tor-config: Update to shellexpand 3.xIan Jackson2022-12-062-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the new upstream version (published by me, recently). It has the same MSRV and one breaking change: The caller who specifies a home dir function for substituting into strings, must now supply a string, not Path. Previously shellexpand would allow the caller to supply non-unicode data, and then simply not substitute it. That was an infelicity in the shellexpand API. Now this infelicity is pushed into our code. The overall behaviour of Arti hasn't changed as a result. And it seems reasonable to me. shellexpand 3.x also has a module for expanding Paths instead, in response to requests for this filed as upstream tickets. We *could* use that but I am not sanguine about that approach: the Pathness would spread throughout much of our config and file handling code. I think we should at the very least postpone trying to work with invalid-unicode-paths as long as we can.
| * | tor-config: home dir handling: fmt pre-patchIan Jackson2022-12-061-1/+3
| |/
* | Merge branch 'spelling-20221206' into 'main'Ian Jackson2022-12-064-15/+15
|\ \ | | | | | | | | | | | | A few spelling fixes for bridgedescmgr code See merge request tpo/core/arti!925
| * | arti-client: spelling fix.Nick Mathewson2022-12-061-1/+1
| | |
| * | dirmgr: Spelling fixes and normali[sz]ationsNick Mathewson2022-12-063-14/+14
| | |
* | | Merge branch 'persist_err_test' into 'main'Ian Jackson2022-12-062-8/+29
|\ \ \ | | | | | | | | | | | | | | | | Test a couple more error cases in tor-persist, and lightly refactor See merge request tpo/core/arti!930
| * | | Test a couple more error cases in tor-persist.Nick Mathewson2022-12-062-8/+29
| |/ /
* | | Merge branch 'safelog_tests' into 'main'Ian Jackson2022-12-062-3/+69
|\ \ \ | | | | | | | | | | | | | | | | More unit tests for safelog crate See merge request tpo/core/arti!928
| * | | safelog: tests for accessors.Nick Mathewson2022-12-061-0/+2
| | | |
| * | | safelog: tests for BoxSensitive.Nick Mathewson2022-12-061-0/+17
| | | |
| * | | safelog: more tests for Redacted.Nick Mathewson2022-12-062-3/+50
| |/ /
* | | Merge branch 'faravahar-removal' into 'main'Ian Jackson2022-12-061-1/+0
|\ \ \ | |_|/ |/| | | | | | | | dirauth: Remove Faravahar See merge request tpo/core/arti!924