]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Converted gcrypt-ikev1 to systemd
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 19 Oct 2017 14:36:46 +0000 (16:36 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 10 Nov 2017 10:49:38 +0000 (11:49 +0100)
testing/tests/gcrypt-ikev1/alg-serpent/hosts/carol/etc/strongswan.conf
testing/tests/gcrypt-ikev1/alg-serpent/hosts/moon/etc/strongswan.conf
testing/tests/gcrypt-ikev1/alg-serpent/posttest.dat
testing/tests/gcrypt-ikev1/alg-serpent/pretest.dat
testing/tests/gcrypt-ikev1/alg-twofish/hosts/carol/etc/strongswan.conf
testing/tests/gcrypt-ikev1/alg-twofish/hosts/moon/etc/strongswan.conf
testing/tests/gcrypt-ikev1/alg-twofish/posttest.dat
testing/tests/gcrypt-ikev1/alg-twofish/pretest.dat

index 10c0ac6fbfcc499b00692a936f2137b7422b17cb..b5ca668ac1452c8ced1a4e5f1f8a46fadfdf9343 100644 (file)
@@ -1,11 +1,19 @@
 # /etc/strongswan.conf - strongSwan configuration file
 
-charon {
+swanctl {
+  load = pem pkcs1 x509 revocation constraints pubkey openssl random
+}
+
+charon-systemd {
   load = nonce pem pkcs1 gcrypt hmac x509 revocation curl vici kernel-netlink socket-default
 
-  start-scripts {
-    creds = /usr/local/sbin/swanctl --load-creds 
-    conns = /usr/local/sbin/swanctl --load-conns
-  } 
+  syslog {
+    daemon {
+      default = 1
+    }
+    auth {
+      default = 0
+    }
+  }
   send_vendor_id = yes
 }
index 6c49b5e9b8dedbdf5bd4f22c3c46fd858db8c292..41e98d7d71cdf2ef8f912f5d38d0f7d580b73112 100644 (file)
@@ -1,11 +1,19 @@
 # /etc/strongswan.conf - strongSwan configuration file
 
-charon {
+swanctl {
+  load = pem pkcs1 x509 revocation constraints pubkey openssl random
+}
+
+charon-systemd {
   load = nonce pem pkcs1 gcrypt hmac x509 revocation vici kernel-netlink socket-default
 
-  start-scripts {
-    creds = /usr/local/sbin/swanctl --load-creds
-    conns = /usr/local/sbin/swanctl --load-conns
+  syslog {
+    daemon {
+      default = 1
+    }
+    auth {
+      default = 0
+    }
   }
   send_vendor_id = yes
 }
index 6387dff4f77110471957028e40937e390bcc67a5..e9c83e483ada7eb1b346caf0c43b8e87888d5419 100644 (file)
@@ -1,2 +1,2 @@
-moon::service charon stop
-carol::service charon stop
+carol::systemctl stop strongswan-swanctl
+moon::systemctl stop strongswan-swanctl
\ No newline at end of file
index 0f615f4ac2310b60462dbfb2b1d9fe16b56a4923..8c6a3ba30f770d0987fd0033d5617435cffd6788 100644 (file)
@@ -1,5 +1,5 @@
-moon::service charon start 2> /dev/null
-carol::service charon start 2> /dev/null
-moon::expect-connection rw 
-carol::expect-connection home 
-carol::swanctl --initiate --child home 2> /dev/null
+moon::systemctl start strongswan-swanctl
+carol::systemctl start strongswan-swanctl
+moon::expect-connection rw
+carol::expect-connection home
+carol::swanctl --initiate --child home 2> /dev/null
\ No newline at end of file
index 10c0ac6fbfcc499b00692a936f2137b7422b17cb..b5ca668ac1452c8ced1a4e5f1f8a46fadfdf9343 100644 (file)
@@ -1,11 +1,19 @@
 # /etc/strongswan.conf - strongSwan configuration file
 
-charon {
+swanctl {
+  load = pem pkcs1 x509 revocation constraints pubkey openssl random
+}
+
+charon-systemd {
   load = nonce pem pkcs1 gcrypt hmac x509 revocation curl vici kernel-netlink socket-default
 
-  start-scripts {
-    creds = /usr/local/sbin/swanctl --load-creds 
-    conns = /usr/local/sbin/swanctl --load-conns
-  } 
+  syslog {
+    daemon {
+      default = 1
+    }
+    auth {
+      default = 0
+    }
+  }
   send_vendor_id = yes
 }
index 6c49b5e9b8dedbdf5bd4f22c3c46fd858db8c292..41e98d7d71cdf2ef8f912f5d38d0f7d580b73112 100644 (file)
@@ -1,11 +1,19 @@
 # /etc/strongswan.conf - strongSwan configuration file
 
-charon {
+swanctl {
+  load = pem pkcs1 x509 revocation constraints pubkey openssl random
+}
+
+charon-systemd {
   load = nonce pem pkcs1 gcrypt hmac x509 revocation vici kernel-netlink socket-default
 
-  start-scripts {
-    creds = /usr/local/sbin/swanctl --load-creds
-    conns = /usr/local/sbin/swanctl --load-conns
+  syslog {
+    daemon {
+      default = 1
+    }
+    auth {
+      default = 0
+    }
   }
   send_vendor_id = yes
 }
index 6387dff4f77110471957028e40937e390bcc67a5..e9c83e483ada7eb1b346caf0c43b8e87888d5419 100644 (file)
@@ -1,2 +1,2 @@
-moon::service charon stop
-carol::service charon stop
+carol::systemctl stop strongswan-swanctl
+moon::systemctl stop strongswan-swanctl
\ No newline at end of file
index 0f615f4ac2310b60462dbfb2b1d9fe16b56a4923..b9e2a8eeeaae664ca70fac836ac943117bf583f8 100644 (file)
@@ -1,5 +1,5 @@
-moon::service charon start 2> /dev/null
-carol::service charon start 2> /dev/null
-moon::expect-connection rw 
-carol::expect-connection home 
+moon::systemctl start strongswan-swanctl
+carol::systemctl start strongswan-swanctl
+moon::expect-connection rw
+carol::expect-connection home
 carol::swanctl --initiate --child home 2> /dev/null