<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/rpc.rs, branch arti-v1.2.7</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.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-28T13:00:31Z</updated>
<entry>
<title>rpc: Try using postage::watch to initialize ProxyInfo.</title>
<updated>2024-08-28T13:00:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-27T17:16:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ebbece794a2b11ff8d90af61be56a460d74255cd'/>
<id>urn:sha1:ebbece794a2b11ff8d90af61be56a460d74255cd</id>
<content type='text'>
(This is a bit trickier than I would like, but it ensures that we
never return a "not initialized yet" code.)
</content>
</entry>
<entry>
<title>RPC: Add experimental method to list SOCKS proxies.</title>
<updated>2024-08-28T13:00:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-22T14:38:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5a79d84df763867ac5f22a81ddbc594ca0b7b939'/>
<id>urn:sha1:5a79d84df763867ac5f22a81ddbc594ca0b7b939</id>
<content type='text'>
We'll need this for our rpc-library code to meaningfully open SOCKS
connections.

Closes #1523.
</content>
</entry>
<entry>
<title>arti: Define a new ArtiRpcSession type.</title>
<updated>2024-08-28T13:00:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-22T12:46:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=657aa2e4d5dff83fadedec7a0be0e5413a27d8f3'/>
<id>urn:sha1:657aa2e4d5dff83fadedec7a0be0e5413a27d8f3</id>
<content type='text'>
This type exists in the `arti` crate.  It wraps and delegates to
`arti_rpcserver::RpcSession`.  Subsequent commits will use it to
expose information from the `arti` crate to the RPC system; right
now it does nothing.
</content>
</entry>
<entry>
<title>RPC: Use RPC methods instead of the "ClientConnectionTarget" trait.</title>
<updated>2024-06-11T21:02:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-04T17:22:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c07455965fd201ec66631e649a10660e5955e47c'/>
<id>urn:sha1:c07455965fd201ec66631e649a10660e5955e47c</id>
<content type='text'>
On its own, this might not seem like a huge improvement, but it will
later let us implement these RPC methods for types that can't
reasonably implement ClientConnectionTarget.

It also serves as a proof of concept that special-method invocation
can actually work, so that we can build things like this in cases
where introducing a trait isn't practical.

Closes #1427
</content>
</entry>
<entry>
<title>RPC: Give error from RpcMgr::new if method name is sufficiently bad.</title>
<updated>2024-05-14T13:49:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T13:46:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f50a947a9859535c02aa117fe1cd4fea4fff09b'/>
<id>urn:sha1:9f50a947a9859535c02aa117fe1cd4fea4fff09b</id>
<content type='text'>
(We don't give an error about unrecognized namespaces (for now),
since we have no way to opt in to them.)
</content>
</entry>
<entry>
<title>RPC: Enforce method name format.</title>
<updated>2024-05-14T13:39:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-14T13:35:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8da4b96991c01ff16bd1194bca77d9bedf0bb9fa'/>
<id>urn:sha1:8da4b96991c01ff16bd1194bca77d9bedf0bb9fa</id>
<content type='text'>
We need to do this carefully, since we want our system to be
extensible with new namespaces.

First, when we are constructing an RpcMgr, we _warn_ about any
method names that are misformed.

Second, we add a test in the `arti` crate to fail if any method
names are invalid.  This will only catch method names in crates that
`arti` depends on.
</content>
</entry>
<entry>
<title>RPC: RpcDataStream type to act as a "stream-shaped hole"</title>
<updated>2024-05-14T12:04:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-10T01:32:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d014d60e9e5fe439846e4c05fdd8e73bfc67a1fd'/>
<id>urn:sha1:d014d60e9e5fe439846e4c05fdd8e73bfc67a1fd</id>
<content type='text'>
The application creates these, using a new-stream-handle RPC command,
on an object that can actually create streams.

Then later, the application provides the (global) identity of one of
these objects when it's making a SOCKS connection.  This causes the
object to take hold of a `DataStreamCtrl`.
</content>
</entry>
<entry>
<title>TorClient: Slightly cleaner (?) interface for registering RPC methods.</title>
<updated>2024-05-06T13:12:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-01T13:37:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1bc4064c835edaf972716563bc35b27b37d10703'/>
<id>urn:sha1:1bc4064c835edaf972716563bc35b27b37d10703</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Implement methods to get and watch client bootstrap status.</title>
<updated>2024-05-06T13:12:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-25T14:10:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f9770aa50036d6c5ab01880a7f9e2dc0087364a'/>
<id>urn:sha1:7f9770aa50036d6c5ab01880a7f9e2dc0087364a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Give the session-creation function an argument.</title>
<updated>2023-06-15T15:50:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:50:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9e8ad5415edfa6d422b6b91375b6723ce9da5704'/>
<id>urn:sha1:9e8ad5415edfa6d422b6b91375b6723ce9da5704</id>
<content type='text'>
This will later let us tell the session-creation function
how the authentication occurred, which will let it decide
what privileges to provide.
</content>
</entry>
</feed>
