<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/socks.rs, branch ios-sqlite-hacks</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=ios-sqlite-hacks'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-07-07T17:00:21Z</updated>
<entry>
<title>Throughout: Use *_report!() macros for reporting Errors.</title>
<updated>2023-07-07T17:00:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-07T13:54:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25c6fe61e4cf230210dffdac2d3c281fcb31c5a9'/>
<id>urn:sha1:25c6fe61e4cf230210dffdac2d3c281fcb31c5a9</id>
<content type='text'>
I identified the cases to replace by searching for the string
`.report()`.  There are a few that I didn't change:

  * A couple of cases that used anyhow::Error,
  * One case that reported two Errors.
  * Two cases in `tor_hsclient::err` that just did
    `error!("Bug: {}")`.

I have also not audited the cases in `tor-hsclient` where we're using
`tor_error::Report` manually.

Nonetheless, closes #949.
</content>
</entry>
<entry>
<title>Remove onion service descriptor-related errorkinds.</title>
<updated>2023-06-22T17:11:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-22T17:11:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33bfa7c7a86035342b09920cbf4c85e83889bb46'/>
<id>urn:sha1:33bfa7c7a86035342b09920cbf4c85e83889bb46</id>
<content type='text'>
These have been subsumed by other errorkinds, mostly
OnionServiceProtocolViolation and TorProtocolViolation.

In particular please review the change in tor-hsclient closely;
I am not sure about the new errorkinds for the error there.
</content>
</entry>
<entry>
<title>arti: Resolve TODO HS items related to extended SOCKS5 errors</title>
<updated>2023-06-22T15:05:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-22T15:05:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=57b1e36667023d86cad36ddc846256abad602a9b'/>
<id>urn:sha1:57b1e36667023d86cad36ddc846256abad602a9b</id>
<content type='text'>
This takes an approach discussed in #736: Instead of trying to
distinguish INTRO/REND failures perfectly, we instead map our
existing ErrorKinds as best we can, in respect to the fact that
this distinction is not super important in practice.

Closes #736
</content>
</entry>
<entry>
<title>New ErrorKind for invalid onion addresses</title>
<updated>2023-06-22T14:57:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-22T14:51:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=967cae6cede19e7911ea2bed5f8e6f571c72d0b2'/>
<id>urn:sha1:967cae6cede19e7911ea2bed5f8e6f571c72d0b2</id>
<content type='text'>
Use this to emit HS_BAD_ADDRESS as appropriate.
</content>
</entry>
<entry>
<title>Remove ErrorKind::OnionService{Intro,Rend}Failed</title>
<updated>2023-06-22T14:56:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-22T14:37:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a9e5b8463b3c0a10e558d67201499fea09d492b'/>
<id>urn:sha1:1a9e5b8463b3c0a10e558d67201499fea09d492b</id>
<content type='text'>
These errors are orthogonal to our actual error kinds.  See
discussion on #736.
</content>
</entry>
<entry>
<title>Generate correct ErrorKinds for hsdesc decryption failures.</title>
<updated>2023-06-21T14:22:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-21T14:17:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dd944bc7874f6adc39814ac32e67ba7ccbd15394'/>
<id>urn:sha1:dd944bc7874f6adc39814ac32e67ba7ccbd15394</id>
<content type='text'>
Part of #736
</content>
</entry>
<entry>
<title>Add and use ErrorKinds for remaining onion service errors</title>
<updated>2023-06-21T13:01:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-16T16:58:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d7756956ed363c9c53d98618ec3a5e991af1359'/>
<id>urn:sha1:2d7756956ed363c9c53d98618ec3a5e991af1359</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: return prop304 extended socks5 reply codes for onion services</title>
<updated>2023-06-21T13:01:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-14T15:10:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=36c411260041f4927745f35aca2cf3fee3351ad4'/>
<id>urn:sha1:36c411260041f4927745f35aca2cf3fee3351ad4</id>
<content type='text'>
We don't yet return all of them; this commit adds some todo notes
about changes we may need to our ErrorKinds.

Part of #736
</content>
</entry>
<entry>
<title>arti: Abbreviate SocksStatus and ErrorKind imports and refactor.</title>
<updated>2023-06-21T13:00:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-14T14:53:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fbb3d98fb3f13610874a0280734d0c63be3f9068'/>
<id>urn:sha1:fbb3d98fb3f13610874a0280734d0c63be3f9068</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RPC: Suppress a warning to do with RPC and SOCKS</title>
<updated>2023-06-13T11:11:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-13T11:09:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d49660e0ad6fc7d31cdaad3f51427c648d05b7b'/>
<id>urn:sha1:5d49660e0ad6fc7d31cdaad3f51427c648d05b7b</id>
<content type='text'>
Fixes `cargo check`
</content>
</entry>
</feed>
