David,
I was successfully able to get Snowflake cross-compiled and installed for OpenWRT and Entware as a package.
# opkg install ./snowflake_2.4.1-1_armv7-2.6.ipk Installing snowflake (2.4.1-1) to root... Configuring snowflake.
# opkg info snowflake Package: snowflake Version: 2.4.1-1 Depends: libc, libssp, librt, libpthread Status: install user installed Architecture: armv7-2.6 Installed-Time: 1670730403
# opkg depends snowflake snowflake depends on: libc libssp librt libpthread
# opkg files snowflake Package snowflake (2.4.1-1) is installed on root and has the following files: /opt/bin/proxy /opt/bin/client /opt/bin/probetest /opt/bin/broker /opt/bin/server /opt/bin/distinctcounter
# /opt/bin/proxy -version snowflake-proxy 2.4.1
However, I still need to configure it within the torrc file and test it with its own listener in parallel with the loadbalanced OBFS configuration.
Thanks, again, for your guidance.
Respectfully,
Gary
P.S. I posted the Snowflake Package Makefile on the OpenWRT forum for reference:
https://forum.openwrt.org/t/snowflake-makefile/145259
On Saturday, December 10, 2022, 12:05:51 PM MST, Gary C. New garycnew@yahoo.com wrote:
On Saturday, December 10, 2022, 8:01:15 AM MST, David Fifield david@bamsoftware.com wrote:
On Sat, Dec 10, 2022 at 05:19:43AM +0000, Gary C. New via tor-relays wrote:
I'm in the process of trying to cross-compile snowflake for OpenWRT and Entware. Are there any other dependencies to compile snowflake other than Go?
The README should list dependencies. Setting GOOS and GOARCH should be sufficient.
Do you know if it's possible to configure multiple pluggable transports with different listeners within a single torrc?
Yes. You cannot configure multiple listeners for the same transport, but you can use multiple different transports at once. Use use different sets of ServerTransportPlugin / ServerTransportListenAddr / ServerTransportOptions, or ClientTransportPlugin / Bridge for the client side.
Great! I'll work on compiling the Standalone Snowflake Proxy and see about implementing a loadbalanced OBFS & Snowflake configuration in parallel. Thank you for your assistance. Respectfully,
Gary