diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/ipsecctl/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/ike50.in | 1 | ||||
-rw-r--r-- | regress/sbin/ipsecctl/ike50.ok | 20 |
3 files changed, 23 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile index c3e91486b0b..f5da6a72328 100644 --- a/regress/sbin/ipsecctl/Makefile +++ b/regress/sbin/ipsecctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.38 2006/07/21 12:32:16 hshoexer Exp $ +# $OpenBSD: Makefile,v 1.39 2006/07/21 12:45:19 hshoexer Exp $ # TARGETS # ipsec: feed ipsecNN.in through ipsecctl and check wether the output matches @@ -18,7 +18,7 @@ IKEFAIL=1 3 4 5 IKETESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 IKETESTS+=16 17 18 19 20 21 22 23 IKETESTS+=29 30 31 32 33 34 35 36 37 38 39 40 -IKETESTS+=41 42 43 46 47 48 49 +IKETESTS+=41 42 43 46 47 48 49 50 IKEDELTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 IKEDELTESTS+=16 17 18 19 20 21 22 23 diff --git a/regress/sbin/ipsecctl/ike50.in b/regress/sbin/ipsecctl/ike50.in new file mode 100644 index 00000000000..7dd1d6e4514 --- /dev/null +++ b/regress/sbin/ipsecctl/ike50.in @@ -0,0 +1 @@ +ike from 10.1.1.0/24 to 10.2.2.0/24 local 1.1.1.1 diff --git a/regress/sbin/ipsecctl/ike50.ok b/regress/sbin/ipsecctl/ike50.ok new file mode 100644 index 00000000000..942947628d8 --- /dev/null +++ b/regress/sbin/ipsecctl/ike50.ok @@ -0,0 +1,20 @@ +C set [Phase 1]:Default=peer-default force +C set [peer-default]:Phase=1 force +C set [peer-default]:Local-address=1.1.1.1 force +C set [peer-default]:Configuration=mm-default force +C set [mm-default]:EXCHANGE_TYPE=ID_PROT force +C add [mm-default]:Transforms=AES-SHA-RSA_SIG force +C set [IPsec-10.1.1.0/24-10.2.2.0/24]:Phase=2 force +C set [IPsec-10.1.1.0/24-10.2.2.0/24]:ISAKMP-peer=peer-default force +C set [IPsec-10.1.1.0/24-10.2.2.0/24]:Configuration=qm-10.1.1.0/24-10.2.2.0/24 force +C set [IPsec-10.1.1.0/24-10.2.2.0/24]:Local-ID=lid-10.1.1.0/24 force +C set [IPsec-10.1.1.0/24-10.2.2.0/24]:Remote-ID=rid-10.2.2.0/24 force +C set [qm-10.1.1.0/24-10.2.2.0/24]:EXCHANGE_TYPE=QUICK_MODE force +C set [qm-10.1.1.0/24-10.2.2.0/24]:Suites=QM-ESP-AES-SHA2-256-PFS-SUITE force +C set [lid-10.1.1.0/24]:ID-type=IPV4_ADDR_SUBNET force +C set [lid-10.1.1.0/24]:Network=10.1.1.0 force +C set [lid-10.1.1.0/24]:Netmask=255.255.255.0 force +C set [rid-10.2.2.0/24]:ID-type=IPV4_ADDR_SUBNET force +C set [rid-10.2.2.0/24]:Network=10.2.2.0 force +C set [rid-10.2.2.0/24]:Netmask=255.255.255.0 force +C add [Phase 2]:Connections=IPsec-10.1.1.0/24-10.2.2.0/24 |