Bitcoin Forum
February 28, 2024, 06:43:25 PM *
News: There may be a bit of downtime soon as a result of routine maintenance.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Are these peers with triple connections valid?  (Read 577 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.
1709145805
Hero Member
*
Offline Offline

Posts: 1709145805

View Profile Personal Message (Offline)

Ignore
1709145805
Reply with quote  #2

1709145805
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1709145805
Hero Member
*
Offline Offline

Posts: 1709145805

View Profile Personal Message (Offline)

Ignore
1709145805
Reply with quote  #2

1709145805
Report to moderator
1709145805
Hero Member
*
Offline Offline

Posts: 1709145805

View Profile Personal Message (Offline)

Ignore
1709145805
Reply with quote  #2

1709145805
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3318
Merit: 6390


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!