Commit Graph

140 Commits

Author SHA1 Message Date
hwdsl2 bf0edf5627 Update OS support
- Cleanup. Ref: 1442e9f.
2024-04-14 14:21:03 -05:00
hwdsl2 5bb63dac28 Update Alpine Linux versions
- Add Alpine Linux 3.19 and remove 3.17.
2024-02-03 15:24:29 -06:00
hwdsl2 16f5a1d81f Update Alpine Linux versions
- Add Alpine Linux 3.18 and remove 3.16.
2023-08-10 23:33:06 -05:00
hwdsl2 4c5f4e8327 Update OS check
- Update OS check to detect Amazon Linux 2023, which is not currently
  supported for use with this project.
  Ref: #1388
2023-05-21 22:19:30 -05:00
hwdsl2 3f12b9583b Update Alpine Linux versions
- Add Alpine Linux 3.17 and remove 3.15.
2023-02-11 23:08:37 -06:00
hwdsl2 c356a75bca Update docs 2023-01-04 18:58:29 -06:00
hwdsl2 2bd37ccf66 Cleanup
- Save a redirect and make VPN setup slightly faster by using
  raw.githubusercontent.com directly instead of
  https://github.com/hwdsl2/setup-ipsec-vpn/raw/...
2022-10-23 14:05:57 -05:00
hwdsl2 cc99e18123 Cleanup 2022-09-24 18:56:27 -05:00
hwdsl2 32faed40d5 Improve IP check
- Instead of finding the server's public IP, use the IP address
  on the default route if it is not a private IP. This makes VPN
  setup slightly faster by skipping IP detection.
- Add a fallback URL for finding the server's public IP.
- Cleanup
2022-09-24 00:58:16 -05:00
hwdsl2 4995ec03f5 Improve OS support
- Make the VPN setup scripts work on Kali Linux (based on Debian).
- Update IKEv2 helper script to check for OpenSSL 3 first when
  exporting the .p12 file.
2022-08-10 23:25:58 -05:00
hwdsl2 e2f211c678 Improve OS detection
- Improve OS detection and clean up
2022-08-10 22:41:55 -05:00
hwdsl2 1dbf897500 Cleanup
- Fix OS checking: Don't show errors for /etc/redhat-release.
- Fixes #1211.
2022-08-09 19:34:32 -05:00
hwdsl2 10d54262fb Add CentOS 9
- Add support for version 9 of CentOS Stream, RHEL, Rocky Linux
  and AlmaLinux.
2022-07-30 02:59:49 -05:00
hwdsl2 35969d2bbb Update Alpine Linux versions
- Add Alpine Linux 3.16 and remove 3.14.
2022-06-19 22:41:21 -05:00
hwdsl2 a1ab13d9a9 Improve VPN setup
- Add fallback URLs for improved reliability
2022-04-11 22:36:43 -05:00
hwdsl2 629b39d3b3 Add Oracle Linux
- Add support for Oracle Linux 8 and 7.
2022-03-20 23:10:11 -05:00
hwdsl2 beb756f1f2 Remove CentOS 8
- Remove support for CentOS Linux 8, which is EOL.
  Ref: https://www.centos.org/centos-linux-eol/
2022-03-08 21:39:19 -06:00
hwdsl2 e5703d8aaa Cleanup 2022-03-07 21:29:13 -06:00
hwdsl2 86d4f2f93c Improve VPN setup
- Retry certain 'apt-get' and 'yum' commands on failure
2022-02-08 23:24:46 -06:00
hwdsl2 35c23f1144 Improve upgrade scripts
- Make specifying Libreswan version optional. Retrieve and install
  the latest supported version by default.
- Other minor improvements
2022-01-29 12:34:10 -06:00
hwdsl2 c56ebe9cfe Improve upgrade scripts
- Make specifying Libreswan version optional in vpnupgrade.sh.
  Install the latest supported version by default.
- Remove Libreswan version check
2022-01-22 22:30:39 -06:00
hwdsl2 18b830c998 New Libreswan version
- Support updating to Libreswan 4.6
2022-01-11 22:47:18 -06:00
hwdsl2 c78b398057 Update year 2022-01-02 00:09:03 -06:00
hwdsl2 603b198613 Add Alpine 3.15
- Add support for Alpine Linux 3.15
- Install nss, nss-tools and nss-dev packages from edge for CVE-2021-43527
  Ref: https://lists.libreswan.org/pipermail/swan-announce/2021/000044.html
2021-12-29 23:12:24 -06:00
hwdsl2 a47ced7899 Cleanup 2021-09-19 21:51:14 -05:00
hwdsl2 f14d903b97 Bugfix for Alpine Linux
- Install coreutils on Alpine Linux for "mktemp"
2021-09-14 00:49:13 -05:00
hwdsl2 ca411d90cd Cleanup 2021-09-11 22:26:55 -05:00
hwdsl2 3c557c7f22 Add Alpine Linux 2021-09-11 15:00:29 -05:00
hwdsl2 217bf2a237 Cleanup
- Improve temporary folder creation
2021-08-28 16:07:52 -05:00
hwdsl2 0e8e6a020c New Libreswan version
- Support updating to Libreswan 4.5
2021-08-22 11:49:35 -05:00
hwdsl2 fc33e1c451 Cleanup 2021-08-19 01:40:38 -05:00
hwdsl2 87235014ad Add Debian 11 2021-08-15 00:46:25 -05:00
hwdsl2 70873348b9 Add update script
- Add a new wrapper script for updating Libreswan on all supported OS.
  The previous vpnupgrade.sh has been moved to vpnupgrade_ubuntu.sh.
2021-08-14 00:23:14 -05:00
hwdsl2 cd40f1e2b7 Rename update script 2021-08-13 22:59:41 -05:00
hwdsl2 6daacff466 Cleanup 2021-08-07 16:12:26 -05:00
hwdsl2 61025818bb Optimize binary size
- Use the gcc "-s" option when compiling Libreswan. This reduces
  binary size by ~80%.
2021-07-10 01:57:11 -05:00
hwdsl2 64eb0e1f49 Cleanup 2021-06-09 00:42:28 -05:00
hwdsl2 ac0bde54bb New Libreswan version
- Use new Libreswan version 4.4
- Support updating to Libreswan 4.4
- Other small improvements and cleanup
2021-04-24 16:15:05 -05:00
hwdsl2 1972501725 New Libreswan version
- Use new Libreswan version 4.3
- Support updating to Libreswan 4.3
- Other small improvements
- Update tests
2021-02-21 23:54:37 -06:00
hwdsl2 4deb437562 Fix permissions
- Set the executable bit for .sh files. Ref: #910. Thanks @reuixiy!
2021-02-13 14:40:48 -06:00
hwdsl2 5779b2e6c8 Improve output
- Improve output for the VPN setup and upgrade scripts. The outputs
  of the scripts are now significantly reduced and only include the
  most useful information for users.
- Other minor cleanup
2021-02-05 21:49:35 -06:00
hwdsl2 1808095bb7 New Libreswan version
- Use new Libreswan version 4.2
- Support updating to Libreswan 4.2 from older versions. The upgrade
  scripts can now install one of these versions: 3.32, 4.1 or 4.2.
- Other small improvements
- Update tests
2021-02-04 01:47:04 -06:00
hwdsl2 3b90d2d394 Cleanup 2021-01-07 12:02:44 -06:00
hwdsl2 a5a1f4adb1 Cleanup 2021-01-03 14:05:13 -06:00
hwdsl2 dabf765978 Update year 2021-01-03 00:35:24 -06:00
hwdsl2 de7a529c6c Cleanup
- Remove Debian 8 from VPN upgrade script, which is EOL on 06/30/2020
- Include OS arch when checking Libreswan version
- Other minor improvements
2021-01-02 14:25:50 -06:00
hwdsl2 b3ad82fd48 Cleanup 2020-12-31 23:09:58 -06:00
hwdsl2 cac5191155 Add version check
- Check for latest supported Libreswan version, and remind users who use
  a non-latest version of the VPN scripts that they can upgrade
- Other minor improvements
2020-12-31 18:24:41 -06:00
hwdsl2 3b1403668d Update upgrade scripts
- Clean up Libreswan build flags for CentOS
- Minor improvements
2020-12-14 23:12:15 -06:00
hwdsl2 f9d84216d6 Fix Libreswan flags
- Fix Libreswan flags on e.g. Raspbian 10
2020-12-14 14:17:54 -06:00