<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/socks.rs, branch arti-v1.2.6</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.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-06-11T21:02:04Z</updated>
<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: Make RpcMgr::lookup_object return context along with object.</title>
<updated>2024-06-10T14:33:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-05T14:23:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9267b26bfcf35c5f8594953a75315165849a6828'/>
<id>urn:sha1:9267b26bfcf35c5f8594953a75315165849a6828</id>
<content type='text'>
The context will make it possible to invoke rpc methods.
</content>
</entry>
<entry>
<title>RPC: Use a slightly less awful workaround in socks.rs</title>
<updated>2024-05-14T12:04:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-13T15:43:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1e871608451a5aa7130b6597ba745d0abb090fb3'/>
<id>urn:sha1:1e871608451a5aa7130b6597ba745d0abb090fb3</id>
<content type='text'>
The problem was that Rust won't let us say
```
 type ConnTarget&lt;R&gt; = Arc&lt;dyn ClientConnectionTarget&gt;;
```
because the R parameter wasn't used.

Previously we solved this by using a macro instead of a type
definition, which is ugly.

I had been thinking previously I would need to declare some kind of
additional wrapper type, and had shrunk from the verbosity.  But
@diziet pointed out that I could just use a 2-tuple unconditionally.

It's still not beautiful, but it is less hideous than before.
</content>
</entry>
<entry>
<title>Remove excess indentation from last commit.</title>
<updated>2024-05-14T12:04:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-12T17:41:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fdbb8c6db572aa8f8442ee7a212ba56be2dfc2b3'/>
<id>urn:sha1:fdbb8c6db572aa8f8442ee7a212ba56be2dfc2b3</id>
<content type='text'>
(This is a separate commit to make the branch more readable)
</content>
</entry>
<entry>
<title>RPC: Refactor socks interpretation to remove stream id, add isolation.</title>
<updated>2024-05-14T12:04:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-12T17:37:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eda2e1b957196d7f7f59a200194a77db0dc4df67'/>
<id>urn:sha1:eda2e1b957196d7f7f59a200194a77db0dc4df67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Add a trait that can be the target of SOCKS requests</title>
<updated>2024-05-12T17:41:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-09T22:54:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a20973afe602d5977fd686f6e005c13a1e9d5100'/>
<id>urn:sha1:a20973afe602d5977fd686f6e005c13a1e9d5100</id>
<content type='text'>
(These will later become objects that can receive any application
request, once we have HTTP connect.)

For now, Session and TorClient implement this trait;
but soon there will be a new type to hold on to the created
DataStreamCtrl.

There are some XXXXs here, marking code that is too ugly to live.
I should fix it before I merge this branch.
</content>
</entry>
<entry>
<title>handle_socks_conn: update parameter name in doc comment</title>
<updated>2023-10-25T14:03:08Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-10-19T21:08:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9480119ef6248181c4087ca1fb2ac7d8e39cb46a'/>
<id>urn:sha1:9480119ef6248181c4087ca1fb2ac7d8e39cb46a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Treat only EAFNOSUPPORT as a warning</title>
<updated>2023-09-26T08:16:39Z</updated>
<author>
<name>Jani Monoses</name>
<email>jani.monoses@gmail.com</email>
</author>
<published>2023-09-26T08:16:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97ab5ae9b544131c2b607d1d9175b3a458556e6d'/>
<id>urn:sha1:97ab5ae9b544131c2b607d1d9175b3a458556e6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle address already in use</title>
<updated>2023-09-22T16:26:45Z</updated>
<author>
<name>Jani Monoses</name>
<email>jani.monoses@gmail.com</email>
</author>
<published>2023-09-22T16:26:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03c5a13ad4ed9e7820c7a4a26db6368fef3129e2'/>
<id>urn:sha1:03c5a13ad4ed9e7820c7a4a26db6368fef3129e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti, tor-config: Allow listening on generic addresses for SOCKS and DNS.</title>
<updated>2023-09-22T16:19:40Z</updated>
<author>
<name>Jani Monoses</name>
<email>jani.monoses@gmail.com</email>
</author>
<published>2023-09-20T07:33:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7f5a2b024226c8dbff5b2a01ad1a6c8615ee33a'/>
<id>urn:sha1:d7f5a2b024226c8dbff5b2a01ad1a6c8615ee33a</id>
<content type='text'>
</content>
</entry>
</feed>
