SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.04k stars 124 forks source link

Mechanism for filtering suspicious peers #310

Closed DnorthR closed 1 week ago

DnorthR commented 1 week ago

Is it possible to provide a mechanism for forced filtering (blacklist/whitelist?) for connected peers?

For example, the peers list currently includes a suspicious instance identifying itself as "GoObserver v4.1"

SChernykh commented 1 week ago

That peer is p2pool.observer - it's legit.

SChernykh commented 1 week ago

As for banning misbehaving peers - p2pool already does that, but bans are temporary (10 minutes). If you want to ban some IP permanently, it's better to use a firewall for this. Or to set up fail2ban to parse p2pool's log for specific messages.