summaryrefslogtreecommitdiff
path: root/test-scripts
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-09-18 20:09:45 +0000
committerOthmar Gsenger <otti@anytun.org>2007-09-18 20:09:45 +0000
commitec0ff669c1742a6db841888a67797ba37e96cd72 (patch)
treea7cc4ae674e1b3ba70dff98c98be4742d481ca5f /test-scripts
parentremoved overloaded std::ostream& << operator because of problems with stdc++ ... (diff)
added automatic anycast node update scripts
Diffstat (limited to 'test-scripts')
-rw-r--r--test-scripts/anytun1
-rw-r--r--test-scripts/anytun-run1
-rwxr-xr-xtest-scripts/anytun-svn4
-rwxr-xr-xtest-scripts/anytun-svn-run10
4 files changed, 16 insertions, 0 deletions
diff --git a/test-scripts/anytun b/test-scripts/anytun
new file mode 100644
index 0000000..dbd8a04
--- /dev/null
+++ b/test-scripts/anytun
@@ -0,0 +1 @@
+10 1 * * * otti /bin/anytun-svn
diff --git a/test-scripts/anytun-run b/test-scripts/anytun-run
new file mode 100644
index 0000000..9fbe022
--- /dev/null
+++ b/test-scripts/anytun-run
@@ -0,0 +1 @@
+15 1 * * * root /bin/anytun-svn-run
diff --git a/test-scripts/anytun-svn b/test-scripts/anytun-svn
new file mode 100755
index 0000000..29931cb
--- /dev/null
+++ b/test-scripts/anytun-svn
@@ -0,0 +1,4 @@
+#!/bin/bash
+cd /home/otti/anytun
+svn up | grep -v Revision && make
+exit 0
diff --git a/test-scripts/anytun-svn-run b/test-scripts/anytun-svn-run
new file mode 100755
index 0000000..cf12181
--- /dev/null
+++ b/test-scripts/anytun-svn-run
@@ -0,0 +1,10 @@
+#!/bin/bash
+cd /home/otti/anytun
+killall anytun
+sleep 5
+./anytun -i 77.87.240.1 -n 77.87.244.1 255.255.252.0 &
+./anytun -i 77.87.240.1 -p 4445 -d anytun0 -t tun -n 77.87.240.2 77.87.240.3 -r 89.106.215.29 -o 4445 -w 0 &
+sleep 5
+ip route add 77.87.241.0/24 via 77.87.240.3 dev anytun0
+ip link set anytun0 mtu 1400
+exit 0