summaryrefslogtreecommitdiff
path: root/regress/sbin/isakmpd/exchange/mm-1-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/isakmpd/exchange/mm-1-setup.sh')
-rw-r--r--regress/sbin/isakmpd/exchange/mm-1-setup.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/sbin/isakmpd/exchange/mm-1-setup.sh b/regress/sbin/isakmpd/exchange/mm-1-setup.sh
new file mode 100644
index 00000000000..7d1dc4287d9
--- /dev/null
+++ b/regress/sbin/isakmpd/exchange/mm-1-setup.sh
@@ -0,0 +1,12 @@
+# $OpenBSD: mm-1-setup.sh,v 1.1 2005/04/08 17:12:49 cloder Exp $
+# $EOM: mm-1-setup.sh,v 1.2 1999/10/05 12:54:27 niklas Exp $
+
+# XXX Need to start isakmpd here in 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