infra
crowdsec
Our great sponsors
infra | crowdsec | |
---|---|---|
5 | 169 | |
100 | 7,774 | |
- | 2.5% | |
9.7 | 9.6 | |
1 day ago | 4 days ago | |
Shell | Go | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
infra
-
Cloud Reverse Proxy. VPS? Cloudflare?
Yes that's the easiest way to do it. Recently I wanted to have HTTPS locally for some apps to make my life easier (and also not route my traffic through the VPS when I'm at home). I therefore did some DNS stuff on Adguard to point `example.com` to the second caddy server instead of to the VPS. To do that I had to make some changes upstream so now the traffic is proxied down from the VPS over HTTPS and I can connect to the second server via HTTPS too. You can see my updated Caddyfiles here and here. But that's pretty advanced and just terminating SSL on the VPS was much easier/simpler.
-
Automatic VM deploy
It's not VMs (I use LXCs instead) but it's pretty similar: https://github.com/FuzzyMistborn/infra/blob/main/roles/adonalsium/tasks/infrastructure.yml
-
Fail2ban for servers behind a reverse proxy
I found an actions.d script that uses the Cloudflare APIv4. See here for the code: https://github.com/FuzzyMistborn/infra/blob/main/templates/fail2ban/action.d/cloudflare-apiv4.conf.j2
-
Ansible user, How are you managing Docker-Compose?
And I built a playbook that asks for the vm/lxc to update and the container and it does a pull/up/prune. https://github.com/FuzzyMistborn/infra/blob/main/docker.yml
- What IaC solutions/propositions for proxmox? What do you use to automate stuff?
crowdsec
- Disable notifications for one out of several machines
- 9. 为你的公网服务部署入侵检测
-
Brute.Fail Watch brute force attacks in real time
Hey we actually built the second part as a product. Its a modern revamp of fail2ban combined with crowdsourcing aspect to deliver an up-to-date blocklist of active threats. You can check it out at https://github.com/crowdsecurity/crowdsec
-
CrowdSec Engine 1.5 is officially here 🚀
Today we are pleased to announce the launch of CrowdSec Engine 1.5 - this is a huge milestone for the project and one that would not have been possible without the help of this community. You can read see the full change log over on GitHub here https://github.com/crowdsecurity/crowdsec/releases
-
Crowdsec on OpenSUSE tumbleweed
wget https://github.com/crowdsecurity/crowdsec/releases/latest/download/crowdsec-release.tgz server:> tar xzvf crowdsec-release.tgz https://github.com/crowdsecurity/crowdsec/releases/latest/download/crowdsec-release.tgz server: > tar xzvf crowdsec-release.tgz server:> cd crowdsec-v* && sudo ./wizard.sh -i
-
Did you have serious attacks on your exposed services before?
This tool crowdsec.net is really interesting to mitigate and enact defense systems for different scenarios.
-
Feature Request: CrowdSec
CrowdSec is licensed under MIT open source license, you can find a copy of the text here: “Copyright 2020, CrowdSec SAS (http://crowdsec.net), Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.” That’s all there is to it. Like in the case of Debian, you can do anything you want with it, for free, period. You just need to embed this license when you redistribute the product.
-
What service can I use to ban users?
You should check out https://crowdsec.net. More advanced, uses crowdsources cti to block attacks even before they happen. Also both nginx and captcha is supported. Disclaimer: I am head of community. Visit /r/CrowdSec or our Discord at https://discord.gg/crowdsec if you have questions :-)
-
Hardening exposed WireGuard ports
Do I need something like crowdsec, or is WireGuard secure enough on its own?
-
A 'leech-like' connection constantly established on my server
Before falling too much in love with Fail2Ban try taking a look at https://crowdsec.net. Similar functionality but way more advanced (but easier to configure). New project that leverages the power of the crowd and shares information of attacks among users so they help each other out protecting themselves.
What are some alternatives?
ansible-role-docker-compose-generator - An Ansible role which procedurally generates docker-compose.yml files
Fail2Ban - Daemon to ban hosts that cause multiple authentication errors
Wazuh - Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
pfSense - Main repository for pfSense
ModSecurity - ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by Trustwave's SpiderLabs. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis. With over 10,000 deployments world-wide, ModSecurity is the most widely deployed WAF in existence.
Suricata - Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
docker-pi-hole - Pi-hole in a docker container
Snort - Snort++
ansible-collection-hardening - This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
OSSEC - OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
docker-fail2ban - Fail2ban Docker image