aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hosts/default
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-11-30 17:03:21 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-11-30 17:03:21 +0100
commitf4e5acef3afdaa54f636f62516588c2a0a057fd1 (patch)
tree1f057bd8dbdb24d82afc4481584a0eb67f9c7ad3 /testing/hosts/default
parentb62bde3b95dacb0d2a09cf07facbb300520f0e12 (diff)
downloadstrongswan-f4e5acef3afdaa54f636f62516588c2a0a057fd1.tar.bz2
strongswan-f4e5acef3afdaa54f636f62516588c2a0a057fd1.tar.xz
store IKE and ESP proposals in SQL database
Diffstat (limited to 'testing/hosts/default')
-rw-r--r--testing/hosts/default/etc/ipsec.d/tables.sql20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/hosts/default/etc/ipsec.d/tables.sql b/testing/hosts/default/etc/ipsec.d/tables.sql
index a4ae72270..1ac7f056c 100644
--- a/testing/hosts/default/etc/ipsec.d/tables.sql
+++ b/testing/hosts/default/etc/ipsec.d/tables.sql
@@ -39,6 +39,19 @@ CREATE INDEX child_config_traffic_selector_all ON child_config_traffic_selector
child_cfg, traffic_selector
);
+DROP TABLE IF EXISTS algorithms;
+CREATE TABLE algorithms (
+ id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
+ algorithm TEXT NOT NULL
+);
+
+DROP TABLE IF EXISTS child_config_algorithm;
+CREATE TABLE child_config_algorithm (
+ child_cfg INTEGER NOT NULL,
+ prio INTEGER NOT NULL,
+ alg INTEGER NOT NULL
+);
+
DROP TABLE IF EXISTS ike_configs;
CREATE TABLE ike_configs (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
@@ -48,6 +61,13 @@ CREATE TABLE ike_configs (
remote TEXT NOT NULL
);
+DROP TABLE IF EXISTS ike_config_algorithm;
+CREATE TABLE ike_config_algorithm (
+ ike_cfg INTEGER NOT NULL,
+ prio INTEGER NOT NULL,
+ alg INTEGER NOT NULL
+);
+
DROP TABLE IF EXISTS peer_configs;
CREATE TABLE peer_configs (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,