1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(release): add tool from abbat to update bootstrap list, update bootstrap list

This commit is contained in:
Anthony Bilinski 2018-08-29 11:27:21 -07:00
parent fd99dfd0a5
commit 003ff4c7e4
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
3 changed files with 285 additions and 209 deletions

View File

@ -170,6 +170,9 @@ Follow steps for adding translations from Weblate up to step 5. Next:
- Update version number for windows/osx packages using the - Update version number for windows/osx packages using the
[`./tools/update-versions.sh`] script, e.g. `./tools/update-versions.sh [`./tools/update-versions.sh`] script, e.g. `./tools/update-versions.sh
1.11.0` 1.11.0`
- 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 using the [`./tools/update-nodelist.py`] script.
- Generate changelog with `clog`. - Generate changelog with `clog`.
- In a `MAJOR`/`MINOR` release tag should include information that changelog - 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` is located in the `CHANGELOG.md` file, e.g. `For details see CHANGELOG.md`

View File

@ -1,238 +1,150 @@
[DHT%20Server] [DHT%20Server]
dhtServerList\size=59 dhtServerList\size=37
dhtServerList\1\name=initramfs dhtServerList\1\name=MAH69K
dhtServerList\1\userId=3F0A45A268367C1BEA652F258C85F4A66DA76BCAA667A49E770BCC4917AB6A25 dhtServerList\1\userId=DA4E4ED4B697F2E9B000EEFE3A34B554ACD3F45F5C96EAEA2516DD7FF9AF7B43
dhtServerList\1\address=initramfs.io dhtServerList\1\address=2a00:7a60:0:746b::3
dhtServerList\1\port=33445 dhtServerList\1\port=33445
dhtServerList\2\name=dvor dhtServerList\2\name=CeBe
dhtServerList\2\userId=2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B dhtServerList\2\userId=6EE1FADE9F55CC7938234CC07C864081FC606D8FE7B751EDA217F268F1078A39
dhtServerList\2\address=2a00:1ca8:a7::e8b dhtServerList\2\address=2a01:4f8:212:2459::a:1337
dhtServerList\2\port=443 dhtServerList\2\port=443
dhtServerList\3\name=a68366 dhtServerList\3\name=AnthonyBilinski
dhtServerList\3\userId=AEC204B9A4501412D5F0BB67D9C81B5DB3EE6ADA64122D32A3E9B093D544327D dhtServerList\3\userId=10C00EB250C3233E343E2AEBA07115A5C28920E9C8D29492F6D00B29049EDC7E
dhtServerList\3\address=51.254.84.212 dhtServerList\3\address=tox.abilinski.com
dhtServerList\3\port=33445 dhtServerList\3\port=33445
dhtServerList\4\name=post-factum dhtServerList\4\name=pucetox
dhtServerList\4\userId=1CB6EBFD9D85448FA70D3CAE1220B76BF6FCE911B46ACDCF88054C190589650B dhtServerList\4\userId=7AED21F94D82B05774F697B209628CD5A9AD17E0C073D9329076A4C28ED28147
dhtServerList\4\address=tox.natalenko.name dhtServerList\4\address=217.182.143.254
dhtServerList\4\port=33445 dhtServerList\4\port=2306
dhtServerList\5\name=DeadTeam dhtServerList\5\name=ru_maniac
dhtServerList\5\userId=C7D284129E83877D63591F14B3F658D77FF9BA9BA7293AEB2BDFBFE1A803AF47 dhtServerList\5\userId=0FB96EEBFB1650DDB52E70CF773DDFCABE25A95CC3BB50FC251082E4B63EF82A
dhtServerList\5\address=tox.deadteam.org dhtServerList\5\address=45.59.119.218
dhtServerList\5\port=33445 dhtServerList\5\port=33445
dhtServerList\6\name=HooinKyoma dhtServerList\6\name=velusip
dhtServerList\6\userId=672DBE27B4ADB9D5FB105A6BB648B2F8FDB89B3323486A7A21968316E012023C dhtServerList\6\userId=7E5668E0EE09E19F320AD47902419331FFEE147BB3606769CFBE921A2A2FD34C
dhtServerList\6\address=2a02:7aa0:1619::c6fe:d0cb dhtServerList\6\address=149.56.140.5
dhtServerList\6\port=33445 dhtServerList\6\port=33445
dhtServerList\7\name=flobe dhtServerList\7\name=Pokemon
dhtServerList\7\userId=0E9D7FEE2AA4B42A4C18FE81C038E32FFD8D907AAA7896F05AA76C8D31A20065 dhtServerList\7\userId=1B5A8AB25FFFB66620A531C4646B47F0F32B74C547B30AF8BD8266CA50A3AB59
dhtServerList\7\address=tox.abilinski.com dhtServerList\7\address=2001:1af8:4700:a115:6::b
dhtServerList\7\port=33445 dhtServerList\7\port=33445
dhtServerList\8\name=Sorunome dhtServerList\8\name=nrn
dhtServerList\8\userId=02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46 dhtServerList\8\userId=7467AFA626D3246343170B309BA5BDC975DF3924FC9D7A5917FBFA9F5CD5CD38
dhtServerList\8\address=sorunome.de dhtServerList\8\address=tmux.ru
dhtServerList\8\port=33445 dhtServerList\8\port=33445
dhtServerList\9\name=a68366 dhtServerList\9\name=initramfs
dhtServerList\9\userId=AEC204B9A4501412D5F0BB67D9C81B5DB3EE6ADA64122D32A3E9B093D544327D dhtServerList\9\userId=3F0A45A268367C1BEA652F258C85F4A66DA76BCAA667A49E770BCC4917AB6A25
dhtServerList\9\address=2001:41d0:a:1a3b::18 dhtServerList\9\address=tox.initramfs.io
dhtServerList\9\port=33445 dhtServerList\9\port=33445
dhtServerList\10\name=velusip dhtServerList\10\name=Amin
dhtServerList\10\userId=7E5668E0EE09E19F320AD47902419331FFEE147BB3606769CFBE921A2A2FD34C dhtServerList\10\userId=5A59705F86B9FC0671FDF72ED9BB5E55015FF20B349985543DDD4B0656CA1C63
dhtServerList\10\address=fe80::f816:3eff:fe61:92e3 dhtServerList\10\address=t0x-node1.weba.ru
dhtServerList\10\port=33445 dhtServerList\10\port=33445
dhtServerList\11\name=Pokemon dhtServerList\11\name=LittleVulpix
dhtServerList\11\userId=1B5A8AB25FFFB66620A531C4646B47F0F32B74C547B30AF8BD8266CA50A3AB59 dhtServerList\11\userId=2C289F9F37C20D09DA83565588BF496FAB3764853FA38141817A72E3F18ACA0B
dhtServerList\11\address=2001:1af8:4700:a115:6::b dhtServerList\11\address=163.172.136.118
dhtServerList\11\port=33445 dhtServerList\11\port=33445
dhtServerList\12\name=MAH69K dhtServerList\12\name=Busindre
dhtServerList\12\userId=DA4E4ED4B697F2E9B000EEFE3A34B554ACD3F45F5C96EAEA2516DD7FF9AF7B43 dhtServerList\12\userId=1D5A5F2F5D6233058BF0259B09622FB40B482E4FA0931EB8FD3AB8E7BF7DAF6F
dhtServerList\12\address=2a00:7a60:0:746b::3 dhtServerList\12\address=2605:6400:1:fed5:22:45af:ec10:f329
dhtServerList\12\port=33445 dhtServerList\12\port=33445
dhtServerList\13\name=MAH69K dhtServerList\13\name=Manolis
dhtServerList\13\userId=DA4E4ED4B697F2E9B000EEFE3A34B554ACD3F45F5C96EAEA2516DD7FF9AF7B43 dhtServerList\13\userId=461FA3776EF0FA655F1A05477DF1B3B614F7D6B124F7DB1DD4FE3C08B03B640F
dhtServerList\13\address=185.25.116.107 dhtServerList\13\address=130.133.110.14
dhtServerList\13\port=33445 dhtServerList\13\port=33445
dhtServerList\14\name=Skey dhtServerList\14\name=warlomak
dhtServerList\14\userId=2D320F971EF2CA18004416C2AAE7BA52BF7949DB34EA8E2E21AF67BD367BE211 dhtServerList\14\userId=FFAC871E85B1E1487F87AE7C76726AE0E60318A85F6A1669E04C47EB8DC7C72D
dhtServerList\14\address=88.99.133.52 dhtServerList\14\address=79.140.30.52
dhtServerList\14\port=33445 dhtServerList\14\port=33445
dhtServerList\15\name=Busindre dhtServerList\15\name=CeBe
dhtServerList\15\userId=1D5A5F2F5D6233058BF0259B09622FB40B482E4FA0931EB8FD3AB8E7BF7DAF6F dhtServerList\15\userId=6EE1FADE9F55CC7938234CC07C864081FC606D8FE7B751EDA217F268F1078A39
dhtServerList\15\address=198.98.51.198 dhtServerList\15\address=136.243.141.187
dhtServerList\15\port=33445 dhtServerList\15\port=443
dhtServerList\16\name=Yani dhtServerList\16\name=fluke571
dhtServerList\16\userId=E59A0E71ADA20D35BD1B0957059D7EF7E7792B3D680AE25C6F4DBBA09114D165 dhtServerList\16\userId=3CEE1F054081E7A011234883BC4FC39F661A55B73637A5AC293DDF1251D9432B
dhtServerList\16\address=37.97.185.116 dhtServerList\16\address=2001:1470:fbfe::109
dhtServerList\16\port=33445 dhtServerList\16\port=33445
dhtServerList\17\name=AbacusAvenger dhtServerList\17\name=Skey
dhtServerList\17\userId=1A56EA3EDF5DF4C0AEABBF3C2E4E603890F87E983CAC8A0D532A335F2C6E3E1F dhtServerList\17\userId=B71E91E2F5029B0A84D3B1136319CDD3D1DB6D3702B6CEFA66A4BEB25A635916
dhtServerList\17\address=tox.uplinklabs.net dhtServerList\17\address=213.183.51.211
dhtServerList\17\port=33445 dhtServerList\17\port=33445
dhtServerList\18\name=blind_oracle dhtServerList\18\name=nurupo
dhtServerList\18\userId=D527E5847F8330D628DAB1814F0A422F6DC9D0A300E6C357634EE2DA88C35463 dhtServerList\18\userId=F404ABAA1C99A9D37D61AB54898F56793E1DEF8BD46B1038B9D822E8460FAB67
dhtServerList\18\address=tox.novg.net dhtServerList\18\address=node.tox.biribiri.org
dhtServerList\18\port=33445 dhtServerList\18\port=33445
dhtServerList\19\name=ray65536 dhtServerList\19\name=pucetox
dhtServerList\19\userId=8E7D0B859922EF569298B4D261A8CCB5FEA14FB91ED412A7603A585A25698832 dhtServerList\19\userId=7AED21F94D82B05774F697B209628CD5A9AD17E0C073D9329076A4C28ED28147
dhtServerList\19\address=85.172.30.117 dhtServerList\19\address=2001:41d0:302:1000::e111
dhtServerList\19\port=33445 dhtServerList\19\port=2306
dhtServerList\20\name=Nolz dhtServerList\20\name=MAH69K
dhtServerList\20\userId=A856243058D1DE633379508ADCAFCF944E40E1672FF402750EF712E30C42012A dhtServerList\20\userId=DA4E4ED4B697F2E9B000EEFE3A34B554ACD3F45F5C96EAEA2516DD7FF9AF7B43
dhtServerList\20\address=node.tox.ngc.network dhtServerList\20\address=185.25.116.107
dhtServerList\20\port=33445 dhtServerList\20\port=33445
dhtServerList\21\name=CeBe dhtServerList\21\name=Yani
dhtServerList\21\userId=6EE1FADE9F55CC7938234CC07C864081FC606D8FE7B751EDA217F268F1078A39 dhtServerList\21\userId=E59A0E71ADA20D35BD1B0957059D7EF7E7792B3D680AE25C6F4DBBA09114D165
dhtServerList\21\address=2a01:4f8:212:2459::a:1337 dhtServerList\21\address=37.97.185.116
dhtServerList\21\port=443 dhtServerList\21\port=33445
dhtServerList\22\name=Stranger dhtServerList\22\name=Busindre
dhtServerList\22\userId=813C8F4187833EF0655B10F7752141A352248462A567529A38B6BBF73E979307 dhtServerList\22\userId=1D5A5F2F5D6233058BF0259B09622FB40B482E4FA0931EB8FD3AB8E7BF7DAF6F
dhtServerList\22\address=46.229.52.198 dhtServerList\22\address=198.98.51.198
dhtServerList\22\port=33445 dhtServerList\22\port=33445
dhtServerList\23\name=tastytea dhtServerList\23\name=ray65536
dhtServerList\23\userId=2B2137E094F743AC8BD44652C55F41DFACC502F125E99E4FE24D40537489E32F dhtServerList\23\userId=8E7D0B859922EF569298B4D261A8CCB5FEA14FB91ED412A7603A585A25698832
dhtServerList\23\address=2a02:c200:1:10:3:1:605:1337 dhtServerList\23\address=85.172.30.117
dhtServerList\23\port=5190 dhtServerList\23\port=33445
dhtServerList\24\name=dvor dhtServerList\24\name=Pokemon
dhtServerList\24\userId=2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B dhtServerList\24\userId=1B5A8AB25FFFB66620A531C4646B47F0F32B74C547B30AF8BD8266CA50A3AB59
dhtServerList\24\address=185.14.30.213 dhtServerList\24\address=37.48.122.22
dhtServerList\24\port=443 dhtServerList\24\port=33445
dhtServerList\25\name=Pokemon dhtServerList\25\name=LittleVulpix
dhtServerList\25\userId=1B5A8AB25FFFB66620A531C4646B47F0F32B74C547B30AF8BD8266CA50A3AB59 dhtServerList\25\userId=2C289F9F37C20D09DA83565588BF496FAB3764853FA38141817A72E3F18ACA0B
dhtServerList\25\address=37.48.122.22 dhtServerList\25\address=2001:bc8:4400:2100::13:41d
dhtServerList\25\port=33445 dhtServerList\25\port=33445
dhtServerList\26\name=loskiq dhtServerList\26\name=Sorunome
dhtServerList\26\userId=88124F3C18C6CFA8778B7679B7329A333616BD27A4DFB562D476681315CF143D dhtServerList\26\userId=02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46
dhtServerList\26\address=m.loskiq.it dhtServerList\26\address=78.46.73.141
dhtServerList\26\port=33445 dhtServerList\26\port=33445
dhtServerList\27\name=Deliran dhtServerList\27\name=blind_oracle
dhtServerList\27\userId=1C5293AEF2114717547B39DA8EA6F1E331E5E358B35F9B6B5F19317911C5F976 dhtServerList\27\userId=D527E5847F8330D628DAB1814F0A422F6DC9D0A300E6C357634EE2DA88C35463
dhtServerList\27\address=tox.verdict.gg dhtServerList\27\address=tox.novg.net
dhtServerList\27\port=33445 dhtServerList\27\port=33445
dhtServerList\28\name=ru_maniac dhtServerList\28\name=dvor
dhtServerList\28\userId=24156472041E5F220D1FA11D9DF32F7AD697D59845701CDD7BE7D1785EB9DB39 dhtServerList\28\userId=2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B
dhtServerList\28\address=2a02:f680:1:1100::3313 dhtServerList\28\address=185.14.30.213
dhtServerList\28\port=33445 dhtServerList\28\port=443
dhtServerList\29\name=pucetox dhtServerList\29\name=dvor
dhtServerList\29\userId=7AED21F94D82B05774F697B209628CD5A9AD17E0C073D9329076A4C28ED28147 dhtServerList\29\userId=2555763C8C460495B14157D234DD56B86300A2395554BCAE4621AC345B8C1B1B
dhtServerList\29\address=217.182.143.254 dhtServerList\29\address=2a00:1ca8:a7::e8b
dhtServerList\29\port=2306 dhtServerList\29\port=443
dhtServerList\30\name=ru_maniac dhtServerList\30\name=Nolz
dhtServerList\30\userId=24156472041E5F220D1FA11D9DF32F7AD697D59845701CDD7BE7D1785EB9DB39 dhtServerList\30\userId=15E9C309CFCB79FDDF0EBA057DABB49FE15F3803B1BFF06536AE2E5BA5E4690E
dhtServerList\30\address=185.58.206.164 dhtServerList\30\address=tox.ngc.zone
dhtServerList\30\port=33445 dhtServerList\30\port=33445
dhtServerList\31\name=himura dhtServerList\31\name=loskiq
dhtServerList\31\userId=8F738BBC8FA9394670BCAB146C67A507B9907C8E564E28C2B59BEBB2FF68711B dhtServerList\31\userId=88124F3C18C6CFA8778B7679B7329A333616BD27A4DFB562D476681315CF143D
dhtServerList\31\address=85.21.144.224 dhtServerList\31\address=tox-node.loskiq.it
dhtServerList\31\port=33445 dhtServerList\31\port=33445
dhtServerList\32\name=Phsm dhtServerList\32\name=linxon
dhtServerList\32\userId=20965721D32CE50C3E837DD75B33908B33037E6225110BFF209277AEAF3F9639 dhtServerList\32\userId=B38255EE4B054924F6D79A5E6E5889EC94B6ADF6FE9906F97A3D01E3D083223A
dhtServerList\32\address=toxnode.nek0.net dhtServerList\32\address=80.87.193.193
dhtServerList\32\port=33445 dhtServerList\32\port=33445
dhtServerList\33\name=strngr dhtServerList\33\name=Sorunome
dhtServerList\33\userId=FB4CE0DDEFEED45F26917053E5D24BDDA0FA0A3D83A672A9DA2375928B37023D dhtServerList\33\userId=02807CF4F8BB8FB390CC3794BDF1E8449E9A8392C5D3F2200019DA9F1E812E46
dhtServerList\33\address=2a01:d0:ffff:a8a::2 dhtServerList\33\address=2a01:4f8:120:4091::3
dhtServerList\33\port=33445 dhtServerList\33\port=33445
dhtServerList\34\name=HooinKyoma dhtServerList\34\name=a68366
dhtServerList\34\userId=672DBE27B4ADB9D5FB105A6BB648B2F8FDB89B3323486A7A21968316E012023C dhtServerList\34\userId=AEC204B9A4501412D5F0BB67D9C81B5DB3EE6ADA64122D32A3E9B093D544327D
dhtServerList\34\address=95.215.44.78 dhtServerList\34\address=tox1.a68366.com
dhtServerList\34\port=33445 dhtServerList\34\port=33445
dhtServerList\35\name=Busindre dhtServerList\35\name=Skey
dhtServerList\35\userId=A179B09749AC826FF01F37A9613F6B57118AE014D4196A0E1105A98F93A54702 dhtServerList\35\userId=B71E91E2F5029B0A84D3B1136319CDD3D1DB6D3702B6CEFA66A4BEB25A635916
dhtServerList\35\address=205.185.116.116 dhtServerList\35\address=2a06:f901:1:100::98
dhtServerList\35\port=33445 dhtServerList\35\port=33445
dhtServerList\36\name=pucetox dhtServerList\36\name=fluke571
dhtServerList\36\userId=7AED21F94D82B05774F697B209628CD5A9AD17E0C073D9329076A4C28ED28147 dhtServerList\36\userId=3CEE1F054081E7A011234883BC4FC39F661A55B73637A5AC293DDF1251D9432B
dhtServerList\36\address=2001:41d0:302:1000::e111 dhtServerList\36\address=194.249.212.109
dhtServerList\36\port=2306 dhtServerList\36\port=33445
dhtServerList\37\name=LittleVulpix dhtServerList\37\name=ky0uraku
dhtServerList\37\userId=2C289F9F37C20D09DA83565588BF496FAB3764853FA38141817A72E3F18ACA0B dhtServerList\37\userId=257744DBF57BE3E117FE05D145B5F806089428D4DCE4E3D0D50616AA16D9417E
dhtServerList\37\address=163.172.136.118 dhtServerList\37\address=95.31.18.227
dhtServerList\37\port=33445 dhtServerList\37\port=33445
dhtServerList\38\name=tastytea
dhtServerList\38\userId=2B2137E094F743AC8BD44652C55F41DFACC502F125E99E4FE24D40537489E32F
dhtServerList\38\address=5.189.176.217
dhtServerList\38\port=5190
dhtServerList\39\name=linxon
dhtServerList\39\userId=B38255EE4B054924F6D79A5E6E5889EC94B6ADF6FE9906F97A3D01E3D083223A
dhtServerList\39\address=80.87.193.193
dhtServerList\39\port=33445
dhtServerList\40\name=velusip
dhtServerList\40\userId=7E5668E0EE09E19F320AD47902419331FFEE147BB3606769CFBE921A2A2FD34C
dhtServerList\40\address=144.217.86.39
dhtServerList\40\port=33445
dhtServerList\41\name=fluke571
dhtServerList\41\userId=3CEE1F054081E7A011234883BC4FC39F661A55B73637A5AC293DDF1251D9432B
dhtServerList\41\address=2001:1470:fbfe::109
dhtServerList\41\port=33445
dhtServerList\42\name=D4rk4
dhtServerList\42\userId=53737F6D47FA6BD2808F378E339AF45BF86F39B64E79D6D491C53A1D522E7039
dhtServerList\42\address=d4rk4.ru
dhtServerList\42\port=1813
dhtServerList\43\name=nrn
dhtServerList\43\userId=7467AFA626D3246343170B309BA5BDC975DF3924FC9D7A5917FBFA9F5CD5CD38
dhtServerList\43\address=tmux.ru
dhtServerList\43\port=33445
dhtServerList\44\name=Manolis
dhtServerList\44\userId=461FA3776EF0FA655F1A05477DF1B3B614F7D6B124F7DB1DD4FE3C08B03B640F
dhtServerList\44\address=2001:6f8:1c3c:babe::14:1
dhtServerList\44\port=33445
dhtServerList\45\name=nurupo
dhtServerList\45\userId=F404ABAA1C99A9D37D61AB54898F56793E1DEF8BD46B1038B9D822E8460FAB67
dhtServerList\45\address=node.tox.biribiri.org
dhtServerList\45\port=33445
dhtServerList\46\name=Manolis
dhtServerList\46\userId=461FA3776EF0FA655F1A05477DF1B3B614F7D6B124F7DB1DD4FE3C08B03B640F
dhtServerList\46\address=130.133.110.14
dhtServerList\46\port=33445
dhtServerList\47\name=ru_maniac
dhtServerList\47\userId=0FB96EEBFB1650DDB52E70CF773DDFCABE25A95CC3BB50FC251082E4B63EF82A
dhtServerList\47\address=104.223.122.15
dhtServerList\47\port=33445
dhtServerList\48\name=ru_maniac
dhtServerList\48\userId=0FB96EEBFB1650DDB52E70CF773DDFCABE25A95CC3BB50FC251082E4B63EF82A
dhtServerList\48\address=2607:ff48:aa81:800::35eb:1
dhtServerList\48\port=33445
dhtServerList\49\name=fluke571
dhtServerList\49\userId=3CEE1F054081E7A011234883BC4FC39F661A55B73637A5AC293DDF1251D9432B
dhtServerList\49\address=194.249.212.109
dhtServerList\49\port=33445
dhtServerList\50\name=Busindre
dhtServerList\50\userId=1D5A5F2F5D6233058BF0259B09622FB40B482E4FA0931EB8FD3AB8E7BF7DAF6F
dhtServerList\50\address=2605:6400:1:fed5:22:45af:ec10:f329
dhtServerList\50\port=33445
dhtServerList\51\name=EveNeko
dhtServerList\51\userId=D3EB45181B343C2C222A5BCF72B760638E15ED87904625AAD351C594EEFAE03E
dhtServerList\51\address=hibiki.eve.moe
dhtServerList\51\port=33445
dhtServerList\52\name=dolohow
dhtServerList\52\userId=BEB71F97ED9C99C04B8489BB75579EB4DC6AB6F441B603D63533122F1858B51D
dhtServerList\52\address=37.187.122.30
dhtServerList\52\port=33445
dhtServerList\53\name=linxon
dhtServerList\53\userId=B38255EE4B054924F6D79A5E6E5889EC94B6ADF6FE9906F97A3D01E3D083223A
dhtServerList\53\address=2a01:230:2:6::46a8
dhtServerList\53\port=33445
dhtServerList\54\name=strngr
dhtServerList\54\userId=FB4CE0DDEFEED45F26917053E5D24BDDA0FA0A3D83A672A9DA2375928B37023D
dhtServerList\54\address=195.93.190.6
dhtServerList\54\port=33445
dhtServerList\55\name=mikhailnov
dhtServerList\55\userId=2DAE6EB8C16131761A675D7C723F618FBA9D29DD8B4E0A39E7E3E8D7055EF113
dhtServerList\55\address=tox.dumalogiya.ru
dhtServerList\55\port=33445
dhtServerList\56\name=CeBe
dhtServerList\56\userId=6EE1FADE9F55CC7938234CC07C864081FC606D8FE7B751EDA217F268F1078A39
dhtServerList\56\address=136.243.141.187
dhtServerList\56\port=443
dhtServerList\57\name=Impyy
dhtServerList\57\userId=6FC41E2BD381D37E9748FC0E0328CE086AF9598BECC8FEB7DDF2E440475F300E
dhtServerList\57\address=nodes.tox.chat
dhtServerList\57\port=33445
dhtServerList\58\name=basiljose
dhtServerList\58\userId=7B6CB208C811DEA8782711CE0CAD456AAC0C7B165A0498A1AA7010D2F2EC996C
dhtServerList\58\address=192.99.232.158
dhtServerList\58\port=33445
dhtServerList\59\name=LittleVulpix
dhtServerList\59\userId=2C289F9F37C20D09DA83565588BF496FAB3764853FA38141817A72E3F18ACA0B
dhtServerList\59\address=2001:bc8:4400:2100::1c:50f
dhtServerList\59\port=33445

161
tools/update-nodelist.py Executable file
View File

@ -0,0 +1,161 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2017-2018 The qTox Project Contributors
#
# This program is free 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
import re
import sys
import json
import codecs
import random
# PEP-3108
try:
from urllib.request import Request as Request
from urllib.request import build_opener as build_opener
except ImportError:
from urllib2 import Request as Request
from urllib2 import build_opener as build_opener
# PEP-469
try:
dict.iteritems
except AttributeError:
def iteritems(d):
return iter(d.items())
else:
def iteritems(d):
return d.iteritems()
def getNodeList():
url = "https://nodes.tox.chat/json"
headers = {
"Accept" : "application/json",
"User-Agent" : "tox.pkg"
}
request = Request(url, None, headers)
opener = build_opener()
result = opener.open(request, timeout = 5)
code = result.getcode()
if code != 200:
raise RuntimeError("HTTP-{0}".format(code))
def _json_convert(input):
if isinstance(input, dict):
return dict([(_json_convert(key), _json_convert(value)) for key, value in iteritems(input)])
elif isinstance(input, list):
return [_json_convert(element) for element in input]
elif isinstance(input, unicode):
return input.encode("utf-8")
else:
return input
if sys.version_info < (3, 0):
result = json.load(result, object_hook = _json_convert)
else:
result = json.load(codecs.getreader("utf-8")(result))
return result
def parseNodeList(nodes):
result = []
ipv4re = re.compile("^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$")
ipv6re = re.compile("^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$")
fqdn_re = re.compile("^((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}$")
pkre = re.compile("^[0-9a-fA-F]{64}$")
for node in nodes:
ipv4 = str(node["ipv4"])
ipv6 = str(node["ipv6"]).lower()
port = int(node["port"])
public_key = str(node["public_key"]).upper()
maintainer = str(node["maintainer"])
udp_status = str(node["status_udp"]).lower()
tcp_status = str(node["status_tcp"]).lower()
tcp_ports = node["tcp_ports"]
if udp_status != "true" or tcp_status != "true":
continue
if not ipv4re.match(ipv4) and not fqdn_re.match(ipv4):
ipv4 = None
if not ipv6re.match(ipv6) and not fqdn_re.match(ipv6):
ipv6 = None
if not (ipv4 or ipv6):
continue
if port < 1 or port > 65535:
continue
if not pkre.match(public_key):
continue
if ipv4:
item = {
"address" : ipv4,
"port" : port,
"public_key" : public_key,
"maintainer" : maintainer
}
result.append(item)
if ipv6 and ipv6 != ipv4:
item = {
"address" : ipv6,
"port" : port,
"public_key" : public_key,
"maintainer" : maintainer
}
result.append(item)
return result
if __name__ == "__main__":
out_file = open("res/settings.ini", "w+")
try:
nodes = getNodeList();
nodes = nodes["nodes"]
nodes = parseNodeList(nodes)
if len(nodes) == 0:
raise RuntimeError("Empty node list")
random.shuffle(nodes)
result = ""
result += "[DHT%20Server]\n"
result += "dhtServerList\\size={0}\n".format(len(nodes))
index = 0
for node in nodes:
index += 1
result += "dhtServerList\\{0}\\name={1}\n".format(index, node["maintainer"])
result += "dhtServerList\\{0}\\userId={1}\n".format(index, node["public_key"])
result += "dhtServerList\\{0}\\address={1}\n".format(index, node["address"])
result += "dhtServerList\\{0}\\port={1}\n".format(index, node["port"])
out_file.write(result)
except Exception as e:
sys.stderr.write("{0}\n".format(e))
sys.exit(1)