cbeuw / GoQuiet

A Shadowsocks obfuscation plugin utilising domain fronting to evade deep packet inspection
GNU General Public License v3.0
814 stars 117 forks source link

OpenWRT/Lede #7

Closed m4niacjp closed 5 years ago

m4niacjp commented 6 years ago

Any idea on how to build for Lede/Openwrt?

cbeuw commented 6 years ago

If your router uses 32bit ARM CPU, you can use the ARM binaries out of the box. If it uses MIPS, then you need to build a cross compiling gccgo tool chain. I'll give it a try but I will very likely give up because I never enjoyed dependency shenanigans.

cbeuw commented 6 years ago

I have added a binary for mips32: https://github.com/cbeuw/GoQuiet/releases Please tell me if it works once you tried it because I have no way of testing it

m4niacjp commented 6 years ago

Sorry my router is a IPQ8068 ARMv7 64bit core. I'll try now with your linuxarm-1.0.0 version.

m4niacjp commented 6 years ago

I'm trying to build and OpenWRT/LEDE package, any dependencies required for building?

cbeuw commented 6 years ago

No, this plugin uses no packages beyond the standard library

linusyang commented 6 years ago

I rewrote (or naïvely translated, one could say that) GoQuiet client into C which may help port it to embedded devices. If you are too lazy to rewrite a new C client like me, there is a modified SSR libev client that can be used as a drop-in replacement of gq-client that serves as an SIP003 plugin with GoQuiet protocol.

m4niacjp commented 6 years ago

What about SS-libev?

You think it's possible to have something like this? http://openwrt-dist.sourceforge.net/packages/base/

qiwihui commented 6 years ago

@cbeuw Is there a newest binary for mips32? I would like to test it on openwrt.

cbeuw commented 5 years ago

@qiwihui I have added the binary for mips32