Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage metrics are not computed correctly when running in ipset mode #379

Open
blotus opened this issue Sep 17, 2024 · 2 comments
Open

Usage metrics are not computed correctly when running in ipset mode #379

blotus opened this issue Sep 17, 2024 · 2 comments

Comments

@blotus
Copy link
Member

blotus commented Sep 17, 2024

When running in ipset mode, the iptables counter are not reset when the bouncer stop/starts, which lead to some weird values shown in crowdsec.

We should remember the initial value of the counter, and subtract it to every subsequent metrics read to simulate the counters being 0.

Copy link

@blotus: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Documentation to see if your issue can be self resolved.
  2. You can also join our Discord
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Copy link

@blotus: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.

  • /kind feature
  • /kind enhancement
  • /kind bug
  • /kind packaging
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant