Quentin McGaw
a2e76e1683
feat(server): role based authentication system ( #2434 )
...
- 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 v3.41 release
- Log a warning if an unprotected-by-default route is accessed unprotected
- Authentication methods: none, apikey, basic
- `genkey` command to generate API keys
Co-authored-by: Joe Jose <45399349+joejose97@users.noreply.github.com >
2024-09-18 13:29:36 +02:00
Quentin McGaw
07651683f9
feat(providers): add giganews support ( #2479 )
2024-09-18 13:01:37 +02:00
Quentin McGaw
429aea8e0f
docs(github): change and add labels
...
- change "config problem" to "user error"
- add "performance" category
- add "investigation" category
2024-08-25 07:06:33 +00:00
Quentin McGaw
01fa9934bc
hotfix(routing): detect vpn local gateway with new routes listing
2024-08-25 07:01:33 +00:00
Quentin McGaw
ff7cadb43b
chore(server): move log middleware to internal/server/middlewares/log
2024-08-23 13:46:52 +00:00
Quentin McGaw
540acc915d
chore(deps): upgrade vishvananda/netlink from v1.2.1-beta.2 to v1.2.1
2024-08-23 13:46:09 +00:00
dependabot[bot]
703a546c1d
Chore(deps): Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 ( #2428 )
2024-08-22 17:24:39 +02:00
Quentin McGaw
4851bd70da
chore(deps): remove qdm12/golibs dependency
...
- Implement friendly duration formatting locally
2024-08-21 13:27:30 +00:00
Quentin McGaw
a2b3d7e30c
chore(deps): implement github.com/qdm12/golibs/command locally ( #2418 )
2024-08-21 15:21:31 +02:00
Quentin McGaw
4d60b71583
feat(dns): replace unbound with qdm12/dns@v2.0.0-beta-rc6 ( #1742 )
...
- Faster start up
- Clearer error messages
- Allow for more Gluetun-specific customization
- DNSSEC validation is dropped for now (it's sort of unneeded)
- Fix #137
2024-08-21 14:35:41 +02:00
Quentin McGaw
3f130931d2
hotfix(firewall): fix ip prefix parsing for ipv6 (again)
2024-08-19 17:06:45 +00:00
Quentin McGaw
946f055fed
hotfix(firewall): handle iptables CIDR ranges with 3 digits for IPv6
2024-08-19 14:02:53 +00:00
Quentin McGaw
eaece0cb8e
fix(ivpn): split city into city and region
...
- Fix bad city values containing a comma
- update ivpn servers data
2024-08-19 03:10:53 +00:00
Quentin McGaw
4203f4fabf
fix(nordvpn): remove commas from region values
2024-08-19 03:08:14 +00:00
Quentin McGaw
c39edb6378
fix(pia): support port forwarding using Wireguard ( #2420 )
...
- Build API IP address using the first 2 bytes of the gateway IP and adding `128.1` to it
- API IP address is valid for both OpenVPN and Wireguard
- Fix #2320
2024-08-19 03:19:16 +02:00
Quentin McGaw
b3cc2781ff
hotfix(config): fix missing test lines for previous commit
2024-08-19 01:00:30 +00:00
Jean-François Roy
12c411e203
feat(storage): STORAGE_FILEPATH option ( #2416 )
...
- `STORAGE_FILEPATH=` disables storing to and reading from a local servers.json file
- `STORAGE_FILEPATH` defaults to `/gluetun/servers.json`
- Fix #2074
2024-08-19 02:26:46 +02:00
Quentin McGaw
3bf937d705
feat(privado): update servers data
2024-08-18 23:29:10 +00:00
Quentin McGaw
bc55c25e73
fix(firewall): delete chain rules by line number ( #2411 )
...
- Fix #2334
- Parsing of iptables chains, contributing to progress for #1856
2024-08-17 20:12:22 +02:00
Quentin McGaw
897a9d7f57
feat(config): allow invalid server filters ( #2419 )
...
- 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
- Fix #2337
2024-08-17 12:01:26 +02:00
Quentin McGaw
4a128677dd
chore(github): add 2 labels
...
- servers storage category
- nearly resolved status
2024-08-17 10:00:23 +00:00
Quentin McGaw
9233f3f5ba
feat(pia/updater): use v6 API to get servers data
2024-08-16 12:40:22 +00:00
Quentin McGaw
11c2354408
feat(privatevpn): native port forwarding support ( #2285 )
2024-08-16 14:20:00 +02:00
Quentin McGaw
1f2882434a
feat(format-servers): add json format option
2024-08-16 10:14:06 +00:00
dependabot[bot]
01aaf2c86a
Chore(deps): Bump golang.org/x/net from 0.25.0 to 0.28.0 ( #2401 )
2024-08-09 11:35:01 +02:00
dependabot[bot]
d260ac7a49
Chore(deps): Bump golang.org/x/text from 0.15.0 to 0.17.0 ( #2400 )
2024-08-09 11:34:47 +02:00
dependabot[bot]
0bea0d4ecd
Chore(deps): Bump docker/build-push-action from 5 to 6 ( #2324 )
2024-08-09 11:34:19 +02:00
dependabot[bot]
59994bd6e7
Chore(deps): Bump github.com/klauspost/compress from 1.17.8 to 1.17.9 ( #2319 )
2024-08-09 11:34:02 +02:00
dependabot[bot]
62799d2449
Chore(deps): Bump golang.org/x/sys from 0.20.0 to 0.24.0 ( #2404 )
2024-08-09 11:33:22 +02:00
Quentin McGaw
09c47c740c
fix(version): log last release by tag name alphabetically instead of date
v3.39.0
2024-08-09 07:43:48 +00:00
dependabot[bot]
ecbfc02713
Chore(deps): Bump github.com/breml/rootcerts from 0.2.16 to 0.2.17 ( #2316 )
2024-08-09 09:07:35 +02:00
Quentin McGaw
7be9288685
fix(privatevpn): set openvpn vpn type for no hostname server
2024-08-09 06:24:06 +00:00
Quentin McGaw
d1f57d0e36
chore(deps): bump gosplash to v0.2.0
...
- Merge same links in the same line
- Add `/choose` suffix to github links
2024-08-05 17:46:31 +00:00
Quentin McGaw
74ea1a0f5a
hotfix(firewall): prefer ip6tables (nft) instead of ip6tables-legacy
2024-08-05 14:01:27 +00:00
Quentin McGaw
2a9ab29e7d
fix(firewall): VPN_PORT_FORWARDING_LISTENING_PORT behavior fixed again
...
- allow redirection destination port in INPUT table
2024-08-05 13:57:30 +00:00
Quentin McGaw
8be78a5741
chore(github): add /choose suffix to issue and discussion links
2024-08-05 13:39:32 +00:00
Quentin McGaw
4a669c3458
chore(dev): upgrade organizeImports vscode setting from true to explicit
2024-08-05 13:39:01 +00:00
Quentin McGaw
ae5b71a864
chore(lint): remove now invalid skip-dirs configuration block
2024-08-05 13:38:32 +00:00
Quentin McGaw
6fff2ce1a4
chore(deps): tidy Go modules dependencies
2024-08-05 13:38:15 +00:00
Quentin McGaw
f6165d206a
fix(firewall): VPN_PORT_FORWARDING_LISTENING_PORT behavior fixed
...
by not restricting the destination address to 127.0.0.1
2024-08-05 13:37:49 +00:00
Quentin McGaw
8dbe7b8888
hotfix(readme): add perfect privacy as port forwarding natively supported
2024-08-04 09:00:06 +00:00
Quentin McGaw
10f43d7a70
chore(github): add before next release github label
2024-08-04 08:35:57 +00:00
Quentin McGaw
01283def17
fix(format-servers): add missing vpn type column for natively supported providers
...
- nordvpn
- surfshark
2024-08-04 08:33:24 +00:00
Quentin McGaw
b32e085354
docs(readme): update list of providers supporting Wireguard with the custom provider
2024-08-03 14:32:41 +00:00
Quentin McGaw
ac9446e296
feat(protonvpn): Wireguard support ( #2390 )
2024-08-03 16:10:35 +02:00
Quentin McGaw
dea4080a7b
fix(custom-openvpn): remove comments before parsing file
2024-08-03 13:37:57 +00:00
Quentin McGaw
2e63dba817
docs(readme): add protonvpn as custom port forwarding implementation
2024-08-03 09:54:14 +00:00
Quentin McGaw
10384c9e37
chore(github): add labels "Custom" and "Category: logs"
2024-08-01 12:20:55 +00:00
Quentin McGaw
34e8f5f3a9
hotfix(custom): assume all custom servers support port forwarding
...
- Fix custom wireguard with the protonvpn port forwarding implementation
- Might fix #2389
2024-08-01 11:52:38 +00:00
Quentin McGaw
ceb6ff4ca4
hotfix(protonvpn): fix free detection and update p2p->port_forward
2024-07-31 21:04:05 +00:00