<p>If some client's actions do not correspond with the Bitcoin protocol in a disruptive manner (e.g. flooding with invalid messages) a ban counter is increased depending on the seriousness of the violation of the protocol. When the ban meter reaches some predefined value (can be set with the <code>-banscore</code> option in <code>bitcoind</code>, default is 100) connection to that client is interrupted for a day (that's the default at least, but again, this can be changed with the <code>-bantime</code> option).</p>

<p>The values used are arbitrary (e.g. 100). It all about relativity. I don't know exactly how much penalty you get for which violation, but this can be found in the source code. If someone feels the need to compile a list of the amount of penalty per violation, please edit this answer.</p>

CC BY-SA 3.0
2014-08-10T16:19:04.427Z
2014-08-10T16:19:04.427Z
Jori
<p>I was looking my <code>bitcoind</code> log and I saw this message:</p>

<pre><code>Misbehaving: 91.230.200.131:8333 (90 -&gt; 100) BAN THRESHOLD EXCEEDED
</code></pre>

<p>In which cases this message is shown and why?</p>

<p>It just a curiosity.</p>

<bitcoind><nodes><logging><banscore>
What is the "misbehaving" log message?
Felipe
# What is the "misbehaving" log message?

(Asked by: username_0 on 2014-08-09)

I was looking my `bitcoind` log and I saw this message:

```
Misbehaving: 91.230.200.131:8333 (90 -> 100) BAN THRESHOLD EXCEEDED

```

In which cases this message is shown and why?

It just a curiosity.

**Tags:** bitcoind, nodes, logging, banscore


---

## 1 answers

### Answer by username_1 on 2014-08-10. Score: 5 | Accepted answer

If some client's actions do not correspond with the Bitcoin protocol in a disruptive manner (e.g. flooding with invalid messages) a ban counter is increased depending on the seriousness of the violation of the protocol. When the ban meter reaches some predefined value (can be set with the `-banscore` option in `bitcoind`, default is 100) connection to that client is interrupted for a day (that's the default at least, but again, this can be changed with the `-bantime` option).

The values used are arbitrary (e.g. 100). It all about relativity. I don't know exactly how much penalty you get for which violation, but this can be found in the source code. If someone feels the need to compile a list of the amount of penalty per violation, please edit this answer.


---

