aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/sql
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-11-28 17:41:27 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-11-28 17:41:27 +0100
commitb62bde3b95dacb0d2a09cf07facbb300520f0e12 (patch)
treea371b441a7996469908967e29679ce13b7ccba39 /testing/tests/sql
parent11c904b373c0b3b13a1bb3d7ae3dcca1aa36ba31 (diff)
downloadstrongswan-b62bde3b95dacb0d2a09cf07facbb300520f0e12.tar.bz2
strongswan-b62bde3b95dacb0d2a09cf07facbb300520f0e12.tar.xz
configured various DPD modes in sql scenarios
Diffstat (limited to 'testing/tests/sql')
-rw-r--r--testing/tests/sql/net2net-cert/hosts/moon/etc/ipsec.d/data.sql4
-rw-r--r--testing/tests/sql/net2net-cert/hosts/sun/etc/ipsec.d/data.sql4
-rw-r--r--testing/tests/sql/net2net-route-pem/hosts/moon/etc/ipsec.d/data.sql16
-rw-r--r--testing/tests/sql/net2net-route-pem/hosts/sun/etc/ipsec.d/data.sql16
-rw-r--r--testing/tests/sql/net2net-start-pem/hosts/moon/etc/ipsec.d/data.sql16
-rw-r--r--testing/tests/sql/net2net-start-pem/hosts/sun/etc/ipsec.d/data.sql16
6 files changed, 36 insertions, 36 deletions
diff --git a/testing/tests/sql/net2net-cert/hosts/moon/etc/ipsec.d/data.sql b/testing/tests/sql/net2net-cert/hosts/moon/etc/ipsec.d/data.sql
index 54086643f..ef6849c11 100644
--- a/testing/tests/sql/net2net-cert/hosts/moon/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/net2net-cert/hosts/moon/etc/ipsec.d/data.sql
@@ -109,9 +109,9 @@ INSERT INTO ike_configs (
);
INSERT INTO peer_configs (
- name, ike_cfg, local_id, remote_id, mobike
+ name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES (
- 'net-net', 1, 4, 5, 0
+ 'net-net', 1, 4, 5, 0, 0
);
INSERT INTO child_configs (
diff --git a/testing/tests/sql/net2net-cert/hosts/sun/etc/ipsec.d/data.sql b/testing/tests/sql/net2net-cert/hosts/sun/etc/ipsec.d/data.sql
index 2bc8b34c8..79a35ef68 100644
--- a/testing/tests/sql/net2net-cert/hosts/sun/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/net2net-cert/hosts/sun/etc/ipsec.d/data.sql
@@ -109,9 +109,9 @@ INSERT INTO ike_configs (
);
INSERT INTO peer_configs (
- name, ike_cfg, local_id, remote_id, mobike
+ name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES (
- 'net-net', 1, 5, 4, 0
+ 'net-net', 1, 5, 4, 0, 0
);
INSERT INTO child_configs (
diff --git a/testing/tests/sql/net2net-route-pem/hosts/moon/etc/ipsec.d/data.sql b/testing/tests/sql/net2net-route-pem/hosts/moon/etc/ipsec.d/data.sql
index 470a18ee2..8d85497e2 100644
--- a/testing/tests/sql/net2net-route-pem/hosts/moon/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/net2net-route-pem/hosts/moon/etc/ipsec.d/data.sql
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
);
INSERT INTO peer_configs (
- name, ike_cfg, local_id, remote_id, mobike
+ name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES (
- 'net-net', 1, 4, 5, 0
+ 'net-net', 1, 4, 5, 0, 30
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-1', 'ipsec _updown iptables', 1
+ 'net-1', 'ipsec _updown iptables', 1, 1
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-2', 'ipsec _updown iptables', 1
+ 'net-2', 'ipsec _updown iptables', 1, 1
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-3', 'ipsec _updown iptables', 0
+ 'net-3', 'ipsec _updown iptables', 0, 0
);
INSERT INTO peer_config_child_config (
diff --git a/testing/tests/sql/net2net-route-pem/hosts/sun/etc/ipsec.d/data.sql b/testing/tests/sql/net2net-route-pem/hosts/sun/etc/ipsec.d/data.sql
index 677c99957..aeacf493f 100644
--- a/testing/tests/sql/net2net-route-pem/hosts/sun/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/net2net-route-pem/hosts/sun/etc/ipsec.d/data.sql
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
);
INSERT INTO peer_configs (
- name, ike_cfg, local_id, remote_id, mobike
+ name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES (
- 'net-net', 1, 5, 4, 0
+ 'net-net', 1, 5, 4, 0, 30
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-1', 'ipsec _updown iptables', 1
+ 'net-1', 'ipsec _updown iptables', 1, 1
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-2', 'ipsec _updown iptables', 1
+ 'net-2', 'ipsec _updown iptables', 1, 1
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-3', 'ipsec _updown iptables', 0
+ 'net-3', 'ipsec _updown iptables', 0, 0
);
INSERT INTO peer_config_child_config (
diff --git a/testing/tests/sql/net2net-start-pem/hosts/moon/etc/ipsec.d/data.sql b/testing/tests/sql/net2net-start-pem/hosts/moon/etc/ipsec.d/data.sql
index 2a333ab9a..542bdeae2 100644
--- a/testing/tests/sql/net2net-start-pem/hosts/moon/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/net2net-start-pem/hosts/moon/etc/ipsec.d/data.sql
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
);
INSERT INTO peer_configs (
- name, ike_cfg, local_id, remote_id, mobike
+ name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES (
- 'net-net', 1, 4, 5, 0
+ 'net-net', 1, 4, 5, 0, 30
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-1', 'ipsec _updown iptables', 2
+ 'net-1', 'ipsec _updown iptables', 2, 2
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-2', 'ipsec _updown iptables', 2
+ 'net-2', 'ipsec _updown iptables', 2, 2
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-3', 'ipsec _updown iptables', 2
+ 'net-3', 'ipsec _updown iptables', 2, 2
);
INSERT INTO peer_config_child_config (
diff --git a/testing/tests/sql/net2net-start-pem/hosts/sun/etc/ipsec.d/data.sql b/testing/tests/sql/net2net-start-pem/hosts/sun/etc/ipsec.d/data.sql
index 6e7760a41..3bcefd3d2 100644
--- a/testing/tests/sql/net2net-start-pem/hosts/sun/etc/ipsec.d/data.sql
+++ b/testing/tests/sql/net2net-start-pem/hosts/sun/etc/ipsec.d/data.sql
@@ -109,27 +109,27 @@ INSERT INTO ike_configs (
);
INSERT INTO peer_configs (
- name, ike_cfg, local_id, remote_id, mobike
+ name, ike_cfg, local_id, remote_id, mobike, dpd_delay
) VALUES (
- 'net-net', 1, 5, 4, 0
+ 'net-net', 1, 5, 4, 0, 30
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-1', 'ipsec _updown iptables', 0
+ 'net-1', 'ipsec _updown iptables', 0, 0
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-2', 'ipsec _updown iptables', 0
+ 'net-2', 'ipsec _updown iptables', 0, 0
);
INSERT INTO child_configs (
- name, updown, start_action
+ name, updown, start_action, dpd_action
) VALUES (
- 'net-3', 'ipsec _updown iptables', 0
+ 'net-3', 'ipsec _updown iptables', 0, 0
);
INSERT INTO peer_config_child_config (