<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/cfg.rs, branch arti-v1.1.13</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.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-01-16T20:25:17Z</updated>
<entry>
<title>Merge branch 'err_on_no_onion_service_support' into 'main'</title>
<updated>2024-01-16T20:25:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-16T20:25:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=875045773fc5998550551aec4e0941620c7c1445'/>
<id>urn:sha1:875045773fc5998550551aec4e0941620c7c1445</id>
<content type='text'>
Give an error when user configured onion services with no support.

Closes #1184

See merge request tpo/core/arti!1885</content>
</entry>
<entry>
<title>hsrproxy: Temporarily remove ability to config unix addresses</title>
<updated>2024-01-16T16:56:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-16T16:56:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=36dcbe9382e12f32d2aecb159c8b51c14871a701'/>
<id>urn:sha1:36dcbe9382e12f32d2aecb159c8b51c14871a701</id>
<content type='text'>
I'm taking this out for now since we don't have support for actually
making these addresses work, and the current behavior will just
ignore connections silently.

Closes #1245
</content>
</entry>
<entry>
<title>Give an error when user configured onion services with no support.</title>
<updated>2024-01-16T16:42:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-16T16:42:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bbca0da490059cb757c51d3367f6ab75a397ca09'/>
<id>urn:sha1:bbca0da490059cb757c51d3367f6ab75a397ca09</id>
<content type='text'>
We do this by adding a stub config and config builder type, whose
only purpose is to generate an error if anything is deserialized
into it.

(If this turns out not to be the best pattern, we can change it
later, since this is all internal to the `arti` crate.)

Closes #1184.
</content>
</entry>
<entry>
<title>arti::cfg: Turn a TODO HSS into a ticket.</title>
<updated>2024-01-09T19:29:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-09T19:29:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b49bd590b5837f979ef414a70c5d6c63d7f53ce6'/>
<id>urn:sha1:b49bd590b5837f979ef414a70c5d6c63d7f53ce6</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
