New Libreswan version
- Support upgrading to Libreswan 5.2.
This commit is contained in:
parent
f07fd46985
commit
474b450eaa
@ -69,7 +69,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=5.1
|
swan_ver_cur=5.2
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver"
|
swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# The latest version of this script is available at:
|
# The latest version of this script is available at:
|
||||||
# https://github.com/hwdsl2/setup-ipsec-vpn
|
# https://github.com/hwdsl2/setup-ipsec-vpn
|
||||||
#
|
#
|
||||||
# Copyright (C) 2020-2024 Lin Song <linsongui@gmail.com>
|
# Copyright (C) 2020-2025 Lin Song <linsongui@gmail.com>
|
||||||
#
|
#
|
||||||
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
||||||
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
@ -52,7 +52,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=5.1
|
swan_ver_cur=5.2
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/upg-v1-amzn-2-swanver"
|
swan_ver_url="$base_url/upg-v1-amzn-2-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# The latest version of this script is available at:
|
# The latest version of this script is available at:
|
||||||
# https://github.com/hwdsl2/setup-ipsec-vpn
|
# https://github.com/hwdsl2/setup-ipsec-vpn
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016-2024 Lin Song <linsongui@gmail.com>
|
# Copyright (C) 2016-2025 Lin Song <linsongui@gmail.com>
|
||||||
#
|
#
|
||||||
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
||||||
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
@ -86,7 +86,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=5.1
|
swan_ver_cur=5.2
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver"
|
swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# The latest version of this script is available at:
|
# The latest version of this script is available at:
|
||||||
# https://github.com/hwdsl2/setup-ipsec-vpn
|
# https://github.com/hwdsl2/setup-ipsec-vpn
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016-2024 Lin Song <linsongui@gmail.com>
|
# Copyright (C) 2016-2025 Lin Song <linsongui@gmail.com>
|
||||||
#
|
#
|
||||||
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
||||||
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
@ -88,7 +88,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=5.1
|
swan_ver_cur=5.2
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||||
swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver"
|
swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user