Version reporting incompatible with deployed versions of tor (no TRANSPORT in STATUS)
This is more of a tor bug than a lyrebird bug, but the immediate cause was a change in lyrebird.
f56896ff made lyrebird report its version number using the STATUS TYPE=version mechanism (tpo/core/torspec!63 (merged)). But it looks like there are already deployed versions of tor that interpret STATUS messages according to an older, incompatible version of the STATUS protocol (tpo/core/tor#28181 (closed)) that requires a TRANSPORT key rather than a TYPE key. (Past discussion about TYPE and TRANSPORT and backward incompatibility starts at tpo/core/torspec!63 (comment 2817321).)
Running a new lyrebird with a tor before tpo/core/tor!820 (closed) results in the error
no TRANSPORT in STATUS
.
Here's a user report:
https://ntc.party/t/gitlab-lyrebird-buildrun-error/8010
с какого то момента после git pull перестали работать obfs4 мосты через lyrebird
причем я не настолько понимаю в git/go чтобы понять что сломалосьчерез obfs4proxy или “старый” lyrebird как и раньше без проблем.
вот так только собирается/запускаетсяC:\GitHub\lyrebird>git branch * (HEAD detached from lyrebird-0.2.0) fix_dependency_redirect main
а вот это “последняя” версия == main
2024/07/01 17:22:35 [NOTICE]: devel - launched 2024/07/01 17:22:35 [INFO]: lyrebird-64.exe - initializing client transport listeners 2024/07/01 17:22:35 [INFO]: obfs4 - registered listener: 127.0.0.1:50532 2024/07/01 17:22:35 [INFO]: lyrebird-64.exe - accepting connections 2024/07/01 17:22:35 [NOTICE]: Stdin is closed or unreadable: <nil> 2024/07/01 17:22:35 [NOTICE]: lyrebird-64.exe - terminated
2024-07-01T14:36:20Z WARN tor_ptmgr: Spawning PT for [PtTransportName("obfs4")] failed: Couldn't parse IPC line "STATUS TYPE=version IMPLEMENTATION="lyrebird" VERSION="devel"": no TRANSPORT in STATUS 2024-07-01T14:36:20Z WARN tor_ptmgr: PT for obfs4 failed to launch: Couldn't parse IPC line "STATUS TYPE=version IMPLEMENTATION="lyrebird" VERSION="devel"": no TRANSPORT in STATUS
At some point after Git Pull, OBFS4 bridges over Lyrebird stopped working And I don't understand Git/Go enough to understand what broke
Via obfs4proxy or the "old" Lyrebird as before without problems. This is how it is only assembled/launched
...
And this is the "latest" version == main
...