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

Init #1

Merged
merged 5 commits into from
Sep 18, 2023
Merged

Init #1

merged 5 commits into from
Sep 18, 2023

Conversation

sbs2001
Copy link
Contributor

@sbs2001 sbs2001 commented Jul 26, 2023

No description provided.

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
pkg/cf/cf.go Outdated Show resolved Hide resolved
pkg/cf/worker/worker.js Outdated Show resolved Hide resolved
pkg/cf/cf.go Outdated Show resolved Hide resolved
pkg/cf/cf.go Outdated Show resolved Hide resolved
Copy link
Contributor

@AlteredCoder AlteredCoder left a comment

Choose a reason for hiding this comment

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

  • Can we name file/folder cloudflare instead of cf
  • Please add more comments in cf.go to explain what the functions do

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
@sbs2001
Copy link
Contributor Author

sbs2001 commented Jul 27, 2023

@AlteredCoder done via c5cd555

@mmetc
Copy link
Contributor

mmetc commented Aug 1, 2023

Several configuration options take the name from the legacy cloudflare bouncer, which sets them apart from the other bouncers. Example: crowdsec_lapi_url, log_mode vs log_media etc.

It would be nice to have some consistency and predictability -- for ease of use and to minimize differences in the build/install/configuration scripts

Same for the defaults: should bouncers by default log to stderr or file? etc

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
@sbs2001
Copy link
Contributor Author

sbs2001 commented Aug 3, 2023

@mmetc thanks for the review. I've updated the config to be same as cs-blocklist-mirror

scripts/_bouncer.sh Outdated Show resolved Hide resolved
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Copy link
Contributor

@rr404 rr404 left a comment

Choose a reason for hiding this comment

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

LGTM for init PR
We'll package this for a beta test by Tobias
We'll make further changes based on his comments if necessary

@rr404 rr404 merged commit 7e07723 into crowdsecurity:main Sep 18, 2023
blotus pushed a commit that referenced this pull request Jun 18, 2024
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.

4 participants