<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/netstatus/rs.rs, branch arti-v1.4.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.4.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-05-20T19:22:08Z</updated>
<entry>
<title>hs: Prevent a client from using a `MiddleOnly` relay for onion services</title>
<updated>2025-05-20T19:22:08Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2025-04-03T00:38:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=94baab29f330fd17269e6b44958896b3f9ca794a'/>
<id>urn:sha1:94baab29f330fd17269e6b44958896b3f9ca794a</id>
<content type='text'>
&gt; The actual impact of this patch is to prevent usage of MiddleOnly
&gt; relays as Introduction Points.  The Rendezvous Point logic isn't
&gt; hooked up yet - nick
</content>
</entry>
<entry>
<title>RouterStatus: Add test functions for Fast and Stable flags.</title>
<updated>2024-01-16T15:00:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-16T15:00:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4faae76f5a8462e490219ef21ccaa091a39b0dd'/>
<id>urn:sha1:e4faae76f5a8462e490219ef21ccaa091a39b0dd</id>
<content type='text'>
(We don't need Fast right now, but we will certainly need it down
the line.)
</content>
</entry>
<entry>
<title>netdoc: Rename `ParseError{Kind, Source}` to `NetdocError{Kind, Source}`.</title>
<updated>2023-05-10T14:52:28Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-10T14:40:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=099b2315b015b96cd8163a364f92810ea4982cfa'/>
<id>urn:sha1:099b2315b015b96cd8163a364f92810ea4982cfa</id>
<content type='text'>
`ParseErrorSource` was originally meant to represent a parsing error,
this enum has since gained some variants that aren't really parsing
related (`Signature`, `CertSignature`, `UntimelyDescriptor`).

Since this error type is now used for general-purpose netdoc errors,
let's rename `ParseError{Kind, Source}` to `NetdocError{Kind, Source}`.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>netdir: more documentation on MIDDLE_ONLY flag.</title>
<updated>2023-04-17T20:48:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-17T20:44:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39857002168cfc206a6c136ac92cad4d10f3d255'/>
<id>urn:sha1:39857002168cfc206a6c136ac92cad4d10f3d255</id>
<content type='text'>
Clarify that it isn't anything that most users will need to check.
</content>
</entry>
<entry>
<title>netdoc: Add MiddleOnly flag to RelayFlags</title>
<updated>2023-04-17T09:53:04Z</updated>
<author>
<name>juga</name>
<email>juga@riseup.net</email>
</author>
<published>2023-04-17T09:46:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eee1dbee7a1d993c06cc9e933993514ab6dea093'/>
<id>urn:sha1:eee1dbee7a1d993c06cc9e933993514ab6dea093</id>
<content type='text'>
Closes #833
</content>
</entry>
<entry>
<title>hsdir: Be able to enumerate the hidden service directories</title>
<updated>2023-02-09T13:01:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-07T15:48:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5c3c1f2777565bb956ccfeb94217edf8b7c9de2'/>
<id>urn:sha1:f5c3c1f2777565bb956ccfeb94217edf8b7c9de2</id>
<content type='text'>
* Provide an accessor for the HSDIR flag
* Provide a function for testing a relay for hsdir inclusion
* Provide an iterator on NetDir that returns the hsdirs
</content>
</entry>
<entry>
<title>Work around a new nightly clippy warning</title>
<updated>2022-09-30T13:00:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-30T13:00:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a04188d59e2bd2365340b60643c91d4b9c78e9b'/>
<id>urn:sha1:6a04188d59e2bd2365340b60643c91d4b9c78e9b</id>
<content type='text'>
The warning `clippy::bool_to_int_with_if` is meant to shout at you
when you say `if x { 1 } else { 0 }` and instead suggest that you
say `inttype::from(x)`.

I agreed with this for the case in tor-cert, where we are literally
converting a boolean into a flag.

I don't agree with this in tor-netdoc, where we are using a boolean
to decide how many fields to skip in a given document format.  So
for this case, I decided to clean up the code a little by renaming
"skip" to "n_skip", and changing the boolean to use an enum instead.
</content>
</entry>
<entry>
<title>add feature annotation to fields made visible through visible::StructFields</title>
<updated>2022-08-24T16:22:41Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-08-18T00:24:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca99e9f63587fcf8164b813f4ca265507002ea53'/>
<id>urn:sha1:ca99e9f63587fcf8164b813f4ca265507002ea53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc: add a new type for Nicknames</title>
<updated>2022-05-09T19:59:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-10T21:38:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b0336e841f537196408f43a4928df20398c160d'/>
<id>urn:sha1:3b0336e841f537196408f43a4928df20398c160d</id>
<content type='text'>
Relay nicknames are always between 1 and 19 characters long, and
they're always ASCII: That means that storing them in a [u8;19] will
always be possible, and always use less resources than storing them
in a String.

Fortunately, the tinystr crate already helps us with this kind of
thing.
</content>
</entry>
<entry>
<title>Re-order attributes so that we can build with Rust 1.53.</title>
<updated>2022-03-31T15:11:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-31T15:06:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0725e388a592a8ab7e2235fef2b2d7a396fe64d0'/>
<id>urn:sha1:0725e388a592a8ab7e2235fef2b2d7a396fe64d0</id>
<content type='text'>
</content>
</entry>
</feed>
