[tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 20 05:25:43 UTC 2018


#28205: linking against other libwebrtc binaries errors out on missing symbols
-----------------------------------+---------------------------
 Reporter:  eighthave              |          Owner:  eighthave
     Type:  defect                 |         Status:  accepted
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Major                  |     Resolution:
 Keywords:  android                |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+---------------------------

Comment (by dcf):

 Replying to [comment:30 arlolra]:
 > > Now its moved on to a new an exciting error that is totally opaque to
 me:
 >
 > Here're some similar issues that came up,
 > https://github.com/golang/go/issues/27297
 > https://github.com/golang/go/issues/24882

 27297 is about packaging v2ray -- that's another circumvention program :)

 > The second one seems to hint that `<-chan struct{}` is an unsupported
 type to export,
 > https://godoc.org/golang.org/x/mobile/cmd/gobind#hdr-Type_restrictions

 So I guess this means we need changes to go-webrtc to remove such
 incompatible type signatures from the public interface?

 https://github.com/golang/go/issues/24882#issuecomment-427263354 says
 "Solved my issue by writing a custom facade library which then provided an
 API which did not produce gomobile bind errors..." rather than changing
 go-webrtc, it may be possible to make a wrapper layer that provides a
 gomobile-compatible interface on the outside and speaks to go-webrtc using
 `<-chan struct{}` on the inside.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:32>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list