Repository navigation
Replies: 17 comments 39 replies
|
that would be nice |
|
+1 🙂 |
|
+1 🙂 |
|
+1 🙂 |
|
pls.... |
|
+1 |
|
Just switched from NPM today. Really impressed! |
|
I've been testing this for the last couple of days and have log parsing working in Crowdsec. You'll need to install Crowdsec, the relevant firewall bouncer, and the base HTTP scenarios... cscli collections install crowdsecurity/base-http-scenariosThen you'll need to create an acquisition file (/etc/crowdsec/acquis.d/zoraxy.yaml) to point to your log file location... Finally create the parser file (/etc/crowdsec/parsers/s01-parse/zoraxy-logs.yaml)... I've submitted a pull request to Crowdsec. Hopefully it will be approved, and you should then be able to just install the collection with the following. This would then install the latest base-http-scenarios and zoraxy-logs parser, leaving you to just set up the acquisition file. cscli collections install raithmir/zoraxy-logs |
|
It would be useful if we could get the HTTP user-agent included in the logs, that can be further filtered in the Crowdsec base-http-scenarios. I might have a look at the logging code and submit a pull request if I get chance. I'm not familiar with Go though. Looks like r.UserAgent() is already captured for the Statistical Analysis view, so presuming it would be easy enough to add to the logs. |
|
Also, I've not tested this as I'm not running in Docker, but the following may work for the acquisition file if you are (/etc/crowdsec/acquis.d/zoraxy.yaml)... |
|
Updated parser file (/etc/crowdsec/parsers/s01-parse/zoraxy-logs.yaml) if you're running the v3.2.0 pre-release (which adds in the useragent in the logs). |
|
Hello, thank you very much for the instructions. One question is how to install the crowdsec bouncer. Use zoraxy as Docker on unraid. I also have a crowdsec docker running. I'm just wondering whether I still need the bouncer. |
|
Updated parser file (/etc/crowdsec/parsers/s01-parse/zoraxy-logs.yaml) to include [router:root-no_resp] log entries where Zoraxy blocks requests for unknown hosts. The pull request to add this to a new Crowdsec hub collection is still awaiting review over there. |
|
Merged @Raithmir collection for Zoraxy please find the collection via https://app.crowdsec.net/hub/author/Raithmir/collections/zoraxy note parser supports version |
Or if you've installed Zoraxy via Docker...
|
|
Have installed in TrueNAS so I had to modify the IP and port lines to fit TrueNAS's requirement for dedicated IP Using this plugin for Zoraxy: https://github.com/AnthonyMichaelTDM/zoraxy_crowdsec_bouncer/tree/main All are configured and working properly except when I use cscli decisions add --ip to ban my IP for a test, I can still access to services. Now I get |
|
I am using the community CrowdSec Bouncer Plugin with Zoraxy and built crowdsec-map to visualise CrowdSec alerts and decisions in the same stack. I have also contributed a stream-based decision cache, tested in a Docker-based Zoraxy v3.3.3 deployment with CrowdSec in a separate container. It removes the Local API lookup from the request path while retaining IP and CIDR ban support. If useful, I can contribute a concise Docker Compose example and setup notes. |

Uh oh!
There was an error while loading. Please reload this page.
would be nice, if there was a crowdsec parser plugin
All reactions