Quentin McGaw
4105f74ce1
feat(portforward): port redirection with VPN_PORT_FORWARDING_LISTENING_PORT
2023-11-23 08:37:43 +00:00
Quentin McGaw
ffc6d2e593
chore(lint): upgrade linter to v1.54.1
2023-09-20 09:34:32 +00:00
Quentin McGaw
03ce08e23d
chore(build): upgrade Go to 1.21
2023-09-20 09:34:29 +00:00
Quentin McGaw
919b55c3aa
feat(wireguard): WIREGUARD_ALLOWED_IPS variable ( #1291 )
2023-07-06 09:08:59 +02:00
Quentin McGaw
fae6544431
feat(pf): VPN_PORT_FORWARDING_PROVIDER variable ( #1616 )
2023-06-30 19:24:01 +02:00
Quentin McGaw
fbe252a9b6
chore(Docker): add missing environment variables
...
- `OPENVPN_PROCESS_USER` defaults to `root`
- Add `HTTPPROXY_STEALTH=off`
- Add `HTTP_CONTROL_SERVER_LOG=on`
2023-06-29 16:20:25 +00:00
Quentin McGaw
2ec9293324
feat(wireguard): MTU defaults to 1400 instead of 1420
2023-06-08 09:50:21 +00:00
Quentin McGaw
c58d6d4de2
chore(lint): upgrade to v1.53.2 and add linters
...
- gosmopolitan
- mirror
- tagalign
- zerologlint
2023-06-08 07:43:30 +00:00
Quentin McGaw
86f95cb390
chore(docker): bump Alpine from 3.17 to 3.18
2023-05-21 13:25:01 +00:00
Quentin McGaw
3b807e2ca9
feat(openvpn): add support for openvpn 2.6
2023-05-21 13:23:51 +00:00
Quentin McGaw
e8f2296a0d
change(openvpn): Openvpn 2.4 no longer supported
2023-05-21 13:20:02 +00:00
Lars Haalck
1dd38bc658
feat(wireguard): WIREGUARD_MTU enviromnent variable ( #1571 )
2023-05-21 15:11:07 +02:00
Quentin McGaw
b6c8399c3b
feat(health): HEALTH_SUCCESS_WAIT_DURATION
2023-05-07 09:35:51 +00:00
Quentin McGaw
67bd1171ae
feat(env): rename vpn port forwarding variables
...
- `VPN_PORT_FORWARDING_STATUS_FILE`
- `VPN_PORT_FORWARDING`
- Deprecate PIA specific variables for VPN port forwarding
2023-04-27 10:23:55 +00:00
Quentin McGaw
723d0f5e12
chore(lint): upgrade from v1.51.2 to v1.52.2
2023-04-12 09:40:00 +00:00
Quentin McGaw
8bfa2f9b27
chore(docker): loosen pin for openssl 1.1
...
- Credits to @kylemanna
2023-04-03 08:21:58 +00:00
Quentin McGaw
fe2a3e4d11
chore(docker): remove no longer needed apk-tools
2023-04-03 08:20:08 +00:00
Quentin McGaw
b0451d8e50
feat(docker): install full-featured wget
...
- Fixes #1260 , #1494
- Does not spawn openssl zombie processes
2023-04-03 08:10:48 +00:00
Quentin McGaw
0f4a2e5224
hotfix(deps): bump old openssl to 1.1.1t-r2
2023-03-31 09:34:33 +00:00
Quentin McGaw
5607916af6
hotfix: bump old openssl to 1.1.1t-r1
2023-03-23 16:36:14 +00:00
Quentin McGaw
e955adc1e1
hotfix: install older openssh for openvpn 2.4
2023-02-27 05:21:42 +00:00
Quentin McGaw
9261dca8ab
chore(lint): bump from v1.49.0 to v1.51.2
2023-02-26 15:15:34 +00:00
Quentin McGaw
7b5d5c3884
feat(alpine): bump from 3.16 to 3.17
2023-02-26 15:15:34 +00:00
Quentin McGaw
7c80d80904
chore(build): upgrade Go from 1.19 to 1.20
2023-02-26 15:15:30 +00:00
Quentin McGaw
03ed3cb1c8
feat(wireguard): WIREGUARD_IMPLEMENTATION variable
...
- Can be `auto` (default), `userspace` or `kernelspace`
2022-12-02 11:16:27 +00:00
Quentin McGaw
5ddd703f6a
feat(vpn): auto detection of IPv6 support
...
- `OPENVPN_IPV6` removed
- Affects OpenVPN
- Use the same mechanism for OpenVPN and Wireguard
- Check only once at program start since this is unlikely to change at runtime
- Log if IPv6 is supported
- Remove `IPv6` boolean from settings structs
- Move IPv6 detection as a method on NetLinker
2022-09-06 12:16:29 +00:00
Quentin McGaw
4faef87c03
chore(build): bump Go from 1.18 to 1.19
2022-08-24 21:54:49 +00:00
Quentin McGaw
5914cb0e37
chore(build): bump Go from 1.17 to 1.18
...
- Unneeded disabled linters are: `rowserrcheck`, `sqlclosecheck`
- Disabled linter is `wastedassign` which is tolerable
2022-08-24 21:54:08 +00:00
Quentin McGaw
aa53436e56
chore(lint): upgrade golangci-lint to v1.49.0
...
- Add linter `interfacebloat` and fix code issues
- Add linter `reassign`
- Remove deprecated linter `nosnakecase`
2022-08-24 21:48:24 +00:00
Quentin McGaw
a182e3503b
feat: add VPNsecure.me support ( #848 )
...
- `OPENVPN_ENCRYPTED_KEY` environment variable
- `OPENVPN_ENCRYPTED_KEY_SECRETFILE` environment variable
- `OPENVPN_KEY_PASSPHRASE` environment variable
- `OPENVPN_KEY_PASSPHRASE_SECRETFILE` environment variable
- `PREMIUM_ONLY` environment variable
- OpenVPN user and password not required for vpnsecure provider
2022-08-15 16:54:58 -07:00
Quentin McGaw
652daec509
Change: OPENVPN_CLIENTKEY -> OPENVPN_KEY
...
- No breaking change since this was undocumented
2022-08-13 18:56:37 +00:00
Quentin McGaw
f94d4b761a
Change: OPENVPN_CLIENTCRT -> OPENVPN_CERT
...
- No breaking change since this was undocumented
2022-08-13 18:55:29 +00:00
Quentin McGaw
ebae167815
chore(lint): golangci-lint v1.47.2 -> v1.48.0
...
- Remove deprecated `ifshort` linter
- Fix bad `//nolint:gomnd` comment
2022-08-12 23:52:30 +00:00
Quentin McGaw
a6f00f2fb2
chore(lint): upgrade golangci-lint to v1.47.2
...
- Fix Slowloris attacks on HTTP servers
- Force set default of 5 minutes for pprof read timeout
- Change `ShutdownTimeout` to time.Duration since it cannot be set to 0
2022-08-01 21:09:16 +00:00
Quentin McGaw
a4c80b3045
chore(ci): add mocks check
...
- Check for missing `//go:generate` comments
- Check for outdated mocks
2022-07-04 00:39:01 +00:00
Quentin McGaw
9898387579
feat(updater): Configurable min ratio
...
- `UPDATER_MIN_RATIO` variable
- `-minratio` flag for CLI operation
2022-06-12 14:03:00 +00:00
Quentin McGaw
1ea15a1a13
chore(protonvpn): document to remove SERVER_NAMES
2022-06-12 01:58:46 +00:00
Derzsi Dániel
029fd1da1f
feat(docker): upgrade Alpine from 3.15 to 3.16 ( #1005 )
2022-05-29 10:30:10 -07:00
Quentin McGaw
48e469917e
chore(ci): remove tidy check
...
- Not really needed with newer `go install`
- Conflicts with Go 1.17 go.mod format
- Conflicts with manual indirect dependency upgrade
2022-05-27 17:27:53 +00:00
Quentin McGaw
5ffe8555ba
chore(lint): upgrade golangci-lint from v1.44.2 to v1.46.2
...
- Add linter `execinquery`
- Add linter `nosprintfhostport`
2022-05-27 00:52:25 +00:00
Quentin McGaw
10a13bc8a7
fix(health): change default target address to cloudflare.com:443
2022-04-11 20:21:15 +00:00
Quentin McGaw
a97fd35d6e
fix(ci): openvpn 2.4.12-r0
2022-03-28 17:32:56 +00:00
Quentin McGaw
c6f68a64e6
fix(health): use TCP dialing instead of ping
...
- `HEALTH_TARGET_ADDRESS` to replace `HEALTH_ADDRESS_TO_PING`
- Remove `github.com/go-ping/ping` dependency
- Dial TCP the target address, appending `:443` if port is not set
2022-03-22 08:50:56 +00:00
Quentin McGaw
e75627365d
chore(lint): upgrade golangci-lint to v1.44.2
2022-02-20 21:26:38 +00:00
Quentin McGaw
fcab4ae3c6
chore(env): SERVER_NAMES variable
...
- With retro-compatibility with `SERVER_NAME`
2022-02-06 19:59:07 +00:00
Quentin McGaw
a69c456965
chore(env): SERVER_HOSTNAMES variable
...
- With retro-compatibility with `SERVER_HOSTNAME`
2022-02-06 19:59:07 +00:00
Quentin McGaw
0e6db2f1c5
chore(env): SERVER_REGIONS variable
...
- With retro-compatibility with `REGION`
2022-02-06 19:59:07 +00:00
Quentin McGaw
7aab18d197
chore(env): SERVER_CITIES variable
...
- With retro-compatibility with `CITY`
2022-02-06 19:59:07 +00:00
Quentin McGaw
d6b39e66d1
chore(env): SERVER_COUNTRIES variable
...
- With retro-compatibility with `COUNTRY`
2022-02-06 19:59:07 +00:00
Quentin McGaw
691ade794b
chore(env): PRIVATE_INTERNET_ACCESS_VPN_PORT_FORWARDING_STATUS_FILE
...
- With retro-compatibility with `PORT_FORWARDING_STATUS_FILE`
2022-02-06 19:59:07 +00:00