summaryrefslogtreecommitdiff
path: root/tests/shadow/conf
Commit message (Collapse)AuthorAgeFilesLines
* shadow CI: disable stallouts for onion clientsJim Newsome2025-12-087-0/+21
| | | | | | | | | | | | tgen aborts a stream and starts the next one when the "stallout" timeout is reached. In some cases the arti (or tor) client just needs a bit more time to establish a connection to the hidden service. A potential downside is that if a single stream "stalls" forever without an explicit error, tgen will never give up on it, and thus never try any more streams. We can worry about that if and when we see it though; and it would indicate a likely bug since the known clients and servers in this test shouldn't stall indefinitely in this way.
* shadow CI: Use ./ prefix for logging pathJim Newsome2025-11-031-1/+1
| | | | | | | | | | Workaround for arti#2240, though doesn't hurt to be more explicit in general. This bug wasn't triggered in versions of shadow before <https://github.com/shadow/shadow/issues/3659> was fixed - shadow's implementation of `statx` and other syscalls incorrectly behaved as if the `AT_EMPTY_PATH` were set.
* shadow: Update shadow syntax for prop330Clara Engler2025-09-161-3/+1
|
* shadow CI: decrease onion service xfer sizesJim Newsome2025-09-037-14/+21
| | | | | | | | This partially reverts b223d504f6a033600c61e81a0b0a0eea3e43fd44 from arti!3047. Increasing the transfer size exacerbates the failure rate of the onion services too much. We should increase it again once arti#2109 is resolved.
* CI shadow test: increase transfer sizes to 5 MBJim Newsome2025-08-279-18/+18
| | | | | | | | This is the transfer size used in the tor CI chutney tests, to more-fully exercise SENDMEs / congestion control. We also increase the simulation run time to allow time for the larger transfers.
* shadow CI: have arti processes log to file instead of consoleJim Newsome2025-06-171-0/+7
| | | | | | | | | | | | | | This is in preparation to switch arti's console logging to use stderr instead of stdout. The test script currently fails the test if there are non-empty stderr files, since that's where rust panics end up getting recorded. It will also make it easier to see if there is any other non-logging output. Also disable trace-level logging for the tor_proto module. It's unclear exactly when/why this was added, but it's probably overkill other than when debugging.
* shadow tests: Enable and turn on memquotaIan Jackson2024-10-211-0/+5
| | | | This detected the account lifetime bugs fixed in this branch.
* shadow tests: Provide an arti.extra.toml to arti-extra binaryIan Jackson2024-10-211-0/+2
|
* shadow CI: Add arti hidden service test using a C Tor keystore.Gabriela Moldovan2024-10-081-0/+29
|
* shadow: add obfs4 arti client + tor bridgeopara2024-08-212-0/+13
|
* shadow ci: don't explicitly set storage.keystore.enabledJim Newsome2024-08-061-4/+0
| | | | | | | | Setting it for all arti processes causes a warning to be logged to stderr, which causes the shadow ci script to fail. It's enabled by default anyway when the feature is compiled in, so we don't need to enable it explicitly.
* shadow test: Add another client for the restricted discovery service.Gabriela Moldovan2024-08-051-0/+29
| | | | | This tests that the client configured in the `authorized_clients` directory of the service is able to connect.
* shadow test: Add a new arti client for connecting to filserver-onion-arti-auth.Gabriela Moldovan2024-08-051-0/+29
| | | | | This will be used with the new `fileserver-onion-arti-auth` test hidden service.
* shadow test: Add fileserver-onion-arti-authGabriela Moldovan2024-08-051-0/+9
| | | | | | | | | This adds a new restricted discovery hidden service (`fpqqmiwzqiv63jczrshh4qcmlxw6gujcai3arobq23wikt7hk7ojadid.onion`) that has 2 authorized clients: * `alice`, the client configured in the `restricted_discovery.static` list in its TOML config * `default`, the client configured in `authorized_clients/default.auth`
* shadow test: Add test for onion svc using full vanguards.Gabriela Moldovan2024-06-031-0/+29
| | | | | | | This adds an onion service that uses full vanguards, and a client that connects to it. Closes #1408
* arti, arti-client, tor-keymgr: Remove keystore dir configuration.Gabriela Moldovan2024-02-211-1/+3
| | | | Closes #1202
* shadow test: Update hidden service keys.Gabriela Moldovan2023-12-141-1/+1
| | | | | The algorithm name for expanded ed25519 keys has changed, so the test keys need to be updated.
* shadow test: add client for arti hsJim Newsome2023-12-131-0/+29
| | | | | This also adds a workaround - the arti service doesn't appear to register itself (set up intro points) unless first used as a client.
* arti-client: Use the config struct from tor-keymgr.Gabriela Moldovan2023-07-131-2/+3
|
* CI: Add client auth integration test.Gabriela Moldovan2023-07-122-0/+33
|
* articlient-onion: don't filter onion addressesJim Newsome2023-07-031-0/+3
|
* Dedupe arti configs and match TestingTorNetworks HS configJim Newsome2023-07-032-0/+30
|
* shadow test: add and validate arti onion clientJim Newsome2023-07-031-0/+29
|
* shadow test: add onion serverJim Newsome2023-07-033-0/+14
|
* add vanila bridge to shadow simtrinity-1686a2022-11-303-2/+3
|
* Create a shadow-based integration testJim Newsome2022-10-0511-0/+109
Fixes https://gitlab.torproject.org/tpo/core/arti/-/issues/174