kyuupichan / electrumx

Alternative implementation of spesmilo/electrum-server
Other
725 stars 733 forks source link

v3 (larger) onion addresses the peer to peer server advertising subsystem #590

Closed gits7r closed 6 years ago

gits7r commented 6 years ago

I run a V3 .onion server, the address is set to be advertised in electrumx config, but I never see it anywhere unless I set it manually as server because I know about it.

Tor switched to v3 onion addresses which provide stronger security (ed25519 whole public key, base32 encoded) as opposite to the legacy (v2) ones that were sha1(RSA1024).

Is there any limitation in the peer to peer advertising subsystem that prevent such large addresses to go through? Or is something in Electrum wallet itself that will not show such large .onion addresses in the network dialog gui?

kyuupichan commented 6 years ago

I'm not aware of any limitation.

SomberNight commented 6 years ago

I can see one onion v3 server among the peers of my server and also in the list in the electrum client at the moment.

capture

Server peers ``` $ sudo docker exec -it electrumx-cont electrumx_rpc peers Host Status TCP SSL Server Min Max Pruning Last Good Last Try Tries Source IP Address electrumx.bot.nu good 50001 50002 ElectrumX 1.8.5 1.1 1.4 01h 09m 01s 01h 09m 02s 0 peer 173.91.90.62 tardis.bauerj.eu good 50001 50002 ElectrumX 1.8.1 1.1 1.4 01h 42m 39s 01h 42m 39s 0 peer 51.15.138.64 currentlane.lovebitco.in good 50001 50002 ElectrumX 1.8.4 1.1 1.4 02h 07m 18s 02h 07m 18s 0 peer 88.198.91.74 ozahtqwp25chjdjd.onion good 50001 50002 ElectrumX 1.8.4 1.1 1.4 02h 28m 19s 02h 28m 33s 0 peer electrum3.hachre.de good 50001 50002 ElectrumX 1.8.5 1.1 1.4 02h 29m 56s 02h 29m 56s 0 peer 173.249.52.246 3smoooajg7qqac2y.onion good 50001 50002 ElectrumX 1.8.5 1.1 1.4 02h 35m 05s 02h 35m 14s 0 peer btc.smsys.me good 995 ElectrumX 1.8.4 1.1 1.4 02h 39m 08s 02h 39m 10s 0 peer 50.198.167.205 electrumx.ddns.net good 50001 50002 ElectrumX 1.8.3 1.1 1.4 03h 09m 24s 03h 09m 26s 0 peer 169.0.139.98 13.80.67.162 good 50001 50002 ElectrumX 1.4.3 1.0 1.2 03h 19m 55s 03h 19m 55s 0 peer 13.80.67.162 e.keff.org good 50001 50002 ElectrumX 1.4.4p2 1.1 1.2 04h 44m 54s 04h 44m 54s 0 peer 194.71.109.91 electrum-unlimited.criptolayer good 50002 ElectrumX 1.8.5 1.1 1.4 04h 57m 24s 04h 57m 24s 0 peer 188.40.93.205 electrum.coineuskal.com good 50001 50002 ElectrumX 1.3 0.9 1.2 04h 59m 33s 04h 59m 34s 0 peer 34.207.56.59 b-i-t-c-o-i-n.nl good 50001 50002 ElectrumX 1.2 0.9 1.1 05h 37m 07s 05h 37m 07s 0 peer 82.217.214.215 electrum.villocq.com good 50001 50002 ElectrumX 1.4.3 1.0 1.2 05h 49m 00s 05h 49m 01s 0 peer 88.202.201.30 185.64.116.15 good 50001 50002 ElectrumX 1.3+ 0.9 1.2 06h 29m 55s 06h 29m 55s 0 peer 185.64.116.15 electrum.leblancnet.us good 50001 50002 ElectrumX 1.7.3 1.1 1.4 06h 39m 26s 06h 39m 27s 0 peer 69.27.173.238 electrumx.westeurope.cloudapp. good 50001 50002 ElectrumX 1.2.1 0.9 1.2 06h 39m 38s 06h 39m 39s 0 peer 104.40.216.160 n3o2hpi5xnf3o356.onion good 50001 50002 ElectrumX 1.3 0.9 1.2 06h 44m 37s 06h 44m 47s 0 peer 4yi77lkjgy4bwtj3.onion good 50001 50002 ElectrumX 1.2.1 0.9 1.1 07h 06m 56s 07h 07m 10s 0 peer hsmiths4fyqlw5xw.onion good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 07m 56s 07h 08m 00s 0 peer ndndword5lpb7eex.onion good 50001 ElectrumX 1.8.5 1.1 1.4 07h 11m 35s 07h 11m 44s 0 peer electrumx.nmdps.net good 50001 50002 ElectrumX 1.7 1.1 1.4 07h 17m 43s 07h 17m 45s 0 peer 109.61.102.5 spv.48.org good 50003 50002 ElectrumX 1.4.4p2 1.1 1.2 07h 19m 55s 07h 19m 55s 0 peer 81.171.27.138 bitcoin3nqy3db7c.onion good 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 31m 25s 07h 31m 35s 0 peer 4cii7ryno5j3axe4.onion good 50001 ElectrumX 1.3.1 0.9 1.2 07h 34m 55s 07h 35m 04s 0 peer y4td57fxytoo5ki7.onion good 50001 50002 ElectrumX 1.2 0.9 1.1 07h 44m 03s 07h 44m 17s 0 peer qtornadoklbgdyww.onion good 50001 50002 ElectrumX 1.8.3 1.1 1.4 07h 45m 27s 07h 45m 38s 0 peer luggscoqbymhvnkp.onion good 80 ElectrumX 1.8.2 1.1 1.4 07h 45m 40s 07h 45m 50s 0 peer bauerjhejlv6di7s.onion good 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 46m 08s 07h 46m 17s 0 peer hsmiths5mjk6uijs.onion good 50001 50002 ElectrumX 1.8.4 1.1 1.4 07h 46m 28s 07h 46m 37s 0 peer wsw6tua3xl24gsmi264zaep6seppjy good 50001 50002 ElectrumX 1.7 1.1 1.4 07h 46m 56s 07h 47m 05s 0 peer yuio.top good 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 48m 22s 07h 48m 25s 0 peer 118.86.185.36 electrum.chainhost.io good 50002 ElectrumX 1.8.5 1.1 1.4 07h 48m 40s 07h 48m 40s 0 peer 195.154.173.26 electrum.mindspot.org good 50001 50002 ElectrumX 1.4.3 1.0 1.2 07h 49m 11s 07h 49m 12s 0 peer 172.103.153.90 electrum.nute.net good 50002 ElectrumX 1.3 0.9 1.2 07h 49m 13s 07h 49m 17s 0 peer 37.187.141.73 139.162.14.142 good 50001 50002 ElectrumX 1.2.1 0.9 1.1 07h 49m 14s 07h 49m 16s 0 peer 139.162.14.142 orannis.com good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 23s 07h 49m 24s 0 peer 50.35.67.146 electrum.hsmiths.com good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 23s 07h 49m 24s 0 peer 76.174.26.91 104.250.141.242 good 50002 ElectrumX 1.2 0.9 1.1 07h 49m 28s 07h 49m 29s 0 peer 104.250.141.242 E-X.not.fyi good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 32s 07h 49m 33s 0 peer 170.130.28.174 technetium.network good 50002 ElectrumX 1.4.3 1.0 1.2 07h 49m 34s 07h 49m 35s 0 peer 96.27.8.242 electrum.coinucopia.io good 50001 50002 ElectrumX 1.4.3 1.0 1.2 07h 49m 41s 07h 49m 42s 0 peer 67.205.187.44 electrum.festivaldelhumor.org good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 42s 07h 49m 43s 0 peer 173.212.247.250 ip239.ip-54-36-234.eu good 50001 50002 ElectrumX 1.2.1 0.9 1.1 07h 49m 46s 07h 49m 46s 0 peer 54.36.234.239 rbx.curalle.ovh good 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 46s 07h 49m 47s 0 peer 176.31.252.219 ip101.ip-54-37-91.eu good 50001 50002 ElectrumX 1.2.1 0.9 1.1 07h 49m 49s 07h 49m 49s 0 peer 54.37.91.101 bitcoins.sk good 50001 50002 ElectrumX 1.8 1.1 1.4 07h 49m 49s 07h 49m 50s 0 peer 46.229.238.187 ip119.ip-54-37-91.eu good 50001 50002 ElectrumX 1.2.1 0.9 1.1 07h 49m 50s 07h 49m 50s 0 peer 54.37.91.119 ip120.ip-54-37-91.eu good 50001 50002 ElectrumX 1.2.1 0.9 1.1 07h 49m 50s 07h 49m 50s 0 peer 54.37.91.120 bitcoin.corgi.party good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 51s 07h 49m 51s 0 peer 176.223.139.65 electrum.eff.ro good 50001 50002 ElectrumX 1.7 1.1 1.4 07h 49m 51s 07h 49m 51s 0 peer 185.36.252.200 such.ninja good 50001 50002 ElectrumX 1.2 0.9 1.1 07h 49m 51s 07h 49m 52s 0 peer 163.172.61.154 bitcoin.grey.pw good 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 49m 52s 07h 49m 52s 0 peer 173.249.8.197 www.tomscryptos.com good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 52s 07h 49m 52s 0 peer 95.216.28.117 VPS.hsmiths.com good 50001 50002 ElectrumX 1.8.4 1.1 1.4 07h 49m 53s 07h 49m 53s 0 peer 51.15.77.78 electrum.anduck.net good 50001 50002 ElectrumX 1.4.4p2 1.1 1.2 07h 49m 53s 07h 49m 53s 0 peer 62.210.6.26 electrum.be good 50001 50002 ElectrumX 1.4.3 1.0 1.2 07h 49m 54s 07h 49m 54s 0 peer 88.198.241.196 ndnd.selfhost.eu good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 54s 07h 49m 54s 0 peer 217.233.81.59 btc.pr0xima.de good 50001 50002 ElectrumX 1.3+ 0.9 1.2 07h 49m 54s 07h 49m 54s 0 peer 5.189.191.123 electrum.taborsky.cz good 50002 ElectrumX 1.7.3 1.1 1.4 07h 49m 54s 07h 49m 54s 0 peer 37.205.8.78 helicarrier.bauerj.eu good 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 49m 54s 07h 49m 55s 0 peer 178.32.88.133 electrum.vom-stausee.de good 50001 50002 ElectrumX 1.3.1 0.9 1.2 07h 49m 55s 07h 49m 55s 0 peer 37.59.46.112 elec.luggs.co good 443 ElectrumX 1.8.2 1.1 1.4 07h 49m 55s 07h 49m 55s 0 peer 95.211.185.14 electrum.qtornado.com good 50001 50002 ElectrumX 1.8.3 1.1 1.4 07h 49m 56s 07h 49m 56s 0 peer 88.99.162.199 alviss.coinjoined.com good 50001 50002 ElectrumX 1.2 0.9 1.1 07h 49m 56s 07h 49m 56s 0 peer 94.130.136.185 e-1.claudioboxx.com good 50001 50002 ElectrumX 1.6d 1.1 1.4 07h 49m 56s 07h 49m 57s 0 peer 37.61.209.146 hetzner01.fischl-online.de good 50002 ElectrumX 1.4.3 1.0 1.2 07h 49m 58s 07h 49m 58s 0 peer 5.9.124.124 kirsche.emzy.de good 50001 50002 ElectrumX 1.8.5 1.1 1.4 07h 49m 59s 07h 49m 59s 0 peer 78.47.61.83 elx01.knas.systems good 50001 50002 ElectrumX 1.8.4 1.1 1.4 10h 29m 48s 10h 29m 49s 0 peer 31.208.128.61 electrum.petrkr.net good 50001 50002 ElectrumX 1.4.3 1.0 1.2 10h 29m 52s 10h 29m 52s 0 peer 213.168.187.27 btc.cihar.com good 50001 50002 ElectrumX 1.8.5 1.1 1.4 11h 45m 40s 11h 45m 41s 0 peer 78.46.177.74 btc.gravitech.net good 50002 ElectrumX 1.7 1.1 1.4 12h 26m 24s 12h 26m 24s 0 peer 37.187.167.132 mooo.not.fyi good 50011 50012 ElectrumX 1.1.1 0.9 1.1 12h 59m 27s 12h 59m 28s 0 peer 71.239.122.162 bitcoin.freedomnode.com good 50001 50002 ElectrumX 1.8.4 1.1 1.4 13h 45m 04s 13h 45m 07s 0 peer 218.173.162.154 bitnode.pw good 57081 ElectrumX 1.8.5 1.1 1.4 16h 40m 36s 16h 40m 36s 0 peer 78.92.113.92 s7clinmo4cazmhul.onion good 50001 ElectrumX 1.8.5 1.1 1.4 17h 24m 34s 17h 24m 46s 0 peer electrum-server.ninja good 50001 50002 ElectrumX 1.8.5 1.1 1.4 17h 28m 49s 17h 28m 52s 0 peer 220.233.178.199 node.erratic.space good 50001 50002 ElectrumX 1.2.1 0.9 1.2 17h 49m 31s 17h 49m 32s 0 peer 69.10.143.103 62.80.227.49 good 50001 50002 ElectrumX 1.8.5 1.1 1.4 17h 49m 47s 17h 49m 47s 0 peer 62.80.227.49 electrum2.everynothing.net good 50001 50002 ElectrumX 1.4.3 1.0 1.2 17h 59m 35s 17h 59m 36s 0 peer 162.212.155.122 enode.duckdns.org good 50001 50002 ElectrumX 1.8.3 1.1 1.4 21h 09m 23s 21h 09m 24s 0 peer 75.159.6.167 erbium1.sytes.net good 50001 50002 ElectrumX 1.8.5 1.1 1.4 21h 14m 42s 21h 14m 43s 0 peer 46.246.35.4 85.230.4.59 good 50002 ElectrumX 1.8.5 1.1 1.4 21h 43m 19s 21h 43m 20s 0 peer 85.230.4.59 bfav33xnleliriow.onion good 50001 50002 ElectrumX 1.8.5 1.1 1.4 22h 49m 15s 22h 49m 24s 0 peer electrumxhqdsmlu.onion good 50001 ElectrumX 1.4.4p2 1.1 1.2 22h 51m 33s 22h 51m 42s 0 peer electrum.dk good 50001 50002 ElectrumX 1.2 0.9 1.1 22h 52m 48s 22h 52m 49s 0 peer 92.246.24.225 b.ooze.cc stale 50001 50002 ElectrumX 1.8.5 1.1 1.4 1d 06h 11m 01h 11m 42s 6 peer 145.239.252.207 e-2.claudioboxx.com stale 50001 50002 ElectrumX 1.6d 1.1 1.4 2d 07h 29m 10h 29m 56s 8 peer 37.61.209.147 e-3.claudioboxx.com stale 50001 50002 ElectrumX 1.6d 1.1 1.4 2d 07h 29m 10h 29m 56s 8 peer 37.61.209.148 btc.xskyx.net stale 50001 50002 ElectrumX 1.4.4p2 1.1 1.2 5d 10h 31m 4d 10h 41m 1 peer 185.183.158.170 icarus.tetradrachm.net stale 50001 ElectrumX 1.8.5 1.1 1.4 6d 11h 45m 6d 11h 45m 1 peer 104.244.222.244 165.227.22.180 stale 50001 50002 ElectrumX 1.2 0.9 1.1 10d 06h 09m 9d 06h 19m 1 peer 165.227.22.180 7jwtirwsaogb6jv2.onion stale 50001 50002 ElectrumX 1.3+ 0.9 1.2 12d 03h 07m 11d 03h 16m 1 peer node.ispol.sk stale 50001 50002 ElectrumX 1.3+ 0.9 1.2 12d 03h 10m 11d 03h 19m 1 peer 193.58.196.212 electrumx.hopto.org stale 50001 50002 ElectrumX 1.3.1 0.9 1.2 13d 00h 29m 12d 00h 39m 1 peer 89.205.81.5 207.154.223.80 stale 50001 50002 ElectrumX 1.2.1 0.9 1.2 20d 03h 59m 19d 04h 09m 1 peer 207.154.223.80 70.30.107.52 never 50001 50002 unknown 1.2 1.2 Never 21d 04h 19m 1 such.ninja 70.30.107.52 electrum2.villocq.com never 50001 50002 unknown 1.2 1.2 Never 21d 04h 19m 1 mooo.not.fyi 91.190.163.21 electrumx.soon.it never 50001 50002 unknown 1.2 1.2 Never 20d 01h 49m 1 electrum.coineuskal. 79.11.31.76 bauerjda5hnedjam.onion bad 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 36m 26s 07h 36m 31s 0 peer daedalus.bauerj.eu bad 50001 50002 ElectrumX 1.8.2 1.1 1.4 07h 39m 53s 07h 39m 53s 0 peer 84.200.105.74 ```
gits7r commented 6 years ago

Yup, this is the one. Looks like it works ok. Maybe I just was unlucky to never catch it or did not wait long enough for an electrum wallet instance running in order to fetch all known servers. Closing this as there is nothing wrong with e-x or electrum.

ghost commented 4 years ago

@gits7r I see you're still active and I can connect to you from Electrum, which is great! I'm joining you :-)

j6avevv2nyk4oklpfyaembwvrifeaqbl6ljpp754f5i5ld7opfe5paqd.onion