diff --git a/tailscale/CHANGELOG.md b/tailscale/CHANGELOG.md index 27e68ddf..00a54e85 100644 --- a/tailscale/CHANGELOG.md +++ b/tailscale/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.19.1.1 (forked) + +- Revert "Linux optimizations for subnet routers and exit nodes" + ## 0.19.0.1 (forked) - Merge unreleased changes from community add-on diff --git a/tailscale/DOCS.md b/tailscale/DOCS.md index 962c6dad..b8fc051e 100644 --- a/tailscale/DOCS.md +++ b/tailscale/DOCS.md @@ -6,10 +6,7 @@ > > Changes: > - Release unreleased changes from community add-on: -> - Update tailscale/tailscale to v1.66.4 -> - Stateful filtering is now off by default -> - Skip default networks without a gateway to enable UDP GRO for forwarding -> - Update Add-on base image to v15.0.9 +> - Revert "Linux optimizations for subnet routers and exit nodes" > - Release unmerged changes from community add-on: > - Optionally copy Tailscale Proxy's certificate files to /ssl folder diff --git a/tailscale/Dockerfile b/tailscale/Dockerfile index 81b6cb42..9839baa0 100755 --- a/tailscale/Dockerfile +++ b/tailscale/Dockerfile @@ -10,7 +10,6 @@ ARG BUILD_ARCH=amd64 ARG TAILSCALE_VERSION="v1.66.4" RUN \ apk add --no-cache \ - ethtool=6.6-r0 \ ipcalc=1.0.3-r0 \ iproute2=6.6.0-r0 \ iptables=1.8.10-r3 \ diff --git a/tailscale/README.md b/tailscale/README.md index 996e1015..80a1b30d 100644 --- a/tailscale/README.md +++ b/tailscale/README.md @@ -8,10 +8,7 @@ Zero config VPN for building secure networks. > > Changes: > - Release unreleased changes from community add-on: -> - Update tailscale/tailscale to v1.66.4 -> - Stateful filtering is now off by default -> - Skip default networks without a gateway to enable UDP GRO for forwarding -> - Update Add-on base image to v15.0.9 +> - Revert "Linux optimizations for subnet routers and exit nodes" > - Release unmerged changes from community add-on: > - Optionally copy Tailscale Proxy's certificate files to /ssl folder diff --git a/tailscale/config.yaml b/tailscale/config.yaml index e700f8c1..cc3ccdf5 100644 --- a/tailscale/config.yaml +++ b/tailscale/config.yaml @@ -1,6 +1,6 @@ --- name: Tailscale with features -version: 0.19.0.1 +version: 0.19.1.1 slug: tailscale description: Zero config VPN for building secure networks url: https://github.com/lmagyar/homeassistant-addon-tailscale diff --git a/tailscale/rootfs/etc/s6-overlay/s6-rc.d/post-tailscaled/run b/tailscale/rootfs/etc/s6-overlay/s6-rc.d/post-tailscaled/run index d94d7d41..875360db 100755 --- a/tailscale/rootfs/etc/s6-overlay/s6-rc.d/post-tailscaled/run +++ b/tailscale/rootfs/etc/s6-overlay/s6-rc.d/post-tailscaled/run @@ -4,7 +4,6 @@ # Home Assistant Community Add-on: Tailscale # Runs after the machine has been logged in into the Tailscale network # ============================================================================== -declare interface declare -a options declare -a routes=() declare route @@ -13,20 +12,6 @@ declare login_server declare tags declare keyexpiry -# Linux optimizations for subnet routers and exit nodes -# Based on: https://tailscale.com/kb/1320/performance-best-practices#linux-optimizations-for-subnet-routers-and-exit-nodes -# Note: Changes made via ethtool are not persistent and will be lost after the machine shuts down -# Note: Executing it before "tailscale up" to avoid warning messages -for interface in $( \ - { ip -4 route show 0/0; ip -6 route show ::/0; } \ - | { grep -E '^default\svia\s\S+\sdev\s\S+' || true ;} \ - | cut -f5 -d' ' \ - | sort -u) -do - bashio::log.info "Allow UDP GRO for forwarding on ${interface}" - ethtool -K "${interface}" rx-udp-gro-forwarding on rx-gro-list off -done - # Default options options+=(--hostname "$(bashio::info.hostname)")