<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src/ipt_set.rs, branch arti-v1.2.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5'/>
<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>Fix typos in doc comments</title>
<updated>2024-03-06T19:52:42Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2024-03-06T19:05:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18db641cca83fa707b3a97fa2975f99063f08875'/>
<id>urn:sha1:18db641cca83fa707b3a97fa2975f99063f08875</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: prelude: Move imports from ipt_set.rs</title>
<updated>2024-03-05T14:41:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T12:44:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5f93e0d1c41170ce026fe55c92754f27350a713f'/>
<id>urn:sha1:5f93e0d1c41170ce026fe55c92754f27350a713f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Move svc.rs contents into lib.rs</title>
<updated>2024-03-05T14:41:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T12:12:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2cbc631deefb6a87587ed4bf6eddeeed1397b9b'/>
<id>urn:sha1:c2cbc631deefb6a87587ed4bf6eddeeed1397b9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Hide IptLocalId field, and provide test constructor</title>
<updated>2024-03-05T14:41:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T12:08:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4face216e6a6f9f5bf5842a0de56bb9951f289eb'/>
<id>urn:sha1:4face216e6a6f9f5bf5842a0de56bb9951f289eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Move publish out of svc</title>
<updated>2024-03-05T14:41:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T11:57:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bebb6bdc6e15f42a3e1de7b3a4a68aa16f815294'/>
<id>urn:sha1:bebb6bdc6e15f42a3e1de7b3a4a68aa16f815294</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: Use tor_persist::state_dir</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T15:42:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4a7f0fca0d231eb9c0298b78deee9ed3c1bbc7e'/>
<id>urn:sha1:b4a7f0fca0d231eb9c0298b78deee9ed3c1bbc7e</id>
<content type='text'>
We no longer do replay log locking in IptManager::new.  Instead, we
rely on the acquire_instance call in OnionService::launch, which ends
up with ipt_mgr getting an InstanceHandle (which contains a lock
guard).

OnionServiceStateMgr is abolished; it existed to deal with the
generics in the tor_persist::StateMgr API.  state_dir has no
generics (other than the T being loaded/stored).

Many places (structs and argument lists) now have state_dir types
which embody a path (or a CheckeDir) along with a lock, rather than
separate path+lock+mistrust.

The creation/startup code uses the new calls from state_dir.

Other more minor changes:
 - StartupError::StateDirectoryInaccessible contains tor_persist::Error
 - test::create_storage_handles_from_state_dir changed and renamed,
   from _from_state_mgr.
 - replay::PersistFile's (separate) file lock is now fslock_guard's
</content>
</entry>
<entry>
<title>tor-hsservice: tests: create_storage_handles: use a real directory</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T14:57:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b119723c5ad09160ee920b289c3508a313f4a8bc'/>
<id>urn:sha1:b119723c5ad09160ee920b289c3508a313f4a8bc</id>
<content type='text'>
state_dir doesn't have the in-memory dummy implementation,
so there will have to be a real directory here.

Do that now, as prep.
</content>
</entry>
<entry>
<title>tor-hsservice: storage: Move Arcs into type aliases</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T12:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03825a0ccccf33940c4812d213e1ea00410c39d2'/>
<id>urn:sha1:03825a0ccccf33940c4812d213e1ea00410c39d2</id>
<content type='text'>
These are here because that's what you get from the tor_persist
singleton StageMgr API (for type erasure reasons).  We're going to
change these to tor_persist::state_dir types and those don't involve
Arcs.
</content>
</entry>
<entry>
<title>tor-hsservice: ipt_set: Make store method take &amp;mut self</title>
<updated>2024-02-01T11:21:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-30T12:33:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90ef0de5d3769e78ee460e60aca94f30f118fe87'/>
<id>urn:sha1:90ef0de5d3769e78ee460e60aca94f30f118fe87</id>
<content type='text'>
Only people who can mutate the state ought to be saving it.  Otherwise
there might be concurrent overwrites.
</content>
</entry>
</feed>
