<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/src/mgr.rs, branch arti-1.2.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-13T16:30:53Z</updated>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>circmgr: Remove now-obsolete error variants.</title>
<updated>2024-03-12T13:43:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-06T16:40:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3042830920b11775a135b7e7d0a50c0450c896e3'/>
<id>urn:sha1:3042830920b11775a135b7e7d0a50c0450c896e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Add UniqId to CircTimeout.</title>
<updated>2024-02-27T17:01:33Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-27T12:17:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa58c591be7dad1ae354dcf28546d133f79969bf'/>
<id>urn:sha1:fa58c591be7dad1ae354dcf28546d133f79969bf</id>
<content type='text'>
Part of #1297
</content>
</entry>
<entry>
<title>Teach *CircUsage structs about stability.</title>
<updated>2024-02-20T14:37:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-12T17:23:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=07373d8c0990748ea89cc600882168f08787cab5'/>
<id>urn:sha1:07373d8c0990748ea89cc600882168f08787cab5</id>
<content type='text'>
This lets us check long_lived_ports only when we are constructing
a TargetCircUsage, and lets us remember whether or not the circuit
we've built is suitable for non-long-lived ports.

It also lets us decide whether existing circuits are compatible with
new requests.

Closes #1100.
</content>
</entry>
<entry>
<title>tor-circmgr: partially port mgr tests to MockRuntime</title>
<updated>2023-11-14T12:32:14Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-09T08:21:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9530e2f735742c1de336b87c3687ca79a874d75'/>
<id>urn:sha1:d9530e2f735742c1de336b87c3687ca79a874d75</id>
<content type='text'>
MockSleepRuntime wraps a MockRuntime instead of using
test_with_one_runtime!(), so the tests should be more
deterministic
</content>
</entry>
<entry>
<title>AbstractCircMgr::get_or_launch: inline wait_for_circ</title>
<updated>2023-10-25T14:03:08Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-10-19T21:11:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c1cb210c30dc17153946b32faf84fcc4d47cd328'/>
<id>urn:sha1:c1cb210c30dc17153946b32faf84fcc4d47cd328</id>
<content type='text'>
</content>
</entry>
<entry>
<title>AbstractCircMgr::get_or_launch: document MSRV where div_ceil was stabilized</title>
<updated>2023-10-25T14:03:08Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-10-19T21:09:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=caf9ea6bbd94b0010c4fb275effa5329182bda14'/>
<id>urn:sha1:caf9ea6bbd94b0010c4fb275effa5329182bda14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>oneshot: Apply deferred rustfmt churn</title>
<updated>2023-10-11T15:19:46Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-11T15:09:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=665ba4f6b6ed2de6f723177d5472e7ee1440599e'/>
<id>urn:sha1:665ba4f6b6ed2de6f723177d5472e7ee1440599e</id>
<content type='text'>
cargo fmt, precisely.
</content>
</entry>
<entry>
<title>oneshot: Use veneer in tor-circmgr</title>
<updated>2023-10-11T15:19:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-11T14:15:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee5a16fd8ecdc5cefb9ab2af1d4a0004e6746cdb'/>
<id>urn:sha1:ee5a16fd8ecdc5cefb9ab2af1d4a0004e6746cdb</id>
<content type='text'>
</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>
</feed>
