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
hwdsl2
027c70edb0
Update Debian check
...
- Update upgrade scripts to work on Debian 8 for now. Debian 8 (Jessie)
is EOL and users should upgrade to a newer Debian version.
2020-12-07 10:28:28 -06:00
hwdsl2
8a3f22ba65
Update Debian check
...
- Add check for Debian 8 (not supported)
2020-12-04 23:39:35 -06:00
hwdsl2
00f9d2ba86
Clean up build flags
...
- Clean up build flags for Libreswan. In Libreswan 4.1, these flags are
now set automatically based on Ubuntu/Debian versions, and no longer
needed for CentOS/RHEL 7 and 8.
- Ref: https://github.com/libreswan/libreswan/blob/main/mk/defaults/linux.mk
https://github.com/libreswan/libreswan/commit/c01ffcc1
2020-12-04 23:36:53 -06:00
hwdsl2
427e50a9ed
Update upgrade scripts
...
- Set sha2-truncbug to "no" when upgrading. This is required for
iOS 13/14 and macOS 10.15/11 VPN clients to connect.
- References: 3353888
#882
2020-11-27 11:16:12 -06:00
hwdsl2
ccd072541b
Update Debian check
...
- Add check for Debian 10. See: https://git.io/vpndebian10
- Remove Debian 7 check
2020-11-17 00:50:35 -06:00
hwdsl2
b57678b893
Update upgrade scripts
...
- Remove support for upgrading to old Libreswan versions 3.19-3.25
- Minor improvements
2020-11-15 11:47:14 -06:00
hwdsl2
ecd99a6bba
Fix version detection
...
- Fix Libreswan version detection in upgrade scripts
2020-11-12 10:25:09 -06:00
hwdsl2
694679b59c
Update upgrade scripts
...
- Replace the obsolete ike-frag option in ikev2.conf (if exists),
which was removed in Libreswan 4.1.
2020-11-12 00:39:20 -06:00