v3.34.0
passteque/gluetunv3.34.0May 21, 2023by qdm12
AI Summary
Introduced `HEALTH_SUCCESS_WAIT_DURATION` and renamed port forwarding variables. Migrated networking stack from `net.IPNet` to `netip` for better performance.
Key Highlights
- Added `HEALTH_SUCCESS_WAIT_DURATION` variable
- Renamed port forwarding variables (prepare for ProtonVPN)
- Migrated routing stack from `net.IPNet` to `netip`
- Servers data updated for perfect privacy and surfshark
New Features
- Health wait duration configuration
- Port forwarding variable renaming
- Routing stack migration to `netip`
- Healthcheck client uses Go dialer
Full Release Notes
## Features
- `HEALTH_SUCCESS_WAIT_DURATION` variable, defaulting to 5s
- Rename port forwarding variables (prepare to add ProtonVPN, see #1488)
- `VPN_PORT_FORWARDING_STATUS_FILE`
- `VPN_PORT_FORWARDING`
- Deprecate PIA specific variables for VPN port forwarding
- Servers data updated for: perfect privacy, surfshark
- Routing: log default route family as string
## Fixes
- Mullvad: add aes-256-gcm cipher to support their newer Openvpn 2.6 servers
- Perfect privacy: update cert and key (thanks @Thamos88 and @15ky3)
- Perfect privacy: remove check for empty hostname in servers
- Routing: add policy rules for each destination local networks (thanks @kylemanna)
- Settings: clarify Wireguard provider unsupported error
- Minor fixes
- Pprof settings rates can be `nil`
## Maintenance
- Wrap all sentinel errors and enforce using `errors.Is`
- Migrate usages of `inet.af/netaddr` to `net/netip`
- Use `netip.Prefix` for ip networks instead of `net.IPNet` and `netaddr.IPPrefix`
- Use `netip.Addr` instead of `net.IP`
- Wireguard: use `netip.AddrPort` instead of `*net.UDPAddr`
- Healthcheck use Go dialer preferrably
- Upgrade Wireguard dependencies
- Upgrade `inet.af/netaddr` dependency
- Upgrade `golang.org/x/net` to `0.10.0`
- Upgrade `github.com/fatih/color` from `1.14.1` to `1.15.0`
- Upgrade `golangci-lint` from `v1.51.2` to `v1.52.2`
- Upgrade `github.com/vishvananda/netlink` from `1.1.1-0.20211129163951-9ada19101fc5` to `1.2.1-beta.2`
- Upgrade `golang.org/x/sys` from `0.7.0` to `0.8.0`
- Remove unneeded settings/helpers/pointers.go, `CopyNetipPrefix` and settings/sources/env `envToInt` function
- Fix netlink tagged integration tests
- Settings: use generics for helping functions (thanks @bubuntux)
- Simplify default routes for loop
- Development container: do not bind mount `~/.gitconfig`