heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
931 stars 166 forks source link

Mipsel_74kc support #176

Closed Miraihi closed 1 month ago

Miraihi commented 1 month ago

Basically the title. Asus RT-N56U (Both A1 and B1) remain a pretty popular routers despite the age, but don't have much low weight and accessible tunnelling software on Openwrt that supports Socks5. Thus I wish we had Mipsel_74kc build.

heiher commented 1 month ago

Does mips32el or mips32elsf support it?

https://github.com/heiher/hev-socks5-tunnel/releases/download/2.7.4/hev-socks5-tunnel-linux-mips32el https://github.com/heiher/hev-socks5-tunnel/releases/download/2.7.4/hev-socks5-tunnel-linux-mips32elsf

Miraihi commented 1 month ago

Does mips32el or mips32elsf support it?

https://github.com/heiher/hev-socks5-tunnel/releases/download/2.7.4/hev-socks5-tunnel-linux-mips32el https://github.com/heiher/hev-socks5-tunnel/releases/download/2.7.4/hev-socks5-tunnel-linux-mips32elsf

Thank you, I'll test them once again and report back.

Miraihi commented 1 month ago

Well, I'm getting "Parse failed" message from them, but I guess this means that they work and it's all the fault of my config file. Not entirely sure how to confirm this factually.

root@OpenWrt:/opt/hev-socks5-tunnel# ./hev-socks5-tunnel-linux-mips32el /opt/hev
-socks5-tunnel/conf
Parse /opt/hev-socks5-tunnel/conf failed!
root@OpenWrt:/opt/hev-socks5-tunnel# ./hev-socks5-tunnel-linux-mips32elsf /opt/h
ev-socks5-tunnel/conf
Parse /opt/hev-socks5-tunnel/conf failed!
heiher commented 1 month ago

./hev-socks5-tunnel-linux-mips32el /opt/hev-socks5-tunnel/conf/main.yml

Miraihi commented 1 month ago

./hev-socks5-tunnel-linux-mips32el /opt/hev-socks5-tunnel/conf/main.yml

Oh I see, my silly mistake. It seems like mips32elsf does work (successfully created the network device mentioned in main.yml) while mips32el reports illegal instruction. Thank you! I have a lot to learn. All these variations of mips(el) architecture are very confusing.