[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #25667 [Core Tor/Tor]: LZMA/ZSTD descriptor compression support
#25667: LZMA/ZSTD descriptor compression support
------------------------------+--------------------
Reporter: atagar | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+--------------------
Hi lovely core tor folks. I've been working on Stem support for spec 278
which was merged in tor 0.3.1.1 but I'm struggling to find an example of
it working in practice...
https://gitweb.torproject.org/torspec.git/commit/?id=1cb56af
https://gitweb.torproject.org/user/atagar/stem.git/commit/?h=compression
Moria1 is running tor 0.3.4.0 so it definitely should have lzma and zstd
compression support, but when I query its dirport only the identity and
deflate headers seem to work...
{{{
% curl --header "Accept-Encoding: identity"
128.31.0.39:9131/tor/server/fp/9695DFC35FFEB861329B9F1AB04C46397020CE31
router moria1 128.31.0.34 9101 0 9131
identity-ed25519
-----BEGIN ED25519 CERT-----
AQQABnxNAQS9ja600v/ZodOUiu7NepTkbPIOrFPgEVQE+03rGBtPAQAgBADKnR/C
2nhpr9UzJkkbPy83sqbfNh63VgFnCpkSTULAcq52z8xM7raRDCiTJTu/FK/BJGgE
dJcFQ8MgZJOuYgFKcMVyQ6j2FGbhDI0zQTK1+TAPNRG4ixiF7h7wqDT9Ugw=
-----END ED25519 CERT-----
master-key-ed25519 yp0fwtp4aa/VMyZJGz8vN7Km3zYet1YBZwqZEk1CwHI
platform Tor 0.3.4.0-alpha-dev on Linux
...
}}}
{{{
% curl --header "Accept-Encoding: deflate"
128.31.0.39:9131/tor/server/fp/9695DFC35FFEB861329B9F1AB04C46397020CE31
[ compressed data ]
}}}
{{{
% curl --header "Accept-Encoding: x-zstd"
128.31.0.39:9131/tor/server/fp/9695DFC35FFEB861329B9F1AB04C46397020CE31
[ uncompressed data, same as 'identity' ]
% curl --header "Accept-Encoding: x-tor-lzma"
128.31.0.39:9131/tor/server/fp/9695DFC35FFEB861329B9F1AB04C46397020CE31
[ uncompressed data, same as 'identity' ]
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25667>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs