Quentin McGaw
85afef5775
Change: gluetun docker image name
2020-12-29 22:10:44 +00:00
Quentin McGaw
b4fc24995c
Code maintenance: Microbadger hook uses continue-on-error
2020-12-29 21:35:09 +00:00
Quentin McGaw
5917bb10e4
Feature: Docker secrets, refers to #306
2020-12-29 20:47:56 +00:00
Quentin McGaw
258e150ebf
Code maintenance: GetPassword signature changed
2020-12-29 20:06:24 +00:00
Quentin McGaw
96f2b2b617
Change: PASSWORD changed to OPENVPN_PASSWORD
2020-12-29 20:05:17 +00:00
Quentin McGaw
d556db079b
Change: USER changed to OPENVPN_USER
2020-12-29 20:02:58 +00:00
Quentin McGaw
a811a82329
Change: Remove CLIENT_KEY variable
2020-12-29 19:54:58 +00:00
Quentin McGaw
d17a0dae1f
Documentation: Missing PUID and PGID update
2020-12-29 19:46:41 +00:00
Quentin McGaw
ef40f2f91b
Code maintenance: Use Unset() option for params
2020-12-29 18:29:21 +00:00
Quentin McGaw
a921f9848c
Code maintenance: CLI interface abstraction
2020-12-29 18:24:03 +00:00
Quentin McGaw
95ba3261fd
Code maintenance: lint bug fix for armv7
2020-12-29 18:16:29 +00:00
Quentin McGaw
fe81eb65c2
Bug fix: Program exit on Openvpn fatal error
2020-12-29 17:50:36 +00:00
Quentin McGaw
8428714cf5
Code maintenance: upgrade golangci-lint to 1.34.1
2020-12-29 17:50:12 +00:00
Quentin McGaw
bedf613cff
Code maintenance: storage merging reworked
2020-12-29 17:49:38 +00:00
Quentin McGaw
e643ce5b99
Fix publicip and updater loops exit bugs
2020-12-29 16:44:55 +00:00
Quentin McGaw
cb64302294
Rename UID and GID to PUID and PGID
2020-12-29 16:44:35 +00:00
Quentin McGaw
8d5f2fec09
Code maintenance: use native Go HTTP client
2020-12-29 02:55:34 +00:00
Quentin McGaw
60e98235ca
Code maintenance: Better deps injection in main.go
2020-12-29 01:21:54 +00:00
Quentin McGaw
f55fb4055f
Code maintenance: OS user abstraction interface
2020-12-29 01:16:53 +00:00
Quentin McGaw
da4e410bb7
Upgrade direct dependencies
2020-12-29 01:06:08 +00:00
Quentin McGaw
cdd1f87437
Code maintenance: Remove unneeded ctrl.Finish()
2020-12-29 01:04:07 +00:00
Quentin McGaw
7058373916
Code maintenance: Unix abstraction interface
...
- Used for creating the tun device if it does not exist
- Mocks generated for testing
2020-12-29 01:02:47 +00:00
Quentin McGaw
8dd38fd182
Code maintenance: better JSON decoding for HTTP
2020-12-29 00:56:51 +00:00
Quentin McGaw
73479bab26
Code maintenance: OS package for file system
...
- OS custom internal package for file system interaction
- Remove fileManager external dependency
- Closer API to Go's native API on the OS
- Create directories at startup
- Better testability
- Move Unsetenv to os interface
2020-12-29 00:55:31 +00:00
Quentin McGaw
f5366c33bc
Remove unneeded .Times(1) for unit tests mocks
2020-12-28 01:52:30 +00:00
Quentin McGaw
db886163c2
Public IP getter loop refactored
v3.9.0
2020-12-28 01:51:55 +00:00
Quentin McGaw
91f5338db0
Fix updater loop bug
2020-12-28 01:50:13 +00:00
Quentin McGaw
82a02287ac
Public IP endpoint with GET /ip fixing #319
2020-12-27 21:06:00 +00:00
Quentin McGaw
2dc674559e
Re-use username for UID if it exists
2020-12-27 00:36:39 +00:00
Quentin McGaw
38e713fea2
Fix Block-outside-dns #316
2020-12-23 06:46:54 +00:00
Quentin McGaw
2cbb14c36c
Fix Purevpn settings display, refers to #317
2020-12-22 14:08:12 +00:00
Quentin McGaw
610e88958e
Upgrade golangci-lint to v1.33.0
2020-12-22 13:52:37 +00:00
Quentin McGaw
bb76477467
Fix #316
2020-12-22 13:49:49 +00:00
Quentin McGaw
433a799759
Fix environment variables table for Purevpn
2020-12-22 13:46:52 +00:00
Quentin McGaw
22965ccce3
Fix #315
2020-12-22 06:21:25 +00:00
Quentin McGaw
4257581f55
Loops and HTTP control server rework ( #308 )
...
- CRUD REST HTTP server
- `/v1` HTTP server prefix
- Retrocompatible with older routes (redirects to v1 or handles the requests directly)
- DNS, Updater and Openvpn refactored to have a REST-like state with new methods to change their states synchronously
- Openvpn, Unbound and Updater status, see #287
2020-12-19 20:10:34 -05:00
Quentin McGaw
d60d629105
Dev container documentation and cleanup
2020-12-08 06:24:46 +00:00
Quentin McGaw
3f721b1717
Simplify Github workflows triggers
2020-12-07 02:15:50 +00:00
Quentin McGaw
97049bfab4
Add 256x256 png logo for Unraid
2020-12-07 02:11:23 +00:00
Quentin McGaw
84944a87d3
HTTP proxy authentication fixes ( #300 )
...
- Only accepts HTTP 1.x protocols
- Only checks the credentials when the method is `CONNECT` or the request URL is absolute
- More logging on authorization failures
- Removes the authorization headers before forwarding the HTTP(s) requests
- Refers to #298
v3.8.1
2020-12-01 22:29:31 -05:00
Quentin McGaw
fb62910b17
HTTP proxy 24 hours timeout, fix #303
2020-11-21 01:26:02 +00:00
Quentin McGaw
1cc0f5fee9
Fix #296 (Cyberghost implementation) ( #297 )
...
* Reads the client key from /gluetun/client.key
* Read the client certificate from /gluetun/client.crt
* Additional checks for client key and client certificate validity
* Fix client key file parsing if environment variable isn't present
v3.8.0
2020-11-19 08:50:55 -05:00
Quentin McGaw
6896cf4258
Update PIA hardcoded servers information
2020-11-14 22:21:08 +00:00
Quentin McGaw
188d63c6b8
Fix #298
2020-11-13 01:14:05 +00:00
Quentin McGaw
cbc5d466f6
Fix Shadowsocks UDP logs
2020-11-13 00:42:14 +00:00
Quentin McGaw
aef14a9f6d
Assimilate PIA v4 as PIA in code
2020-11-10 13:35:49 +00:00
Quentin McGaw
f48392064e
Update issue templates
v3.7.0
2020-11-10 01:29:47 +00:00
Quentin McGaw
994bdd0ca7
Update Gituhb labels
2020-11-10 01:16:12 +00:00
Quentin McGaw
40ed070f21
Filter Privado servers by hostnames only
2020-11-09 23:17:22 +00:00
Quentin McGaw
f1e4b9937b
Privado support, fix #285 ( #288 )
2020-11-08 20:56:49 -05:00