Skip to content

Commit

Permalink
feat(container): update image ghcr.io/qdm12/gluetun to v3.40.0 (#1168)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/qdm12/gluetun](https://redirect.github.com/qdm12/gluetun) |
minor | `v3.39.1` -> `v3.40.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>qdm12/gluetun (ghcr.io/qdm12/gluetun)</summary>

###
[`v3.40.0`](https://redirect.github.com/qdm12/gluetun/releases/tag/v3.40.0)

[Compare
Source](https://redirect.github.com/qdm12/gluetun/compare/v3.39.1...v3.40.0)

Happy holidays release time 🎄 🎅 🎁

💁 If anything doesn't work **compared to previous release**, please
create an issue and revert to using v3.39.1 😉

ℹ️ Life is pretty busy all around currently (moving soon, new job, ill
parent) so I might be even slower than usual until summer 2025, I'll do
my best!

##### Features

- VPN: run `WaitForDNS` before querying the public ip address (partly
address
[#&#8203;2325](https://redirect.github.com/qdm12/gluetun/issues/2325))
- DNS: replace unbound with qdm12/[email protected]
([#&#8203;1742](https://redirect.github.com/qdm12/gluetun/issues/1742) &
later commits)
    -   Faster start up
    -   Clearer error messages
    -   Allow for more Gluetun-specific customization
-   Port forwarding:
- `VPN_PORT_FORWARDING_UP_COMMAND` option
([#&#8203;2399](https://redirect.github.com/qdm12/gluetun/issues/2399))
    -   `VPN_PORT_FORWARDING_DOWN_COMMAND` option
- Config allow irrelevant server filters to be set (see
[#&#8203;2337](https://redirect.github.com/qdm12/gluetun/issues/2337))
- Disallow setting a server filter when there is no choice available
- Allow setting an invalid server filter when there is at least one
choice available
    -   Log at warn level when an invalid server filter is set
-   Firewall: support custom ICMP rules
-   Healthcheck:
    -   log out last error when auto healing VPN
    -   run TLS handshake after TCP dial if address has 443 port
-   Public IP:
- retry fetching information when `connection refused` error is
encountered (partly address
[#&#8203;2325](https://redirect.github.com/qdm12/gluetun/issues/2325))
- support custom API url `echoip#https://...`
([#&#8203;2529](https://redirect.github.com/qdm12/gluetun/issues/2529))
- resilient public ip fetcher with backup sources
([#&#8203;2518](https://redirect.github.com/qdm12/gluetun/issues/2518))
- add `ifconfigco` option and `cloudflare` option
([#&#8203;2502](https://redirect.github.com/qdm12/gluetun/issues/2502))
    -   `PUBLICIP_ENABLED` replaces `PUBLICIP_PERIOD`
- `PUBLICIP_ENABLED` (on, off) can be set to enable or not public ip
data fetching on VPN connection
- `PUBLICIP_PERIOD=0` still works to indicate to disable public ip
fetching
        -   `PUBLICIP_PERIOD` != 0 means to enable public ip fetching
        -   Warnings logged when using `PUBLICIP_PERIOD`
- `STORAGE_FILEPATH` option
([#&#8203;2416](https://redirect.github.com/qdm12/gluetun/issues/2416))
- `STORAGE_FILEPATH=` disables storing to and reading from a local
servers.json file
    -   `STORAGE_FILEPATH` defaults to `/gluetun/servers.json`
-   Netlink: debug rule logs contain the ip family
- `internal/tun`: mention in 'operation not permitted' error the user
should specify `--device /dev/net/tun` (resolves
[#&#8203;2606](https://redirect.github.com/qdm12/gluetun/issues/2606))
- Control server role based authentication system
([#&#8203;2434](https://redirect.github.com/qdm12/gluetun/issues/2434))
(**part of v3.39.1 as a bugfix**)
- Parse toml configuration file, see
<https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication>
- Retro-compatible with existing AND documented routes, until after
**this** release
- Log a warning if an unprotected-by-default route is accessed
unprotected
    -   Authentication methods: none, apikey, basic
    -   `genkey` command to generate API keys
-   FastestVPN: add `aes-256-gcm` to OpenVPN ciphers list
-   Private Internet Access updater: use v6 API to get servers data
-   IPVanish: update servers data
- PrivateVPN: native port forwarding support
([#&#8203;2285](https://redirect.github.com/qdm12/gluetun/issues/2285))
-   Privado: update servers data
-   `format-servers` command supports the json format option

##### Fixes

- Wireguard: change default `WIREGUARD_MTU` from `1400` to `1320`
(partially address
[#&#8203;2533](https://redirect.github.com/qdm12/gluetun/issues/2533))
- OpenVPN: set default mssfix to 1320 for all providers with no default
already set (partially address
[#&#8203;2533](https://redirect.github.com/qdm12/gluetun/issues/2533))
-   Control server: fix logged wiki authentication section link
-   Firewall:
- iptables list uses `-n` flag for testing iptables path
([#&#8203;2574](https://redirect.github.com/qdm12/gluetun/issues/2574))
- deduplicate VPN address accept rule for multiple default routes with
the same network interface
    -   deduplicate ipv6 multicast output accept rules
    -   ipv6 multicast output address value fixed
- log warning if ipv6 nat filter is not supported instead of returning
an error (allow to port forward redirect for IPv4 and not IPv6 if IPv6
NAT is not supported and fixed
[#&#8203;2503](https://redirect.github.com/qdm12/gluetun/issues/2503))
-   Wireguard:
- Point to Kubernetes wiki page when encountering IP rule add file
exists error
([#&#8203;2526](https://redirect.github.com/qdm12/gluetun/issues/2526))
-   IPVanish:
- fix openvpn configuration by updating CA value and add `comp-lzo`
option
    -   update openvpn zip file url for updater
- Perfect Privacy: update openvpn expired certificates
([#&#8203;2542](https://redirect.github.com/qdm12/gluetun/issues/2542))
- Public IP: lock settings during entire update to prevent race
conditions

##### Documentation

-   Dockerfile
    -   add missing `OPENVPN_MSSFIX` environment variable
    -   add missing option definitions
        -   `STREAM_ONLY`
        -   `FREE_ONLY`
    -   Document `PORT_FORWARD_ONLY` is for both PIA and ProtonVPN

##### Maintenance

##### Code quality

-   Remove github.com/qdm12/golibs dependency
    -   Implement friendly duration formatting locally
- implement `github.com/qdm12/golibs/command` locally
([#&#8203;2418](https://redirect.github.com/qdm12/gluetun/issues/2418))
- `internal/natpmp`: fix determinism for test
`Test_Client_ExternalAddress`
- let system handle OS signals after first one to request a program stop
- `internal/routing`: remove redundant `rule ip rule` in error messages
- `internal/netlink` debug log ip rule commands in netlink instead of
routing package
- `internal/server`: move log middleware to
`internal/server/middlewares/log`
-   use `gofumpt` for code formatting
-   Fix gopls govet errors
-   Upgrade linter from v1.56.2 to v1.61.0
    -   Remove no longer needed exclude rules
    -   Add new exclude rules for printf govet errors
    -   Remove deprecated linters `execinquery` and `exportloopref`
    -   Rename linter `goerr113` to `err113` and `gomnd` to `mnd`
- Add new linters and update codebase: `canonicalheader`, `copyloopvar`,
`fatcontext`, `intrange`

##### Dependencies

-   Upgrade Go from 1.22 to 1.23
-   Bump vishvananda/netlink from v1.2.1-beta.2 to v1.2.1
-   Bump github.com/qdm12/gosettings from v0.4.3 to v0.4.4
- Better support for quote expressions especially for commands such as
`VPN_PORT_FORWARDING_UP_COMMAND`
- Bump github.com/breml/rootcerts from 0.2.18 to 0.2.19
([#&#8203;2601](https://redirect.github.com/qdm12/gluetun/issues/2601))
- Bump golang.org/x/net from 0.25.0 to 0.31.0
([#&#8203;2401](https://redirect.github.com/qdm12/gluetun/issues/2401),
[#&#8203;2578](https://redirect.github.com/qdm12/gluetun/issues/2578))
- Bump golang.org/x/sys from 0.260.0 to 0.27.0
([#&#8203;2404](https://redirect.github.com/qdm12/gluetun/issues/2404),
[#&#8203;2573](https://redirect.github.com/qdm12/gluetun/issues/2573))
- Bump golang.org/x/text from 0.15.0 to 0.17.0
([#&#8203;2400](https://redirect.github.com/qdm12/gluetun/issues/2400))
- Bump github.com/klauspost/compress from 1.17.8 to 1.17.11
([#&#8203;2319](https://redirect.github.com/qdm12/gluetun/issues/2319),
[#&#8203;2550](https://redirect.github.com/qdm12/gluetun/issues/2550))
- Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3
([#&#8203;2549](https://redirect.github.com/qdm12/gluetun/issues/2549))
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0
([#&#8203;2428](https://redirect.github.com/qdm12/gluetun/issues/2428))
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
([#&#8203;2600](https://redirect.github.com/qdm12/gluetun/issues/2600))

##### CI

-   Linting: remove `canonicalheader` since it's not reliable
-   Use `--device /dev/net/tun` for test container
- Bump DavidAnson/markdownlint-cli2-action from 16 to 18
([#&#8203;2588](https://redirect.github.com/qdm12/gluetun/issues/2588))
- Bump docker/build-push-action from 5 to 6
([#&#8203;2324](https://redirect.github.com/qdm12/gluetun/issues/2324))

##### Development setup

-   dev container
    -   pin godevcontainer image to tag `:v0.20-alpine`
- drop requirement for docker-compose and use `devcontainer.json`
settings directly
    -   readme update
        -   remove Windows without WSL step
- update 'remote containers extension' to 'dev containers extension'
        -   remove invalid warning on directories creation
        -   simplify customizations section
- remove "publish a port" since it can be done at runtime now
- remove "run other services" since it's rather unneeded in this case
- expand documentation on custom welcome script and where to specify the
bind mount
                -   use bullet points instead of subsections headings
-   Github labels
    -   change "config problem" to "user error"
- add "performance", "investigation", "servers storage" and "nearly
resolved" categories

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Mi45IiwidXBkYXRlZEluVmVyIjoiMzkuODIuOSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==-->
  • Loading branch information
spiceratops authored Dec 26, 2024
2 parents 11dd7b1 + 4a62cd9 commit d43364e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kubernetes/apps/media/firefox/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
gluetun:
image:
repository: ghcr.io/qdm12/gluetun
tag: v3.39.1
tag: v3.40.0
env:
DOT: "off"
DNS_ADDRESS: "127.0.0.2"
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/apps/media/qbittorrent/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
gluetun:
image:
repository: ghcr.io/qdm12/gluetun
tag: v3.39.1
tag: v3.40.0
env:
DOT: "off"
DNS_ADDRESS: "127.0.0.2"
Expand Down

0 comments on commit d43364e

Please sign in to comment.