Opened 2 months ago

Closed 2 months ago

#32056 closed defect (fixed)

`panic: keyword "PROXY-ERROR %s\n" contains forbidden bytes` when using snowflake

Reported by: omlnnuci Owned by: tbb-team
Priority: Medium Milestone:
Component: Circumvention/Pluggable transport Version:
Severity: Normal Keywords: goptlib snowflake
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

TBB log:

10/14/19, 10:22:02.757 [NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections. 
10/14/19, 10:22:10.815 [NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections. 
10/14/19, 10:22:10.816 [NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections. 
10/14/19, 10:22:10.816 [NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections. 
10/14/19, 10:22:10.816 [NOTICE] Opening Socks listener on 127.0.0.1:9150 
10/14/19, 10:22:10.816 [NOTICE] Opened Socks listener on 127.0.0.1:9150 
10/14/19, 10:22:10.948 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: panic: keyword "PROXY-ERROR %s\n" contains forbidden bytes 
10/14/19, 10:22:10.949 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported:  
10/14/19, 10:22:10.949 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: goroutine 1 [running]: 
10/14/19, 10:22:10.949 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: git.torproject.org/pluggable-transports/goptlib%2egit.formatline(0x83e73d3, 0xf, 0xa0d7f4c, 0x1, 0x1, 0x1, 0x1) 
10/14/19, 10:22:10.949 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: 	/var/tmp/dist/gopath/src/git.torproject.org/pluggable-transports/goptlib.git/pt.go:250 +0x267 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: git.torproject.org/pluggable-transports/goptlib%2egit.line(0x83e73d3, 0xf, 0xa0d7f4c, 0x1, 0x1) 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: 	/var/tmp/dist/gopath/src/git.torproject.org/pluggable-transports/goptlib.git/pt.go:266 +0x45 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: git.torproject.org/pluggable-transports/goptlib%2egit.doError(...) 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: 	/var/tmp/dist/gopath/src/git.torproject.org/pluggable-transports/goptlib.git/pt.go:271 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: git.torproject.org/pluggable-transports/goptlib%2egit.ProxyError(...) 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: 	/var/tmp/dist/gopath/src/git.torproject.org/pluggable-transports/goptlib.git/pt.go:302 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: main.main() 
10/14/19, 10:22:10.950 [WARN] Managed proxy at './TorBrowser/Tor/PluggableTransports/snowflake-client' reported: 	/var/tmp/build/snowflake-49a899be452a/client/snowflake.go:158 +0xd81 
10/14/19, 10:22:10.951 [WARN] Pluggable Transport process terminated with status code 512


TBB version:tor-browser-linux32-9.0a7_en-US.tar.xz

Child Tickets

Change History (2)

comment:1 Changed 2 months ago by gk

Component: Applications/Tor BrowserCircumvention/Snowflake

comment:2 Changed 2 months ago by dcf

Component: Circumvention/SnowflakeCircumvention/Pluggable transport
Keywords: goptlib snowflake added
Resolution: fixed
Status: newclosed
Summary: built-in snowflake not work: Pluggable Transport process terminated with status code 512`panic: keyword "PROXY-ERROR %s\n" contains forbidden bytes` when using snowflake

Thanks for reporting this. It's actually an error in an old version of goptlib, fixed here. The fix is in goptlib 0.7, while Tor Browser currently uses goptlib 0.5. I've filed #32076 to update goptlib in Tor Browser.

As a side note, omlnnuci, Snowflake doesn't support using a proxy. You will have to disable your Tor Browser proxy setting when using Snowflake.

Note: See TracTickets for help on using tickets.