Bitcoin Forum
November 30, 2026, 11:58:27 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How about a server ban list in Network tab?  (Read 124 times)
pooya87 (OP)
Legendary
*
Offline

Activity: 4298
Merit: 12828



View Profile
November 29, 2026, 04:18:06 AM
Merited by NotATether (6), hosemary (4), Charles-Tim (1)
 #1

Right now in order to receive your transaction history, Electrum client gives the user 3 options:
1. Auto-connect
2. Manual selection
3. Connect to only one server

But this forces the user to either select a single server or all of them. There is no in between. It doesn't give you the option to exclude a bunch of servers from connection while still connecting to multiple servers. A centralized global ban-list is not useful here either.
The user should be able to create a custom local list of servers that they don't want to connect to. It can be for many reasons, like banning a server because it is malicious (like the recent exploits with RBF) or it can be because the user knows it is run by a malicious entity (like chain analysis companies) or just because the user doesn't like that server.

It shouldn't be hard to implement either without complications. It's just an exclusion list.

Isn't that useful?

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
LoyceV
Legendary
*
Offline

Activity: 4242
Merit: 23264


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 29, 2026, 07:37:43 AM
 #2

I was going to say you can use your hosts file to block all access to certain servers, but that doesn't work to the servers that only show an IP-address in Electrum's list. How about a combination of hosts file and IP-tables to drop certain IP-addresses?

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
[MUSIC] The Ballad of LoyceV
ABCbits
Legendary
*
Offline

Activity: 3808
Merit: 10531



View Profile
November 29, 2026, 09:32:36 AM
 #3

Isn't that useful?

I doubt it. I expect less than 1% of Electrum user would bother to use this feature, considering they could just choose to run their own Electrum server rather than research and block problematic/hated Electrum server.

Charles-Tim
Legendary
*
Offline

Activity: 2478
Merit: 6627


Leading Crypto Sports Betting & Casino Platform


View Profile
November 29, 2026, 10:01:42 AM
 #4

I doubt it. I expect less than 1% of Electrum user would bother to use this feature, considering they could just choose to run their own Electrum server rather than research and block problematic/hated Electrum server.
I do not have the statistics of people using the automatically or manually selected servers, but I think that most Electrum users are using the automatically selected servers option, but that does not mean manual selection is not important. So if users can add some servers manually themselves, I think it will be good even if only few people are using it.

██████████████████████████████████████████████████████████████
████████████
▀▀███████▀████████████████████████████████████████
██████████
▀██▄▄████▄██▐████▀▀███████████▀▀████████████████████
█████████
▌██▐██████▌██████▌█▐█████████████▐███████████████████
█████████
▌█████████▄▄▄██████▀▀▀▀███████▌█████▀████████████████
██████████
▄███▀███████▀▀██████▄██████████▐█▀█▄███▀▀███████████
████████████
▄▄███▀▀██▄▄▄▄██▐███▀██▄█▐█▌██▀█▄██▀██▄▄███████████
████████████████
▄▄███▀██▌███████▄█▌███████▐██▌███▀█▄██████████
██████████
▀███▄███████████▐██▌█▐████████▐██▐████▄██▀██████████
█████████
▌██▄███████████▄████▄████▄██▄██████▀▄█████▄▀█████████
█████████
▌██▀███▀▀███▄█████████████████████▄██▀▀▀▀▀█▄█████████
██████████
▄██████▄▄██████████████████████████▄▄▄▄▄▄███████████
██████████████████████████████████████████████████████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██

 🎰  🎲 ..Play Smarter.. 🏀  ⚽ ..Play Now..
hosemary
Legendary
*
Offline

Activity: 3332
Merit: 7499



View Profile
November 29, 2026, 10:54:54 AM
Last edit: November 29, 2026, 11:11:43 AM by hosemary
Merited by Charles-Tim (1)
 #5

I do not have the statistics of people using the automatically or manually selected servers, but I think that most Electrum users are using the automatically selected servers option, but that does not mean manual selection is not important. So if users can add some servers manually themselves, I think it will be good even if only few people are using it.
I may be wrong, but I feel like you misunderstood ABCbits, as they didn't say anything about the lack of importance of manually selecting servers. That feature is already available, and it isn't the topic here.
Pooya87 suggested adding a server ban list, and ABCbits just said that they doubt it would be useful.

Charles-Tim
Legendary
*
Offline

Activity: 2478
Merit: 6627


Leading Crypto Sports Betting & Casino Platform


View Profile
November 29, 2026, 11:08:10 AM
 #6

I may be wrong, but I feel like you misunderstood ABCbits, as they didn't say anything about the lack of importance of manually selecting servers. That feature is already available, and it isn't the topic here.
Pooya87 suggested adding a server ban list, and ABCbits just said that they doubt it would be useful.
I get it wrong, but what I meant is a way someone can select many servers to be available to be showing which the person can connect to anyone of them, while the rest which the person do not select will be disabled from showing. But you are right, it is different from server ban list.

██████████████████████████████████████████████████████████████
████████████
▀▀███████▀████████████████████████████████████████
██████████
▀██▄▄████▄██▐████▀▀███████████▀▀████████████████████
█████████
▌██▐██████▌██████▌█▐█████████████▐███████████████████
█████████
▌█████████▄▄▄██████▀▀▀▀███████▌█████▀████████████████
██████████
▄███▀███████▀▀██████▄██████████▐█▀█▄███▀▀███████████
████████████
▄▄███▀▀██▄▄▄▄██▐███▀██▄█▐█▌██▀█▄██▀██▄▄███████████
████████████████
▄▄███▀██▌███████▄█▌███████▐██▌███▀█▄██████████
██████████
▀███▄███████████▐██▌█▐████████▐██▐████▄██▀██████████
█████████
▌██▄███████████▄████▄████▄██▄██████▀▄█████▄▀█████████
█████████
▌██▀███▀▀███▄█████████████████████▄██▀▀▀▀▀█▄█████████
██████████
▄██████▄▄██████████████████████████▄▄▄▄▄▄███████████
██████████████████████████████████████████████████████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██

 🎰  🎲 ..Play Smarter.. 🏀  ⚽ ..Play Now..
pooya87 (OP)
Legendary
*
Offline

Activity: 4298
Merit: 12828



View Profile
November 29, 2026, 11:50:47 AM
 #7

I was going to say you can use your hosts file to block all access to certain servers, but that doesn't work to the servers that only show an IP-address in Electrum's list. How about a combination of hosts file and IP-tables to drop certain IP-addresses?
That's a workaround and it is pointless since a better workaround is to just manually connect to a single server. What I have in mind is the wallet interface itself having that option itself so that user can construct a personalized ban list inside of it.

I doubt it. I expect less than 1% of Electrum user would bother to use this feature, considering they could just choose to run their own Electrum server rather than research and block problematic/hated Electrum server.
I suppose the network tab is not popular in general but adding this option should not be complicated. It's just a simple exclusion list that can be stored in the %AppData%\Electrum\config file alongside the rest of the settings and under the "servers" field.
BTW I think even less people run their own server since it is difficult and people who can run a full [electrum] node would just run a [regular] full node instead of using a SPV client. Smiley

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
NotATether
Legendary
*
Offline

Activity: 2534
Merit: 10786


┻┻ ︵㇏(°□°㇏)


View Profile WWW
November 29, 2026, 04:26:41 PM
Merited by pooya87 (5)
 #8

You have such wonderful ideas Pooya.

I’m going to go make a sample implementation and the have this a pull request to Electrum.

Then I’ll go hunt down all the malicious RBF servers and place the list on BitMixList.

Hopefully this will be the end of that attack forever.

I doubt it. I expect less than 1% of Electrum user would bother to use this feature

A default evil_servers list should definitely be hosted on Electrum somewhere or at least bundled with the software.

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
hosemary
Legendary
*
Offline

Activity: 3332
Merit: 7499



View Profile
November 29, 2026, 05:41:32 PM
 #9

Then I’ll go hunt down all the malicious RBF servers and place the list on BitMixList.
I also agree with pooya87's proposal and I appreciate your effort, but I'm curious about how you can do that.
Are you going to connect to all Electrum servers one by one and broadcast a new transaction through each them? I may be wrong, but I think that's the only way you can do it.

NotATether
Legendary
*
Offline

Activity: 2534
Merit: 10786


┻┻ ︵㇏(°□°㇏)


View Profile WWW
November 29, 2026, 05:44:53 PM
Merited by ABCbits (1)
 #10

Are you going to connect to all Electrum servers one by one and broadcast a new transaction through each them? I may be wrong, but I think that's the only way you can do it.

If the malicious servers trip up when broadcasting a transaction that’s already in the mempool, this test can be ran very quickly without even needing to spend mainnet funds.

I am not sure if this behavior is being exhibited on testnest - I have like 3000 testnet4 coins at this point from my miner, but mainnet is a completely different beast.

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
nc50lc
Legendary
*
Offline

Activity: 3346
Merit: 9404


Self-proclaimed Genius


View Profile
Today at 04:20:57 AM
Merited by pooya87 (2), ABCbits (1)
 #11

The user should be able to create a custom local list of servers that they don't want to connect to.
Using the "bookmark server" feature as the random main server pool should have a similar result without having to constantly ban new malicious servers.

For that, it's one of the potential update of that existing feature;
Ref, "Add server as bookmark" PR: github.com/spesmilo/electrum/pull/8865

And it's being discussed in this issue: github.com/spesmilo/electrum/issues/9528
Anyone with GitHub account may consider bumping it to get the Devs attention. (last reply was 1 year ago)

NotATether
Legendary
*
Offline

Activity: 2534
Merit: 10786


┻┻ ︵㇏(°□°㇏)


View Profile WWW
Today at 05:55:13 AM
 #12

I have detected a malicious Electrum server which will be reported to the maintainers via the proper security channels.

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
ABCbits
Legendary
*
Offline

Activity: 3808
Merit: 10531



View Profile
Today at 07:20:01 AM
Merited by pooya87 (2)
 #13

I doubt it. I expect less than 1% of Electrum user would bother to use this feature, considering they could just choose to run their own Electrum server rather than research and block problematic/hated Electrum server.
I suppose the network tab is not popular in general but adding this option should not be complicated. It's just a simple exclusion list that can be stored in the %AppData%\Electrum\config file alongside the rest of the settings and under the "servers" field.

By less than 1%, i mean my estimation of user who would actually use proposed server ban feature. Most average simply don't have time or capability to detect malicious server.

BTW I think even less people run their own server since it is difficult and people who can run a full [electrum] node would just run a [regular] full node instead of using a SPV client. Smiley

I agree, but running Electrum server could be easier and less time consuming than detecting malicious server.

I have detected a malicious Electrum server which will be reported to the maintainers via the proper security channels.

Related to your finding, have you seen this discussion Carefull Newly Fake Electrum servers, potentially being used for RBF exploited?

NotATether
Legendary
*
Offline

Activity: 2534
Merit: 10786


┻┻ ︵㇏(°□°㇏)


View Profile WWW
Today at 07:21:06 AM
 #14

I have detected a malicious Electrum server which will be reported to the maintainers via the proper security channels.

Related to your finding, have you seen this discussion Carefull Newly Fake Electrum servers, potentially being used for RBF exploited?

I am aware. This address is not in any public blocklist as far as I know

▄▄████████████████████▄▄
▄███████▀▀██████▀▀███████▄
█████▀██████████████▀█████
████████▄▄██████▄▄████▀███

██████████████████████████
██▄▄██████████████▄▄██████
██▀▀██████████████████▄▄██
██████▀▀██████████████▀▀██
██████████████████████████
███▄████▀▀██████▀▀████████
█████▄██████████████▄█████
▀███████▄▄██████▄▄███████▀
▀▀████████████████████▀▀
 
 DΞX.fo 
▄▄██████
█████████
██████████
██████████
██████████
█████████
▀▀██████

▄███████
▄██████████
████████████
█████████████
█████████████
|
▄▄█
▄████▀
▄███▀█▄
▄██▀█▄██
█████▀▀█
████████
████████
▀██▄████
▄████▄▄█
▄█████▀███
▄█████▀████▀
█████▀███████
▀██▀█████████
|..BTC......XMR...
..USDT.....LTC...
....Fees  0.8%.....
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!