From 53cfad1bcfe41fa1f7d8e12ffc5b0f992b2fbc0f Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 6 Dec 2012 15:39:55 +0100 Subject: //retiolum/bin/dump-graph: get graph from journald --- retiolum/bin/dump-graph | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 retiolum/bin/dump-graph (limited to 'retiolum') diff --git a/retiolum/bin/dump-graph b/retiolum/bin/dump-graph new file mode 100755 index 00000000..87539f49 --- /dev/null +++ b/retiolum/bin/dump-graph @@ -0,0 +1,9 @@ +#! /bin/sh +set -euf + +t0="`date '+%Y-%m-%d %H:%M:%S'`" +systemctl kill --signal=USR2 tincd@retiolum +sleep 5 +journalctl --since="$t0" | sed -n ' + s/.*tinc\.retiolum\[[0-9]\+\]: \([^ ]\+\) to \([^ ]\+\) at \([^ ]\+\) .*$/\1 \2 \3/p +' -- cgit v1.2.3 From c68a8ffec051830f7b1b357d7c583c1dd96804fb Mon Sep 17 00:00:00 2001 From: Lassulus Date: Thu, 6 Dec 2012 20:16:34 +0100 Subject: added cronjob --- retiolum/doc/cronjob | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 retiolum/doc/cronjob (limited to 'retiolum') diff --git a/retiolum/doc/cronjob b/retiolum/doc/cronjob new file mode 100644 index 00000000..7b173633 --- /dev/null +++ b/retiolum/doc/cronjob @@ -0,0 +1,3 @@ +cron-eintrag fuer automatisches hosts-update + +if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl euer.krebsco.de/hosts.tar | tar xk -C /etc/tinc/retiolum/hosts/);fi -- cgit v1.2.3 From d0eefeb2d8c345fc204111cd6ea49dedb25ea2f5 Mon Sep 17 00:00:00 2001 From: Lassulus Date: Thu, 6 Dec 2012 22:21:03 +0100 Subject: removed TodesBrot --- retiolum/hosts/TodesBrot | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 retiolum/hosts/TodesBrot (limited to 'retiolum') diff --git a/retiolum/hosts/TodesBrot b/retiolum/hosts/TodesBrot deleted file mode 100644 index f76b72b2..00000000 --- a/retiolum/hosts/TodesBrot +++ /dev/null @@ -1,9 +0,0 @@ -Subnet = 10.243.0.12/32 ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAzGIijXaoIRG09v5sIXyVdqdpDruPMqKJfvZUXCF/POMCZEsZ4tjd -jHHdbTfREExvSNBUxS6GaYwg/HR2R7nprzOazSN9kzp9fmFJofbCOxz6X/8O/fMM -gTBmZzYu4cfysjTD5tsrJp/dQOZ0wKpUXBOWWWDUTLM9Zo3+6Bxe/6pN+gphvl6m -ReIAwl34QkZ24mq1W4YZofU2PxLxnhtuBgXuJRfn8FDlgKKPhPpKX070J5pamzpp -1/Idxl0zTmoKeXWhJ0wY0SNeglaWgH1P2EeNUNoVEX4Egk4XQGkzOfShRG7zoJMA -tKJlNZOw/4EF3E/IM8mG1yG3NqtFlIyNYQIDAQAB ------END RSA PUBLIC KEY----- -- cgit v1.2.3 From bedf7d79f297e3584757e8ebf3995aafd46daf7a Mon Sep 17 00:00:00 2001 From: Lassulus Date: Thu, 6 Dec 2012 23:11:49 +0100 Subject: removed carriage returns --- retiolum/hosts/juhulian | 22 +++++++++++----------- retiolum/hosts/laqueus | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'retiolum') diff --git a/retiolum/hosts/juhulian b/retiolum/hosts/juhulian index eca4e873..d9da75aa 100644 --- a/retiolum/hosts/juhulian +++ b/retiolum/hosts/juhulian @@ -1,11 +1,11 @@ -Subnet = 10.243.0.38 -Subnet = 42:449f:b00a:e973:514c:3e9f:97ed:aac2/128 - ------BEGIN RSA PUBLIC KEY----- -MIIBCgKCAQEAnNyOsNItOzNQndheZ3ppOMWvIOuO1wgLXArINS1ORcgIAJmLpqDI -whsZFCVifwAXsdeBJyyZOPZrc2PQ4F3KB9ByX6PQ9jqAhun1aE9SDDqp+woOrTlP -BtJ/8zAmRhrfak61TxpeTndLk95xOLaCwvS2P4SJLIcyutTbbFdBCqpu7cFUGOOP -qCKLX7/mv2L+GNmQAnWZ5HwXQzBS6gNaNIcQ8mPCUAIZgRU2T83x/tnyH1RlATK2 -lYUWRM0ie+dRMhiDcwmmZrwYl8wzyvuBPEr/p8ZBM2tua8GlQzJUJl44AiAcx3w9 -0EB5MIRL5Qb0yBvXD0yR+bDizqvhd40LvQIDAQAB ------END RSA PUBLIC KEY----- +Subnet = 10.243.0.38 +Subnet = 42:449f:b00a:e973:514c:3e9f:97ed:aac2/128 + +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAnNyOsNItOzNQndheZ3ppOMWvIOuO1wgLXArINS1ORcgIAJmLpqDI +whsZFCVifwAXsdeBJyyZOPZrc2PQ4F3KB9ByX6PQ9jqAhun1aE9SDDqp+woOrTlP +BtJ/8zAmRhrfak61TxpeTndLk95xOLaCwvS2P4SJLIcyutTbbFdBCqpu7cFUGOOP +qCKLX7/mv2L+GNmQAnWZ5HwXQzBS6gNaNIcQ8mPCUAIZgRU2T83x/tnyH1RlATK2 +lYUWRM0ie+dRMhiDcwmmZrwYl8wzyvuBPEr/p8ZBM2tua8GlQzJUJl44AiAcx3w9 +0EB5MIRL5Qb0yBvXD0yR+bDizqvhd40LvQIDAQAB +-----END RSA PUBLIC KEY----- diff --git a/retiolum/hosts/laqueus b/retiolum/hosts/laqueus index cf4ecad5..0bdef307 100644 --- a/retiolum/hosts/laqueus +++ b/retiolum/hosts/laqueus @@ -1,5 +1,5 @@ -Subnet = 42:0:0:0:0:0:0:1a1a/128 -Subnet = 10.243.0.12/32 +Subnet = 42:0:0:0:0:0:0:1a1a/128 +Subnet = 10.243.0.12/32 -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEAy9lnH4qDSYeNbpzpcQyq2LzzxkVy2N1vGgKkVttzx0cgMvyRm3aX -- cgit v1.2.3 From dfe735f225f409eb01def7691a42a69c882366b8 Mon Sep 17 00:00:00 2001 From: Lassulus Date: Fri, 7 Dec 2012 15:54:31 +0100 Subject: fixed url, added gzip --- retiolum/doc/cronjob | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum') diff --git a/retiolum/doc/cronjob b/retiolum/doc/cronjob index 7b173633..356b5c96 100644 --- a/retiolum/doc/cronjob +++ b/retiolum/doc/cronjob @@ -1,3 +1,3 @@ cron-eintrag fuer automatisches hosts-update -if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl euer.krebsco.de/hosts.tar | tar xk -C /etc/tinc/retiolum/hosts/);fi +if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl http://euer.krebsco.de/retiolum/hosts.tar.gz | tar xzk -C /etc/tinc/retiolum/hosts/);fi -- cgit v1.2.3