testing: Created swanctl/rw-eap-aka-sql-rsa scenario
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
INSERT INTO quintuplets
|
||||
(id, used, rand, autn, ck, ik, res) VALUES
|
||||
('[email protected]', 0,
|
||||
X'00112233445566778899AABBCCDDEEFF',
|
||||
X'112233445566778899AABBCCDDEEFF00',
|
||||
X'2233445566778899AABBCCDDEEFF0011',
|
||||
X'33445566778899AABBCCDDEEFF001122',
|
||||
X'00112233445566778899'
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
DROP TABLE IF EXISTS quintuplets;
|
||||
CREATE TABLE quintuplets (
|
||||
id TEXT NOT NULL,
|
||||
used INTEGER NOT NULL,
|
||||
rand BLOB NOT NULL,
|
||||
autn BLOB NOT NULL,
|
||||
ck BLOB NOT NULL,
|
||||
ik BLOB NOT NULL,
|
||||
res BLOB NOT NULL
|
||||
);
|
||||
@@ -0,0 +1,19 @@
|
||||
# /etc/strongswan.conf - strongSwan configuration file
|
||||
|
||||
swanctl {
|
||||
load = pem pkcs1 x509 revocation constraints pubkey openssl random
|
||||
}
|
||||
|
||||
charon {
|
||||
load = random nonce aes sha1 sha2 pem pkcs1 curve25519 gmp x509 curl revocation hmac vici kernel-netlink socket-default sqlite fips-prf eap-aka eap-simaka-sql updown
|
||||
|
||||
start-scripts {
|
||||
creds = /usr/local/sbin/swanctl --load-creds
|
||||
conns = /usr/local/sbin/swanctl --load-conns
|
||||
}
|
||||
plugins {
|
||||
eap-simaka-sql {
|
||||
database = sqlite:///etc/ipsec.d/ipsec.db
|
||||
}
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
connections {
|
||||
|
||||
home {
|
||||
local_addrs = 192.168.0.100
|
||||
remote_addrs = 192.168.0.1
|
||||
|
||||
local {
|
||||
auth = eap
|
||||
id = [email protected]
|
||||
}
|
||||
remote {
|
||||
auth = pubkey
|
||||
id = moon.strongswan.org
|
||||
}
|
||||
children {
|
||||
home {
|
||||
remote_ts = 10.1.0.0/16
|
||||
|
||||
updown = /usr/local/libexec/ipsec/_updown iptables
|
||||
esp_proposals = aes128gcm128-x25519
|
||||
}
|
||||
}
|
||||
version = 2
|
||||
proposals = aes128-sha256-x25519
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user