Peer error scores are tracked by Peer ID. Peer IDs are randomly generated when a p2p node starts. This means, I can misbehave and then restart my p2p node. My previous peer ID will be the ban hammer, but I can reconnect and instantly have an error score of 0.
Expected behavior
When I misbehave, the error score should track me more closely. IP address would probably be a better choice for tracking error score as it is harder to change. This is also the identifier that most other services use to band users and it has largely proven effective.
Is there an existing issue for this?
Current behavior
Peer error scores are tracked by Peer ID. Peer IDs are randomly generated when a p2p node starts. This means, I can misbehave and then restart my p2p node. My previous peer ID will be the ban hammer, but I can reconnect and instantly have an error score of 0.
Expected behavior
When I misbehave, the error score should track me more closely. IP address would probably be a better choice for tracking error score as it is harder to change. This is also the identifier that most other services use to band users and it has largely proven effective.
Steps to reproduce
No response
Environment
Anything else?
No response