diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2006-03-31 14:02:09 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2006-03-31 14:02:09 +0000 |
commit | d441e66f862a8a56c7ee1d20fdbf083499797d30 (patch) | |
tree | 75f10afd7891a545622c816dcf3bfc840e275c45 /regress/sbin | |
parent | 4193800499a773cb21ecccea32ccd539e6d0bf43 (diff) |
allow specification of encapsulated protocol for ike; ok hshoexer
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/ipsecctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/ike10.in | 1 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/ike10.ok | 20 |
3 files changed, 23 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile index b42b47a164c..3560b1dbf3f 100644 --- a/regress/sbin/ipsecctl/Makefile +++ b/regress/sbin/ipsecctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2006/03/31 13:13:51 markus Exp $ +# $OpenBSD: Makefile,v 1.16 2006/03/31 14:02:08 markus Exp $ # TARGETS # ipsec: feed ipsecNN.in through ipsecctl and check wether the output matches @@ -11,7 +11,7 @@ IPSECTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 TCPMD5TESTS=1 2 3 SATESTS=1 2 3 4 5 6 7 8 9 10 SAFAIL=1 -IKETESTS=1 2 3 4 5 6 7 8 +IKETESTS=1 2 3 4 5 6 7 8 10 SHELL=/bin/sh diff --git a/regress/sbin/ipsecctl/ike10.in b/regress/sbin/ipsecctl/ike10.in new file mode 100644 index 00000000000..39783d0fb40 --- /dev/null +++ b/regress/sbin/ipsecctl/ike10.in @@ -0,0 +1 @@ +ike esp proto etherip from 192.168.100.1 to 192.168.200.1 diff --git a/regress/sbin/ipsecctl/ike10.ok b/regress/sbin/ipsecctl/ike10.ok new file mode 100644 index 00000000000..f85b51d3de8 --- /dev/null +++ b/regress/sbin/ipsecctl/ike10.ok @@ -0,0 +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-192.168.200.1]:Phase=2 force +C set [IPsec-192.168.100.1-192.168.200.1]:ISAKMP-peer=peer-192.168.200.1 force +C set [IPsec-192.168.100.1-192.168.200.1]:Configuration=qm-192.168.100.1-192.168.200.1 force +C set [IPsec-192.168.100.1-192.168.200.1]:Local-ID=lid-192.168.100.1 force +C set [IPsec-192.168.100.1-192.168.200.1]:Remote-ID=rid-192.168.200.1 force +C set [qm-192.168.100.1-192.168.200.1]:EXCHANGE_TYPE=QUICK_MODE force +C set [qm-192.168.100.1-192.168.200.1]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force +C set [lid-192.168.100.1]:ID-type=IPV4_ADDR force +C set [lid-192.168.100.1]:Address=192.168.100.1 force +C set [rid-192.168.200.1]:ID-type=IPV4_ADDR force +C set [rid-192.168.200.1]:Address=192.168.200.1 force +C set [lid-192.168.100.1]:Protocol=97 force +C set [rid-192.168.200.1]:Protocol=97 force +C add [Phase 2]:Connections=IPsec-192.168.100.1-192.168.200.1 |