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

Improve iplist operations #54

Merged
merged 7 commits into from
Aug 23, 2021
Merged

Conversation

sbs2001
Copy link
Contributor

@sbs2001 sbs2001 commented Aug 23, 2021

Fixes #52
#50
#46

In addition to that, this also uses list replace operation for ip stuff

sbs2001 and others added 5 commits August 19, 2021 10:53
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
(cherry picked from commit 5c67662)
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
@sbs2001 sbs2001 requested review from blotus, buixor and AlteredCoder and removed request for blotus and buixor August 23, 2021 07:09
main.go Outdated Show resolved Hide resolved
Copy link
Member

@blotus blotus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall.
The request logging should be done at the debug level.
Please add some more human friendly log messages (as in #53).

blotus and others added 2 commits August 23, 2021 16:00
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache path is hardcoded to /etc/crowdsec/bouncers/cloudflare-cache.json
3 participants