Commit Graph

  • 5eacb46226 feat(servers): update servers data for Ivpn, Mullvad and Windscribe Quentin McGaw 2022-08-25 13:05:20 +00:00
  • 6c17612310 chore(filter): no network protocol filter for Wireguard Quentin McGaw 2022-08-25 13:03:58 +00:00
  • fba73a0a0f fix(settings): OPENVPN_CUSTOM_CONFIG precedence for custom provider only if VPN_SERVICE_PROVIDER is empty Quentin McGaw 2022-08-25 04:01:17 +00:00
  • 4faef87c03 chore(build): bump Go from 1.18 to 1.19 Quentin McGaw 2022-08-24 21:53:53 +00:00
  • 5914cb0e37 chore(build): bump Go from 1.17 to 1.18 - Unneeded disabled linters are: rowserrcheck, sqlclosecheck - Disabled linter is wastedassign which is tolerable Quentin McGaw 2022-08-24 21:52:00 +00:00
  • aa53436e56 chore(lint): upgrade golangci-lint to v1.49.0 - Add linter interfacebloat and fix code issues - Add linter reassign - Remove deprecated linter nosnakecase v3.31.0 Quentin McGaw 2022-08-24 19:41:26 +00:00
  • 8dfaebc737 chore(all): remove deprecated io/ioutil import Quentin McGaw 2022-08-24 19:39:55 +00:00
  • 732f826ec2 fix(settings): read PEM files but b64 env vars - Extract base64 data from PEM files and secret files - Environment variables are not PEM encoded and only the base64 data - Affects OpenVPN certificate, key and encrypted key v3.30.1 Quentin McGaw 2022-08-24 19:31:52 +00:00
  • 062b6a276c fix(settings): read PEM files but b64 env vars - Extract base64 data from PEM files and secret files - Environment variables are not PEM encoded and only the base64 data - Affects OpenVPN certificate, key and encrypted key Quentin McGaw 2022-08-24 17:48:45 +00:00
  • 647cd07de7 feat(surfshark): update servers data Quentin McGaw 2022-08-24 13:04:34 +00:00
  • a530c84c5f fix(surshark): remove invalid retro-servers Quentin McGaw 2022-08-24 13:04:18 +00:00
  • 0bb320065e feat(server): patch VPN settings - PUT at /v1/vpn/settings - Undocumented, experimental for now Quentin McGaw 2022-08-21 23:36:48 +00:00
  • d685d78e74 feat(server): add vpn route to replace /openvpn Quentin McGaw 2022-08-21 23:28:38 +00:00
  • 48896176e5 chore(server): do not redact openvpn credentials from response Quentin McGaw 2022-08-21 22:04:04 +00:00
  • 54dcf28b31 chore(server): replace 404 with 401 for unsupported routes and methods Quentin McGaw 2022-08-21 21:23:02 +00:00
  • f8bf32bb34 docs(readme): add slickvpn to list of providers Quentin McGaw 2022-08-16 00:02:34 +00:00
  • 748923021c fix(ci): permissions for labels workflow Quentin McGaw 2022-08-15 23:58:19 +00:00
  • a182e3503b feat: add VPNsecure.me support (#848) Quentin McGaw 2022-08-15 19:54:58 -04:00
  • 991cfb8659 chore(ci): limit labels workflow to not forked Quentin McGaw 2022-08-15 23:53:29 +00:00
  • d0dfc21e2b feat: SlickVPN Support (#961) Richard Hodgson 2022-08-15 16:25:06 +01:00
  • 617bd0c600 Chore(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#1052) dependabot[bot] 2022-08-13 12:16:57 -07:00
  • 349b5429ba Chore(deps): Bump docker/build-push-action from 3.1.0 to 3.1.1 (#1098) dependabot[bot] 2022-08-13 12:16:44 -07:00
  • 8db2944749 chore(settings): OpenVPN ClientCrt -> Cert Quentin McGaw 2022-08-13 18:59:07 +00:00
  • 5986432a22 chore(settings): OpenVPN ClientKey -> Key Quentin McGaw 2022-08-13 18:58:09 +00:00
  • 652daec509 Change: OPENVPN_CLIENTKEY -> OPENVPN_KEY - No breaking change since this was undocumented Quentin McGaw 2022-08-13 18:56:37 +00:00
  • f94d4b761a Change: OPENVPN_CLIENTCRT -> OPENVPN_CERT - No breaking change since this was undocumented Quentin McGaw 2022-08-13 18:55:29 +00:00
  • 1ab74e6bb3 chore: OpenVPN user and password as nullable - Username and password can be the empty string for custom provider Quentin McGaw 2022-08-13 16:44:38 +00:00
  • 8e101d49a1 Chore(deps): Bump github.com/breml/rootcerts from 0.2.4 to 0.2.6 (#1058) dependabot[bot] 2022-08-12 17:01:45 -07:00
  • 7c08e8f607 chore(lint): add asasalint and usestdlibvars Quentin McGaw 2022-08-12 23:54:20 +00:00
  • a4caa61c47 chore(lint): add nosnakecase linter Quentin McGaw 2022-08-12 23:53:18 +00:00
  • ebae167815 chore(lint): golangci-lint v1.47.2 -> v1.48.0 - Remove deprecated ifshort linter - Fix bad //nolint:gomnd comment Quentin McGaw 2022-08-12 22:07:12 +00:00
  • 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 Quentin McGaw 2022-07-28 21:55:10 +00:00
  • 877617cc53 Chore(deps): Bump docker/build-push-action from 3.0.0 to 3.1.0 (#1073) dependabot[bot] 2022-07-23 20:08:34 -07:00
  • 2800588ef7 feat(expressvpn): update servers data Quentin McGaw 2022-07-18 18:01:08 +00:00
  • f5efa42aaf chore(lint): remove some linters - remove duplicate predeclared - remove commented varnamelen and wrapcheck Quentin McGaw 2022-07-17 23:11:35 +00:00
  • 10bd0e1505 fix(readme): typo sercice to service (#1067) Hey 2022-07-16 01:52:04 +02:00
  • a4c80b3045 chore(ci): add mocks check - Check for missing //go:generate comments - Check for outdated mocks Quentin McGaw 2022-07-04 00:39:01 +00:00
  • dbb71bd695 chore(mocks): use common mocks for ivpn and ipvanish Quentin McGaw 2022-07-04 00:34:48 +00:00
  • a544f6e604 Chore(deps): Bump github.com/breml/rootcerts from 0.2.3 to 0.2.4 (#1033) dependabot[bot] 2022-07-03 16:50:38 -07:00
  • a18e026b70 Chore(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 (#1042) dependabot[bot] 2022-07-03 16:50:27 -07:00
  • 0413a0a1ab chore(ci): rework docker hub description workflow - Run only on base repository - Rename job from dockerHubDescription to docker-hub-description - Limit permissions of job to read only - Remove unneeded names for steps v3.30.0 Quentin McGaw 2022-07-03 14:31:49 +00:00
  • cb6e9cb761 docs(readme): add links to add a provider Quentin McGaw 2022-07-03 13:39:47 +00:00
  • 420ae40901 feat(dev): Add provider example package Quentin McGaw 2022-07-02 20:58:04 +00:00
  • 34e67f9f99 chore(markdown): alphabetically sorted headers Quentin McGaw 2022-07-02 17:43:08 +00:00
  • 18c53aa597 docs(readme): simplify heading description Quentin McGaw 2022-07-02 00:12:44 +00:00
  • 6d2f9b9508 chore(updater): check servers have minimal information Quentin McGaw 2022-07-02 00:12:01 +00:00
  • 6826b05d58 chore(all): remove all package comments Quentin McGaw 2022-07-01 17:09:27 +00:00
  • 9f959dbc6a fix(expressvpn): OpenVPN fragment option and add ciphers (#1047) barino28 2022-06-29 07:23:16 -05:00
  • 87dbae5745 hotfix(fastestvpn): re-fix Openvpn configuration - add auth sha256 option - remove remote-cert-tls server option Quentin McGaw 2022-06-26 21:29:05 +00:00
  • 037f19e852 hotfix(publicip): revert back JSON to public_ip Quentin McGaw 2022-06-25 15:52:00 +00:00
  • 62ad8bcd8f fix(pia): set port forward file owned with PUID and PGID Quentin McGaw 2022-06-25 15:44:29 +00:00
  • 2805c3388a hotfix(fastestvpn): add remote-cert-tls server Quentin McGaw 2022-06-25 15:16:38 +00:00
  • 535297dcf5 chore: extract.PEM replaces PEM parse functions Quentin McGaw 2022-06-24 23:10:00 +00:00
  • b3b6933ef4 chore(lint): review exclude rules Quentin McGaw 2022-06-11 02:41:16 +00:00
  • edbbcc041a fix(protonvpn): set free field for free servers Quentin McGaw 2022-06-18 18:30:27 +00:00
  • d430ebc34f feat(protonvpn): update servers data Quentin McGaw 2022-06-18 18:30:05 +00:00
  • 0e9abc6e1d chore(tests): modify JSON tests to not need all providers listed Quentin McGaw 2022-06-18 14:21:48 +00:00
  • 0c0dd10766 chore(dev): add VSCode launch.json - Credits to @Rohaq Quentin McGaw 2022-06-18 00:17:09 +00:00
  • 75454be6b6 fix(pprof): override operation in global settings Quentin McGaw 2022-06-18 00:16:14 +00:00
  • 4952e3b74e docs(bug): fix render of logs to be plain text Quentin McGaw 2022-06-18 00:15:29 +00:00
  • 04b34a266c chore(deps): update go4.org/unsafe/assume-no-moving-gc - Allow development on Go 1.18 without ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 Quentin McGaw 2022-06-17 23:59:39 +00:00
  • 89b6a031b0 chore(vpn): add check for empty public key for Wireguard Quentin McGaw 2022-06-12 15:41:02 +00:00
  • d4c6a9bdb5 feat(storage): log time difference as a friendly duration Quentin McGaw 2022-06-12 15:35:04 +00:00
  • cdc29d48b7 chore(ci): build PR images as pr-N (#1026) Quentin McGaw 2022-06-12 11:33:16 -04:00
  • f4b464a7cf Chore(deps): Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1016) dependabot[bot] 2022-06-12 08:31:53 -07:00
  • 76690d3add Chore(deps): Bump crazy-max/ghaction-github-labeler from 3 to 4 (#1007) dependabot[bot] 2022-06-12 07:07:25 -07:00
  • 9898387579 feat(updater): Configurable min ratio - UPDATER_MIN_RATIO variable - -minratio flag for CLI operation Quentin McGaw 2022-06-12 14:03:00 +00:00
  • 1ea15a1a13 chore(protonvpn): document to remove SERVER_NAMES Quentin McGaw 2022-06-12 01:58:46 +00:00
  • bda6707685 chore(all): remove unexported interfaces Quentin McGaw 2022-06-12 00:57:37 +00:00
  • 89277828ac chore(publicip): internal/publicip/ipinfo package Quentin McGaw 2022-06-12 00:53:39 +00:00
  • 83b4a3fe55 chore(publicip): refactoring - Exported Fetcher interface - Inject Fetcher to publicip loop and updaters - Get public IP and information at the same time - Only query ipinfo.io - Make MultiInfo part of the Fetch object Quentin McGaw 2022-06-12 00:09:01 +00:00
  • 45c9e780c0 chore(updater): rename presolver to parallelResolver Quentin McGaw 2022-06-11 20:12:35 +00:00
  • 33b8f5f596 chore(settings): updater DNS address as string Quentin McGaw 2022-06-11 20:11:20 +00:00
  • 447a7c9891 updater: refactoring and set DNS server correctly - Fix CLI operation not setting DNS server - Fix periodic operation not setting DNS server - Set DNS address for resolution once at start for both CLI and periodic operation - Inject resolver to each provider instead of creating it within - Use resolver settings on every call to .Resolve method, instead of passing it to constructor - Move out minServers check from resolver Quentin McGaw 2022-06-11 17:41:57 +00:00
  • 1bd355ab96 chore(lint): add ireturn linter Quentin McGaw 2022-06-11 01:34:45 +00:00
  • 578ef768ab chore(all): return concrete types, accept interfaces - Remove exported interfaces unused locally - Define interfaces to accept arguments - Return concrete types, not interfaces Quentin McGaw 2022-06-11 01:34:30 +00:00
  • 0378fe4a7b chore(all): Providers containing all provider objects - Share the same providers for updater and vpn - Initialise all providers at start - Get from Providers instead of constructing on every run Quentin McGaw 2022-06-10 00:47:56 +00:00
  • ebd94723c1 chore(updater): incorporate FetchServers method in Provider interface - Each provider interface can now fetch updated servers data - Rename each provider updater subpackage name to updater - Updater constructor does not take a settings struct - Updater update method takes in a slice of provider strings Quentin McGaw 2022-06-09 23:47:12 +00:00
  • 11b55abff3 fix(protonvpn): remove duplicate entry IPs Quentin McGaw 2022-06-09 22:11:40 +00:00
  • 7f32b43895 fix(pia): load custom PIA certificate for API Quentin McGaw 2022-06-09 17:11:08 +00:00
  • 899f10c35e chore(resolver): export structs instead of interfaces Quentin McGaw 2022-06-09 03:10:56 +00:00
  • 415cb7a945 chore(updater): create resolver in provider updater - Pass min servers to resolve call - Set settings when constructing resolver - Construct resolver in each provider updater - No more common resolver for all providers Quentin McGaw 2022-06-09 02:54:39 +00:00
  • e37f557cd5 chore(provider): add Name() method per provider Quentin McGaw 2022-06-07 16:58:08 +00:00
  • 79f213d97a chore(updater): rename GetServers to FetchServers Quentin McGaw 2022-06-07 16:47:35 +00:00
  • 11e1c9f9bb feat(protonvpn): update hardcoded servers data Quentin McGaw 2022-06-09 16:41:04 +00:00
  • 3ff3816d77 fix(pia): restrict custom port choice Quentin McGaw 2022-06-09 16:36:59 +00:00
  • c0bdae8baf fix(protonvpn): restrict custom port choice Quentin McGaw 2022-06-09 16:36:17 +00:00
  • 46e6bd16c9 fix(pia): remove duplicate log of pf data expiration Quentin McGaw 2022-06-09 16:34:28 +00:00
  • 5359257c65 hotfix(pia): port forwarding to use server name Quentin McGaw 2022-06-06 18:09:21 +00:00
  • 5e659dc5b3 feat(storage): add keep field for servers Quentin McGaw 2022-06-06 03:04:58 +00:00
  • 85e9d7d522 docs(maintenance): update document Quentin McGaw 2022-06-06 02:58:58 +00:00
  • b71c8e58f4 fix(vpn): do not close wait error channel on consumer side Quentin McGaw 2022-06-06 02:56:40 +00:00
  • e998372ce2 feat(ipvanish): update servers data and remove duplicates Quentin McGaw 2022-06-06 02:11:09 +00:00
  • 1216326867 chore(storage): common sorting for all servers Quentin McGaw 2022-06-06 01:57:44 +00:00
  • f53f0cfffd feat(surfshark): update servers data Quentin McGaw 2022-06-06 01:41:00 +00:00
  • f5f65d534a fix(ci): publish job trigger fixed Quentin McGaw 2022-06-05 16:01:40 +00:00
  • 684cef6eab hotfix(openvpn): openvpn udp specific lines added Quentin McGaw 2022-06-05 15:48:14 +00:00
  • b4f6ae030d hotfix(purevpn): add missing key-direction 1 Quentin McGaw 2022-06-05 15:44:33 +00:00
  • e95c94294f feat(pia): update servers data Quentin McGaw 2022-06-05 15:20:03 +00:00
  • 36b504609b chore(all): memory and thread safe storage - settings: get filter choices from storage for settings validation - updater: update servers to the storage - storage: minimal deep copying and data duplication - storage: add merged servers mutex for thread safety - connection: filter servers in storage - formatter: format servers to Markdown in storage - PIA: get server by name from storage directly - Updater: get servers count from storage directly - Updater: equality check done in storage, fix #882 Quentin McGaw 2022-06-05 14:58:46 +00:00