<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src, branch arti-v1.1.11</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.11</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.11'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-11-20T15:24:09Z</updated>
<entry>
<title>Improve documentation in/around DosParams extension</title>
<updated>2023-11-20T15:24:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-15T22:54:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4b1eef41ee8113b6c4b3d418240dc4c23ea31a50'/>
<id>urn:sha1:4b1eef41ee8113b6c4b3d418240dc4c23ea31a50</id>
<content type='text'>
It does not help that C tor has a set of parameters and a set of
configuration options with exactly the same names which configure
the same thing in two slightly different ways.
</content>
</entry>
<entry>
<title>tor-hsservice: Rewrite map() as a for-loop (fmt).</title>
<updated>2023-10-03T11:06:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-02T10:27:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1360cd1c0e799daaa188327fa2f252a0faeb5017'/>
<id>urn:sha1:1360cd1c0e799daaa188327fa2f252a0faeb5017</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdir: Fix broken condition.</title>
<updated>2023-10-03T11:05:46Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-09-28T17:02:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cec28a2a4acd8be80163ec63d702b3a00de3fc8a'/>
<id>urn:sha1:cec28a2a4acd8be80163ec63d702b3a00de3fc8a</id>
<content type='text'>
The statement
```
        if hsids.all(|(_hsid, period)| rings.any(|(_, _, tp)| tp == period)) {
```

had 2 bugs:
   * the condition is reversed (it should be negated: we need to bail if
     one of the specified `hsids` cannot be found on any of our rings)
   * `rings.any()` mutates the `rings` iterator, causing
     `hs_dirs_upload` to return fewer HSDirs than expected
</content>
</entry>
<entry>
<title>arti-client: add exit selection with GeoIP country codes</title>
<updated>2023-09-18T11:25:36Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-08-22T15:52:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6fe895eb5c605e9c8de7ba871fc2114d65e098c'/>
<id>urn:sha1:a6fe895eb5c605e9c8de7ba871fc2114d65e098c</id>
<content type='text'>
This threads the country codes work through the rest of the codebase:

- `tor-dirmgr` will now enable GeoIP with the embedded database when the
  `geoip` future is enabled
  - This can be extended later using the `DirMgrConfig` to allow
    specifying a custom database; this is not done here, though
- `tor-circmgr`'s `SupportedCircUsage` and `TargetCircUsage` fields gain
  new `country_code` members to allow filtering circuits by country
  - These are `()` in builds where the `geoip` feature is not enabled --
    doing it this way means we don't have to copy and paste huge swathes
    of code, since we can't use `#[cfg]` in patterns
- `ExitPathBuilder` gains (hacked-in) support for choosing a relay with
  the correct country code
  - Due to the lack of conjuction, we just copy and paste a small bit,
    pending further refactoring
- `StreamPrefs` now lets you specify a country code, letting embedders
  make use of the feature
</content>
</entry>
<entry>
<title>hs: Intro point selection: TODO re checking the stable flag (fmt)</title>
<updated>2023-08-29T13:12:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-29T09:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d2df6b2984407ee6c16014284106e99f19378b4'/>
<id>urn:sha1:1d2df6b2984407ee6c16014284106e99f19378b4</id>
<content type='text'>
Apply erroneous formatting as demanded by rustfmt.
</content>
</entry>
<entry>
<title>hs: Intro point selection: TODO re checking the stable flag</title>
<updated>2023-08-29T13:12:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-25T17:08:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3140df0972488024427e011a7ab5eaf879bf8f7e'/>
<id>urn:sha1:3140df0972488024427e011a7ab5eaf879bf8f7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hs: Intro point selection: Actually call is_hs_intro_point()</title>
<updated>2023-08-29T13:12:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-25T17:01:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e000a0a761801032f338273bc5dc7ea229b3f6c'/>
<id>urn:sha1:3e000a0a761801032f338273bc5dc7ea229b3f6c</id>
<content type='text'>
Call site as per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1550#note_2936401

Plus a TODO comment with an opinion from me about this API.
(Note not a TODO HSS so this is on the back burner.)
</content>
</entry>
<entry>
<title>tor-netdir: Add TODO about WeightRole::HsRend</title>
<updated>2023-08-29T13:12:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-25T16:51:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=daf51bb426195876a37ab96f13bd80d4f59a2fb2'/>
<id>urn:sha1:daf51bb426195876a37ab96f13bd80d4f59a2fb2</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1550#note_2936400
</content>
</entry>
<entry>
<title>tor-netdir: Support for seleting HS intro points</title>
<updated>2023-08-29T13:12:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-25T10:32:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5494d0e7aca41fe1b64cef9605f2b94e90c2fd6a'/>
<id>urn:sha1:5494d0e7aca41fe1b64cef9605f2b94e90c2fd6a</id>
<content type='text'>
I'm quite unsure about this.  Hence the TODOs.

I think the API is right, though.
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
</feed>
