From 382607bc0b061220aa66dccf35eac34b85883157 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sun, 27 Mar 2011 22:20:57 +0200 Subject: added install script --- retiolum/hosts/install.sh | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 retiolum/hosts/install.sh diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh new file mode 100644 index 00000000..d347a4c6 --- /dev/null +++ b/retiolum/hosts/install.sh @@ -0,0 +1,61 @@ +! /bin/sh + +set -e +myname="${1:-dummy}" +netname=retiolum +myipv4="${2:-10.7.7.56}" +mynet4=10.7.7.0 + +# create configuration directory for $netname +mkdir -p /etc/tinc/$netname +cd /etc/tinc/$netname + +# get currently known hosts +curl http://dl.dropbox.com/u/8729977/hosts.tar | tar vx || +curl $GIV_URI_TO_HOSTS_TAR | tar vx + + +cat>tinc-up<tinc.conf< hosts/$myname +tincd -n $netname -K + +echo Writing Public Key to irc channel +cat>write_channel.py< Date: Sun, 27 Mar 2011 22:21:14 +0200 Subject: added build script for ec2 tiny instances --- retiolum/hosts/build_ec2.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 retiolum/hosts/build_ec2.sh diff --git a/retiolum/hosts/build_ec2.sh b/retiolum/hosts/build_ec2.sh new file mode 100644 index 00000000..79f2af28 --- /dev/null +++ b/retiolum/hosts/build_ec2.sh @@ -0,0 +1,16 @@ +#!/bin/sh +set -e +sudo yum install -y gcc openssl-devel +mkdir build +cd build +curl http://www.oberhumer.com/opensource/lzo/download/lzo-2.04.tar.gz | tar xz +cd lzo-2.04 +./configure --prefix=/usr +make +sudo make install +cd .. +curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz +cd tinc-1.0.13 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var +make +sudo make install -- cgit v1.2.3 From 08b5f6d0293efd48b99cf69e663610e2ab3b0ae8 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sun, 27 Mar 2011 22:24:59 +0200 Subject: fixed install bug --- retiolum/hosts/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh index d347a4c6..d74636e9 100644 --- a/retiolum/hosts/install.sh +++ b/retiolum/hosts/install.sh @@ -1,4 +1,5 @@ -! /bin/sh +#! /bin/sh +# USE WITH GREAT CAUTION set -e myname="${1:-dummy}" -- cgit v1.2.3 From c62114485d4cbe4d8a7b979d22bd53990388eafe Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Fri, 8 Apr 2011 22:39:33 +0200 Subject: added debian base install script --- retiolum/hosts/build_debian | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 retiolum/hosts/build_debian diff --git a/retiolum/hosts/build_debian b/retiolum/hosts/build_debian new file mode 100755 index 00000000..d0f7a27f --- /dev/null +++ b/retiolum/hosts/build_debian @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +MYIP=10.0.7.7.55 + +aptitude install liblzo2-dev tinc curl git + +git clone https://github.com/makefu/shack-retiolum.git + +cd shack-retiolum + +./install.sh `hostname` $MYIP -- cgit v1.2.3 From c18d24f4154b9f8bf42162cdc2fe6c89ae6d0f84 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sat, 9 Apr 2011 03:02:49 +0200 Subject: cleaned up repo,added hosts file (no external deps) --- retiolum/hosts/build_debian | 11 ----------- retiolum/hosts/build_debian.sh | 11 +++++++++++ retiolum/hosts/build_ec2.sh | 0 retiolum/hosts/hosts.tar | Bin 0 -> 20480 bytes retiolum/hosts/install.sh | 6 ++++-- 5 files changed, 15 insertions(+), 13 deletions(-) delete mode 100755 retiolum/hosts/build_debian create mode 100755 retiolum/hosts/build_debian.sh mode change 100644 => 100755 retiolum/hosts/build_ec2.sh create mode 100644 retiolum/hosts/hosts.tar mode change 100644 => 100755 retiolum/hosts/install.sh diff --git a/retiolum/hosts/build_debian b/retiolum/hosts/build_debian deleted file mode 100755 index d0f7a27f..00000000 --- a/retiolum/hosts/build_debian +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -set -x -MYIP=10.0.7.7.55 - -aptitude install liblzo2-dev tinc curl git - -git clone https://github.com/makefu/shack-retiolum.git - -cd shack-retiolum - -./install.sh `hostname` $MYIP diff --git a/retiolum/hosts/build_debian.sh b/retiolum/hosts/build_debian.sh new file mode 100755 index 00000000..f830a809 --- /dev/null +++ b/retiolum/hosts/build_debian.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +MYIP=10.0.7.7.55 + +aptitude install tinc git + +git clone https://github.com/makefu/shack-retiolum.git + +cd shack-retiolum + +./install.sh `hostname` $MYIP diff --git a/retiolum/hosts/build_ec2.sh b/retiolum/hosts/build_ec2.sh old mode 100644 new mode 100755 diff --git a/retiolum/hosts/hosts.tar b/retiolum/hosts/hosts.tar new file mode 100644 index 00000000..20966c1a Binary files /dev/null and b/retiolum/hosts/hosts.tar differ diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh old mode 100644 new mode 100755 index d74636e9..ebff669d --- a/retiolum/hosts/install.sh +++ b/retiolum/hosts/install.sh @@ -3,6 +3,7 @@ set -e myname="${1:-dummy}" +hostsfile=`dirname $0`/hosts.tar netname=retiolum myipv4="${2:-10.7.7.56}" mynet4=10.7.7.0 @@ -12,8 +13,7 @@ mkdir -p /etc/tinc/$netname cd /etc/tinc/$netname # get currently known hosts -curl http://dl.dropbox.com/u/8729977/hosts.tar | tar vx || -curl $GIV_URI_TO_HOSTS_TAR | tar vx +tar xf $hostsfile cat>tinc-up<tinc.conf< hosts/$myname -- cgit v1.2.3 From ac72e9a00cc4aab67962020d3952903b40914f87 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sat, 9 Apr 2011 15:54:22 +0200 Subject: added arch build/fixed install script,added no_omo i also added a README file which contains some useful informations about the scripts --- retiolum/hosts/README | 13 +++++++++++++ retiolum/hosts/build_arch.sh | 14 ++++++++++++++ retiolum/hosts/hosts.tar | Bin 20480 -> 20480 bytes retiolum/hosts/install.sh | 5 +++-- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 retiolum/hosts/README create mode 100755 retiolum/hosts/build_arch.sh diff --git a/retiolum/hosts/README b/retiolum/hosts/README new file mode 100644 index 00000000..e6ae9454 --- /dev/null +++ b/retiolum/hosts/README @@ -0,0 +1,13 @@ +This directory contains the build and install scripts for shack-retiolum + +1. build_arch + arch linux build script +2. build_debian + debian build script +3. build_ec2 + Amazon ec2 base instance build script +4. install.sh + configures the tinc daemon + $1 is the nickname + $2 is the ip-address +hosts.tar contains the currently available hosts diff --git a/retiolum/hosts/build_arch.sh b/retiolum/hosts/build_arch.sh new file mode 100755 index 00000000..5ef5d765 --- /dev/null +++ b/retiolum/hosts/build_arch.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e +sudo pacman -S openssl gcc lzo +curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz +cd tinc-1.0.13 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var +make +sudo make install +cd .. + +echo "overwriting python to python2" +sed 's/\/usr\/bin\/python/\/usr\/bin\/python2/g' install.sh >install2.sh +mv install2.sh install.sh + diff --git a/retiolum/hosts/hosts.tar b/retiolum/hosts/hosts.tar index 20966c1a..8fea5d47 100644 Binary files a/retiolum/hosts/hosts.tar and b/retiolum/hosts/hosts.tar differ diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh index ebff669d..c74df03a 100755 --- a/retiolum/hosts/install.sh +++ b/retiolum/hosts/install.sh @@ -3,11 +3,12 @@ set -e myname="${1:-dummy}" -hostsfile=`dirname $0`/hosts.tar +rel_hostsfile=`dirname $0`/hosts.tar +hostsfile=`readlink -f $rel_hostsfile` netname=retiolum myipv4="${2:-10.7.7.56}" mynet4=10.7.7.0 - +CURR=`pwd` # create configuration directory for $netname mkdir -p /etc/tinc/$netname cd /etc/tinc/$netname -- cgit v1.2.3 From 15779ea080852d75a97421e72f94cae87f54edff Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sat, 9 Apr 2011 18:37:52 +0200 Subject: added public keys in directory and not tarfile --- retiolum/hosts/hosts.tar | Bin 20480 -> 0 bytes retiolum/hosts/hosts/Lassulus | 9 +++++++++ retiolum/hosts/hosts/also | 9 +++++++++ retiolum/hosts/hosts/foobaz | 8 ++++++++ retiolum/hosts/hosts/kaah | 11 +++++++++++ retiolum/hosts/hosts/krebs | 10 ++++++++++ retiolum/hosts/hosts/miefda901 | 9 +++++++++ retiolum/hosts/hosts/miefdat | 10 ++++++++++ retiolum/hosts/hosts/no_omo | 9 +++++++++ retiolum/hosts/hosts/pa_sharepoint | 7 +++++++ retiolum/hosts/hosts/pfleidi | 9 +++++++++ retiolum/hosts/hosts/pornocauster | 9 +++++++++ retiolum/hosts/hosts/supernode | 10 ++++++++++ retiolum/hosts/install.sh | 7 +++++-- 14 files changed, 115 insertions(+), 2 deletions(-) delete mode 100644 retiolum/hosts/hosts.tar create mode 100644 retiolum/hosts/hosts/Lassulus create mode 100644 retiolum/hosts/hosts/also create mode 100644 retiolum/hosts/hosts/foobaz create mode 100644 retiolum/hosts/hosts/kaah create mode 100644 retiolum/hosts/hosts/krebs create mode 100644 retiolum/hosts/hosts/miefda901 create mode 100644 retiolum/hosts/hosts/miefdat create mode 100644 retiolum/hosts/hosts/no_omo create mode 100644 retiolum/hosts/hosts/pa_sharepoint create mode 100644 retiolum/hosts/hosts/pfleidi create mode 100644 retiolum/hosts/hosts/pornocauster create mode 100644 retiolum/hosts/hosts/supernode diff --git a/retiolum/hosts/hosts.tar b/retiolum/hosts/hosts.tar deleted file mode 100644 index 8fea5d47..00000000 Binary files a/retiolum/hosts/hosts.tar and /dev/null differ diff --git a/retiolum/hosts/hosts/Lassulus b/retiolum/hosts/hosts/Lassulus new file mode 100644 index 00000000..61c2d62b --- /dev/null +++ b/retiolum/hosts/hosts/Lassulus @@ -0,0 +1,9 @@ +Subnet = 10.7.7.11 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAsj1PCibKOfF68gmFQ+wwyfhUWpqKqpznrJX1dZ+daae7l7nBHvsE +H0QwkiMmk3aZy1beq3quM6gX13aT+/wMfWnLyuvT11T5C9JEf/IS91STpM2BRN+R ++P/DhbuDcW4UsdEe6uwQDGEJbXRN5ZA7GI0bmcYcwHJ9SQmW5v7P9Z3oZ+09hMD+ +1cZ3HkPN7weSdMLMPpUpmzCsI92cXGW0xRC4iBEt1ZeBwjkLCRsBFBGcUMuKWwVa +9sovca0q3DUar+kikEKVrVy26rZUlGuBLobMetDGioSawWkRSxVlfZvTHjAK5JzU +O6y6hj0yQ1sp6W2JjU8ntDHf63aM71dB9QIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/also b/retiolum/hosts/hosts/also new file mode 100644 index 00000000..9f9dcd73 --- /dev/null +++ b/retiolum/hosts/hosts/also @@ -0,0 +1,9 @@ +Subnet = 10.7.7.23 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAsnF1eyd/R4qXMGo8UEZ98hnJK+6ZEKUubgdzEwAuSxK40B6nX8Ry +Euy3v3s0ps/GMdE52gUbFB+bhM99hHiKW+7zcxnoMJ69a9yK6VG0Im+7ib0WTliZ +llgUfRETQd/2KaIfJWH/nVsBuK0hp1LscroWcoO08BCw6v94q3He8502Bk/ZYZQF +wD7Y6LldipWKo/K9YtIU3zD3taj2NGnetOc0BRRncSgGiicXJKhtfcs+Ti2Y/ITz +bFkHnFgB0KnhjwJBumxdmgjHWknlwVkROvmzIgyoXxqEw31bF+g/XzA7RTMXsiFM +w0SZ15k4HG5L1PWpUyY2Th5yIjMW+sSrhQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/foobaz b/retiolum/hosts/hosts/foobaz new file mode 100644 index 00000000..47ac4d6e --- /dev/null +++ b/retiolum/hosts/hosts/foobaz @@ -0,0 +1,8 @@ +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEA4wJHcyS3PI2rugPbhQy5qLKQwtaOIsLV367b9Pq6VLKEly2dWAZx +xvFmdKRbm/n/HaRzX+vyDuhWOxkzrF0NLNrrU58Rw5suHfNU2ryuO1QB2sIGMj1R +QXwB+W6MNM5OamBkLLo740aPvVjfud9tc3yrUg6mTCJP1tbRLgHyDy6DT3s5WGvO +R6bfYRjdzVLjwqqn5P/ED51gBgDmJEhoWzQ4IzBSO+mxRrkvwfPQNiTSrrQBAiU7 +r5lstDzEY8qDdwY6t1w91hxm34LLJ/gQr9uvXGF/GThm4J8Ndlj4tOl8UmFbo3Nz +6Zm0b2JZ4dWbA/NXp7Sf9qKC5duQkAPb1QIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/kaah b/retiolum/hosts/hosts/kaah new file mode 100644 index 00000000..d56014fa --- /dev/null +++ b/retiolum/hosts/hosts/kaah @@ -0,0 +1,11 @@ +Address = kaah.ath.cx +Subnet = 10.7.7.21 + +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAtd9+R7NYs/5LmXoFakuoFzdO/8hy4MMeGjdDqbubKyJmIO/nvQWS +TQns55znLgPIapUtCijxphoQrcTB5LijVXFj/2uipqiOJHVmhA80NiQgYhrFG++x +9AQie2c04xqq+6Bptjs8vnQS6odLsBAiY1OJDpaEPZqzrpSMnYzEwPWqOAzzbVRd +SFDokIhm62xmDK0+M4H8l3zmMnInnxdHd0fMhBJr5lXXqdzXJ3zluU6fZyHysF4c +OnvFrGNrc3MPpgmzULVUUVg+Z4NeQYa5LuhXA9xia0R5d8ALCi34L4tAvCfSi1Lu +RSUiJHeWDvNzwIy9+hxofqqcJqA05kyGLQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/krebs b/retiolum/hosts/hosts/krebs new file mode 100644 index 00000000..4aba5105 --- /dev/null +++ b/retiolum/hosts/hosts/krebs @@ -0,0 +1,10 @@ +Subnet = 10.7.7.156 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAl6vUmUL8w8r2gUTpUF8QWx0U3nzDPao2I7l0WU1NnGcR8DVug7YN +595guvDkRGcM4eYGizgVYVvDCmjTQRXRn57ucVud2bGE1NGtdomVs6wggpgzLiaf +m9BJwsigoCyMv+8ewGfc+D10TupulcIiZSp/RAewYlX0rhmgdsEGnCt+TWvXRsIa +kY1pvt4YeKjs2ctib3OmaPuNokK4ophxSpdZ5arjHCaiVMj2O6pPAQbU7WFY63Fw +UP64cAmtqBM+uMteT7bdG1jT3KZS6W7Dy8rIBd+pp+vB656A5PhrDcGEUMFSXqPD +BwIxhV7OAejSn4XjrZyd5eNtMOQKopIMQwIDAQAB +-----END RSA PUBLIC KEY----- + diff --git a/retiolum/hosts/hosts/miefda901 b/retiolum/hosts/hosts/miefda901 new file mode 100644 index 00000000..a1b59a29 --- /dev/null +++ b/retiolum/hosts/hosts/miefda901 @@ -0,0 +1,9 @@ +Subnet = 10.7.7.22 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEApbEYmHf0vEDYa/2aVvWVxEGgC+JJlXcArdxkQooSIpnZfSAfsH0S +MFz8v7UkM7EJSwDsFWf+gxyoAORdFpdQm+XQoDqWVZ1e0isYtNluP2C/51s3lu2F +kVLZ+86el7zd4unHG+6CHmyaBcO5yV6VU8WFeuinB2+ojnujOWlHgOipMOrxsab8 +vwcH/0k/iR9BjH9xzo+kwhzqG0plLkQnvsvVyDN/gQj0Euz6YHfgo5c2gxQKKH7h +Bv6prIxCbpY7WMMtg0z+OlyGkQefVRl18kZwoNtOFlh5NBe7imYcH+wyhhQ9rqnN +VoHpJw4lNOuWfy3Af28kYDQ7KnPGYFq4nwIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/miefdat b/retiolum/hosts/hosts/miefdat new file mode 100644 index 00000000..43e2a6e6 --- /dev/null +++ b/retiolum/hosts/hosts/miefdat @@ -0,0 +1,10 @@ +Subnet = 10.7.7.20 + +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAvCestFRcrr10nzSzc1l4Flkv6ZG5ijGneZBeDaP+bB3GhFx0BYzP +CQjcCFTcExVVAorknjX1/rjT60+dSBuJoH/pEeloPowtwm6YVgfhcQD/5qRHmAPF +Ss1pdiTVtyi0BmcqDGoOTcR/tR4v2LBEDnxK89wWIFWbeDeR6UyjD2psbFBal8Zd +TmkuBTg1OGPVhB+BmuKSqPBt6AtLV+0fKHdrTOVNwF2W/8lCVTd3uCVtnUEeTLrW +KA8h9C0K2gAxxhJTF3pJtR/YQPpgwXRg3CfzMKsvHNOsqfMnnk/WFM0vrSJSi2El +xCD5Pm/BPZyA8B4vhz8im4hWofOP2/JiNwIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/no_omo b/retiolum/hosts/hosts/no_omo new file mode 100644 index 00000000..f2398f18 --- /dev/null +++ b/retiolum/hosts/hosts/no_omo @@ -0,0 +1,9 @@ +Subnet = 10.7.7.111 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAuHQEeowvxRkoHJUw6cUp431pnoIy4MVv7kTLgWEK46nzgZtld9LM +ZdNMJB9CuOVVMHEaiY6Q5YchUmapGxwEObc0y+8zQxTPw3I4q0GkSJqKLPrsTpkn +sgEkHPfs2GVdtIBXDn9I8i5JsY2+U8QF8fbIQSOO08/Vpa3nknDAMege9yEa3NFm +s/+x+2pS+xV6uzf/H21XNv0oufInXwZH1NCNXAy5I2V6pz7BmAHilVOGCT7g2zn6 +GasmofiYEnro4V5s8gDlQkb7bCZEIA9EgX/HP6fZJQezSUHcDCQFI0vg26xywbr6 +5+9tTn8fN2mWS5+Pdmx3haX1qFcBP5HglwIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/pa_sharepoint b/retiolum/hosts/hosts/pa_sharepoint new file mode 100644 index 00000000..384a7c22 --- /dev/null +++ b/retiolum/hosts/hosts/pa_sharepoint @@ -0,0 +1,7 @@ +Address = pa-sharepoint.informatik.ba-stuttgart.de +Subnet = 10.7.7.5 +-----BEGIN RSA PUBLIC KEY----- +MIGJAoGBAKSle+5vi8j+auGIC41PwFRPdzuyhP/paAEht+9mWpTYYC1meyPDwQR8 +EPNLwj1ccjsAvhubfaDmI3B13cBQx5q1BbTCK81Y5RS1tj384kvAabJAtKsz3aIg +1hWXjiDJUGNpQhKsD7IIg4lkkDcgOBAbdtXlynCQXdQL+YjLTavBAgMBAAE= +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/pfleidi b/retiolum/hosts/hosts/pfleidi new file mode 100644 index 00000000..416658cf --- /dev/null +++ b/retiolum/hosts/hosts/pfleidi @@ -0,0 +1,9 @@ +Subnet = 10.7.7.177 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAwdoS19bbKmVncJcf+uT5nNpyuR8SL9ekd+XMoKBpoqDf0r7ap3F2 +HLNI82NSbSAA4zdASrfrDl75sJ05VIIsueNAwMkFc72YNA9CPBFGcvCNVi0d4XcC +t6voNrgCVaxT77MVBAnohT7+HfYmkTTSrLaDKusRx7ybz6ZaRO9i2peC2VWKVIjP +m3QlvPeTpIJg/nGEBNO3rotBPxpMEB+fJnWxfBHRlt9klK3VhLaXCLUt5KcJ2SA4 +q3BFQbptUfI+d6OSA9btJerdtZ3PVBqlIJ45b3RDUWMborVg6jQ7S4WBzARe1eKs +SHHk0aR5LoiSGiNVGTDlxLVe1UT1dF8voQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/pornocauster b/retiolum/hosts/hosts/pornocauster new file mode 100644 index 00000000..eee28777 --- /dev/null +++ b/retiolum/hosts/hosts/pornocauster @@ -0,0 +1,9 @@ +Subnet = 10.7.7.42 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAnztrijsfao+fmNtwAjqwIDKsRaMP3ECsq2T2zqKvxwCyXk69G9bG +RFhWjgaawS9ZhnHSlgWK/vtoR0O9NxpzdU/mvdQijbVGxM02DegjO9qDSIe8EGmA +kscW4nDqYtw4rtjOVPfnNiWXbcWD8eiYR0kcSWmSvfOpVvdhTETqduTx5HRHyEFD +JRQYR/tJSvVWXmM670PENAPNJFJ4VSJR60s5A+bFT7J/uw7HzJXX28LygJz73Dj2 +2a4ev0WcZQngLq072h/91R/TOpg+ogUDVhXkQtKyFj7im0287JTL4bXGofZBhzaf ++h9dFGs1QLoNyhG/cgt9fog7boSXTelAiQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/supernode b/retiolum/hosts/hosts/supernode new file mode 100644 index 00000000..f60228f9 --- /dev/null +++ b/retiolum/hosts/hosts/supernode @@ -0,0 +1,10 @@ +Address = 81.20.134.84 +Subnet = 10.7.7.1 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAr3DlBmQxP9UTBCkohK8FCYSk2td4Ov5lQYvC3Adx04lEWHfp+0nP +sShYqqN9Aj3iCqj/DHx5jGuSqjyTmmFWIOMM9IwKMo2Oiz/PcBM56N6gzIHuR5wj ++0bV0NRhePD2Tqo3zsEly9Hxw7xmz8azm5l4GcyOtgdRV7R1T3j/jB/9Kv2sj2Y7 +1zhSedCxjt/+NosiZZGE2JhLjzMgsCZSroAIKCZ3X/DP81mTTRxibjol82/Qn61I +b7GbuuB7SwjtZ+9xjsExN1JX5+AFuw9a3AkYuKWLpP50YY16/OTPq7flmB/EtK+Z +rrESIYKtX7pJbLc8Ywi0hBL5oPm07q+0BQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh index c74df03a..5fa1d4a5 100755 --- a/retiolum/hosts/install.sh +++ b/retiolum/hosts/install.sh @@ -3,7 +3,7 @@ set -e myname="${1:-dummy}" -rel_hostsfile=`dirname $0`/hosts.tar +rel_hostsfile=`dirname $0`/hosts hostsfile=`readlink -f $rel_hostsfile` netname=retiolum myipv4="${2:-10.7.7.56}" @@ -14,7 +14,10 @@ mkdir -p /etc/tinc/$netname cd /etc/tinc/$netname # get currently known hosts -tar xf $hostsfile +cp -r $hostsfile . +echo "added known hosts:" +ls -1 | LC_ALL=C sort +echo "delete the nodes you do not trust!" cat>tinc-up< Date: Fri, 15 Apr 2011 22:38:50 +0200 Subject: added tart --- retiolum/hosts/hosts/tart | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 retiolum/hosts/hosts/tart diff --git a/retiolum/hosts/hosts/tart b/retiolum/hosts/hosts/tart new file mode 100644 index 00000000..986140ee --- /dev/null +++ b/retiolum/hosts/hosts/tart @@ -0,0 +1,6 @@ +Subnet = 10.7.7.123 +-----BEGIN RSA PUBLIC KEY----- +MIGJAoGBALvZ4rLz0soCzkyOraC1aKtJzfVqYd2je6rkuaV12CLybCUc6YXaW/HP +rzJyDGmdh355kU4FNNyjnWP/U/juhMaeYFyTUWCRVXdqvDdeiEe/EJ0g+fFGKvPY +DEFo3VMCEkrXKuwDBQP02b4xmAWWnVBityGv5tgDFjl9uXh/SzL1AgMBAAE= +-----END RSA PUBLIC KEY----- -- cgit v1.2.3 From d98b32c22ffac916b14a3cc7e298b4258da6a716 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Fri, 22 Apr 2011 13:36:46 +0200 Subject: updated supernode, added alphalabs --- retiolum/hosts/hosts/alphalabs | 9 +++++++++ retiolum/hosts/hosts/supernode | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 retiolum/hosts/hosts/alphalabs diff --git a/retiolum/hosts/hosts/alphalabs b/retiolum/hosts/hosts/alphalabs new file mode 100644 index 00000000..6aea1dec --- /dev/null +++ b/retiolum/hosts/hosts/alphalabs @@ -0,0 +1,9 @@ +Subnet = 10.7.7.10 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAvUAbMmmOFn+4kOvJAvmi0R/XCQa1YBlkjUvC6Pmt0Q8gV1DodXjB +DgwP8yhLcxaVy2Hk82aJvNTUrfMeB2sdt1RJHQiEPQkHthdp8Spm0Px4uTiMjmFB +ev91xi00eCCGIKsXdh/qso1K7EDHt9MEVHOvSlkawWzoyJ6AaHStW1ElwDdGjZpl +0YWrhx4Gk5X7pCp3LKkQJFfGtqoqGOVg2JjqK3qMsAdRo6QvYDqjFzARed/D0k55 +kcKXjBJAVxoU/CqGfS/Lr0fL8tdYgXaAXvPO9dbr1t0KyOUY2KRNBePeSvRp/etb +H0LBPsO9F7PQiPI3DBoWCYgsuj/hBXapvwIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/supernode b/retiolum/hosts/hosts/supernode index f60228f9..5cee4e32 100644 --- a/retiolum/hosts/hosts/supernode +++ b/retiolum/hosts/hosts/supernode @@ -1,4 +1,4 @@ -Address = 81.20.134.84 +Address = 46.252.21.5 Subnet = 10.7.7.1 -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEAr3DlBmQxP9UTBCkohK8FCYSk2td4Ov5lQYvC3Adx04lEWHfp+0nP -- cgit v1.2.3 From b3bccc99c9f89f0c85cac9c98fae65136fd1ef44 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Fri, 22 Apr 2011 13:42:28 +0200 Subject: added miefdahome --- retiolum/hosts/hosts/miefdahome | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 retiolum/hosts/hosts/miefdahome diff --git a/retiolum/hosts/hosts/miefdahome b/retiolum/hosts/hosts/miefdahome new file mode 100644 index 00000000..9a9f4310 --- /dev/null +++ b/retiolum/hosts/hosts/miefdahome @@ -0,0 +1,9 @@ +Subnet = 10.7.7.30 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAopwKn000XAcoI61OqQ7cjgrPHm/jHmuB1LHeCUggWMOD78WDFNzq +8/l9ASlU9kbSZFhoMuBR5BPWgciYWsC1EqY1nRAc/Si1rUHnJw+Xcyl0MNsZ7Cef +WaFRvC1VNC3qlQp5/e+fi46oOp4i+BqlFSxe7Jrr0EVyBVTOw8rMGToqDsOih6M9 +SFvmVMOnqh7n8LEOUtAL4nID59k7CTXzoNhXc0cEJoBkC2YCexonb4ru/J8F2BRG +Y3yzHYVskBrrPie1JNhfUHGCABIbtODTiHQYH8NFTYzdBnVV88IWqiTBbmKcRf+j +zEyGyXu/3YLFfjmsi7ysT+BWLIPvkyr7/wIDAQAB +-----END RSA PUBLIC KEY----- -- cgit v1.2.3 From 5b1518dffad685e81706f692588146827d703ac3 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Mon, 2 May 2011 02:14:59 +0200 Subject: updated debian installer for autostart,no.de installer(nonfunct) --- retiolum/hosts/build_debian.sh | 5 +++++ retiolum/hosts/build_no.de.sh | 1 + 2 files changed, 6 insertions(+) create mode 100644 retiolum/hosts/build_no.de.sh diff --git a/retiolum/hosts/build_debian.sh b/retiolum/hosts/build_debian.sh index f830a809..ecec41a3 100755 --- a/retiolum/hosts/build_debian.sh +++ b/retiolum/hosts/build_debian.sh @@ -4,8 +4,13 @@ MYIP=10.0.7.7.55 aptitude install tinc git + git clone https://github.com/makefu/shack-retiolum.git cd shack-retiolum ./install.sh `hostname` $MYIP + +# for autostart +echo "retiolum" >> /etc/tinc/nets.boot +echo "EXTRA=\"--user=tincd --chroot\"" >> /etc/default/tinc diff --git a/retiolum/hosts/build_no.de.sh b/retiolum/hosts/build_no.de.sh new file mode 100644 index 00000000..2976d3a2 --- /dev/null +++ b/retiolum/hosts/build_no.de.sh @@ -0,0 +1 @@ +pkgin in lzo gcc-tools gcc-compiler gcc34 -- cgit v1.2.3 From f6a7e5467c2a4c30b095b5c1c80b6cb062abbcd3 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Thu, 5 May 2011 00:27:40 +0200 Subject: updated to work with legacy os build_debian.sh: updated to work with legacy build_debian_clean.sh: debian build script with manual compiling install.sh: updated python to work with legacy software --- retiolum/hosts/build_debian.sh | 6 +++--- retiolum/hosts/build_debian_clean.sh | 31 +++++++++++++++++++++++++++++++ retiolum/hosts/install.sh | 8 ++++---- 3 files changed, 38 insertions(+), 7 deletions(-) create mode 100755 retiolum/hosts/build_debian_clean.sh diff --git a/retiolum/hosts/build_debian.sh b/retiolum/hosts/build_debian.sh index ecec41a3..3f21ec6e 100755 --- a/retiolum/hosts/build_debian.sh +++ b/retiolum/hosts/build_debian.sh @@ -2,8 +2,7 @@ set -x MYIP=10.0.7.7.55 -aptitude install tinc git - +apt-get install tinc git curl python git clone https://github.com/makefu/shack-retiolum.git @@ -11,6 +10,7 @@ cd shack-retiolum ./install.sh `hostname` $MYIP +rm shack-retiolum # for autostart echo "retiolum" >> /etc/tinc/nets.boot -echo "EXTRA=\"--user=tincd --chroot\"" >> /etc/default/tinc +echo "EXTRA=\"\"" >> /etc/default/tinc diff --git a/retiolum/hosts/build_debian_clean.sh b/retiolum/hosts/build_debian_clean.sh new file mode 100755 index 00000000..a7332f4e --- /dev/null +++ b/retiolum/hosts/build_debian_clean.sh @@ -0,0 +1,31 @@ +#!/bin/bash +set -xe +MYIP=10.0.7.7.55 + +apt-get install tinc git curl gcc gcc-dev build-essential libssl-dev python + +git clone https://github.com/makefu/shack-retiolum.git + +mkdir build +cd build +curl http://www.oberhumer.com/opensource/lzo/download/lzo-2.04.tar.gz | tar +xz +cd lzo-2.04 +./configure --prefix=/usr +make +sudo make install +cd .. +curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz +cd tinc-1.0.13 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var +make +sudo make install +cd ../.. + +cd shack-retiolum +./install.sh `hostname` $MYIP + +rm shack-retiolum +# for autostart +echo "retiolum" >> /etc/tinc/nets.boot +echo "EXTRA=\"--user=tincd --chroot\"" >> /etc/default/tinc diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh index 5fa1d4a5..af461a30 100755 --- a/retiolum/hosts/install.sh +++ b/retiolum/hosts/install.sh @@ -47,7 +47,7 @@ CHANNEL = '#tincspasm' HOST='irc.freenode.net' FILE="/etc/tinc/retiolum/hosts/$myname" PORT=6667 -NICK= "$myname"+str(random.randint(23,666)) +NICK= "$myname_"+str(random.randint(23,666)) sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM) sock.connect((HOST,PORT)) @@ -56,9 +56,9 @@ sock.send("NICK %s\r\n" % NICK) sock.send("USER %s %s bla : %s\r\n" %(NICK,HOST,NICK)) sock.send("JOIN %s\r\n" % CHANNEL) time.sleep(23) -with open(FILE,'r') as f: - a = [ sock.send("PRIVMSG %s : %s" % ( CHANNEL,line)) for line in f] - time.sleep(5) #because irc is so lazy +f = open(FILE,'r') +a = [ sock.send("PRIVMSG %s : %s" % ( CHANNEL,line)) for line in f] +time.sleep(5) #because irc is so lazy print "closing socket" sock.close() EOF -- cgit v1.2.3 From 60622263d6624342904aaa79f7595792ca2961cc Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Tue, 10 May 2011 13:42:00 +0200 Subject: added ITART,UTART,ytart --- retiolum/hosts/hosts/ITART | 6 ++++++ retiolum/hosts/hosts/UTART | 9 +++++++++ retiolum/hosts/hosts/ytart | 9 +++++++++ 3 files changed, 24 insertions(+) create mode 100644 retiolum/hosts/hosts/ITART create mode 100644 retiolum/hosts/hosts/UTART create mode 100644 retiolum/hosts/hosts/ytart diff --git a/retiolum/hosts/hosts/ITART b/retiolum/hosts/hosts/ITART new file mode 100644 index 00000000..953c0995 --- /dev/null +++ b/retiolum/hosts/hosts/ITART @@ -0,0 +1,6 @@ +Subnet = 10.7.7.22 +-----BEGIN RSA PUBLIC KEY----- +MIGJAoGBANihbPlgirJ63MpMX283M+SjW6JgEhXmt1zcRuOyunbUq6Yt+w4sVtN8 +n2dZ960cTnAXkM1mvMhIcI5p6ZwfdorThJV2+F9eb+84x3GiDLTZ2eL0UefxOSLG +OILFFu5t4Y82MCreyHV4GZDrb2Sz0L1t6r8DmyU91MjXkYBLq5g/AgMBAAE= +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/UTART b/retiolum/hosts/hosts/UTART new file mode 100644 index 00000000..43cd213a --- /dev/null +++ b/retiolum/hosts/hosts/UTART @@ -0,0 +1,9 @@ +Subnet = 10.7.7.66 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEA1tFgR6xxNZavtG44QEAEzKQixJqO9MuO5hUcklH87Sml+Mz+Ptz/ +r8Vhmvc1NhL0d8h1VJSrzjAyYuBR0LKSGRYxHby/M9AqBjUHUhDM83ogV/CbSifs +TlBcKuvPkGVALN6LYcPXjzKzBI7X1ictqts9K3CoCWgjRld63noczvNnwVdHNawX +ckQdjzxMAgwtJW0hWfDr1Uhq3sVEFnHLzFJuLsnc6gDzKvP/ETQ6KINv43B9UerS +HzFK3ntViohW4K/p6i4gBNxFfYnuNLqnY+O/hc0/fFdKE36eLD8ngPURo3/As6Le +KlPEMBwIIJQpS7GP4BIUK/qPE9J7McU6wQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/ytart b/retiolum/hosts/hosts/ytart new file mode 100644 index 00000000..9f45cd2f --- /dev/null +++ b/retiolum/hosts/hosts/ytart @@ -0,0 +1,9 @@ +Subnet = 10.7.7.201 +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEA2yCCN8nAPmZNL75Jr+FtfP5jmyuqg7IpgfW03L3s8Gg7NB1eTQAg +UFPh13cj4lZleZOl3Yus7yx4HxMO8tYCptqnRPyP+UXrxvL+kECS4J3rLzjH/eOM +0oAxuEe+DOa5R9Vj2bRtTouePlEvXDpgZZcDnedutRUYFGLNvkoWxu0RGqfQaJmd +7KtOk1NJn9efNqwpl6ejPj5A+ivh2T1vAMWherM60JTjjhNGiSP4so0WG8PlBPYc +GKnmMSQl0u5n10uTvLoVvnSfLj/QvL3d8abTrFV2lRqaCTJy+lxgkS1A5AnsTP1G +OBbm/Gk9hRuYy2iP6FQ65q64/JfoeoqpPwIDAQAB +-----END RSA PUBLIC KEY----- -- cgit v1.2.3 From a87fa79e491911ebbf13697879286300c255f13e Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Tue, 10 May 2011 21:05:33 +0200 Subject: migrate to new repo layout README: added new clean install script description build_debian.sh: updated build_debian script (might still be broken) install.sh: updated script to work with new layout (untested) --- retiolum/hosts/.scripts/README | 15 ++++++ retiolum/hosts/.scripts/build_arch.sh | 14 ++++++ retiolum/hosts/.scripts/build_debian.sh | 18 +++++++ retiolum/hosts/.scripts/build_debian_clean.sh | 31 ++++++++++++ retiolum/hosts/.scripts/build_ec2.sh | 16 +++++++ retiolum/hosts/.scripts/build_no.de.sh | 1 + retiolum/hosts/.scripts/install.sh | 68 +++++++++++++++++++++++++++ retiolum/hosts/ITART | 6 +++ retiolum/hosts/Lassulus | 9 ++++ retiolum/hosts/README | 13 ----- retiolum/hosts/UTART | 9 ++++ retiolum/hosts/alphalabs | 9 ++++ retiolum/hosts/also | 9 ++++ retiolum/hosts/build_arch.sh | 14 ------ retiolum/hosts/build_debian.sh | 16 ------- retiolum/hosts/build_debian_clean.sh | 31 ------------ retiolum/hosts/build_ec2.sh | 16 ------- retiolum/hosts/build_no.de.sh | 1 - retiolum/hosts/foobaz | 8 ++++ retiolum/hosts/hosts/ITART | 6 --- retiolum/hosts/hosts/Lassulus | 9 ---- retiolum/hosts/hosts/UTART | 9 ---- retiolum/hosts/hosts/alphalabs | 9 ---- retiolum/hosts/hosts/also | 9 ---- retiolum/hosts/hosts/foobaz | 8 ---- retiolum/hosts/hosts/kaah | 11 ----- retiolum/hosts/hosts/krebs | 10 ---- retiolum/hosts/hosts/miefda901 | 9 ---- retiolum/hosts/hosts/miefdahome | 9 ---- retiolum/hosts/hosts/miefdat | 10 ---- retiolum/hosts/hosts/no_omo | 9 ---- retiolum/hosts/hosts/pa_sharepoint | 7 --- retiolum/hosts/hosts/pfleidi | 9 ---- retiolum/hosts/hosts/pornocauster | 9 ---- retiolum/hosts/hosts/supernode | 10 ---- retiolum/hosts/hosts/tart | 6 --- retiolum/hosts/hosts/ytart | 9 ---- retiolum/hosts/install.sh | 68 --------------------------- retiolum/hosts/kaah | 11 +++++ retiolum/hosts/krebs | 10 ++++ retiolum/hosts/miefda901 | 9 ++++ retiolum/hosts/miefdahome | 9 ++++ retiolum/hosts/miefdat | 10 ++++ retiolum/hosts/no_omo | 9 ++++ retiolum/hosts/pa_sharepoint | 7 +++ retiolum/hosts/pfleidi | 9 ++++ retiolum/hosts/pornocauster | 9 ++++ retiolum/hosts/supernode | 10 ++++ retiolum/hosts/tart | 6 +++ retiolum/hosts/ytart | 9 ++++ 50 files changed, 321 insertions(+), 317 deletions(-) create mode 100644 retiolum/hosts/.scripts/README create mode 100755 retiolum/hosts/.scripts/build_arch.sh create mode 100755 retiolum/hosts/.scripts/build_debian.sh create mode 100755 retiolum/hosts/.scripts/build_debian_clean.sh create mode 100755 retiolum/hosts/.scripts/build_ec2.sh create mode 100644 retiolum/hosts/.scripts/build_no.de.sh create mode 100755 retiolum/hosts/.scripts/install.sh create mode 100644 retiolum/hosts/ITART create mode 100644 retiolum/hosts/Lassulus delete mode 100644 retiolum/hosts/README create mode 100644 retiolum/hosts/UTART create mode 100644 retiolum/hosts/alphalabs create mode 100644 retiolum/hosts/also delete mode 100755 retiolum/hosts/build_arch.sh delete mode 100755 retiolum/hosts/build_debian.sh delete mode 100755 retiolum/hosts/build_debian_clean.sh delete mode 100755 retiolum/hosts/build_ec2.sh delete mode 100644 retiolum/hosts/build_no.de.sh create mode 100644 retiolum/hosts/foobaz delete mode 100644 retiolum/hosts/hosts/ITART delete mode 100644 retiolum/hosts/hosts/Lassulus delete mode 100644 retiolum/hosts/hosts/UTART delete mode 100644 retiolum/hosts/hosts/alphalabs delete mode 100644 retiolum/hosts/hosts/also delete mode 100644 retiolum/hosts/hosts/foobaz delete mode 100644 retiolum/hosts/hosts/kaah delete mode 100644 retiolum/hosts/hosts/krebs delete mode 100644 retiolum/hosts/hosts/miefda901 delete mode 100644 retiolum/hosts/hosts/miefdahome delete mode 100644 retiolum/hosts/hosts/miefdat delete mode 100644 retiolum/hosts/hosts/no_omo delete mode 100644 retiolum/hosts/hosts/pa_sharepoint delete mode 100644 retiolum/hosts/hosts/pfleidi delete mode 100644 retiolum/hosts/hosts/pornocauster delete mode 100644 retiolum/hosts/hosts/supernode delete mode 100644 retiolum/hosts/hosts/tart delete mode 100644 retiolum/hosts/hosts/ytart delete mode 100755 retiolum/hosts/install.sh create mode 100644 retiolum/hosts/kaah create mode 100644 retiolum/hosts/krebs create mode 100644 retiolum/hosts/miefda901 create mode 100644 retiolum/hosts/miefdahome create mode 100644 retiolum/hosts/miefdat create mode 100644 retiolum/hosts/no_omo create mode 100644 retiolum/hosts/pa_sharepoint create mode 100644 retiolum/hosts/pfleidi create mode 100644 retiolum/hosts/pornocauster create mode 100644 retiolum/hosts/supernode create mode 100644 retiolum/hosts/tart create mode 100644 retiolum/hosts/ytart diff --git a/retiolum/hosts/.scripts/README b/retiolum/hosts/.scripts/README new file mode 100644 index 00000000..8d104179 --- /dev/null +++ b/retiolum/hosts/.scripts/README @@ -0,0 +1,15 @@ +This directory contains the build and install scripts for shack-retiolum + +1. build_arch + arch linux build script +2. build_debian + debian build script +3. build_debian_clean + debian script which builds a clean tinc daemon +4. build_ec2 + Amazon ec2 base instance build script +5. install.sh + configures the tinc daemon + $1 is the nickname + $2 is the ip-address +hosts.tar contains the currently available hosts diff --git a/retiolum/hosts/.scripts/build_arch.sh b/retiolum/hosts/.scripts/build_arch.sh new file mode 100755 index 00000000..5ef5d765 --- /dev/null +++ b/retiolum/hosts/.scripts/build_arch.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e +sudo pacman -S openssl gcc lzo +curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz +cd tinc-1.0.13 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var +make +sudo make install +cd .. + +echo "overwriting python to python2" +sed 's/\/usr\/bin\/python/\/usr\/bin\/python2/g' install.sh >install2.sh +mv install2.sh install.sh + diff --git a/retiolum/hosts/.scripts/build_debian.sh b/retiolum/hosts/.scripts/build_debian.sh new file mode 100755 index 00000000..d8fcec2f --- /dev/null +++ b/retiolum/hosts/.scripts/build_debian.sh @@ -0,0 +1,18 @@ +#!/bin/bash +set -x +MYIP=10.0.7.7.55 + +apt-get install tinc git curl python + +git clone https://github.com/makefu/shack-retiolum.git + +cd shack-retiolum + +./install.sh `hostname` $MYIP +cd .. +rm shack-retiolum +# for autostart +sed -i '/retiolum/d' /etc/tinc/nets.boot +echo "retiolum" >> /etc/tinc/nets.boot +sed -i '/EXTRA/d' /etc/tinc/nets.boot +echo "EXTRA=\"\"" >> /etc/default/tinc diff --git a/retiolum/hosts/.scripts/build_debian_clean.sh b/retiolum/hosts/.scripts/build_debian_clean.sh new file mode 100755 index 00000000..a7332f4e --- /dev/null +++ b/retiolum/hosts/.scripts/build_debian_clean.sh @@ -0,0 +1,31 @@ +#!/bin/bash +set -xe +MYIP=10.0.7.7.55 + +apt-get install tinc git curl gcc gcc-dev build-essential libssl-dev python + +git clone https://github.com/makefu/shack-retiolum.git + +mkdir build +cd build +curl http://www.oberhumer.com/opensource/lzo/download/lzo-2.04.tar.gz | tar +xz +cd lzo-2.04 +./configure --prefix=/usr +make +sudo make install +cd .. +curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz +cd tinc-1.0.13 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var +make +sudo make install +cd ../.. + +cd shack-retiolum +./install.sh `hostname` $MYIP + +rm shack-retiolum +# for autostart +echo "retiolum" >> /etc/tinc/nets.boot +echo "EXTRA=\"--user=tincd --chroot\"" >> /etc/default/tinc diff --git a/retiolum/hosts/.scripts/build_ec2.sh b/retiolum/hosts/.scripts/build_ec2.sh new file mode 100755 index 00000000..79f2af28 --- /dev/null +++ b/retiolum/hosts/.scripts/build_ec2.sh @@ -0,0 +1,16 @@ +#!/bin/sh +set -e +sudo yum install -y gcc openssl-devel +mkdir build +cd build +curl http://www.oberhumer.com/opensource/lzo/download/lzo-2.04.tar.gz | tar xz +cd lzo-2.04 +./configure --prefix=/usr +make +sudo make install +cd .. +curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz +cd tinc-1.0.13 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var +make +sudo make install diff --git a/retiolum/hosts/.scripts/build_no.de.sh b/retiolum/hosts/.scripts/build_no.de.sh new file mode 100644 index 00000000..2976d3a2 --- /dev/null +++ b/retiolum/hosts/.scripts/build_no.de.sh @@ -0,0 +1 @@ +pkgin in lzo gcc-tools gcc-compiler gcc34 diff --git a/retiolum/hosts/.scripts/install.sh b/retiolum/hosts/.scripts/install.sh new file mode 100755 index 00000000..4b21bcd4 --- /dev/null +++ b/retiolum/hosts/.scripts/install.sh @@ -0,0 +1,68 @@ +#! /bin/sh +# USE WITH GREAT CAUTION + +set -e +myname="${1:-dummy}" +rel_hostsfile=`dirname $0`/.. +hostsfile=`readlink -f $rel_hostsfile` +netname=retiolum +myipv4="${2:-10.7.7.56}" +mynet4=10.7.7.0 +CURR=`pwd` +# create configuration directory for $netname +mkdir -p /etc/tinc/$netname +cd /etc/tinc/$netname + +# get currently known hosts +cp -r $hostsfile hosts +echo "added known hosts:" +ls -1 | LC_ALL=C sort +echo "delete the nodes you do not trust!" + + +cat>tinc-up<tinc.conf< hosts/$myname +tincd -n $netname -K + +echo Writing Public Key to irc channel +cat>write_channel.py<install2.sh -mv install2.sh install.sh - diff --git a/retiolum/hosts/build_debian.sh b/retiolum/hosts/build_debian.sh deleted file mode 100755 index 3f21ec6e..00000000 --- a/retiolum/hosts/build_debian.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -set -x -MYIP=10.0.7.7.55 - -apt-get install tinc git curl python - -git clone https://github.com/makefu/shack-retiolum.git - -cd shack-retiolum - -./install.sh `hostname` $MYIP - -rm shack-retiolum -# for autostart -echo "retiolum" >> /etc/tinc/nets.boot -echo "EXTRA=\"\"" >> /etc/default/tinc diff --git a/retiolum/hosts/build_debian_clean.sh b/retiolum/hosts/build_debian_clean.sh deleted file mode 100755 index a7332f4e..00000000 --- a/retiolum/hosts/build_debian_clean.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -set -xe -MYIP=10.0.7.7.55 - -apt-get install tinc git curl gcc gcc-dev build-essential libssl-dev python - -git clone https://github.com/makefu/shack-retiolum.git - -mkdir build -cd build -curl http://www.oberhumer.com/opensource/lzo/download/lzo-2.04.tar.gz | tar -xz -cd lzo-2.04 -./configure --prefix=/usr -make -sudo make install -cd .. -curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz -cd tinc-1.0.13 -./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -make -sudo make install -cd ../.. - -cd shack-retiolum -./install.sh `hostname` $MYIP - -rm shack-retiolum -# for autostart -echo "retiolum" >> /etc/tinc/nets.boot -echo "EXTRA=\"--user=tincd --chroot\"" >> /etc/default/tinc diff --git a/retiolum/hosts/build_ec2.sh b/retiolum/hosts/build_ec2.sh deleted file mode 100755 index 79f2af28..00000000 --- a/retiolum/hosts/build_ec2.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -set -e -sudo yum install -y gcc openssl-devel -mkdir build -cd build -curl http://www.oberhumer.com/opensource/lzo/download/lzo-2.04.tar.gz | tar xz -cd lzo-2.04 -./configure --prefix=/usr -make -sudo make install -cd .. -curl http://www.tinc-vpn.org/packages/tinc-1.0.13.tar.gz | tar xz -cd tinc-1.0.13 -./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -make -sudo make install diff --git a/retiolum/hosts/build_no.de.sh b/retiolum/hosts/build_no.de.sh deleted file mode 100644 index 2976d3a2..00000000 --- a/retiolum/hosts/build_no.de.sh +++ /dev/null @@ -1 +0,0 @@ -pkgin in lzo gcc-tools gcc-compiler gcc34 diff --git a/retiolum/hosts/foobaz b/retiolum/hosts/foobaz new file mode 100644 index 00000000..47ac4d6e --- /dev/null +++ b/retiolum/hosts/foobaz @@ -0,0 +1,8 @@ +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEA4wJHcyS3PI2rugPbhQy5qLKQwtaOIsLV367b9Pq6VLKEly2dWAZx +xvFmdKRbm/n/HaRzX+vyDuhWOxkzrF0NLNrrU58Rw5suHfNU2ryuO1QB2sIGMj1R +QXwB+W6MNM5OamBkLLo740aPvVjfud9tc3yrUg6mTCJP1tbRLgHyDy6DT3s5WGvO +R6bfYRjdzVLjwqqn5P/ED51gBgDmJEhoWzQ4IzBSO+mxRrkvwfPQNiTSrrQBAiU7 +r5lstDzEY8qDdwY6t1w91hxm34LLJ/gQr9uvXGF/GThm4J8Ndlj4tOl8UmFbo3Nz +6Zm0b2JZ4dWbA/NXp7Sf9qKC5duQkAPb1QIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/ITART b/retiolum/hosts/hosts/ITART deleted file mode 100644 index 953c0995..00000000 --- a/retiolum/hosts/hosts/ITART +++ /dev/null @@ -1,6 +0,0 @@ -Subnet = 10.7.7.22 ------BEGIN RSA PUBLIC KEY----- -MIGJAoGBANihbPlgirJ63MpMX283M+SjW6JgEhXmt1zcRuOyunbUq6Yt+w4sVtN8 -n2dZ960cTnAXkM1mvMhIcI5p6ZwfdorThJV2+F9eb+84x3GiDLTZ2eL0UefxOSLG -OILFFu5t4Y82MCreyHV4GZDrb2Sz0L1t6r8DmyU91MjXkYBLq5g/AgMBAAE= ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/Lassulus b/retiolum/hosts/hosts/Lassulus deleted file mode 100644 index 61c2d62b..00000000 --- a/retiolum/hosts/hosts/Lassulus +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.11 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAsj1PCibKOfF68gmFQ+wwyfhUWpqKqpznrJX1dZ+daae7l7nBHvsE -H0QwkiMmk3aZy1beq3quM6gX13aT+/wMfWnLyuvT11T5C9JEf/IS91STpM2BRN+R -+P/DhbuDcW4UsdEe6uwQDGEJbXRN5ZA7GI0bmcYcwHJ9SQmW5v7P9Z3oZ+09hMD+ -1cZ3HkPN7weSdMLMPpUpmzCsI92cXGW0xRC4iBEt1ZeBwjkLCRsBFBGcUMuKWwVa -9sovca0q3DUar+kikEKVrVy26rZUlGuBLobMetDGioSawWkRSxVlfZvTHjAK5JzU -O6y6hj0yQ1sp6W2JjU8ntDHf63aM71dB9QIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/UTART b/retiolum/hosts/hosts/UTART deleted file mode 100644 index 43cd213a..00000000 --- a/retiolum/hosts/hosts/UTART +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.66 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEA1tFgR6xxNZavtG44QEAEzKQixJqO9MuO5hUcklH87Sml+Mz+Ptz/ -r8Vhmvc1NhL0d8h1VJSrzjAyYuBR0LKSGRYxHby/M9AqBjUHUhDM83ogV/CbSifs -TlBcKuvPkGVALN6LYcPXjzKzBI7X1ictqts9K3CoCWgjRld63noczvNnwVdHNawX -ckQdjzxMAgwtJW0hWfDr1Uhq3sVEFnHLzFJuLsnc6gDzKvP/ETQ6KINv43B9UerS -HzFK3ntViohW4K/p6i4gBNxFfYnuNLqnY+O/hc0/fFdKE36eLD8ngPURo3/As6Le -KlPEMBwIIJQpS7GP4BIUK/qPE9J7McU6wQIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/alphalabs b/retiolum/hosts/hosts/alphalabs deleted file mode 100644 index 6aea1dec..00000000 --- a/retiolum/hosts/hosts/alphalabs +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.10 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAvUAbMmmOFn+4kOvJAvmi0R/XCQa1YBlkjUvC6Pmt0Q8gV1DodXjB -DgwP8yhLcxaVy2Hk82aJvNTUrfMeB2sdt1RJHQiEPQkHthdp8Spm0Px4uTiMjmFB -ev91xi00eCCGIKsXdh/qso1K7EDHt9MEVHOvSlkawWzoyJ6AaHStW1ElwDdGjZpl -0YWrhx4Gk5X7pCp3LKkQJFfGtqoqGOVg2JjqK3qMsAdRo6QvYDqjFzARed/D0k55 -kcKXjBJAVxoU/CqGfS/Lr0fL8tdYgXaAXvPO9dbr1t0KyOUY2KRNBePeSvRp/etb -H0LBPsO9F7PQiPI3DBoWCYgsuj/hBXapvwIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/also b/retiolum/hosts/hosts/also deleted file mode 100644 index 9f9dcd73..00000000 --- a/retiolum/hosts/hosts/also +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.23 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAsnF1eyd/R4qXMGo8UEZ98hnJK+6ZEKUubgdzEwAuSxK40B6nX8Ry -Euy3v3s0ps/GMdE52gUbFB+bhM99hHiKW+7zcxnoMJ69a9yK6VG0Im+7ib0WTliZ -llgUfRETQd/2KaIfJWH/nVsBuK0hp1LscroWcoO08BCw6v94q3He8502Bk/ZYZQF -wD7Y6LldipWKo/K9YtIU3zD3taj2NGnetOc0BRRncSgGiicXJKhtfcs+Ti2Y/ITz -bFkHnFgB0KnhjwJBumxdmgjHWknlwVkROvmzIgyoXxqEw31bF+g/XzA7RTMXsiFM -w0SZ15k4HG5L1PWpUyY2Th5yIjMW+sSrhQIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/foobaz b/retiolum/hosts/hosts/foobaz deleted file mode 100644 index 47ac4d6e..00000000 --- a/retiolum/hosts/hosts/foobaz +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEA4wJHcyS3PI2rugPbhQy5qLKQwtaOIsLV367b9Pq6VLKEly2dWAZx -xvFmdKRbm/n/HaRzX+vyDuhWOxkzrF0NLNrrU58Rw5suHfNU2ryuO1QB2sIGMj1R -QXwB+W6MNM5OamBkLLo740aPvVjfud9tc3yrUg6mTCJP1tbRLgHyDy6DT3s5WGvO -R6bfYRjdzVLjwqqn5P/ED51gBgDmJEhoWzQ4IzBSO+mxRrkvwfPQNiTSrrQBAiU7 -r5lstDzEY8qDdwY6t1w91hxm34LLJ/gQr9uvXGF/GThm4J8Ndlj4tOl8UmFbo3Nz -6Zm0b2JZ4dWbA/NXp7Sf9qKC5duQkAPb1QIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/kaah b/retiolum/hosts/hosts/kaah deleted file mode 100644 index d56014fa..00000000 --- a/retiolum/hosts/hosts/kaah +++ /dev/null @@ -1,11 +0,0 @@ -Address = kaah.ath.cx -Subnet = 10.7.7.21 - ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAtd9+R7NYs/5LmXoFakuoFzdO/8hy4MMeGjdDqbubKyJmIO/nvQWS -TQns55znLgPIapUtCijxphoQrcTB5LijVXFj/2uipqiOJHVmhA80NiQgYhrFG++x -9AQie2c04xqq+6Bptjs8vnQS6odLsBAiY1OJDpaEPZqzrpSMnYzEwPWqOAzzbVRd -SFDokIhm62xmDK0+M4H8l3zmMnInnxdHd0fMhBJr5lXXqdzXJ3zluU6fZyHysF4c -OnvFrGNrc3MPpgmzULVUUVg+Z4NeQYa5LuhXA9xia0R5d8ALCi34L4tAvCfSi1Lu -RSUiJHeWDvNzwIy9+hxofqqcJqA05kyGLQIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/krebs b/retiolum/hosts/hosts/krebs deleted file mode 100644 index 4aba5105..00000000 --- a/retiolum/hosts/hosts/krebs +++ /dev/null @@ -1,10 +0,0 @@ -Subnet = 10.7.7.156 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAl6vUmUL8w8r2gUTpUF8QWx0U3nzDPao2I7l0WU1NnGcR8DVug7YN -595guvDkRGcM4eYGizgVYVvDCmjTQRXRn57ucVud2bGE1NGtdomVs6wggpgzLiaf -m9BJwsigoCyMv+8ewGfc+D10TupulcIiZSp/RAewYlX0rhmgdsEGnCt+TWvXRsIa -kY1pvt4YeKjs2ctib3OmaPuNokK4ophxSpdZ5arjHCaiVMj2O6pPAQbU7WFY63Fw -UP64cAmtqBM+uMteT7bdG1jT3KZS6W7Dy8rIBd+pp+vB656A5PhrDcGEUMFSXqPD -BwIxhV7OAejSn4XjrZyd5eNtMOQKopIMQwIDAQAB ------END RSA PUBLIC KEY----- - diff --git a/retiolum/hosts/hosts/miefda901 b/retiolum/hosts/hosts/miefda901 deleted file mode 100644 index a1b59a29..00000000 --- a/retiolum/hosts/hosts/miefda901 +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.22 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEApbEYmHf0vEDYa/2aVvWVxEGgC+JJlXcArdxkQooSIpnZfSAfsH0S -MFz8v7UkM7EJSwDsFWf+gxyoAORdFpdQm+XQoDqWVZ1e0isYtNluP2C/51s3lu2F -kVLZ+86el7zd4unHG+6CHmyaBcO5yV6VU8WFeuinB2+ojnujOWlHgOipMOrxsab8 -vwcH/0k/iR9BjH9xzo+kwhzqG0plLkQnvsvVyDN/gQj0Euz6YHfgo5c2gxQKKH7h -Bv6prIxCbpY7WMMtg0z+OlyGkQefVRl18kZwoNtOFlh5NBe7imYcH+wyhhQ9rqnN -VoHpJw4lNOuWfy3Af28kYDQ7KnPGYFq4nwIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/miefdahome b/retiolum/hosts/hosts/miefdahome deleted file mode 100644 index 9a9f4310..00000000 --- a/retiolum/hosts/hosts/miefdahome +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.30 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAopwKn000XAcoI61OqQ7cjgrPHm/jHmuB1LHeCUggWMOD78WDFNzq -8/l9ASlU9kbSZFhoMuBR5BPWgciYWsC1EqY1nRAc/Si1rUHnJw+Xcyl0MNsZ7Cef -WaFRvC1VNC3qlQp5/e+fi46oOp4i+BqlFSxe7Jrr0EVyBVTOw8rMGToqDsOih6M9 -SFvmVMOnqh7n8LEOUtAL4nID59k7CTXzoNhXc0cEJoBkC2YCexonb4ru/J8F2BRG -Y3yzHYVskBrrPie1JNhfUHGCABIbtODTiHQYH8NFTYzdBnVV88IWqiTBbmKcRf+j -zEyGyXu/3YLFfjmsi7ysT+BWLIPvkyr7/wIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/miefdat b/retiolum/hosts/hosts/miefdat deleted file mode 100644 index 43e2a6e6..00000000 --- a/retiolum/hosts/hosts/miefdat +++ /dev/null @@ -1,10 +0,0 @@ -Subnet = 10.7.7.20 - ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAvCestFRcrr10nzSzc1l4Flkv6ZG5ijGneZBeDaP+bB3GhFx0BYzP -CQjcCFTcExVVAorknjX1/rjT60+dSBuJoH/pEeloPowtwm6YVgfhcQD/5qRHmAPF -Ss1pdiTVtyi0BmcqDGoOTcR/tR4v2LBEDnxK89wWIFWbeDeR6UyjD2psbFBal8Zd -TmkuBTg1OGPVhB+BmuKSqPBt6AtLV+0fKHdrTOVNwF2W/8lCVTd3uCVtnUEeTLrW -KA8h9C0K2gAxxhJTF3pJtR/YQPpgwXRg3CfzMKsvHNOsqfMnnk/WFM0vrSJSi2El -xCD5Pm/BPZyA8B4vhz8im4hWofOP2/JiNwIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/no_omo b/retiolum/hosts/hosts/no_omo deleted file mode 100644 index f2398f18..00000000 --- a/retiolum/hosts/hosts/no_omo +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.111 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAuHQEeowvxRkoHJUw6cUp431pnoIy4MVv7kTLgWEK46nzgZtld9LM -ZdNMJB9CuOVVMHEaiY6Q5YchUmapGxwEObc0y+8zQxTPw3I4q0GkSJqKLPrsTpkn -sgEkHPfs2GVdtIBXDn9I8i5JsY2+U8QF8fbIQSOO08/Vpa3nknDAMege9yEa3NFm -s/+x+2pS+xV6uzf/H21XNv0oufInXwZH1NCNXAy5I2V6pz7BmAHilVOGCT7g2zn6 -GasmofiYEnro4V5s8gDlQkb7bCZEIA9EgX/HP6fZJQezSUHcDCQFI0vg26xywbr6 -5+9tTn8fN2mWS5+Pdmx3haX1qFcBP5HglwIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/pa_sharepoint b/retiolum/hosts/hosts/pa_sharepoint deleted file mode 100644 index 384a7c22..00000000 --- a/retiolum/hosts/hosts/pa_sharepoint +++ /dev/null @@ -1,7 +0,0 @@ -Address = pa-sharepoint.informatik.ba-stuttgart.de -Subnet = 10.7.7.5 ------BEGIN RSA PUBLIC KEY----- -MIGJAoGBAKSle+5vi8j+auGIC41PwFRPdzuyhP/paAEht+9mWpTYYC1meyPDwQR8 -EPNLwj1ccjsAvhubfaDmI3B13cBQx5q1BbTCK81Y5RS1tj384kvAabJAtKsz3aIg -1hWXjiDJUGNpQhKsD7IIg4lkkDcgOBAbdtXlynCQXdQL+YjLTavBAgMBAAE= ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/pfleidi b/retiolum/hosts/hosts/pfleidi deleted file mode 100644 index 416658cf..00000000 --- a/retiolum/hosts/hosts/pfleidi +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.177 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAwdoS19bbKmVncJcf+uT5nNpyuR8SL9ekd+XMoKBpoqDf0r7ap3F2 -HLNI82NSbSAA4zdASrfrDl75sJ05VIIsueNAwMkFc72YNA9CPBFGcvCNVi0d4XcC -t6voNrgCVaxT77MVBAnohT7+HfYmkTTSrLaDKusRx7ybz6ZaRO9i2peC2VWKVIjP -m3QlvPeTpIJg/nGEBNO3rotBPxpMEB+fJnWxfBHRlt9klK3VhLaXCLUt5KcJ2SA4 -q3BFQbptUfI+d6OSA9btJerdtZ3PVBqlIJ45b3RDUWMborVg6jQ7S4WBzARe1eKs -SHHk0aR5LoiSGiNVGTDlxLVe1UT1dF8voQIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/pornocauster b/retiolum/hosts/hosts/pornocauster deleted file mode 100644 index eee28777..00000000 --- a/retiolum/hosts/hosts/pornocauster +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.42 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAnztrijsfao+fmNtwAjqwIDKsRaMP3ECsq2T2zqKvxwCyXk69G9bG -RFhWjgaawS9ZhnHSlgWK/vtoR0O9NxpzdU/mvdQijbVGxM02DegjO9qDSIe8EGmA -kscW4nDqYtw4rtjOVPfnNiWXbcWD8eiYR0kcSWmSvfOpVvdhTETqduTx5HRHyEFD -JRQYR/tJSvVWXmM670PENAPNJFJ4VSJR60s5A+bFT7J/uw7HzJXX28LygJz73Dj2 -2a4ev0WcZQngLq072h/91R/TOpg+ogUDVhXkQtKyFj7im0287JTL4bXGofZBhzaf -+h9dFGs1QLoNyhG/cgt9fog7boSXTelAiQIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/supernode b/retiolum/hosts/hosts/supernode deleted file mode 100644 index 5cee4e32..00000000 --- a/retiolum/hosts/hosts/supernode +++ /dev/null @@ -1,10 +0,0 @@ -Address = 46.252.21.5 -Subnet = 10.7.7.1 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAr3DlBmQxP9UTBCkohK8FCYSk2td4Ov5lQYvC3Adx04lEWHfp+0nP -sShYqqN9Aj3iCqj/DHx5jGuSqjyTmmFWIOMM9IwKMo2Oiz/PcBM56N6gzIHuR5wj -+0bV0NRhePD2Tqo3zsEly9Hxw7xmz8azm5l4GcyOtgdRV7R1T3j/jB/9Kv2sj2Y7 -1zhSedCxjt/+NosiZZGE2JhLjzMgsCZSroAIKCZ3X/DP81mTTRxibjol82/Qn61I -b7GbuuB7SwjtZ+9xjsExN1JX5+AFuw9a3AkYuKWLpP50YY16/OTPq7flmB/EtK+Z -rrESIYKtX7pJbLc8Ywi0hBL5oPm07q+0BQIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/tart b/retiolum/hosts/hosts/tart deleted file mode 100644 index 986140ee..00000000 --- a/retiolum/hosts/hosts/tart +++ /dev/null @@ -1,6 +0,0 @@ -Subnet = 10.7.7.123 ------BEGIN RSA PUBLIC KEY----- -MIGJAoGBALvZ4rLz0soCzkyOraC1aKtJzfVqYd2je6rkuaV12CLybCUc6YXaW/HP -rzJyDGmdh355kU4FNNyjnWP/U/juhMaeYFyTUWCRVXdqvDdeiEe/EJ0g+fFGKvPY -DEFo3VMCEkrXKuwDBQP02b4xmAWWnVBityGv5tgDFjl9uXh/SzL1AgMBAAE= ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/hosts/ytart b/retiolum/hosts/hosts/ytart deleted file mode 100644 index 9f45cd2f..00000000 --- a/retiolum/hosts/hosts/ytart +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.7.7.201 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEA2yCCN8nAPmZNL75Jr+FtfP5jmyuqg7IpgfW03L3s8Gg7NB1eTQAg -UFPh13cj4lZleZOl3Yus7yx4HxMO8tYCptqnRPyP+UXrxvL+kECS4J3rLzjH/eOM -0oAxuEe+DOa5R9Vj2bRtTouePlEvXDpgZZcDnedutRUYFGLNvkoWxu0RGqfQaJmd -7KtOk1NJn9efNqwpl6ejPj5A+ivh2T1vAMWherM60JTjjhNGiSP4so0WG8PlBPYc -GKnmMSQl0u5n10uTvLoVvnSfLj/QvL3d8abTrFV2lRqaCTJy+lxgkS1A5AnsTP1G -OBbm/Gk9hRuYy2iP6FQ65q64/JfoeoqpPwIDAQAB ------END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/install.sh b/retiolum/hosts/install.sh deleted file mode 100755 index af461a30..00000000 --- a/retiolum/hosts/install.sh +++ /dev/null @@ -1,68 +0,0 @@ -#! /bin/sh -# USE WITH GREAT CAUTION - -set -e -myname="${1:-dummy}" -rel_hostsfile=`dirname $0`/hosts -hostsfile=`readlink -f $rel_hostsfile` -netname=retiolum -myipv4="${2:-10.7.7.56}" -mynet4=10.7.7.0 -CURR=`pwd` -# create configuration directory for $netname -mkdir -p /etc/tinc/$netname -cd /etc/tinc/$netname - -# get currently known hosts -cp -r $hostsfile . -echo "added known hosts:" -ls -1 | LC_ALL=C sort -echo "delete the nodes you do not trust!" - - -cat>tinc-up<tinc.conf< hosts/$myname -tincd -n $netname -K - -echo Writing Public Key to irc channel -cat>write_channel.py<