Node under "attack" from old clients?

#1

I have been running a well-connected open node for many years. Ever since the hard fork in March my outgoing bandwidth has spiked dramatically. I am getting bombarded with ‘getblocks’ requests from around block 420000. My node is responding to each one by returning 500 blocks, but the same clients just keep requesting these blocks over and over again continuously. My guess is that these clients are stuck on an old fork. I want to keep supporting the network for new clients but this feels like an unintentional DDOS attack. Is this happening to anyone else? Is there a solution?

1 Like
#2

You are correct, it’s the old nodes who keep trying to participate.

#3

thank you for your support of peercoin network.

you are correct, old nodes (you can see their version information if you run your node with -debug option) keep trying to get up to date using your node as sync node.

best thing I can do is to disconnect from pre 0.7 nodes immediately.

1 Like
#4

arent misbehaving nodes banned automatically?

#5

they are not misbehaving, requesting same blocks isn’t ground for raising ban score currently. i propose giving 100 score for running old version.

5 Likes
#6

OK, I hate to do it, but I’m going to have to try blocking the worst offenders at the firewall. I can’t afford the wasted bandwidth right now. Hopefully, v0.8 can implement a score reduction for pre-fork clients or at least add the ‘setban’ function for a more delicate instrument. Thanks!

#7

if you can share the list of ips that’d be great help

#8

So far I have these:

14.207.77.53
18.219.239.131
27.54.173.2
37.187.71.108
46.5.228.104
70.54.84.157
71.36.146.140
74.131.18.52
77.180.168.91
79.76.88.255
80.238.226.109
82.11.197.78
83.25.79.231
83.80.226.80
85.132.117.199
85.166.15.88
85.195.244.140
86.127.137.254
88.99.92.72
88.116.141.30
91.66.116.178
93.46.126.34
95.130.161.95
96.3.25.163
97.116.140.229
104.172.60.255
108.29.74.116
109.91.38.36
116.234.146.161
116.255.27.101
120.84.11.31
122.249.180.103
146.185.183.226
151.64.91.38
165.227.115.80
167.99.207.222
178.63.47.71
178.197.225.57
185.25.48.136
186.6.87.59
193.104.253.31
208.180.220.104
209.236.81.189
212.44.64.210

1 Like
#9

Peercoin v0.7.3 which bans the old nodes quicker has been released.

2 Likes