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

Crowdsec windows server ip whitelist #2365

Closed
torefloo opened this issue Jul 20, 2023 · 13 comments
Closed

Crowdsec windows server ip whitelist #2365

torefloo opened this issue Jul 20, 2023 · 13 comments

Comments

@torefloo
Copy link

What would you like to be added?

We are using it on crowdsec windows server. We want to add some trusted ip addresses as a white list, how can I do that?

There is the following article for linux, but it is not specified for windows here: https://docs.crowdsec.net/docs/whitelist/create/ how can I do it.

Why is this needed?

I want to add trusted ip addresses crowdsec and not block anymore.

@github-actions
Copy link

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

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
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.

@github-actions
Copy link

@torefloo: 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.

@LaurenceJJones
Copy link
Contributor

LaurenceJJones commented Jul 20, 2023

You can create a whitelist you should be able to create it in c:/programdata/crowdsec/config/parsers/s02-enrich/

If it not directly that path you can find the folder called parsers/s02-enrich within c:/programdata/crowdsec/ somewhere I just dont have the windows path off the top of my head.

@torefloo
Copy link
Author

You can create a whitelist you should be able to create it in c:/programdata/crowdsec/config/parsers/s02-enrich/

If it not directly that path you can find the folder called parsers/s02-enrich within c:/programdata/crowdsec/ somewhere I just dont have the windows path off the top of my head.

under windows c:/programdata/crowdsec/config/parsers/s02-enrich/ this directory exists but there is no ready .yaml file under this directory

@torefloo
Copy link
Author

image

@LaurenceJJones
Copy link
Contributor

Yes, you must create it.

@torefloo
Copy link
Author

I don't know how to create it, is there any document?

@torefloo
Copy link
Author

Yes, you must create it.

Is there a sample document?

@LaurenceJJones
Copy link
Contributor

LaurenceJJones commented Jul 20, 2023

You create the file with explorer like you do with normal files on Windows. You can run cscli parsers install crowdsecurity/whitelists to download the default ip range one, then edit that one to your requirements.

@LaurenceJJones
Copy link
Contributor

Yes, you must create it.

Is there a sample document?

In the documentation you linked, it's the same format

@LaurenceJJones
Copy link
Contributor

@torefloo Did you managed to create the whitelist?

@LaurenceJJones
Copy link
Contributor

If you still need further direction there a dedicated article -> https://support.crowdsec.net/hc/en-gb/articles/10834975155346--Security-Engine-How-to-whitelist-a-IP-address-

@torefloo
Copy link
Author

@toreflooBeyaz listeyi oluşturmayı başardınız mı?

yes, I was able to add it, as described above, thank you.

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

2 participants