<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/cfg.rs, branch arti-v1.1.12</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.12'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-12-12T19:51:00Z</updated>
<entry>
<title>arti: Test for expected value of onion service cfg.</title>
<updated>2023-12-12T19:51:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-11T18:02:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=796bf194b749a54f8c0d30e160854a560e2014fb'/>
<id>urn:sha1:796bf194b749a54f8c0d30e160854a560e2014fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: Enforce onion service nickname distinctness</title>
<updated>2023-12-12T19:50:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-11T17:35:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=feb72f5a781eea4ff9c2e193d346f5a6bdf94ece'/>
<id>urn:sha1:feb72f5a781eea4ff9c2e193d346f5a6bdf94ece</id>
<content type='text'>
The most logical way to do this was to change the "List" type
to a HashMap, and add a build function to the ListBuilder.

This change additionally renames:
   OnionServiceProxyConfig{List=&gt;Map}
   NamedProxyMap =&gt; ProxyBuilderMap
(We now have two kinds of map, and this name change will clarify the
distinction.)
</content>
</entry>
<entry>
<title>arti: Downgrade a TODO HSS about testing onion-service config.</title>
<updated>2023-12-12T19:50:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-11T16:53:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0d467d556dea6ee6eff326e62bc78bc535b785a'/>
<id>urn:sha1:f0d467d556dea6ee6eff326e62bc78bc535b785a</id>
<content type='text'>
IIUC, there will never be a Some(InNew) entry here, since we will
never have an onion service be configured by default.  Instead we
test this kind of configuration by having commented-out options that
we uncomment as needed.
</content>
</entry>
<entry>
<title>arti cfg: suppress a warning</title>
<updated>2023-12-04T11:52:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-12-04T11:51:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9be5d7b2f897a0111153c282155a664c636c558c'/>
<id>urn:sha1:9be5d7b2f897a0111153c282155a664c636c558c</id>
<content type='text'>
There is a TODO HSS for this.  Fixes  cargo check --workspace --all-targets
producing

  warning: unused variable: `result`
      --&gt; crates/arti/src/cfg.rs:1060:13
       |
  1060 |         let result = file.resolve::&lt;(TorClientConfig, ArtiConfig)&gt;();
       |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
       |
       = note: `#[warn(unused_variables)]` on by default
</content>
</entry>
<entry>
<title>Revert "hsrproxy: Temporarily change the format of ProxyRule."</title>
<updated>2023-11-30T00:54:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-28T14:07:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5254b808b98a5c6ec2f75ef5a505db3315fbbd6c'/>
<id>urn:sha1:5254b808b98a5c6ec2f75ef5a505db3315fbbd6c</id>
<content type='text'>
This reverts commit 21605d2c9e601c3a5099bfd8d8c887cbb3b36c0a.

We're doing this because we wanted the configuration of proxy rules
to be a 2-tuple, as in `[ "22", "127.0.0.1:22" ]`.  But `config`
couldn't handle that before, so we temporarily changed it to
a string, as in "22 =&gt; 127.0.0.1:22".

Closes #1058.
</content>
</entry>
<entry>
<title>Use a less obtrustive sign to end the onion services config section</title>
<updated>2023-10-11T14:17:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-11T14:16:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=13cb4f835185cbb402efff03badbd27e660edf1a'/>
<id>urn:sha1:13cb4f835185cbb402efff03badbd27e660edf1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve test fn documentation even more.</title>
<updated>2023-10-10T18:20:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-10-10T18:20:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f845d8ca0e508c70b31aab650bb05051629ade8'/>
<id>urn:sha1:6f845d8ca0e508c70b31aab650bb05051629ade8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti::cfg: tweak narrow() test fn to be more useful.</title>
<updated>2023-10-10T18:18:55Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-10T18:16:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a75cd6af938e31f5ef54d1c3cc6452bdcf2a796c'/>
<id>urn:sha1:a75cd6af938e31f5ef54d1c3cc6452bdcf2a796c</id>
<content type='text'>
It still matches the start pattern in the same way, but it takes the
_next_ match of the end pattern after the start pattern, and it
allows the end pattern to be absent.

This will make the bridge tests a little more robust, and let the
onion service tests stop saying BEGIN and END.
</content>
</entry>
<entry>
<title>Non-working attempt to test onion service configuration.</title>
<updated>2023-10-03T19:41:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-03T19:41:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=72fd323e12a703aeff2ae929a2b41df610d2db02'/>
<id>urn:sha1:72fd323e12a703aeff2ae929a2b41df610d2db02</id>
<content type='text'>
The problem here is that, for some reason, the proxy_rule
configuration doesn't actually work.  I suspect a bug in
Flatten, since the same configuration works fine if you pass
it to the hsrproxy config directly.
</content>
</entry>
<entry>
<title>arti: Try to document some test helpers.</title>
<updated>2023-10-03T18:54:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-03T18:43:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9290dcbdea1b9dea080c6063b36d8a141fb1f470'/>
<id>urn:sha1:9290dcbdea1b9dea080c6063b36d8a141fb1f470</id>
<content type='text'>
</content>
</entry>
</feed>
