summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/regress/exchange/mm-1-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/regress/exchange/mm-1-setup.sh')
-rw-r--r--sbin/isakmpd/regress/exchange/mm-1-setup.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/sbin/isakmpd/regress/exchange/mm-1-setup.sh b/sbin/isakmpd/regress/exchange/mm-1-setup.sh
new file mode 100644
index 00000000000..4012b16c48e
--- /dev/null
+++ b/sbin/isakmpd/regress/exchange/mm-1-setup.sh
@@ -0,0 +1,12 @@
+# $OpenBSD: mm-1-setup.sh,v 1.1 1999/08/05 22:41:39 niklas Exp $
+# $EOM: mm-1-setup.sh,v 1.1 1999/08/05 15:07:37 niklas Exp $
+
+# XXX Need to start isakmpd here i n a nice way.
+
+echo "C set [Phase 1]:127.0.0.1=localhost 1">/tmp/fifo
+echo "C set [localhost]:phase=1 1">/tmp/fifo
+echo "C set [localhost]:transport=udp 1">/tmp/fifo
+echo "C set [localhost]:address=127.0.0.1 1">/tmp/fifo
+echo "C set [localhost]:port=1501 1">/tmp/fifo
+echo "C set [localhost]:configuration=default-main-mode 1">/tmp/fifo
+echo "C set [localhost]:authentication=mekmitasdigoat 1">/tmp/fifo