Are negative ban time values normal?
I was looking into the decision list with
and I observed that there were some negative ban time values available
Not sure if this is normal and what this means.
I set up crowsec as a multiserver architecture. I also already restarted the security engines and the bouncers multiple times. Especially after adding them to the LAPI.
5 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
it is used to remove existing entries
for example crowdsec detect an attack and adds it to bans for 24h, but then the attack stops and there are no more reported connections, so after say 8h it can set unban the ip, but instead of letting the ban to self exipire after 24h it may set the new time - positive if it still is thought as a threat or negative if it should be removed. The fact that those are with such high negative values may mean the decision was to unblock it earlier but was not propagated (that's my wild guess)
Yes decisions can become a negative timespan and when the database does a flush it will remove any entries that have negative timespans.
Ok, great. Didn't know about that.Thank you very much for your help and response 😄
Resolving Are negative ban time values normal?
This has now been resolved. If you think this is a mistake please run
/unresolve