torproject / stem

Python controller library for Tor
https://stem.torproject.org/
GNU Lesser General Public License v3.0
273 stars 76 forks source link

Implement proposal 328, relay overload in extrainfo descriptors #91

Open juga0 opened 3 years ago

juga0 commented 3 years ago

tor is currently implementing the proposal and sbws would need to use that information (issue).

Would be possible that stem implements this?. Thanks!

nmathewson commented 3 years ago

FWIW, I expect that the formats may change over the coming year, so it might be best to expose them for now as a (version, string) tuple rather than parsing them too deeply. Up to you though.

atagar commented 3 years ago

Hi Juga. Stem only integrates changes like this when the proposal has been implemented and moved to the spec. That said, if you'd care to provide a patch I'd be happy to review it.

nmathewson commented 3 years ago

This is now merged in Tor 0.4.6.1-alpha.

nusenu commented 2 years ago

a maybe slightly misleading version got merged into the dir-spec.txt https://gitlab.torproject.org/tpo/core/torspec/-/commit/2b0093c2c972853e5c2c6bc9e41dc83a4a2e7793 https://lists.torproject.org/pipermail/tor-dev/2021-November/014667.html

note the spec says

[Introduced in version 0.4.6.1-alpha]

for overload-general but for the server descriptor it is actually 0.4.6.2-alpha (in 0.4.6.1-alpha it was the extra-info)

https://gitlab.torproject.org/tpo/core/tor/-/issues/40364