summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/sbin/ipsecctl/sa13.in3
-rw-r--r--regress/sbin/ipsecctl/sa13.ok6
-rw-r--r--regress/sbin/ipsecctl/sa14.in3
-rw-r--r--regress/sbin/ipsecctl/sa14.ok6
-rw-r--r--regress/sbin/ipsecctl/sa15.in6
-rw-r--r--regress/sbin/ipsecctl/sa15.ok6
-rw-r--r--regress/sbin/ipsecctl/sa16.in7
-rw-r--r--regress/sbin/ipsecctl/sa16.ok6
-rw-r--r--regress/sbin/ipsecctl/sa17.in14
-rw-r--r--regress/sbin/ipsecctl/sa17.ok28
-rw-r--r--regress/sbin/ipsecctl/sa18.in34
-rw-r--r--regress/sbin/ipsecctl/sa18.ok52
-rw-r--r--regress/sbin/ipsecctl/sa19.in3
-rw-r--r--regress/sbin/ipsecctl/sa19.ok6
-rw-r--r--regress/sbin/ipsecctl/sa20.in3
-rw-r--r--regress/sbin/ipsecctl/sa20.ok6
16 files changed, 189 insertions, 0 deletions
diff --git a/regress/sbin/ipsecctl/sa13.in b/regress/sbin/ipsecctl/sa13.in
new file mode 100644
index 00000000000..7918698f2ef
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa13.in
@@ -0,0 +1,3 @@
+esp from 3ffe::1 to 3ffe::2 spi 0xdeadbeef:0xbeefdead \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee:0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa13.ok b/regress/sbin/ipsecctl/sa13.ok
new file mode 100644
index 00000000000..36828f4af39
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa13.ok
@@ -0,0 +1,6 @@
+esp tunnel from 3ffe::1 to 3ffe::2 spi 0xdeadbeef auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::2 to 3ffe::1 spi 0xbeefdead auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa14.in b/regress/sbin/ipsecctl/sa14.in
new file mode 100644
index 00000000000..95c0b143fa5
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa14.in
@@ -0,0 +1,3 @@
+esp from 3ffe::1 to 3ffe::2 spi 0xdeadbeef:0xbeefdead auth hmac-sha1 enc aes \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee:0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa14.ok b/regress/sbin/ipsecctl/sa14.ok
new file mode 100644
index 00000000000..eda8e58cab0
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa14.ok
@@ -0,0 +1,6 @@
+esp tunnel from 3ffe::1 to 3ffe::2 spi 0xdeadbeef auth hmac-sha1 enc aes
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::2 to 3ffe::1 spi 0xbeefdead auth hmac-sha1 enc aes
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa15.in b/regress/sbin/ipsecctl/sa15.in
new file mode 100644
index 00000000000..350b7242c77
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa15.in
@@ -0,0 +1,6 @@
+esp from 3ffe::1 to 3ffe::2 spi 0xdeadbeef \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp from 3ffe::2 to 3ffe::1 spi 0xbeefdead \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa15.ok b/regress/sbin/ipsecctl/sa15.ok
new file mode 100644
index 00000000000..36828f4af39
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa15.ok
@@ -0,0 +1,6 @@
+esp tunnel from 3ffe::1 to 3ffe::2 spi 0xdeadbeef auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::2 to 3ffe::1 spi 0xbeefdead auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa16.in b/regress/sbin/ipsecctl/sa16.in
new file mode 100644
index 00000000000..ebb44b8ad39
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa16.in
@@ -0,0 +1,7 @@
+esp from 3ffe::1 to 3ffe::2 spi 0xdeadbeef auth hmac-sha1 enc aes \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+
+esp from 3ffe::2 to 3ffe::1 spi 0xbeefdead auth hmac-sha1 enc aes \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa16.ok b/regress/sbin/ipsecctl/sa16.ok
new file mode 100644
index 00000000000..eda8e58cab0
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa16.ok
@@ -0,0 +1,6 @@
+esp tunnel from 3ffe::1 to 3ffe::2 spi 0xdeadbeef auth hmac-sha1 enc aes
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::2 to 3ffe::1 spi 0xbeefdead auth hmac-sha1 enc aes
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa17.in b/regress/sbin/ipsecctl/sa17.in
new file mode 100644
index 00000000000..758bfceeebc
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa17.in
@@ -0,0 +1,14 @@
+ah from 3ffe::1 to 3ffe::8 spi 0x1eadbeef:0xbeef1ead \
+ authkey file "DIR/ak256:DIR/ak256"
+ah from 3ffe::2 to 3ffe::8 spi 0x2eadbeef:0xbeef2ead auth hmac-md5 \
+ authkey file "DIR/ak128:DIR/ak128"
+ah from 3ffe::3 to 3ffe::8 spi 0x3eadbeef:0xbeef3ead auth hmac-ripemd160 \
+ authkey file "DIR/ak160:DIR/ak160"
+ah from 3ffe::4 to 3ffe::8 spi 0x4eadbeef:0xbeef4ead auth hmac-sha1 \
+ authkey file "DIR/ak160:DIR/ak160"
+ah from 3ffe::5 to 3ffe::8 spi 0x5eadbeef:0xbeef5ead auth hmac-sha2-256 \
+ authkey file "DIR/ak256:DIR/ak256"
+ah from 3ffe::6 to 3ffe::8 spi 0x6eadbeef:0xbeef6ead auth hmac-sha2-384 \
+ authkey file "DIR/ak384:DIR/ak384"
+ah from 3ffe::7 to 3ffe::8 spi 0x7eadbeef:0xbeef7ead auth hmac-sha2-512 \
+ authkey file "DIR/ak512:DIR/ak512"
diff --git a/regress/sbin/ipsecctl/sa17.ok b/regress/sbin/ipsecctl/sa17.ok
new file mode 100644
index 00000000000..986fe59a9ef
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa17.ok
@@ -0,0 +1,28 @@
+ah tunnel from 3ffe::1 to 3ffe::8 spi 0x1eadbeef auth hmac-sha2-256
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::2 to 3ffe::8 spi 0x2eadbeef auth hmac-md5
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::2 spi 0xbeef2ead auth hmac-md5
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::3 to 3ffe::8 spi 0x3eadbeef auth hmac-ripemd160
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::3 spi 0xbeef3ead auth hmac-ripemd160
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::4 to 3ffe::8 spi 0x4eadbeef auth hmac-sha1
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::5 to 3ffe::8 spi 0x5eadbeef auth hmac-sha2-256
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::5 spi 0xbeef5ead auth hmac-sha2-256
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::6 to 3ffe::8 spi 0x6eadbeef auth hmac-sha2-384
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::6 spi 0xbeef6ead auth hmac-sha2-384
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::7 to 3ffe::8 spi 0x7eadbeef auth hmac-sha2-512
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ah tunnel from 3ffe::8 to 3ffe::7 spi 0xbeef7ead auth hmac-sha2-512
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
diff --git a/regress/sbin/ipsecctl/sa18.in b/regress/sbin/ipsecctl/sa18.in
new file mode 100644
index 00000000000..7884d64f5c8
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa18.in
@@ -0,0 +1,34 @@
+esp from 3ffe::1 to 3ffe::10 spi 0x1eadbeef:0xbeef1ead \
+ authkey file "DIR/ak256:DIR/ak256" \
+ enckey file "DIR/ek160:DIR/ek160"
+esp from 3ffe::2 to 3ffe::10 spi 0x2eadbeef:0xbeef2ead auth hmac-sha1 \
+ enc 3des-cbc \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek192:DIR/ek192"
+esp from 3ffe::3 to 3ffe::10 spi 0x3eadbeef:0xbeef3ead auth hmac-sha1 \
+ enc des-cbc \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek64:DIR/ek64"
+esp from 3ffe::4 to 3ffe::10 spi 0x4eadbeef:0xbeef4ead auth hmac-sha1 \
+ enc aes \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek128:DIR/ek128"
+esp from 3ffe::5 to 3ffe::10 spi 0x5eadbeef:0xbeef5ead auth hmac-sha1 \
+ enc aesctr \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek160:DIR/ek160"
+esp from 3ffe::6 to 3ffe::10 spi 0x6eadbeef:0xbeef6ead auth hmac-sha1 \
+ enc blowfish \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek160:DIR/ek160"
+esp from 3ffe::7 to 3ffe::10 spi 0x7eadbeef:0xbeef7ead auth hmac-sha1 \
+ enc cast128 \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek128:DIR/ek128"
+esp from 3ffe::8 to 3ffe::10 spi 0x8eadbeef:0xbeef8ead auth hmac-sha1 \
+ enc null \
+ authkey file "DIR/ak160:DIR/ak160"
+esp from 3ffe::9 to 3ffe::10 spi 0x9eadbeef:0xbeef9ead auth hmac-sha1 \
+ enc skipjack \
+ authkey file "DIR/ak160:DIR/ak160" \
+ enckey file "DIR/ek80:DIR/ek80"
diff --git a/regress/sbin/ipsecctl/sa18.ok b/regress/sbin/ipsecctl/sa18.ok
new file mode 100644
index 00000000000..de767b5ab80
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa18.ok
@@ -0,0 +1,52 @@
+esp tunnel from 3ffe::1 to 3ffe::10 spi 0x1eadbeef auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::2 to 3ffe::10 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::3 to 3ffe::10 spi 0x3eadbeef auth hmac-sha1 enc des-cbc
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::3 spi 0xbeef3ead auth hmac-sha1 enc des-cbc
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::4 to 3ffe::10 spi 0x4eadbeef auth hmac-sha1 enc aes
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 enc aes
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::5 to 3ffe::10 spi 0x5eadbeef auth hmac-sha1 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::5 spi 0xbeef5ead auth hmac-sha1 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::6 to 3ffe::10 spi 0x6eadbeef auth hmac-sha1 enc blowfish
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::6 spi 0xbeef6ead auth hmac-sha1 enc blowfish
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::7 to 3ffe::10 spi 0x7eadbeef auth hmac-sha1 enc cast128
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::7 spi 0xbeef7ead auth hmac-sha1 enc cast128
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::8 to 3ffe::10 spi 0x8eadbeef auth hmac-sha1 enc null
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+esp tunnel from 3ffe::10 to 3ffe::8 spi 0xbeef8ead auth hmac-sha1 enc null
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+esp tunnel from 3ffe::9 to 3ffe::10 spi 0x9eadbeef auth hmac-sha1 enc skipjack
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeee
+esp tunnel from 3ffe::10 to 3ffe::9 spi 0xbeef9ead auth hmac-sha1 enc skipjack
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa19.in b/regress/sbin/ipsecctl/sa19.in
new file mode 100644
index 00000000000..7b8c2a08bae
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa19.in
@@ -0,0 +1,3 @@
+esp from 3ffe::1 to any spi 0xdeadbeef:0xbeefdead \
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee:0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa19.ok b/regress/sbin/ipsecctl/sa19.ok
new file mode 100644
index 00000000000..75bf501d671
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa19.ok
@@ -0,0 +1,6 @@
+esp tunnel from 3ffe::1 to ::/0 spi 0xdeadbeef auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
+esp tunnel from ::/0 to 3ffe::1 spi 0xbeefdead auth hmac-sha2-256 enc aesctr
+ authkey 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+ enckey 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
diff --git a/regress/sbin/ipsecctl/sa20.in b/regress/sbin/ipsecctl/sa20.in
new file mode 100644
index 00000000000..3b2c41a3074
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa20.in
@@ -0,0 +1,3 @@
+ipcomp from 3ffe::1 to 3ffe::2 spi 0x1000:0x1001
+ipcomp from 3ffe::3 to 3ffe::4 spi 0x2000:0x2001 comp deflate
+ipcomp from 3ffe::5 to 3ffe::6 spi 0x3000:0x3001 comp lzs
diff --git a/regress/sbin/ipsecctl/sa20.ok b/regress/sbin/ipsecctl/sa20.ok
new file mode 100644
index 00000000000..4c7e1bdc695
--- /dev/null
+++ b/regress/sbin/ipsecctl/sa20.ok
@@ -0,0 +1,6 @@
+ipcomp tunnel from 3ffe::1 to 3ffe::2 spi 0x00001000 comp deflate
+ipcomp tunnel from 3ffe::2 to 3ffe::1 spi 0x00001001 comp deflate
+ipcomp tunnel from 3ffe::3 to 3ffe::4 spi 0x00002000 comp deflate
+ipcomp tunnel from 3ffe::4 to 3ffe::3 spi 0x00002001 comp deflate
+ipcomp tunnel from 3ffe::5 to 3ffe::6 spi 0x00003000 comp lzs
+ipcomp tunnel from 3ffe::6 to 3ffe::5 spi 0x00003001 comp lzs