We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openwrt设备空间不多,安装trojan会额外安装好几个Boost库。
改成静态链接可能会更好点吧?
The text was updated successfully, but these errors were encountered:
改靜態連結後,只是把Boost打包進去trojan,整體大小不怎麼變。 boot大小我看才200K而已,不如從libopenssl跟UPX壓縮下手。
很多程式都有依賴libopenssl,你的openwrt應該有裝了。 https://github.com/coolsnowwolf/lede/tree/master/package/lean/trojan 用這個編譯不會把libopenssl打包進去,編譯出來的ipk大小從1.4M降到200K,安裝後的trojan程式從3M減少到500K。
然後用UPX把/usr/sbin裡能壓縮的程式都拿出來壓縮一遍之後再放回去 https://github.com/upx/upx (upx-3.96-win64好像有問題,會報壓縮錯誤。用upx-3.95-win64在win下面可以正常壓縮)
Sorry, something went wrong.
No branches or pull requests
Openwrt设备空间不多,安装trojan会额外安装好几个Boost库。
改成静态链接可能会更好点吧?
The text was updated successfully, but these errors were encountered: