diff --git a/etc/fastd/fff.ab/down.sh b/etc/fastd/fff.ab/down.sh new file mode 100755 index 0000000..b2e461e --- /dev/null +++ b/etc/fastd/fff.ab/down.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/sbin/ifdown $INTERFACE diff --git a/etc/fastd/fff.ab/fff.ab.conf b/etc/fastd/fff.ab/fff.ab.conf new file mode 100644 index 0000000..d5a29d4 --- /dev/null +++ b/etc/fastd/fff.ab/fff.ab.conf @@ -0,0 +1,22 @@ +# Log warnings and errors to stderr +log level error; +# Log everything to a log file +log to syslog as "fffab" level info; +# Set the interface name +interface "fffabVPN"; +# Support xsalsa20 and aes128 encryption methods, prefer xsalsa20 +#method "xsalsa20-poly1305"; +#method "aes128-gcm"; +method "null"; +# Bind to a fixed port, IPv4 only +bind any:10004; +# Secret key generated by "fastd --generate-key" +secret "c823f6ce3152dde5f3b6a988e8df437648db80f167be3bb24e9dc5fc8aaeb562"; +# Set the interface MTU for TAP mode with xsalsa20/aes128 over IPv4 with a base MTU of 1492 (PPPoE) +# (see MTU selection documentation) +mtu 1426; +on up "/etc/fastd/fff.ab/up.sh"; +on post-down "/etc/fastd/fff.ab/down.sh"; +# Include peers from the directory 'peers' +include peers from "/etc/fastd/fff.ab/peers"; +secure handshakes no; diff --git a/etc/fastd/fff.ab/peers/10FEED9C286E b/etc/fastd/fff.ab/peers/10FEED9C286E new file mode 100644 index 0000000..5c0a9a2 --- /dev/null +++ b/etc/fastd/fff.ab/peers/10FEED9C286E @@ -0,0 +1,5 @@ +#name "GartenstrasseHeigenbruecken"; +key "a826daf9162553b2b42c8eb6eae3394a06de2e6a0ad628210168838d7adc66e3"; +remote ipv4 "::ffff:79.193.226.141" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/10FEEDF3EDC0 b/etc/fastd/fff.ab/peers/10FEEDF3EDC0 new file mode 100644 index 0000000..f3a731e --- /dev/null +++ b/etc/fastd/fff.ab/peers/10FEEDF3EDC0 @@ -0,0 +1,5 @@ +#name "KOH-Hochstrasse-1"; +key "b2d5022fd5ea567a0393b75564706637587a5e41d4f84f6c6b1928cde5c270ee"; +remote ipv4 "::ffff:84.153.35.224" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/14CC203B298E b/etc/fastd/fff.ab/peers/14CC203B298E new file mode 100644 index 0000000..fe4c6af --- /dev/null +++ b/etc/fastd/fff.ab/peers/14CC203B298E @@ -0,0 +1,5 @@ +#name "AB-Strietwald1"; +key "8b3cc9a135cc9927fe7d31415054f958f477db81d741f3b172b8cbbacac0bd09"; +remote ipv4 "::ffff:188.192.132.55" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/14CC203B583E b/etc/fastd/fff.ab/peers/14CC203B583E new file mode 100644 index 0000000..86d4413 --- /dev/null +++ b/etc/fastd/fff.ab/peers/14CC203B583E @@ -0,0 +1,5 @@ +#name "alz.hst.hauptstrasse"; +key "294859ebe2a0847a43642f9bb1e1f4b519c68931a045b89a64916dfaca53a33d"; +remote ipv4 "::ffff:178.27.175.197" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/14CC205A5B66 b/etc/fastd/fff.ab/peers/14CC205A5B66 new file mode 100644 index 0000000..58597cf --- /dev/null +++ b/etc/fastd/fff.ab/peers/14CC205A5B66 @@ -0,0 +1,5 @@ +#name "AB-spessartgaerten01"; +key "8c15c795b4be144f40086b1c772e9278facd1ef79dae712752e63d42b07da8a0"; +remote ipv4 "::ffff:87.156.160.195" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/14CC20CD4E40 b/etc/fastd/fff.ab/peers/14CC20CD4E40 new file mode 100644 index 0000000..d98856e --- /dev/null +++ b/etc/fastd/fff.ab/peers/14CC20CD4E40 @@ -0,0 +1,5 @@ +#name "SailaufRotesKreuzUplink"; +key "7c5f287e064470a5b8810e8d78111c39d664a5ea5ae1c42402b2d0641d4be83a"; +remote ipv4 "::ffff:95.157.5.155" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18A6F7CF14DC b/etc/fastd/fff.ab/peers/18A6F7CF14DC new file mode 100644 index 0000000..f12789d --- /dev/null +++ b/etc/fastd/fff.ab/peers/18A6F7CF14DC @@ -0,0 +1,5 @@ +#name "Wiesen-Zentrum-OD"; +key "e27f58f0c2967f48714254a80a162f1a9b21d0f97743a4c0e58ad49d30add5a8"; +remote ipv4 "::ffff:79.240.147.17" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18A6F7E5B3A4 b/etc/fastd/fff.ab/peers/18A6F7E5B3A4 new file mode 100644 index 0000000..c83421c --- /dev/null +++ b/etc/fastd/fff.ab/peers/18A6F7E5B3A4 @@ -0,0 +1,5 @@ +#name "Haibach-Bessenbacher-Weg"; +key "eb20a9df17737c1463277a414bd531c9c5025e9a430810fc88eea82782490817"; +remote ipv4 "::ffff:79.231.224.107" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18A6F7E5C900 b/etc/fastd/fff.ab/peers/18A6F7E5C900 new file mode 100644 index 0000000..9236f77 --- /dev/null +++ b/etc/fastd/fff.ab/peers/18A6F7E5C900 @@ -0,0 +1,5 @@ +#name "Metzgerei-Freund1-Sommerkahl"; +key "b1e9cc9e65d153ba5abc6101445946d4e7001ac999354777d4ff7eb901815828"; +remote ipv4 "::ffff:91.42.57.25" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18A6F7E5DFC0 b/etc/fastd/fff.ab/peers/18A6F7E5DFC0 new file mode 100644 index 0000000..da1e37b --- /dev/null +++ b/etc/fastd/fff.ab/peers/18A6F7E5DFC0 @@ -0,0 +1,5 @@ +#name "ev-Jugendzentrum-Aschaffenburg-II"; +key "e8a4e6f3f4c3df0d09a563a14210611b0d0f0a80255a21bba013dccb698ed789"; +remote ipv4 "::ffff:62.225.211.191" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18A6F7EB5F18 b/etc/fastd/fff.ab/peers/18A6F7EB5F18 new file mode 100644 index 0000000..784a2b4 --- /dev/null +++ b/etc/fastd/fff.ab/peers/18A6F7EB5F18 @@ -0,0 +1,5 @@ +#name "SpvggHoesbachBahnhof1"; +key "7060445c0981a181e07e1968c06d9fd41484ad9c6849ac8d65516fb6eacea8b9"; +remote ipv4 "::ffff:84.144.209.107" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18D6C7516C7C b/etc/fastd/fff.ab/peers/18D6C7516C7C new file mode 100644 index 0000000..c567c33 --- /dev/null +++ b/etc/fastd/fff.ab/peers/18D6C7516C7C @@ -0,0 +1,5 @@ +#name "Schoellkrippen-Test"; +key "091dbffd3cab427300a924fded5df8a0df84b99bbefd82ffa5dbee8b496ba73b"; +remote ipv4 "::ffff:46.88.13.230" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/18D6C7871C70 b/etc/fastd/fff.ab/peers/18D6C7871C70 new file mode 100644 index 0000000..99d8604 --- /dev/null +++ b/etc/fastd/fff.ab/peers/18D6C7871C70 @@ -0,0 +1,5 @@ +#name "firemesh02"; +key "5cd8c0a74f113f14ba128eb19204e192166a3aae1d67af2969045d351893e856"; +remote ipv4 "::ffff:93.231.110.36" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/30B5C2B38F68 b/etc/fastd/fff.ab/peers/30B5C2B38F68 new file mode 100644 index 0000000..18f07b7 --- /dev/null +++ b/etc/fastd/fff.ab/peers/30B5C2B38F68 @@ -0,0 +1,5 @@ +#name "AB-Rothengrund-01"; +key "7d1d065faf115ba2871f9d3fb64517089a737c6597e6723ee85e68de89006d07"; +remote ipv4 "::ffff:91.42.50.191" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/30B5C2D99B08 b/etc/fastd/fff.ab/peers/30B5C2D99B08 new file mode 100644 index 0000000..9550a03 --- /dev/null +++ b/etc/fastd/fff.ab/peers/30B5C2D99B08 @@ -0,0 +1,5 @@ +#name "Hoesbach01-Keller"; +key "e02f16c3b3c784636fea5cf320a87b7bf9da7e20cb37009ac62f2122b0f56c1e"; +remote ipv4 "::ffff:195.66.2.63" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/30B5C2E31834 b/etc/fastd/fff.ab/peers/30B5C2E31834 new file mode 100644 index 0000000..9f87f4d --- /dev/null +++ b/etc/fastd/fff.ab/peers/30B5C2E31834 @@ -0,0 +1,5 @@ +#name "Foerstergarten"; +key "027ed90fc1daf6c06d2dc569c384f9fc2c9c8cd0e31e1b748b74473978cbe2a0"; +remote ipv4 "::ffff:2.202.5.94" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/30B5C2ED6A6C b/etc/fastd/fff.ab/peers/30B5C2ED6A6C new file mode 100644 index 0000000..9974950 --- /dev/null +++ b/etc/fastd/fff.ab/peers/30B5C2ED6A6C @@ -0,0 +1,5 @@ +#name "AB-Schweinheim1"; +key "a317d9fe7104291a83dd06e91fa2f08c998344fd28b0ae74fe2519c03d83ec8f"; +remote ipv4 "::ffff:93.236.95.236" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/54E6FCF2557D b/etc/fastd/fff.ab/peers/54E6FCF2557D new file mode 100644 index 0000000..7f10946 --- /dev/null +++ b/etc/fastd/fff.ab/peers/54E6FCF2557D @@ -0,0 +1,5 @@ +#name "KOH-Unbezahlbar"; +key "4a7e6420e65c876732dbfd2b2517d0885dc3ed5e1f690755c4f8b20ef367a10a"; +remote ipv4 "::ffff:79.231.225.235" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/54E6FCFAD096 b/etc/fastd/fff.ab/peers/54E6FCFAD096 new file mode 100644 index 0000000..f327afa --- /dev/null +++ b/etc/fastd/fff.ab/peers/54E6FCFAD096 @@ -0,0 +1,5 @@ +#name "Schaffenburg"; +key "6d5b57e747ec81a088133e06dd5da1d1a836ec71a6cb527fb17f161fce131775"; +remote ipv4 "::ffff:79.217.89.102" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E3275FD106 b/etc/fastd/fff.ab/peers/60E3275FD106 new file mode 100644 index 0000000..8daaa0d --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E3275FD106 @@ -0,0 +1,5 @@ +#name "RengersbrunnFFW"; +key "7a71c4aa386934c940b918134330562c791cd073193955c6ef62bc507041b72d"; +remote ipv4 "::ffff:93.113.210.246" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E3279AE3E8 b/etc/fastd/fff.ab/peers/60E3279AE3E8 new file mode 100644 index 0000000..e2a6d20 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E3279AE3E8 @@ -0,0 +1,5 @@ +#name "RengersbrunnBP"; +key "d14dd758770c3b236d852439c554e5218be1d30ced4b64b19bc2e765f94fb352"; +remote ipv4 "::ffff:85.220.176.172" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327BE2184 b/etc/fastd/fff.ab/peers/60E327BE2184 new file mode 100644 index 0000000..71fe375 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327BE2184 @@ -0,0 +1,5 @@ +#name "RengersbrunnTK"; +key "d5576c1cdc04aa17517954f2a915f57013430e8aa8bfa4e25035027575471fb5"; +remote ipv4 "::ffff:185.61.121.120" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327C71590 b/etc/fastd/fff.ab/peers/60E327C71590 new file mode 100644 index 0000000..349073e --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327C71590 @@ -0,0 +1,5 @@ +#name "luftschloss01"; +key "3f3b0b9b89a281ef26f32cb1ccdb0411f7c93c0834a87022d3976e9db4262f47"; +remote ipv4 "::ffff:151.216.15.250" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327C71A52 b/etc/fastd/fff.ab/peers/60E327C71A52 new file mode 100644 index 0000000..08a4925 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327C71A52 @@ -0,0 +1,5 @@ +#name "Kapellencafe_Huckelheim"; +key "e449c9c4c5c6b6adeb1f714a23e3fd2c1dde124b6c3a8dfc1c622a95a51a34ce"; +remote ipv4 "::ffff:93.213.98.215" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327C71AF2 b/etc/fastd/fff.ab/peers/60E327C71AF2 new file mode 100644 index 0000000..5dd4363 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327C71AF2 @@ -0,0 +1,5 @@ +#name "Bauhof-Schoellkrippen"; +key "c9f7a8bb9054fea03336d59187bc169930c27f499db537ff4fe40904ecfaac5c"; +remote ipv4 "::ffff:79.240.141.122" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327CED32E b/etc/fastd/fff.ab/peers/60E327CED32E new file mode 100644 index 0000000..cf038dd --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327CED32E @@ -0,0 +1,5 @@ +#name "Unterkunft-Heigenbruecken"; +key "9f7ff040a790e5042ebfc5d159e02fff13f1235bbc8391109a2521194cae3d0e"; +remote ipv4 "::ffff:62.225.200.207" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327CEE6D2 b/etc/fastd/fff.ab/peers/60E327CEE6D2 new file mode 100644 index 0000000..c7c6f57 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327CEE6D2 @@ -0,0 +1,5 @@ +#name "DorfplatzHeinrichsthal"; +key "5544d7d2df97136fbe458aa3931a72b2c2c8de86897d687edb498cdc6a129c38"; +remote ipv4 "::ffff:91.36.121.169" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327CEF17A b/etc/fastd/fff.ab/peers/60E327CEF17A new file mode 100644 index 0000000..6d684ef --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327CEF17A @@ -0,0 +1,5 @@ +#name "autokropp"; +key "0fed4aaaa2d1f91d6a5cc3b61e8a4ea89f408972e7f0c75a0ab3330b722b2d53"; +remote ipv4 "::ffff:84.153.33.136" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327CF065A b/etc/fastd/fff.ab/peers/60E327CF065A new file mode 100644 index 0000000..4253028 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327CF065A @@ -0,0 +1,5 @@ +#name "firemesh01"; +key "364f5ba080870c77c72032931e414a850cc55329a83229754e8b3183c823bdce"; +remote ipv4 "::ffff:93.231.110.36" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/60E327E74E0A b/etc/fastd/fff.ab/peers/60E327E74E0A new file mode 100644 index 0000000..33410f0 --- /dev/null +++ b/etc/fastd/fff.ab/peers/60E327E74E0A @@ -0,0 +1,5 @@ +#name "OpenWrt-KOHSG9"; +key "b63f6fc0ba8618519fff2db8404ad02b5d3fc600604f4a5ec881b40d8de1b938"; +remote ipv4 "::ffff:95.90.223.115" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/647002F72484 b/etc/fastd/fff.ab/peers/647002F72484 new file mode 100644 index 0000000..791cd20 --- /dev/null +++ b/etc/fastd/fff.ab/peers/647002F72484 @@ -0,0 +1,5 @@ +#name "Laufach07-Bauhof"; +key "c2d92dcf3645d549406869e0702d16ae8bcadcdd3e7746465b692cfd661e4803"; +remote ipv4 "::ffff:87.139.136.47" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/6872512CE6DF b/etc/fastd/fff.ab/peers/6872512CE6DF new file mode 100644 index 0000000..b85f97d --- /dev/null +++ b/etc/fastd/fff.ab/peers/6872512CE6DF @@ -0,0 +1,5 @@ +#name "AB-gruenes-buero"; +key "7ee9e621cf5508b32cf159884dc9cfacb25dae2a7ccef499084ef5719c04c6d4"; +remote ipv4 "::ffff:84.160.251.121" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/6872512ED86C b/etc/fastd/fff.ab/peers/6872512ED86C new file mode 100644 index 0000000..b30fb24 --- /dev/null +++ b/etc/fastd/fff.ab/peers/6872512ED86C @@ -0,0 +1,5 @@ +#name "KOH-Kardinal-Bertram-Str-50"; +key "1edb1e92e7725fd5d7c23f70c044267920bce2fee079ac559ac4f77331b98b13"; +remote ipv4 "::ffff:84.153.45.200" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/68725142565F b/etc/fastd/fff.ab/peers/68725142565F new file mode 100644 index 0000000..c2540e0 --- /dev/null +++ b/etc/fastd/fff.ab/peers/68725142565F @@ -0,0 +1,5 @@ +#name "AB-Clemensheim1"; +key "69802d15193961ea0f51d9baf376e4445163bfb85e328593e2c534977816a677"; +remote ipv4 "::ffff:79.212.137.92" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/68725168165E b/etc/fastd/fff.ab/peers/68725168165E new file mode 100644 index 0000000..fb4c8bc --- /dev/null +++ b/etc/fastd/fff.ab/peers/68725168165E @@ -0,0 +1,5 @@ +#name "Sommerkahl-Bauhof"; +key "7f6d106d67e56de7fc86020027328b019edbdf919cb8452d5a6fc8c35be73b8c"; +remote ipv4 "::ffff:91.42.53.177" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F99BB266 b/etc/fastd/fff.ab/peers/8416F99BB266 new file mode 100644 index 0000000..2fc585f --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F99BB266 @@ -0,0 +1,5 @@ +#name "dianaLG"; +key "02bdae33a1190e44519c5a6711d62fe8bbc9eaf41bc8bbc6babda0732794a85a"; +remote ipv4 "::ffff:92.216.213.49" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F99BB342 b/etc/fastd/fff.ab/peers/8416F99BB342 new file mode 100644 index 0000000..d1763cc --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F99BB342 @@ -0,0 +1,5 @@ +#name "Sommerkahl-Zum-Gruenen-Baum"; +key "45a20b3727b99284bd946ec314b083ecb53e0b5504da0c85328842671a89a6ab"; +remote ipv4 "::ffff:84.154.84.243" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F99BC21A b/etc/fastd/fff.ab/peers/8416F99BC21A new file mode 100644 index 0000000..c947270 --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F99BC21A @@ -0,0 +1,5 @@ +#name "Schneppmicher0"; +key "ff6f1406fa572ee09b9fd7cee8dd6303b06d4f9c67f482ac026e7c6e6463096c"; +remote ipv4 "::ffff:84.154.82.101" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F99BC284 b/etc/fastd/fff.ab/peers/8416F99BC284 new file mode 100644 index 0000000..8035665 --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F99BC284 @@ -0,0 +1,5 @@ +#name "Friseursalon-Blam-0"; +key "6db9fe676200423721353613ee9d1e7aa68d879931aa44a302187cd7e38c805d"; +remote ipv4 "::ffff:87.123.235.229" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F99BE782 b/etc/fastd/fff.ab/peers/8416F99BE782 new file mode 100644 index 0000000..52e83c6 --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F99BE782 @@ -0,0 +1,5 @@ +#name "dianaClubraum"; +key "6565c94b2c2625907f2ca9f1e1d0154c6c3633e21ad1615505b4901b4b946d72"; +remote ipv4 "::ffff:92.216.213.49" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F99BE80C b/etc/fastd/fff.ab/peers/8416F99BE80C new file mode 100644 index 0000000..0e5622b --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F99BE80C @@ -0,0 +1,5 @@ +#name "dianaGastro"; +key "1d0479eb13937ae36a662051206570f7a3a3b198676cd34e1ac2c9e63dbcbede"; +remote ipv4 "::ffff:92.216.148.104" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/8416F9E3DB80 b/etc/fastd/fff.ab/peers/8416F9E3DB80 new file mode 100644 index 0000000..956997f --- /dev/null +++ b/etc/fastd/fff.ab/peers/8416F9E3DB80 @@ -0,0 +1,5 @@ +#name "AB-Schweinheim-02"; +key "d0586f81a914cf5d6e5757225dfe522190279232cf04e3a8537207dee3bf0453"; +remote ipv4 "::ffff:79.196.88.27" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/98DED03177C8 b/etc/fastd/fff.ab/peers/98DED03177C8 new file mode 100644 index 0000000..9d927af --- /dev/null +++ b/etc/fastd/fff.ab/peers/98DED03177C8 @@ -0,0 +1,5 @@ +#name "Forsthaus-Schoellkrippen"; +key "5050a15f89972fdf5fa626b448e3e5983fb3d54580f5b7d70c77f1081c6677c5"; +remote ipv4 "::ffff:84.160.251.5" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/98DED088843A b/etc/fastd/fff.ab/peers/98DED088843A new file mode 100644 index 0000000..39721bd --- /dev/null +++ b/etc/fastd/fff.ab/peers/98DED088843A @@ -0,0 +1,5 @@ +#name "Rathaus-Sommerkahl"; +key "050f26df1cc8fb80da5e7c739254c85b6b38125ef860b368ccacbb8f19dc518a"; +remote ipv4 "::ffff:84.154.80.176" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/98DED0889E3C b/etc/fastd/fff.ab/peers/98DED0889E3C new file mode 100644 index 0000000..333c0b1 --- /dev/null +++ b/etc/fastd/fff.ab/peers/98DED0889E3C @@ -0,0 +1,5 @@ +#name "Schule-Sommerkahl"; +key "3a76a722758884b826c4dee3cb1794fefc63342d794f4626f9259f235b2ebd61"; +remote ipv4 "::ffff:46.88.10.190" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/98DED09203D2 b/etc/fastd/fff.ab/peers/98DED09203D2 new file mode 100644 index 0000000..0602f31 --- /dev/null +++ b/etc/fastd/fff.ab/peers/98DED09203D2 @@ -0,0 +1,5 @@ +#name "ZA-Taupp-Schoellkrippen"; +key "e170a12762bc31da3c5070da9f1252889f3c961325e5d35770a81000400be969"; +remote ipv4 "::ffff:84.154.89.12" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/98DED0D5F1D0 b/etc/fastd/fff.ab/peers/98DED0D5F1D0 new file mode 100644 index 0000000..b9ac93b --- /dev/null +++ b/etc/fastd/fff.ab/peers/98DED0D5F1D0 @@ -0,0 +1,5 @@ +#name "Ev-JuZ-Aschaffenburg"; +key "2692372a4ae3e5c62d29a851347f7ece7304c371e08809309b6f82a7beb961a6"; +remote ipv4 "::ffff:62.225.211.191" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/A42BB0AD9D5A b/etc/fastd/fff.ab/peers/A42BB0AD9D5A new file mode 100644 index 0000000..c474e60 --- /dev/null +++ b/etc/fastd/fff.ab/peers/A42BB0AD9D5A @@ -0,0 +1,5 @@ +#name "PensionBerghof1"; +key "965538492cd584bee5f91621ad488da7f21ba005c4a5ddad11c1754717a14edd"; +remote ipv4 "::ffff:93.236.103.172" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/A42BB0B4DC54 b/etc/fastd/fff.ab/peers/A42BB0B4DC54 new file mode 100644 index 0000000..3d0d589 --- /dev/null +++ b/etc/fastd/fff.ab/peers/A42BB0B4DC54 @@ -0,0 +1,5 @@ +#name "Aschaffenburg-Test"; +key "2683aa7bef2f8644de8e6dfe1047641ddd4e70b35df7d8e11d556289f298b6f7"; +remote ipv4 "::ffff:91.36.84.224" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/A42BB0FE8218 b/etc/fastd/fff.ab/peers/A42BB0FE8218 new file mode 100644 index 0000000..d69824e --- /dev/null +++ b/etc/fastd/fff.ab/peers/A42BB0FE8218 @@ -0,0 +1,5 @@ +#name "Buecherei-Schoellkrippen"; +key "1e013ed2051534ba8c60c55bf99ed67c11497accacf6bb716b410b438a9e04a7"; +remote ipv4 "::ffff:84.154.93.182" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/A42BB0FE8F46 b/etc/fastd/fff.ab/peers/A42BB0FE8F46 new file mode 100644 index 0000000..703d92a --- /dev/null +++ b/etc/fastd/fff.ab/peers/A42BB0FE8F46 @@ -0,0 +1,5 @@ +#name "A42BB0FE8F46"; +key "d5cc1701bfd3e998c3633b7bac8e59a74ec1be755ab2bbcc8f0d7c12ccb91931"; +remote ipv4 "::ffff:95.90.217.115" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/C04A007AB580 b/etc/fastd/fff.ab/peers/C04A007AB580 new file mode 100644 index 0000000..05de15c --- /dev/null +++ b/etc/fastd/fff.ab/peers/C04A007AB580 @@ -0,0 +1,5 @@ +#name "NB-KTPK"; +key "906323ab260bc069a3a70a1394ef0038f46c6c19e5ca77fafa6704faf8921dea"; +remote ipv4 "::ffff:178.26.208.155" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/C46E1FBD113A b/etc/fastd/fff.ab/peers/C46E1FBD113A new file mode 100644 index 0000000..08294ca --- /dev/null +++ b/etc/fastd/fff.ab/peers/C46E1FBD113A @@ -0,0 +1,5 @@ +#name "AB-Schweinheim-01"; +key "2e19d763be6573b961942e797d560f1849538b41f6a64697425fa271c25c28a3"; +remote ipv4 "::ffff:79.196.95.67" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/C4E984FD2E80 b/etc/fastd/fff.ab/peers/C4E984FD2E80 new file mode 100644 index 0000000..b0cc5f3 --- /dev/null +++ b/etc/fastd/fff.ab/peers/C4E984FD2E80 @@ -0,0 +1,5 @@ +#name "RengersbrunnTI"; +key "bed2efa72cebed4aea06fbd37a855c5ac8edadb5a9dad98f4950e3c7e8e6a94d"; +remote ipv4 "::ffff:93.113.210.246" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/E894F60CAA58 b/etc/fastd/fff.ab/peers/E894F60CAA58 new file mode 100644 index 0000000..19d4bb7 --- /dev/null +++ b/etc/fastd/fff.ab/peers/E894F60CAA58 @@ -0,0 +1,5 @@ +#name "Waldaschaff05-WAG-Uplink"; +key "8470dba6158be83598436c9b6bf86c471074f7a77d196ac96c2fb9b20328d1ef"; +remote ipv4 "::ffff:84.137.204.30" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/E8DE27B78C40 b/etc/fastd/fff.ab/peers/E8DE27B78C40 new file mode 100644 index 0000000..722d575 --- /dev/null +++ b/etc/fastd/fff.ab/peers/E8DE27B78C40 @@ -0,0 +1,5 @@ +#name "RengersbrunnFM"; +key "2aa1cb6cd794a3dd4a46e1ff9b3bebbd9c7584fe13d8383992cc25138fa9d62a"; +remote ipv4 "::ffff:85.220.202.84" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/E8DE27FD2E4A b/etc/fastd/fff.ab/peers/E8DE27FD2E4A new file mode 100644 index 0000000..6ad21e1 --- /dev/null +++ b/etc/fastd/fff.ab/peers/E8DE27FD2E4A @@ -0,0 +1,5 @@ +#name "KOH-Muenchner-Strasse-35"; +key "bfe3798a701b51b84051fc62ae2627567d0be7f3bf6ece9b982a66ce5783a23a"; +remote ipv4 "::ffff:88.67.168.203" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B35025A b/etc/fastd/fff.ab/peers/EC086B35025A new file mode 100644 index 0000000..2d8fcac --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B35025A @@ -0,0 +1,5 @@ +#name "Kaffeeroesterei-Schoellkrippen"; +key "7fb90c955de2bb70eedf46bea3990b2c1ed6365f655d25edea14a6dcdd8a2601"; +remote ipv4 "::ffff:91.42.55.241" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B3516D2 b/etc/fastd/fff.ab/peers/EC086B3516D2 new file mode 100644 index 0000000..46e24b0 --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B3516D2 @@ -0,0 +1,5 @@ +#name "SN-Bikes"; +key "a0b598944c4f87e3d57f9a67894bbc9f892ff9172630a816afc00f4f94831059"; +remote ipv4 "::ffff:84.160.238.183" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B57F496 b/etc/fastd/fff.ab/peers/EC086B57F496 new file mode 100644 index 0000000..cef1cad --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B57F496 @@ -0,0 +1,5 @@ +#name "Dorfladen-Hofstaedten"; +key "bdcb307bd6d07a885b500fed300907840975cb1d9c895847aab54ada0b3364a6"; +remote ipv4 "::ffff:91.42.50.102" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B595948 b/etc/fastd/fff.ab/peers/EC086B595948 new file mode 100644 index 0000000..ef1864b --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B595948 @@ -0,0 +1,5 @@ +#name "SailaufEichenbergDorfladen"; +key "96a634a00f362a687c7eb4c4441b2ae0e0f004b4c0287f16fa251c80cef6e0d1"; +remote ipv4 "::ffff:46.88.10.9" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B7874A6 b/etc/fastd/fff.ab/peers/EC086B7874A6 new file mode 100644 index 0000000..0acbe8c --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B7874A6 @@ -0,0 +1,5 @@ +#name "Naturerlebnisbad-Schoellkrippen0"; +key "65d5740ea4564a0eb382af3ae3700c9e186735af264b238f3ff4f34a59917b6e"; +remote ipv4 "::ffff:91.42.52.90" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B787BC2 b/etc/fastd/fff.ab/peers/EC086B787BC2 new file mode 100644 index 0000000..c914261 --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B787BC2 @@ -0,0 +1,5 @@ +#name "Dorfladen-Kleinkahl"; +key "11b7e0f7c68b0557b6da1e729e715bce7e1b13a85dc8d3e4c6d922af2646a685"; +remote ipv4 "::ffff:95.131.102.130" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/EC086B8AD068 b/etc/fastd/fff.ab/peers/EC086B8AD068 new file mode 100644 index 0000000..a45e9ae --- /dev/null +++ b/etc/fastd/fff.ab/peers/EC086B8AD068 @@ -0,0 +1,5 @@ +#name "Cafe-Denk-Schoellkrippen"; +key "d245f97e764dff7a2ec344ac12eef19bb028d61b93bf158d5adc2f5f802591f9"; +remote ipv4 "::ffff:91.42.58.160" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4EC38C94406 b/etc/fastd/fff.ab/peers/F4EC38C94406 new file mode 100644 index 0000000..33c6473 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4EC38C94406 @@ -0,0 +1,5 @@ +#name "Laufach01GerstenbergerUplink"; +key "cacc99023dc73f42ec7f3cdccf8821fe3dff5b1c97a3e701fba2b41b80fcbd91"; +remote ipv4 "::ffff:93.236.101.26" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26D3E6F56 b/etc/fastd/fff.ab/peers/F4F26D3E6F56 new file mode 100644 index 0000000..657a640 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26D3E6F56 @@ -0,0 +1,5 @@ +#name "Unterkunft-Schneppenbach"; +key "07f1d6ff22abf3037618800b15ede5f3c59ad9e871c64af089915a7d62905907"; +remote ipv4 "::ffff:84.154.80.39" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26D4A028E b/etc/fastd/fff.ab/peers/F4F26D4A028E new file mode 100644 index 0000000..0865f05 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26D4A028E @@ -0,0 +1,5 @@ +#name "Streit-Sascha-028e"; +key "a197dbd06917d8e573c307a22ec5c2741f65350338e0a1b0bf76c29b53ff5b72"; +remote ipv4 "::ffff:93.222.110.104" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26DC3E9AB b/etc/fastd/fff.ab/peers/F4F26DC3E9AB new file mode 100644 index 0000000..21da6a2 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26DC3E9AB @@ -0,0 +1,5 @@ +#name "FF-Aschebergerl"; +key "4bea0545a9a800857c5093dae1381cef280dd8ee34c2e641add225b5195a0155"; +remote ipv4 "::ffff:46.244.163.89" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26DDC3AAC b/etc/fastd/fff.ab/peers/F4F26DDC3AAC new file mode 100644 index 0000000..8fde1ec --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26DDC3AAC @@ -0,0 +1,5 @@ +#name "SailaufBuergerzentrumSaal01Uplink"; +key "5a69eaae7acef48fe3c11a7d4db0d0b3182449b5a5957c9eea489c5e70fbf539"; +remote ipv4 "::ffff:95.157.4.52" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26DDC3C76 b/etc/fastd/fff.ab/peers/F4F26DDC3C76 new file mode 100644 index 0000000..b7e4ce0 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26DDC3C76 @@ -0,0 +1,5 @@ +#name "SailaufFeuerwehrUplink"; +key "baf7d6f86dd05886abbbff568df5a443cd0f47cfbd26e876fa3cf53740d83466"; +remote ipv4 "::ffff:95.157.5.194" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26DDC3D56 b/etc/fastd/fff.ab/peers/F4F26DDC3D56 new file mode 100644 index 0000000..0ff0c98 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26DDC3D56 @@ -0,0 +1,5 @@ +#name "SailaufPfarrhausKellerUplink"; +key "ecb6fd9f207063266c6a206ac5e0fc671da8b2eb1569b2cbdea66459c76e135c"; +remote ipv4 "::ffff:95.157.5.104" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26DE84BFC b/etc/fastd/fff.ab/peers/F4F26DE84BFC new file mode 100644 index 0000000..3bf0ce3 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26DE84BFC @@ -0,0 +1,5 @@ +#name "Test1"; +key "c2e9a7680386963e2f0a270062dbf102d190717b1cba9bd906a9fbcdf2317991"; +remote ipv4 "::ffff:46.90.39.87" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F4F26DFF5F04 b/etc/fastd/fff.ab/peers/F4F26DFF5F04 new file mode 100644 index 0000000..4d18a62 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F4F26DFF5F04 @@ -0,0 +1,5 @@ +#name "RengersbrunnPB"; +key "d95ef6dc85d04a94323c1dc9cc9858440093acae03e50bddb1700cc017738cd5"; +remote ipv4 "::ffff:85.220.176.122" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F81A67D8E21A b/etc/fastd/fff.ab/peers/F81A67D8E21A new file mode 100644 index 0000000..d8a2917 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F81A67D8E21A @@ -0,0 +1,5 @@ +#name "LEDEGate5GHZ"; +key "c62e054505bb77208b9c9060021bc7eb78bb095582a190d2b5425a60ae3b7571"; +remote ipv4 "::ffff:91.1.122.21" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/F8D1119CC7E5 b/etc/fastd/fff.ab/peers/F8D1119CC7E5 new file mode 100644 index 0000000..5441fa3 --- /dev/null +++ b/etc/fastd/fff.ab/peers/F8D1119CC7E5 @@ -0,0 +1,5 @@ +#name "FFDettingen"; +key "7fb9b3ff025e57f0d29b32bd4e5511e2d82d2d6fe7917807893a40d373f80e7f"; +remote ipv4 "::ffff:93.231.96.120" port 10000; + +float yes; diff --git a/etc/fastd/fff.ab/peers/fff-ab-01.ab b/etc/fastd/fff.ab/peers/fff-ab-01.ab new file mode 100644 index 0000000..119f58e --- /dev/null +++ b/etc/fastd/fff.ab/peers/fff-ab-01.ab @@ -0,0 +1,5 @@ +#name "fff-ab-01.ab"; +key "b3772892c329782be18cacf97f8ecdca6761eb8ac553dd6eb9864d9d9b0d3a8d"; +remote ipv4 "5.189.177.88" port 10004; + +float yes; diff --git a/etc/fastd/fff.ab/peers/fff-gw-m3.aschaff b/etc/fastd/fff.ab/peers/fff-gw-m3.aschaff new file mode 100644 index 0000000..68d439a --- /dev/null +++ b/etc/fastd/fff.ab/peers/fff-gw-m3.aschaff @@ -0,0 +1,5 @@ +#name "fff-gw-m3.aschaff"; +key "7ea916503752109129af673bf350c73c6a07df51ec6b2f3a366cda3bcccfde87"; +remote ipv4 "51.254.213.224" port 10004; + +float yes; diff --git a/etc/fastd/fff.ab/peers/fff-gw-wue3.aburg b/etc/fastd/fff.ab/peers/fff-gw-wue3.aburg new file mode 100644 index 0000000..0f5cae2 --- /dev/null +++ b/etc/fastd/fff.ab/peers/fff-gw-wue3.aburg @@ -0,0 +1,5 @@ +#name "fff-gw-wue3.aburg"; +key "a94a3c3e95a7db53178fa567ac2f41e017e4d63794b9430b950c48706f71d004"; +remote ipv4 "138.201.5.233" port 10001; + +float yes; diff --git a/etc/fastd/fff.ab/peers/fff-netmon1.aschb b/etc/fastd/fff.ab/peers/fff-netmon1.aschb new file mode 100644 index 0000000..b41a783 --- /dev/null +++ b/etc/fastd/fff.ab/peers/fff-netmon1.aschb @@ -0,0 +1,5 @@ +#name "fff-netmon1.aschb"; +key "4812565ca29438eb390ad509598d921b964f6659bb7160422189307d0f7dae20"; +remote ipv4 "::ffff:31.172.112.72" port 10012; + +float yes; diff --git a/etc/fastd/fff.ab/peers/fff-wue1.asch b/etc/fastd/fff.ab/peers/fff-wue1.asch new file mode 100644 index 0000000..98f39a0 --- /dev/null +++ b/etc/fastd/fff.ab/peers/fff-wue1.asch @@ -0,0 +1,5 @@ +#name "fff-wue1.asch"; +key "f9b876deb52c3136dd90440a659940614d479aeb877c774917558d46fdbc0a71"; +remote ipv4 "188.40.170.116" port 10007; + +float yes; diff --git a/etc/fastd/fff.ab/up.sh b/etc/fastd/fff.ab/up.sh new file mode 100755 index 0000000..7d135e6 --- /dev/null +++ b/etc/fastd/fff.ab/up.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/sbin/ifup $INTERFACE diff --git a/etc/fastd/fff_beispiel_fastd.sh b/etc/fastd/fff_beispiel_fastd.sh new file mode 100755 index 0000000..5c8e03a --- /dev/null +++ b/etc/fastd/fff_beispiel_fastd.sh @@ -0,0 +1,105 @@ +#!/bin/sh + +SERVERNAME="fff-ab-01" + +hood="ab" +project="fff" +port=10004 + +SERVERNAME="$SERVERNAME.$hood" + +hostname=$SERVERNAME + +if [ ! -d /etc/fastd ] +then + mkdir /etc/fastd +fi + +if [ ! -d /etc/fastd/$project.$hood ] +then + mkdir /etc/fastd/$project.$hood + mkdir /etc/fastd/$project.$hood/peers + + #fastd config + ( + echo "# Log warnings and errors to stderr" + echo "log level error;" + echo "# Log everything to a log file" + echo "log to syslog as \"${project}${hood}\" level info;" + echo "# Set the interface name" + echo "interface \"${project}${hood}VPN\";" + echo "# Support xsalsa20 and aes128 encryption methods, prefer xsalsa20" + echo "#method \"xsalsa20-poly1305\";" + echo "#method \"aes128-gcm\";" + echo "method \"null\";" + echo "# Bind to a fixed port, IPv4 only" + echo "bind any:${port};" + echo "# Secret key generated by \"fastd --generate-key\"" + echo "secret \"$(fastd --generate-key | grep -i Secret | awk '{print $2}')\";" + echo "# Set the interface MTU for TAP mode with xsalsa20/aes128 over IPv4 with a base MTU of 1492 (PPPoE)" + echo "# (see MTU selection documentation)" + echo "mtu 1426;" + echo "on up \"/etc/fastd/${project}.${hood}/up.sh\";" + echo "on post-down \"/etc/fastd/${project}.${hood}/down.sh\";" + echo "# Include peers from the directory 'peers'" + echo "include peers from \"/etc/fastd/${project}.${hood}/peers\";" + echo "secure handshakes no;" + ) >> "/etc/fastd/$project.$hood/$project.$hood.conf" + + #fastd-up + ( + echo "#!/bin/sh" + echo "/sbin/ifdown \$INTERFACE" + ) >> /etc/fastd/$project.$hood/down.sh + + chmod +x /etc/fastd/$project.$hood/down.sh + + ( + echo "#!/bin/sh" + echo "/sbin/ifup \$INTERFACE" >> /etc/fastd/$project.$hood/up.sh + ) >> /etc/fastd/$project.$hood/up.sh + chmod +x /etc/fastd/$project.$hood/up.sh +fi + +pubkey=$(fastd -c /etc/fastd/$project.$hood/$project.$hood.conf --show-key --machine-readable) +port=$(grep ^bind /etc/fastd/$project.$hood/$project.$hood.conf | cut -d: -f2 | cut -d\; -f1) + +# fire up +if [ "$(/sbin/ifconfig -a | grep -i ethernet | grep ${project}${hood}VPN)" = "" ] +then + /bin/rm /var/run/fastd.$project.$hood.pid + fastd -c /etc/fastd/$project.$hood/$project.$hood.conf -d --pid-file /var/run/fastd.$project.$hood.pid +fi + +# register +wget -T15 -q "http://keyserver.freifunk-franken.de/${project}/?name=$hostname&port=$port&key=$pubkey" -O /tmp/fastd_${project}.${hood}_output +if [ "$?" != "0" ] +then + echo "Update failed" + echo "Exiting, no clean up, no refresh" + exit +fi + +touch /tmp/fastd_${project}.${hood}_starting + +filenames=$(cat /tmp/fastd_${project}.${hood}_output| grep ^#### | sed -e 's/^####//' | sed -e 's/.conf//g') +for file in $filenames +do + grep -A100 ^####$file.conf$ /tmp/fastd_${project}.${hood}_output | grep -v ^####$file.conf$ | grep -m1 ^### -B100 | grep -v ^### | sed 's/ float;/;/g' > "/etc/fastd/$project.$hood/peers/$file" + echo 'float yes;' >> "/etc/fastd/$project.$hood/peers/$file" +done + +#find old peers +OLD=$(find /etc/fastd/$project.$hood/peers/ -exec test -f '{}' -a /tmp/fastd_${project}.${hood}_starting -nt '{}' \; -print) + +if [ -n "${OLD}" ] ; then + echo "Lösche alte:" + echo $OLD + + find /etc/fastd/$project.$hood/peers/ -exec test -f '{}' -a /tmp/fastd_${project}.${hood}_starting -nt '{}' \; -print | xargs /bin/rm /tmp/fastd_${project}.${hood}_starting +fi + +#reload +kill -HUP "$(cat /var/run/fastd.$project.$hood.pid)" + +exit 0