Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace obfs4 with lyrebird #1348

Closed
wants to merge 1 commit into from
Closed

chore: replace obfs4 with lyrebird #1348

wants to merge 1 commit into from

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Oct 6, 2023

This diff replaces obfs4 and uses lyrebird instead. See #1347 (comment) to understand why my previous assessment that we could not import lyrebird was actually caused by PEBCAK.

The build currently fails because the set of dependencies required by Psiphon conflict with lyrebird ones, so upgrading isn't possible. Here is how the build fails:

$ go build -v ./...
github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/protocol
/home/sbs/go/pkg/mod/github.com/!psiphon-!labs/[email protected]/psiphon/common/protocol/customTLSProfiles.go:180:16: undefined: utls.UtlsExtendedMasterSecretExtension

So, I think the underlying issue here may be that utls has removed some symbols without bumping their major version number.

If it was possible to merge this work right now, it would have been part of the ooni/probe#2524 issue.

This diff replaces obfs4 and uses lyrebird instead. See
#1347 (comment)
to understand why my previous assessment that we could not import
lyrebird was actually caused by PEBCAK.

The build currently fails because the set of dependencies required by
Psiphon conflict with lyrebird ones, so upgrading isn't possible.

Here is how the build fails:

```console
$ go build -v ./...
github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/protocol
/home/sbs/go/pkg/mod/github.com/!psiphon-!labs/[email protected]/psiphon/common/protocol/customTLSProfiles.go:180:16: undefined: utls.UtlsExtendedMasterSecretExtension
```

So, I think the underlying issue here may be that utls has removed
some symbols without bumping their major version number.

If it was possible to merge this work, this work would be part of
the ooni/probe#2524 issue.
@bassosimone
Copy link
Contributor Author

This PR served to document why we cannot update to lyrebird right now. I'm going to close it now.

@bassosimone bassosimone closed this Oct 6, 2023
@bassosimone bassosimone deleted the issue/2524 branch October 6, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant