From 9ee05bce01481b8330d6e460cae70742039cbf24 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Thu, 17 Apr 2014 18:58:10 +0200 Subject: [PATCH] Initial version of Lab1 --- lab1/lab.conf | 15 +++++++++++++++ lab1/middle.startup | 2 ++ lab1/middle/meshlink/ecdsa_key.priv | Bin 0 -> 96 bytes lab1/middle/meshlink/ecdsa_key.pub | 1 + lab1/middle/meshlink/hosts/one | 1 + lab1/middle/meshlink/hosts/zero | 2 ++ lab1/middle/meshlink/tinc.conf | 2 ++ lab1/one.startup | 1 + lab1/one/meshlink/ecdsa_key.priv | Bin 0 -> 96 bytes lab1/one/meshlink/ecdsa_key.pub | 1 + lab1/one/meshlink/hosts/middle | 3 +++ lab1/one/meshlink/hosts/zero | 3 +++ lab1/one/meshlink/tinc.conf | 2 ++ lab1/zero.startup | 1 + lab1/zero/meshlink/ecdsa_key.priv | Bin 0 -> 96 bytes lab1/zero/meshlink/ecdsa_key.pub | 1 + lab1/zero/meshlink/hosts/middle | 3 +++ lab1/zero/meshlink/hosts/one | 3 +++ lab1/zero/meshlink/tinc.conf | 2 ++ 19 files changed, 43 insertions(+) create mode 100644 lab1/lab.conf create mode 100644 lab1/middle.startup create mode 100644 lab1/middle/meshlink/ecdsa_key.priv create mode 100644 lab1/middle/meshlink/ecdsa_key.pub create mode 100644 lab1/middle/meshlink/hosts/one create mode 100644 lab1/middle/meshlink/hosts/zero create mode 100644 lab1/middle/meshlink/tinc.conf create mode 100644 lab1/one.startup create mode 100644 lab1/one/meshlink/ecdsa_key.priv create mode 100644 lab1/one/meshlink/ecdsa_key.pub create mode 100644 lab1/one/meshlink/hosts/middle create mode 100644 lab1/one/meshlink/hosts/zero create mode 100644 lab1/one/meshlink/tinc.conf create mode 100644 lab1/zero.startup create mode 100644 lab1/zero/meshlink/ecdsa_key.priv create mode 100644 lab1/zero/meshlink/ecdsa_key.pub create mode 100644 lab1/zero/meshlink/hosts/middle create mode 100644 lab1/zero/meshlink/hosts/one create mode 100644 lab1/zero/meshlink/tinc.conf diff --git a/lab1/lab.conf b/lab1/lab.conf new file mode 100644 index 0000000..6331ec6 --- /dev/null +++ b/lab1/lab.conf @@ -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 index 0000000..5429674 --- /dev/null +++ b/lab1/middle.startup @@ -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 index 0000000000000000000000000000000000000000..e6af0edac9110ea35ac3f0cebab9b8bc5ec8bb2a GIT binary patch literal 96 zcmV-m0H6Pu>o17!QF=X3-?~>%ll{g8{In_Is-ZAlA)1UwN5f^@gr?xx@nnZz%wcre z^T2rNn4bLrx;JKpRZtao`8fE7y4;SYoWsI3#}K9Ipxi`+4Z~XNt&tNW&p{+qO!M0* CqBRx( literal 0 HcmV?d00001 diff --git a/lab1/middle/meshlink/ecdsa_key.pub b/lab1/middle/meshlink/ecdsa_key.pub new file mode 100644 index 0000000..af94137 --- /dev/null +++ b/lab1/middle/meshlink/ecdsa_key.pub @@ -0,0 +1 @@ +ECDSAPublicKey = GqL3OaKnDLcNHDRppDK3ERYDDr16tG5Ej8cQkQFTzvN diff --git a/lab1/middle/meshlink/hosts/one b/lab1/middle/meshlink/hosts/one new file mode 100644 index 0000000..f6ecf39 --- /dev/null +++ b/lab1/middle/meshlink/hosts/one @@ -0,0 +1 @@ +ECDSAPublicKey = R6FsGyjkU1vqUzLwXcuG2ol0AP6E1IU0MNLukY1DnHF diff --git a/lab1/middle/meshlink/hosts/zero b/lab1/middle/meshlink/hosts/zero new file mode 100644 index 0000000..27b76b5 --- /dev/null +++ b/lab1/middle/meshlink/hosts/zero @@ -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 index 0000000..3637172 --- /dev/null +++ b/lab1/middle/meshlink/tinc.conf @@ -0,0 +1,2 @@ +Name = middle +AutoConnect = 1 diff --git a/lab1/one.startup b/lab1/one.startup new file mode 100644 index 0000000..a985bba --- /dev/null +++ b/lab1/one.startup @@ -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 index 0000000000000000000000000000000000000000..4a6325799219581986181e356151b0e4854bcf18 GIT binary patch literal 96 zcmV-m0H6QB^J5^ER$l<+s7`z@I^WYD&XP;b zzzpk`ABbakmF$!mk+{K#(kxSvUa*Edl2rYw)V#nK=NdLz(!iq=HA2x$v$!Ny59d*0 CH!&yx literal 0 HcmV?d00001 diff --git a/lab1/one/meshlink/ecdsa_key.pub b/lab1/one/meshlink/ecdsa_key.pub new file mode 100644 index 0000000..f6ecf39 --- /dev/null +++ b/lab1/one/meshlink/ecdsa_key.pub @@ -0,0 +1 @@ +ECDSAPublicKey = R6FsGyjkU1vqUzLwXcuG2ol0AP6E1IU0MNLukY1DnHF diff --git a/lab1/one/meshlink/hosts/middle b/lab1/one/meshlink/hosts/middle new file mode 100644 index 0000000..0b92ab2 --- /dev/null +++ b/lab1/one/meshlink/hosts/middle @@ -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 index 0000000..b2ef574 --- /dev/null +++ b/lab1/one/meshlink/hosts/zero @@ -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 index 0000000..a28b638 --- /dev/null +++ b/lab1/one/meshlink/tinc.conf @@ -0,0 +1,2 @@ +Name = one +AutoConnect = 1 diff --git a/lab1/zero.startup b/lab1/zero.startup new file mode 100644 index 0000000..fa65a7a --- /dev/null +++ b/lab1/zero.startup @@ -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 index 0000000000000000000000000000000000000000..912bd5b3957151a87927322bc5cec0e2663133a9 GIT binary patch literal 96 zcmV-m0H6Qx7?)W9JP5quI1t+oxs-xnDxR}^ZiDPJ?O&6hHo#%C;B}*3f!7De0ynjh zj;J`e+;#^1hNuR89s%5SMNHPb`_k;g#hktciM7+lwvEI