Skip to content

Misbehaving peers never increase in ban score.  #2997

@ghost

Description

Since at least the 8.x series, my "misbehaving" peers are never actively punished, even though there's log messages suggesting that they are.

ERROR: ProcessBlock() : already have block 257798 0000000000000023f4514ddd81a0a915bc16d59eaf9fe9a6e0344b1aa01319a3
Misbehaving: hostname.tld:8333 (0 -> 0)

The ban score always remains at 0, and is never increased for any peer, despite the many of messages saying that peers are misbehaving for a variety of reasons. Is this intended?

I could have sworn that previously, the score increased up until a threshold that would kick their connection, which never happens now. Nothing is strange about my configuration, it is a non-listening node in onion land running either the latest tagged build or the current master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions