New Libreswan version
- Use new Libreswan version 4.6. - Libreswan 4.6 contains a fix for CVE-2022-23094. See the following links for more information. https://lists.libreswan.org/pipermail/swan-announce/2022/000046.html https://libreswan.org/security/
This commit is contained in:
parent
44fede6826
commit
2ffad259af
@ -185,7 +185,7 @@ get_ikev2_script() {
|
||||
}
|
||||
|
||||
check_libreswan() {
|
||||
SWAN_VER=4.5
|
||||
SWAN_VER=4.6
|
||||
ipsec_ver=$(/usr/local/sbin/ipsec --version 2>/dev/null)
|
||||
swan_ver_old=$(printf '%s' "$ipsec_ver" | sed -e 's/.*Libreswan U\?//' -e 's/\( (\|\/K\).*//')
|
||||
[ "$swan_ver_old" = "$SWAN_VER" ]
|
||||
|
@ -185,7 +185,7 @@ get_ikev2_script() {
|
||||
}
|
||||
|
||||
check_libreswan() {
|
||||
SWAN_VER=4.5
|
||||
SWAN_VER=4.6
|
||||
ipsec_ver=$(/usr/local/sbin/ipsec --version 2>/dev/null)
|
||||
swan_ver_old=$(printf '%s' "$ipsec_ver" | sed -e 's/.*Libreswan U\?//' -e 's/\( (\|\/K\).*//')
|
||||
[ "$swan_ver_old" = "$SWAN_VER" ]
|
||||
|
@ -240,7 +240,7 @@ get_ikev2_script() {
|
||||
}
|
||||
|
||||
check_libreswan() {
|
||||
SWAN_VER=4.5
|
||||
SWAN_VER=4.6
|
||||
ipsec_ver=$(/usr/local/sbin/ipsec --version 2>/dev/null)
|
||||
swan_ver_old=$(printf '%s' "$ipsec_ver" | sed -e 's/.*Libreswan U\?//' -e 's/\( (\|\/K\).*//')
|
||||
[ "$swan_ver_old" = "$SWAN_VER" ]
|
||||
|
@ -223,7 +223,7 @@ get_ikev2_script() {
|
||||
}
|
||||
|
||||
check_libreswan() {
|
||||
SWAN_VER=4.5
|
||||
SWAN_VER=4.6
|
||||
ipsec_ver=$(/usr/local/sbin/ipsec --version 2>/dev/null)
|
||||
swan_ver_old=$(printf '%s' "$ipsec_ver" | sed -e 's/.*Libreswan U\?//' -e 's/\( (\|\/K\).*//')
|
||||
[ "$swan_ver_old" = "$SWAN_VER" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user