]> git.meshlink.io Git - netlab/commitdiff
Initial version of Lab1
authorSaverio Proto <zioproto@gmail.com>
Thu, 17 Apr 2014 16:58:10 +0000 (18:58 +0200)
committerSaverio Proto <zioproto@gmail.com>
Thu, 17 Apr 2014 16:58:10 +0000 (18:58 +0200)
19 files changed:
lab1/lab.conf [new file with mode: 0644]
lab1/middle.startup [new file with mode: 0644]
lab1/middle/meshlink/ecdsa_key.priv [new file with mode: 0644]
lab1/middle/meshlink/ecdsa_key.pub [new file with mode: 0644]
lab1/middle/meshlink/hosts/one [new file with mode: 0644]
lab1/middle/meshlink/hosts/zero [new file with mode: 0644]
lab1/middle/meshlink/tinc.conf [new file with mode: 0644]
lab1/one.startup [new file with mode: 0644]
lab1/one/meshlink/ecdsa_key.priv [new file with mode: 0644]
lab1/one/meshlink/ecdsa_key.pub [new file with mode: 0644]
lab1/one/meshlink/hosts/middle [new file with mode: 0644]
lab1/one/meshlink/hosts/zero [new file with mode: 0644]
lab1/one/meshlink/tinc.conf [new file with mode: 0644]
lab1/zero.startup [new file with mode: 0644]
lab1/zero/meshlink/ecdsa_key.priv [new file with mode: 0644]
lab1/zero/meshlink/ecdsa_key.pub [new file with mode: 0644]
lab1/zero/meshlink/hosts/middle [new file with mode: 0644]
lab1/zero/meshlink/hosts/one [new file with mode: 0644]
lab1/zero/meshlink/tinc.conf [new file with mode: 0644]

diff --git a/lab1/lab.conf b/lab1/lab.conf
new file mode 100644 (file)
index 0000000..6331ec6
--- /dev/null
@@ -0,0 +1,15 @@
+LAB_DESCRIPTION="Meshlink with three hosts and indirect connection"
+LAB_VERSION=0.1
+LAB_AUTHOR="Saverio Proto"
+
+zero[0]="0"
+zero[mem]=256
+
+middle[0]="0"
+middle[1]="1"
+middle[mem]=256
+
+one[0]="1"
+one[mem]=256
+
+
diff --git a/lab1/middle.startup b/lab1/middle.startup
new file mode 100644 (file)
index 0000000..5429674
--- /dev/null
@@ -0,0 +1,2 @@
+ifconfig eth0 192.168.0.1 up
+ifconfig eth1 192.168.1.1 up
diff --git a/lab1/middle/meshlink/ecdsa_key.priv b/lab1/middle/meshlink/ecdsa_key.priv
new file mode 100644 (file)
index 0000000..e6af0ed
Binary files /dev/null and b/lab1/middle/meshlink/ecdsa_key.priv differ
diff --git a/lab1/middle/meshlink/ecdsa_key.pub b/lab1/middle/meshlink/ecdsa_key.pub
new file mode 100644 (file)
index 0000000..af94137
--- /dev/null
@@ -0,0 +1 @@
+ECDSAPublicKey = GqL3OaKnDLcNHDRppDK3ERYDDr16tG5Ej8cQkQFTzvN
diff --git a/lab1/middle/meshlink/hosts/one b/lab1/middle/meshlink/hosts/one
new file mode 100644 (file)
index 0000000..f6ecf39
--- /dev/null
@@ -0,0 +1 @@
+ECDSAPublicKey = R6FsGyjkU1vqUzLwXcuG2ol0AP6E1IU0MNLukY1DnHF
diff --git a/lab1/middle/meshlink/hosts/zero b/lab1/middle/meshlink/hosts/zero
new file mode 100644 (file)
index 0000000..27b76b5
--- /dev/null
@@ -0,0 +1,2 @@
+ECDSAPublicKey = 8uv0sPcxc6bBJW70GbbjED0WWbODXJtuC9IMxh+o+HB
+
diff --git a/lab1/middle/meshlink/tinc.conf b/lab1/middle/meshlink/tinc.conf
new file mode 100644 (file)
index 0000000..3637172
--- /dev/null
@@ -0,0 +1,2 @@
+Name = middle
+AutoConnect = 1
diff --git a/lab1/one.startup b/lab1/one.startup
new file mode 100644 (file)
index 0000000..a985bba
--- /dev/null
@@ -0,0 +1 @@
+ifconfig eth0 192.168.1.2 up
diff --git a/lab1/one/meshlink/ecdsa_key.priv b/lab1/one/meshlink/ecdsa_key.priv
new file mode 100644 (file)
index 0000000..4a63257
Binary files /dev/null and b/lab1/one/meshlink/ecdsa_key.priv differ
diff --git a/lab1/one/meshlink/ecdsa_key.pub b/lab1/one/meshlink/ecdsa_key.pub
new file mode 100644 (file)
index 0000000..f6ecf39
--- /dev/null
@@ -0,0 +1 @@
+ECDSAPublicKey = R6FsGyjkU1vqUzLwXcuG2ol0AP6E1IU0MNLukY1DnHF
diff --git a/lab1/one/meshlink/hosts/middle b/lab1/one/meshlink/hosts/middle
new file mode 100644 (file)
index 0000000..0b92ab2
--- /dev/null
@@ -0,0 +1,3 @@
+Address = 192.168.1.1
+ECDSAPublicKey = GqL3OaKnDLcNHDRppDK3ERYDDr16tG5Ej8cQkQFTzvN
+
diff --git a/lab1/one/meshlink/hosts/zero b/lab1/one/meshlink/hosts/zero
new file mode 100644 (file)
index 0000000..b2ef574
--- /dev/null
@@ -0,0 +1,3 @@
+
+# The following line was automatically added by tinc
+ECDSAPublicKey = 8uv0sPcxc6bBJW70GbbjED0WWbODXJtuC9IMxh+o+HB
diff --git a/lab1/one/meshlink/tinc.conf b/lab1/one/meshlink/tinc.conf
new file mode 100644 (file)
index 0000000..a28b638
--- /dev/null
@@ -0,0 +1,2 @@
+Name = one
+AutoConnect = 1
diff --git a/lab1/zero.startup b/lab1/zero.startup
new file mode 100644 (file)
index 0000000..fa65a7a
--- /dev/null
@@ -0,0 +1 @@
+ifconfig eth0 192.168.0.2 up
diff --git a/lab1/zero/meshlink/ecdsa_key.priv b/lab1/zero/meshlink/ecdsa_key.priv
new file mode 100644 (file)
index 0000000..912bd5b
Binary files /dev/null and b/lab1/zero/meshlink/ecdsa_key.priv differ
diff --git a/lab1/zero/meshlink/ecdsa_key.pub b/lab1/zero/meshlink/ecdsa_key.pub
new file mode 100644 (file)
index 0000000..20fd2ed
--- /dev/null
@@ -0,0 +1 @@
+ECDSAPublicKey = 8uv0sPcxc6bBJW70GbbjED0WWbODXJtuC9IMxh+o+HB
diff --git a/lab1/zero/meshlink/hosts/middle b/lab1/zero/meshlink/hosts/middle
new file mode 100644 (file)
index 0000000..89e0cc2
--- /dev/null
@@ -0,0 +1,3 @@
+Address = 192.168.0.1
+ECDSAPublicKey = GqL3OaKnDLcNHDRppDK3ERYDDr16tG5Ej8cQkQFTzvN
+
diff --git a/lab1/zero/meshlink/hosts/one b/lab1/zero/meshlink/hosts/one
new file mode 100644 (file)
index 0000000..c24057c
--- /dev/null
@@ -0,0 +1,3 @@
+
+# The following line was automatically added by tinc
+ECDSAPublicKey = R6FsGyjkU1vqUzLwXcuG2ol0AP6E1IU0MNLukY1DnHF
diff --git a/lab1/zero/meshlink/tinc.conf b/lab1/zero/meshlink/tinc.conf
new file mode 100644 (file)
index 0000000..5d76055
--- /dev/null
@@ -0,0 +1,2 @@
+Name = zero
+AutoConnect = 1