xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
3.13k stars 433 forks source link

[Feature] Optional Features #231

Closed Ali-Khazaee closed 1 year ago

Ali-Khazaee commented 1 year ago

Description

I did compiled tun2socks for android the binary size is large approximate 30MB to support all arch.

While compiling tun2socks is it possible to disable unused parts ?

Depend on the developer to build only feature he wants like socks5 and disable other protocol like HTTP or ShadowSocks or etc

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

No response

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

xjasonlyu commented 1 year ago

Yes, you can safely remove the unwanted transport/proxy protocols. But I don't think it will help to reduce binary size too much.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days