Re:Reducing Tailscale’s binary size on macOS
by mihaip on Friday February 17, 2023 @03:57PM
(#34840469)
There is a way to build an even smaller version of Tailscale for embedded systems, though there are some trade offs with regards to ease of use and security. https://tailscale.com/kb/1207/small-tailscale/ has more details.
Re:Reducing Tailscale’s binary size on macOS
by tarasglek on Saturday February 18, 2023 @03:13AM
(#34845039)
Method described gets most of the win from UPX.
That's not applicable on openwrt as it already uses lzma on filesystem level. Switching to UPX would cause excessive ram usage as binary would be in anonymous memory and no longer be backed by filesystem pages.
11452 -rwxr-xr-x 1 root root 11.2M Sep 1 2021 /usr/sbin/tailscaled
7612 -rwxr-xr-x 1 root root 7.4M Sep 1 2021 /usr/sbin/tailscale
I love tailscale, but it forces me to use usb sticks on most of my openwrt routers.