Bitcoin Forum
November 29, 2026, 06:07:52 PM *
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 82 times)
pooya87 (OP)
Legendary
*
Offline

Activity: 4298
Merit: 12827



View Profile
Today at 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
Today at 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: 10529



View Profile
Today at 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
Today at 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
Today at 10:54:54 AM
Last edit: Today at 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
Today at 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: 12827



View Profile
Today at 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: 10777


┻┻ ︵㇏(°□°㇏)


View Profile WWW
Today at 04:26:41 PM
 #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
Today at 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: 10777


┻┻ ︵㇏(°□°㇏)


View Profile WWW
Today at 05:44:53 PM
 #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%.....
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!