summaryrefslogtreecommitdiff
path: root/regress/sbin/ipsecctl/ike10.ok
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2008-07-01 15:00:55 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2008-07-01 15:00:55 +0000
commitec17add7bc79551b55da5b3f390fa5e620127244 (patch)
treed6dd3dac752697b62aeac06e0d235f2631a6fcfd /regress/sbin/ipsecctl/ike10.ok
parent9c78cb2146f35e6ffd5b0e0a09831b3f586c8f15 (diff)
Isakmpd acquire mode did not work with a config generated from
ipsec.conf. The config created by isakmpd dynamically was different from the config that ipsecctl generated out of ipsec.conf. Both config formats are changed so that they match. One needs a passive ike line and a require flow line with the same parameters in the ipsec.conf. Then the acquire message generated by the kernel will trigger isakmpd to generate a config that matches the one that ipsecctl generated from the ike line. ok hshoexer, 'sounds good' todd
Diffstat (limited to 'regress/sbin/ipsecctl/ike10.ok')
-rw-r--r--regress/sbin/ipsecctl/ike10.ok34
1 files changed, 17 insertions, 17 deletions
diff --git a/regress/sbin/ipsecctl/ike10.ok b/regress/sbin/ipsecctl/ike10.ok
index 5c12e5d1f08..be106fe1f99 100644
--- a/regress/sbin/ipsecctl/ike10.ok
+++ b/regress/sbin/ipsecctl/ike10.ok
@@ -1,20 +1,20 @@
C set [Phase 1]:192.168.200.1=peer-192.168.200.1 force
C set [peer-192.168.200.1]:Phase=1 force
C set [peer-192.168.200.1]:Address=192.168.200.1 force
-C set [peer-192.168.200.1]:Configuration=mm-192.168.200.1 force
-C set [mm-192.168.200.1]:EXCHANGE_TYPE=ID_PROT force
-C add [mm-192.168.200.1]:Transforms=AES-SHA-RSA_SIG force
-C set [IPsec-192.168.100.1:0-97-192.168.200.1:0-97]:Phase=2 force
-C set [IPsec-192.168.100.1:0-97-192.168.200.1:0-97]:ISAKMP-peer=peer-192.168.200.1 force
-C set [IPsec-192.168.100.1:0-97-192.168.200.1:0-97]:Configuration=qm-192.168.100.1:0-97-192.168.200.1:0-97 force
-C set [IPsec-192.168.100.1:0-97-192.168.200.1:0-97]:Local-ID=lid-192.168.100.1:0-97 force
-C set [IPsec-192.168.100.1:0-97-192.168.200.1:0-97]:Remote-ID=rid-192.168.200.1:0-97 force
-C set [qm-192.168.100.1:0-97-192.168.200.1:0-97]:EXCHANGE_TYPE=QUICK_MODE force
-C set [qm-192.168.100.1:0-97-192.168.200.1:0-97]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force
-C set [lid-192.168.100.1:0-97]:ID-type=IPV4_ADDR force
-C set [lid-192.168.100.1:0-97]:Address=192.168.100.1 force
-C set [rid-192.168.200.1:0-97]:ID-type=IPV4_ADDR force
-C set [rid-192.168.200.1:0-97]:Address=192.168.200.1 force
-C set [lid-192.168.100.1:0-97]:Protocol=97 force
-C set [rid-192.168.200.1:0-97]:Protocol=97 force
-C add [Phase 2]:Connections=IPsec-192.168.100.1:0-97-192.168.200.1:0-97
+C set [peer-192.168.200.1]:Configuration=phase1-peer-192.168.200.1 force
+C set [phase1-peer-192.168.200.1]:EXCHANGE_TYPE=ID_PROT force
+C add [phase1-peer-192.168.200.1]:Transforms=AES-SHA-RSA_SIG force
+C set [from-192.168.100.1=97-to-192.168.200.1=97]:Phase=2 force
+C set [from-192.168.100.1=97-to-192.168.200.1=97]:ISAKMP-peer=peer-192.168.200.1 force
+C set [from-192.168.100.1=97-to-192.168.200.1=97]:Configuration=phase2-from-192.168.100.1=97-to-192.168.200.1=97 force
+C set [from-192.168.100.1=97-to-192.168.200.1=97]:Local-ID=from-192.168.100.1=97 force
+C set [from-192.168.100.1=97-to-192.168.200.1=97]:Remote-ID=to-192.168.200.1=97 force
+C set [phase2-from-192.168.100.1=97-to-192.168.200.1=97]:EXCHANGE_TYPE=QUICK_MODE force
+C set [phase2-from-192.168.100.1=97-to-192.168.200.1=97]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force
+C set [from-192.168.100.1=97]:ID-type=IPV4_ADDR force
+C set [from-192.168.100.1=97]:Address=192.168.100.1 force
+C set [to-192.168.200.1=97]:ID-type=IPV4_ADDR force
+C set [to-192.168.200.1=97]:Address=192.168.200.1 force
+C set [from-192.168.100.1=97]:Protocol=97 force
+C set [to-192.168.200.1=97]:Protocol=97 force
+C add [Phase 2]:Connections=from-192.168.100.1=97-to-192.168.200.1=97