Bitcoin Forum
April 20, 2024, 03:01:33 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Are these peers with triple connections valid?  (Read 579 times)
Soros Shorts (OP)
Donator
Legendary
*
Offline Offline

Activity: 1616
Merit: 1003



View Profile
November 04, 2016, 11:49:41 PM
 #1

Every now and then these peers connect to my node with 3 connections each. They don't take up much bandwidth but they hold the connections open for a long time.



They claim to be SPV clients. Are they valid peers and why do they need 3 connections?

Is there an easy way to ban multiple connections from the same IP, without say, doing something drastic like blacklisting AWS IP addresses.
1713582093
Hero Member
*
Offline Offline

Posts: 1713582093

View Profile Personal Message (Offline)

Ignore
1713582093
Reply with quote  #2

1713582093
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713582093
Hero Member
*
Offline Offline

Posts: 1713582093

View Profile Personal Message (Offline)

Ignore
1713582093
Reply with quote  #2

1713582093
Report to moderator
1713582093
Hero Member
*
Offline Offline

Posts: 1713582093

View Profile Personal Message (Offline)

Ignore
1713582093
Reply with quote  #2

1713582093
Report to moderator
1713582093
Hero Member
*
Offline Offline

Posts: 1713582093

View Profile Personal Message (Offline)

Ignore
1713582093
Reply with quote  #2

1713582093
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3374
Merit: 6511


Just writing some code


View Profile WWW
November 04, 2016, 11:56:28 PM
 #2

Those are spam nodes. You should just ban them.

Is there an easy way to ban multiple connections from the same IP, without say, doing something drastic like blacklisting AWS IP addresses.
Not really.

Soros Shorts (OP)
Donator
Legendary
*
Offline Offline

Activity: 1616
Merit: 1003



View Profile
November 05, 2016, 12:34:09 AM
 #3

Is there an easy way to ban multiple connections from the same IP, without say, doing something drastic like blacklisting AWS IP addresses.
Not really.

Ok, thanks.

I think there might be a way to limit the number of incoming connections per IP using a reverse proxy such as HAProxy. It doesn't ban them but at least it limits the damage by blocking the extra connections. The problem for me is that HAProxy only runs on Linux and my nodes are currently Windows boxes.
ScripterRon
Full Member
***
Offline Offline

Activity: 136
Merit: 120


View Profile
November 05, 2016, 03:49:12 PM
 #4

Is there an easy way to ban multiple connections from the same IP, without say, doing something drastic like blacklisting AWS IP addresses.
Not really.

Ok, thanks.

I think there might be a way to limit the number of incoming connections per IP using a reverse proxy such as HAProxy. It doesn't ban them but at least it limits the damage by blocking the extra connections. The problem for me is that HAProxy only runs on Linux and my nodes are currently Windows boxes.
I use firewall rules to limit concurrent connections.  But this is on Ubuntu, so it won't help you with Windows.
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!