Quentin McGaw
ac4a4f83fc
chore(settings): split openvpn validation in functions
2022-02-20 00:08:55 +00:00
Quentin McGaw
a4652c2d32
feat(validation): reject server filters ignored for some VPN providers
2022-02-18 14:06:13 +00:00
Quentin McGaw
c40d4e075e
chore(validation): move functions from constants
...
- Move validation functions from `internal/constants` to `internal/configuration/settings/validation`
- Concatenate all OpenVPN constants in `internal/constants/openvpn.go`
2022-02-13 01:21:25 +00:00
Quentin McGaw
53952b143f
fix(server): allow to bind on a random port
2022-02-06 19:59:07 +00:00
Quentin McGaw
7a8f5f53d5
feat(openvpn): OPENVPN_PROCESS_USER and deprecates OPENVPN_ROOT
2022-01-27 23:34:19 +00:00
Quentin McGaw
1b585159d1
feat(server): HTTP_CONTROL_SERVER_PORT to HTTP_CONTROL_SERVER_ADDRESS
2022-01-27 23:15:08 +00:00
Quentin McGaw (desktop)
9fb085f361
hotfix(updater): do not default to custom
2022-01-27 12:57:27 +00:00
Quentin McGaw
1e3f878470
feat(updater): UPDATER_VPN_SERVICE_PROVIDERS
...
- Updater defaults to update the VPN provider in use if enabled
2022-01-26 22:41:06 +00:00
Quentin McGaw
9de6428585
feat(pprof): add pprof HTTP server ( #807 )
...
- `PPROF_ENABLED=no`
- `PPROF_BLOCK_PROFILE_RATE=0`
- `PPROF_MUTEX_PROFILE_RATE=0`
- `PPROF_HTTP_SERVER_ADDRESS=":6060"`
2022-01-26 17:23:55 -05:00
Quentin McGaw (desktop)
2cff64fd80
fix(settings): allow DNS_UPDATE_PERIOD=0
2022-01-23 00:36:45 +00:00
Quentin McGaw (desktop)
fdc0db07e0
fix(updater): do not allow or set custom provider
2022-01-22 22:23:40 +00:00
Quentin McGaw
7e2ea4d74d
hotfix(custom): allow empty user and password for OpenVPN
2022-01-13 15:18:39 +00:00
Quentin McGaw
6f5a78c22b
hotfix(settings): hostnames merging
2022-01-07 22:41:57 +00:00
Quentin McGaw
b0c2d5f299
hotfix(updater): defaults for settings in CLI mode
2022-01-07 22:29:30 +00:00
Quentin McGaw
b32c01c11a
fix(custom): OPENVPN_CUSTOM_CONFIG
2022-01-07 15:12:49 +00:00
Quentin McGaw
c40c8413b5
fix(custom): settings parsing for custom VPNSP
2022-01-07 09:23:29 +00:00
Quentin McGaw
ae074dfb2b
hotfix(surfshark): REGION retro-compatibility
2022-01-06 19:16:14 +00:00
Quentin McGaw
2c8a8f6cd5
fix(settings): HTTP proxy default address
2022-01-06 17:47:06 +00:00
Quentin McGaw
6132cd9df2
fix(pia): encryption strong accepted
2022-01-06 15:04:40 +00:00
Quentin McGaw
7d824a5179
chore(settings): refactor settings processing ( #756 )
...
- Better settings tree structure logged using `qdm12/gotree`
- Read settings from environment variables, then files, then secret files
- Settings methods to default them, merge them and override them
- `DNS_PLAINTEXT_ADDRESS` default changed to `127.0.0.1` to use DoT. Warning added if set to something else.
- `HTTPPROXY_LISTENING_ADDRESS` instead of `HTTPPROXY_PORT` (with retro-compatibility)
2022-01-06 06:40:23 -05:00