<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src, branch arti-v1.1.9</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.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-18T11:25:36Z</updated>
<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>
<entry>
<title>tor-netdir: Use an owned HsBlindId instead of a reference.</title>
<updated>2023-08-22T14:48:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-21T13:38:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1c54adae77c08d4fc5eb7de98b1f9486b88c95b'/>
<id>urn:sha1:b1c54adae77c08d4fc5eb7de98b1f9486b88c95b</id>
<content type='text'>
`HsBlindId` is `Copy`.
</content>
</entry>
<entry>
<title>tor-netdir: Replace flat_map() with cartesian_product().</title>
<updated>2023-08-22T14:48:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-21T13:20:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=59b94ed06c06f1d0dd6877fac6a0385ec56c4385'/>
<id>urn:sha1:59b94ed06c06f1d0dd6877fac6a0385ec56c4385</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdir: Make `hs_dirs_upload` take an iterator instead of a slice (fmt).</title>
<updated>2023-08-22T14:48:00Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-21T13:16:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e193ebd6364616c614e14dc83a58a8c419583fb'/>
<id>urn:sha1:3e193ebd6364616c614e14dc83a58a8c419583fb</id>
<content type='text'>
</content>
</entry>
</feed>
