From da0bae54305560db390d87c1eeb7aa86dacf04a4 Mon Sep 17 00:00:00 2001 From: sudden6 Date: Mon, 23 Mar 2020 21:25:08 +0100 Subject: [PATCH] chore(nodes): update bootstrap nodes and tools Add a script to update bootstrap nodes from nodes.tox.chat. Update maintainer instructions for release. --- MAINTAINING.md | 2 ++ res/nodes.json | 2 +- tools/update-nodes.sh | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100755 tools/update-nodes.sh diff --git a/MAINTAINING.md b/MAINTAINING.md index 7b8b92951..92b80cff3 100644 --- a/MAINTAINING.md +++ b/MAINTAINING.md @@ -214,6 +214,7 @@ To get translations into qTox: - Update toxcore version number to the latest tag. Currently this needs to be done manually by `grep`ing for the current tag. - Update the bootstrap nodelist at `./res/nodes.json` from https://nodes.tox.chat/json. + This can be done by running [`./tools/update-nodes.sh`] - Generate changelog with `clog`. - In a `MAJOR`/`MINOR` release tag should include information that changelog is located in the `CHANGELOG.md` file, e.g. `For details see CHANGELOG.md` @@ -260,6 +261,7 @@ helping for a while, ask to be added to the `qTox` organization on GitHub. [`test-pr.sh`]: /test-pr.sh [`./tools/deweblate-translation-file.sh`]: /tools/deweblate-translation-file.sh [`./tools/create-tarball.sh`]: /tools/create-tarball.sh +[`./tools/update-nodes.sh`]: /tools/update-nodes.sh [`./tools/update-versions.sh`]: /tools/update-versions.sh [`./tools/format-code.sh`]: /tools/format-code.sh [Flathub repository]: https://github.com/flathub/io.github.qtox.qTox diff --git a/res/nodes.json b/res/nodes.json index 22e233767..a0f34dc73 100644 --- a/res/nodes.json +++ b/res/nodes.json @@ -1 +1 @@ -{"last_scan":1551037926,"last_refresh":1551037868,"nodes":[{"ipv4":"node.tox.biribiri.org","ipv6":"-","port":33445,"tcp_ports":[3389,33445],"public_key":"F404ABAA1C99A9D37D61AB54898F56793E1DEF8BD46B1038B9D822E8460FAB67","maintainer":"nurupo","location":"US","status_udp":true,"status_tcp":true,"version":"1000002009","motd":"Welcome, stranger #2692. I'm up for 1d 20h 51m 48s, running since Feb 22 23:00:18 UTC. If I get outdated, please ping my maintainer at nurupo.contributions@gmail.com","last_ping":1551037926},{"ipv4":"85.172.30.117","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"8E7D0B859922EF569298B4D261A8CCB5FEA14FB91ED412A7603A585A25698832","maintainer":"ray65536","location":"RU","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Ray's Tox Node. TOX ID:3C3D6DB24D24754393679E59F198EF45EE26835AEF7EA3E3ECEA40E204F2B828BE86DF012ABF","last_ping":1551037928},{"ipv4":"194.249.212.109","ipv6":"2001:1470:fbfe::109","port":33445,"tcp_ports":[33445,3389],"public_key":"3CEE1F054081E7A011234883BC4FC39F661A55B73637A5AC293DDF1251D9432B","maintainer":"fluke571","location":"SI","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"tox-bootstrapd","last_ping":1551037928},{"ipv4":"185.25.116.107","ipv6":"2a00:7a60:0:746b::3","port":33445,"tcp_ports":[3389,33445],"public_key":"DA4E4ED4B697F2E9B000EEFE3A34B554ACD3F45F5C96EAEA2516DD7FF9AF7B43","maintainer":"MAH69K","location":"UA","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Saluton! Mia Tox ID: B229B7BD68FC66C2716EAB8671A461906321C764782D7B3EDBB650A315F6C458EF744CE89F07. Scribu! ;)","last_ping":1551037927},{"ipv4":"tox.verdict.gg","ipv6":"-","port":33445,"tcp_ports":[3389,33445],"public_key":"1C5293AEF2114717547B39DA8EA6F1E331E5E358B35F9B6B5F19317911C5F976","maintainer":"Deliran","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Praise The Sun!","last_ping":1551037927},{"ipv4":"tox1.a68366.com","ipv6":"tox1.a68366.com","port":33445,"tcp_ports":[33445,3389],"public_key":"AEC204B9A4501412D5F0BB67D9C81B5DB3EE6ADA64122D32A3E9B093D544327D","maintainer":"a68366","location":"FR","status_udp":true,"status_tcp":true,"version":"1000002009","motd":"Since 26.12.2015","last_ping":1551037927},{"ipv4":"163.172.136.118","ipv6":"2001:bc8:4400:2100::13:41d","port":33445,"tcp_ports":[3389,33445],"public_key":"2C289F9F37C20D09DA83565588BF496FAB3764853FA38141817A72E3F18ACA0B","maintainer":"LittleVulpix","location":"FR","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Running toktok/c-toxcore now. LittleTox - your friendly neighbourhood tox node!","last_ping":1551037927},{"ipv4":"78.46.73.141","ipv6":"2a01:4f8:120:4091::3","port":33445,"tcp_ports":[33445,3389],"public_key":"02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46","maintainer":"Sorunome","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Keep calm and pony on!","last_ping":1551037927},{"ipv4":"tox.initramfs.io","ipv6":"tox.initramfs.io","port":33445,"tcp_ports":[3389,33445],"public_key":"3F0A45A268367C1BEA652F258C85F4A66DA76BCAA667A49E770BCC4917AB6A25","maintainer":"initramfs","location":"TW","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"initramfs' Tox DHT Node","last_ping":1551037927},{"ipv4":"46.229.52.198","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307","maintainer":"Stranger","location":"UA","status_udp":true,"status_tcp":false,"version":"1000002008","motd":"Freedom to parrots!","last_ping":1551037926},{"ipv4":"tox.ngc.zone","ipv6":"tox.ngc.zone","port":33445,"tcp_ports":[33445,3389],"public_key":"15E9C309CFCB79FDDF0EBA057DABB49FE15F3803B1BFF06536AE2E5BA5E4690E","maintainer":"Nolz","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Unlike Others","last_ping":1551037927},{"ipv4":"144.217.167.73","ipv6":"-","port":33445,"tcp_ports":[3389,33445],"public_key":"7E5668E0EE09E19F320AD47902419331FFEE147BB3606769CFBE921A2A2FD34C","maintainer":"velusip","location":"CA","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Jera","last_ping":1551037926},{"ipv4":"tox.abilinski.com","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"10C00EB250C3233E343E2AEBA07115A5C28920E9C8D29492F6D00B29049EDC7E","maintainer":"AnthonyBilinski","location":"CA","status_udp":true,"status_tcp":true,"version":"1000002009","motd":"Running https://github.com/toktok/c-toxcore v0.2.9. qTox best Tox! Contact: AC18841E56CCDEE16E93E10E6AB2765BE54277D67F1372921B5B418A6B330D3D3FAFA60B0931","last_ping":1551037926},{"ipv4":"tmux.ru","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"7467AFA626D3246343170B309BA5BDC975DF3924FC9D7A5917FBFA9F5CD5CD38","maintainer":"nrn","location":"RU","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"https://t.me/nyoroon","last_ping":1551037928},{"ipv4":"37.48.122.22","ipv6":"2001:1af8:4700:a115:6::b","port":33445,"tcp_ports":[33445,3389],"public_key":"1B5A8AB25FFFB66620A531C4646B47F0F32B74C547B30AF8BD8266CA50A3AB59","maintainer":"Pokemon","location":"NL","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety","last_ping":1551037927},{"ipv4":"tox.novg.net","ipv6":"-","port":33445,"tcp_ports":[33445,3389],"public_key":"D527E5847F8330D628DAB1814F0A422F6DC9D0A300E6C357634EE2DA88C35463","maintainer":"blind_oracle","location":"NL","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"tox-bootstrapd","last_ping":1551037927},{"ipv4":"95.31.18.227","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"257744DBF57BE3E117FE05D145B5F806089428D4DCE4E3D0D50616AA16D9417E","maintainer":"ky0uraku","location":"RU","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Vive le TOX","last_ping":1551037928},{"ipv4":"185.14.30.213","ipv6":"2a00:1ca8:a7::e8b","port":443,"tcp_ports":[33445,3389,443],"public_key":"2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B","maintainer":"dvor","location":"NL","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Just another tox node.","last_ping":1551037927},{"ipv4":"198.199.98.108","ipv6":"2604:a880:1:20::32f:1001","port":33445,"tcp_ports":[3389,33445],"public_key":"BEF0CFB37AF874BD17B9A8F9FE64C75521DB95A37D33C5BDB00E9CF58659C04F","maintainer":"Cody","location":"US","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"tox-bootstrapd","last_ping":1551037926},{"ipv4":"52.53.185.100","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"A04F5FE1D006871588C8EC163676458C1EC75B20B4A147433D271E1E85DAF839","maintainer":"kpp","location":"US","status_udp":true,"status_tcp":true,"version":"3000000007","motd":"Hi from tox-rs! I'm up 10 days 07 hours 00 minutes. TCP: incoming 77.8M, outgoing 68.2M, UDP: incoming 152.4M, outgoing 160.2M","last_ping":1551037928},{"ipv4":"tox.kurnevsky.net","ipv6":"tox.kurnevsky.net","port":33445,"tcp_ports":[33445],"public_key":"82EF82BA33445A1F91A7DB27189ECFC0C013E06E3DA71F588ED692BED625EC23","maintainer":"kurnevsky","location":"NL","status_udp":true,"status_tcp":true,"version":"3000000006","motd":"Hi from tox-rs! I'm up 01 days 05 hours 34 minutes.","last_ping":1551037928},{"ipv4":"tox.yikifish.com","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"8EF12E275BA9CD7D56625D4950F2058B06D5905D0650A1FE76AF18DB986DF760","maintainer":"ytexas","location":"CN","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"tox-bootstrapd","last_ping":1551037928},{"ipv4":"tox-node.loskiq.it","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"88124F3C18C6CFA8778B7679B7329A333616BD27A4DFB562D476681315CF143D","maintainer":"loskiq","location":"RU","status_udp":false,"status_tcp":false,"version":"1000002008","motd":"Telegram: https://t.me/loskiq","last_ping":1541159265},{"ipv4":"79.140.30.52","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"FFAC871E85B1E1487F87AE7C76726AE0E60318A85F6A1669E04C47EB8DC7C72D","maintainer":"warlomak","location":"RU","status_udp":false,"status_tcp":false,"version":"2016010100","motd":"tox-easy-bootstrap","last_ping":1540145505}]} \ No newline at end of file +{"last_scan":1584994902,"last_refresh":1584994843,"nodes":[{"ipv4":"85.172.30.117","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"8E7D0B859922EF569298B4D261A8CCB5FEA14FB91ED412A7603A585A25698832","maintainer":"ray65536","location":"RU","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"Ray's Tox Node. TOX ID:3C3D6DB24D24754393679E59F198EF45EE26835AEF7EA3E3ECEA40E204F2B828BE86DF012ABF","last_ping":1584994904},{"ipv4":"85.143.221.42","ipv6":"2a04:ac00:1:9f00:5054:ff:fe01:becd","port":33445,"tcp_ports":[33445,3389],"public_key":"DA4E4ED4B697F2E9B000EEFE3A34B554ACD3F45F5C96EAEA2516DD7FF9AF7B43","maintainer":"MAH69K","location":"RU","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"Saluton! Mia Tox ID: B229B7BD68FC66C2716EAB8671A461906321C764782D7B3EDBB650A315F6C458EF744CE89F07. Scribu! ;)","last_ping":1584994902},{"ipv4":"tox.verdict.gg","ipv6":"-","port":33445,"tcp_ports":[3389,33445],"public_key":"1C5293AEF2114717547B39DA8EA6F1E331E5E358B35F9B6B5F19317911C5F976","maintainer":"Deliran","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Praise The Sun!","last_ping":1584994902},{"ipv4":"78.46.73.141","ipv6":"2a01:4f8:120:4091::3","port":33445,"tcp_ports":[33445,3389],"public_key":"02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46","maintainer":"Sorunome","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Keep calm and pony on!","last_ping":1584994902},{"ipv4":"tox.initramfs.io","ipv6":"tox.initramfs.io","port":33445,"tcp_ports":[33445,3389],"public_key":"3F0A45A268367C1BEA652F258C85F4A66DA76BCAA667A49E770BCC4917AB6A25","maintainer":"initramfs","location":"TW","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"initramfs' Tox DHT Node","last_ping":1584994902},{"ipv4":"46.229.52.198","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307","maintainer":"Stranger","location":"UA","status_udp":true,"status_tcp":false,"version":"1000002008","motd":"Freedom to parrots!","last_ping":1584994902},{"ipv4":"144.217.167.73","ipv6":"-","port":33445,"tcp_ports":[33445,3389],"public_key":"7E5668E0EE09E19F320AD47902419331FFEE147BB3606769CFBE921A2A2FD34C","maintainer":"velusip","location":"CA","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"Jera","last_ping":1584994902},{"ipv4":"tox.abilinski.com","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"10C00EB250C3233E343E2AEBA07115A5C28920E9C8D29492F6D00B29049EDC7E","maintainer":"AnthonyBilinski","location":"CA","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"Running https://github.com/toktok/c-toxcore v0.2.10. qTox best Tox! Contact: AC18841E56CCDEE16E93E10E6AB2765BE54277D67F1372921B5B418A6B330D3D3FAFA60B0931","last_ping":1584994902},{"ipv4":"tox.novg.net","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"D527E5847F8330D628DAB1814F0A422F6DC9D0A300E6C357634EE2DA88C35463","maintainer":"blind_oracle","location":"NL","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"tox-bootstrapd","last_ping":1584994904},{"ipv4":"95.31.18.227","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"257744DBF57BE3E117FE05D145B5F806089428D4DCE4E3D0D50616AA16D9417E","maintainer":"ky0uraku","location":"RU","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"Vive le TOX","last_ping":1584994904},{"ipv4":"198.199.98.108","ipv6":"2604:a880:1:20::32f:1001","port":33445,"tcp_ports":[3389,33445],"public_key":"BEF0CFB37AF874BD17B9A8F9FE64C75521DB95A37D33C5BDB00E9CF58659C04F","maintainer":"Cody","location":"US","status_udp":true,"status_tcp":true,"version":"1000002008","motd":"tox-bootstrapd","last_ping":1584994902},{"ipv4":"tox.kurnevsky.net","ipv6":"tox.kurnevsky.net","port":33445,"tcp_ports":[33445],"public_key":"82EF82BA33445A1F91A7DB27189ECFC0C013E06E3DA71F588ED692BED625EC23","maintainer":"kurnevsky","location":"NL","status_udp":true,"status_tcp":true,"version":"3000000008","motd":"Hi from tox-rs! I'm up 00 days 10 hours 48 minutes.","last_ping":1584994904},{"ipv4":"87.118.126.207","ipv6":"-","port":33445,"tcp_ports":[33445],"public_key":"0D303B1778CA102035DA01334E7B1855A45C3EFBC9A83B9D916FFDEBC6DD3B2E","maintainer":"quux","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"Make Orwell Fiction Again","last_ping":1584994902},{"ipv4":"81.169.136.229","ipv6":"2a01:238:4254:2a00:7aca:fe8c:68e0:27ec","port":33445,"tcp_ports":[33445,3389],"public_key":"E0DB78116AC6500398DDBA2AEEF3220BB116384CAB714C5D1FCD61EA2B69D75E","maintainer":"9ofSpades","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"🂩 wishes happy toxing. 📡","last_ping":1584994904},{"ipv4":"205.185.115.131","ipv6":"-","port":53,"tcp_ports":[53,443,3389,33445],"public_key":"3091C6BEB2A993F1C6300C16549FABA67098FF3D62C6D253828B531470B53D68","maintainer":"GDR!","location":"US","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"https://gdr.name/tuntox/","last_ping":1584994902},{"ipv4":"tox2.abilinski.com","ipv6":"tox2.abilinski.com","port":33445,"tcp_ports":[33445],"public_key":"7A6098B590BDC73F9723FC59F82B3F9085A64D1B213AAF8E610FD351930D052D","maintainer":"AnthonyBilinski","location":"US","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"Running https://github.com/toktok/c-toxcore v0.2.10. qTox best Tox! Contact: AC18841E56CCDEE16E93E10E6AB2765BE54277D67F1372921B5B418A6B330D3D3FAFA60B0931","last_ping":1584994902},{"ipv4":"floki.blog","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"6C6AF2236F478F8305969CCFC7A7B67C6383558FF87716D38D55906E08E72667","maintainer":"Floki","location":"GB","status_udp":true,"status_tcp":false,"version":"1000002010","motd":"tox-bootstrapd","last_ping":1584994902},{"ipv4":"51.158.146.76","ipv6":"2001:bc8:6010:213:208:a2ff:fe0c:7fee","port":33445,"tcp_ports":[33445,3389],"public_key":"E940D8FA9B07C1D13EA4ECF9F06B66F565F1CF61F094F60C67FDC8ADD3F4BA59","maintainer":"CyberSquirrel","location":"NL","status_udp":true,"status_tcp":true,"version":"1000002009","motd":"CyberSquirrel TOX node. Contacts - toxnode@cock.li","last_ping":1584994904},{"ipv4":"46.101.197.175","ipv6":"2a03:b0c0:3:d0::ac:5001","port":33445,"tcp_ports":[3389,33445],"public_key":"CD133B521159541FB1D326DE9850F5E56A6C724B5B8E5EB5CD8D950408E95707","maintainer":"kotelnik","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"tox-bootstrapd","last_ping":1584994902},{"ipv4":"tox1.mf-net.eu","ipv6":"tox1.mf-net.eu","port":33445,"tcp_ports":[33445,3389],"public_key":"B3E5FA80DC8EBD1149AD2AB35ED8B85BD546DEDE261CA593234C619249419506","maintainer":"2mf","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002010","motd":"tox-bootstrapd","last_ping":1584994902},{"ipv4":"tox2.mf-net.eu","ipv6":"tox2.mf-net.eu","port":33445,"tcp_ports":[3389,33445],"public_key":"70EA214FDE161E7432530605213F18F7427DC773E276B3E317A07531F548545F","maintainer":"2mf","location":"DE","status_udp":true,"status_tcp":true,"version":"1000002009","motd":"tox-bootstrapd","last_ping":1584994903},{"ipv4":"46.146.229.184","ipv6":"-","port":33445,"tcp_ports":[3389,33445],"public_key":"94750E94013586CCD989233A621747E2646F08F31102339452CADCF6DC2A760A","maintainer":"GS","location":"RU","status_udp":false,"status_tcp":true,"version":"2016010100","motd":"tox-bootstrapd","last_ping":1584994904},{"ipv4":"tox.neuland.technology","ipv6":"tox.neuland.technology","port":33445,"tcp_ports":[],"public_key":"15E9C309CFCB79FDDF0EBA057DABB49FE15F3803B1BFF06536AE2E5BA5E4690E","maintainer":"Nolz","location":"DE","status_udp":false,"status_tcp":false,"version":"1000002008","motd":"Unlike Others","last_ping":1580033828},{"ipv4":"37.48.122.22","ipv6":"2001:1af8:4700:a115:6::b","port":33445,"tcp_ports":[],"public_key":"1B5A8AB25FFFB66620A531C4646B47F0F32B74C547B30AF8BD8266CA50A3AB59","maintainer":"Pokemon","location":"NL","status_udp":false,"status_tcp":false,"version":"1000002009","motd":"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety","last_ping":1582034682},{"ipv4":"185.14.30.213","ipv6":"2a00:1ca8:a7::e8b","port":443,"tcp_ports":[],"public_key":"2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B","maintainer":"dvor","location":"NL","status_udp":false,"status_tcp":false,"version":"1000002008","motd":"Just another tox node.","last_ping":1579652108},{"ipv4":"109.111.178.181","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"25890C0139ECF9F217C72058D9E43E8873F6755D24374525623944915C98A903","maintainer":"LivingstoneI2P","location":"RU","status_udp":false,"status_tcp":false,"version":"","motd":"","last_ping":1580906888},{"ipv4":"218.28.170.22","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"DBACB7D3F53693498398E6B46EF0C063A4656EB02FEFA11D72A60BAFA8DF7B59","maintainer":"OnionBulb","location":"CN","status_udp":false,"status_tcp":false,"version":"1000002010","motd":"tox-bootstrapd","last_ping":1584979904},{"ipv4":"194.36.190.71","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"B62F1878BD08EDD34E4D7B0D66F9E74CC7BDE4BEA2C95E130DAADCFF9BCB4F6D","maintainer":"Shilov","location":"NL","status_udp":false,"status_tcp":false,"version":"1000002010","motd":"tox-bootstrapd","last_ping":1583185122},{"ipv4":"94.45.70.19","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"CE049A748EB31F0377F94427E8E3D219FC96509D4F9D16E181E956BC5B1C4564","maintainer":"Shilov","location":"UA","status_udp":false,"status_tcp":false,"version":"3000000008","motd":"{{Welcome to Ukraine!}} 33 days 02 hours 17 minutes Tcp: incoming 217.5M, outgoing 177.2M, Udp: incoming 307.9M, outgoing 332.5M","last_ping":1583184822},{"ipv4":"185.66.13.169","ipv6":"-","port":33445,"tcp_ports":[],"public_key":"A44A024DA1299A85B91E3A64B9D19C7F331D0073DD2FAAF1361C127B5D909E3D","maintainer":"Shilov","location":"RU","status_udp":false,"status_tcp":false,"version":"3000000008","motd":"{Elektrostal{start_date}} 10 days 02 hours 47 minutes Tcp: incoming 50.1M, outgoing 38.6M, Udp: incoming 96.3M, outgoing 102.5M","last_ping":1583185662}]} \ No newline at end of file diff --git a/tools/update-nodes.sh b/tools/update-nodes.sh new file mode 100755 index 000000000..770f85cc5 --- /dev/null +++ b/tools/update-nodes.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +# Copyright © 2020 by The qTox Project Contributors +# +# This file is part of qTox, a Qt-based graphical interface for Tox. +# qTox is libre software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# qTox is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with qTox. If not, see + + +# script to update the list of bootstrap nodes +# +# it should be run before releasing a new version +## +# requires: +# * curl + +# usage: +# +# ./$script + + +set -eu -o pipefail + +readonly SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +readonly NODES_FILE="$SCRIPT_DIR/../res/nodes.json" +readonly NODES_URL="https://nodes.tox.chat/json" + +curl "$NODES_URL" --output "$NODES_FILE"