| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||
|---|---|---|---|
|
chagall
lemmy.world
chagall@lemmy.world Joined: 2023-06-21 |
|
||
| 101 Original | |||
|
afk_strats
lemmy.world
afk_strats@lemmy.world Joined: 2023-09-06 |
That's really cool. Would you mind posting a few sentences about how you redirected your specific solution and what it's protecting. That would be super helpful. |
||
| 19 | |||
A_norny_mousse
piefed.zip
A_norny_mousse@piefed.zipJoined: 2026-02-04 |
Tell us more about how crowdsec works (for you)! (Didn't even know it had a web ui) |
||
| 17 | |||
LeTak
feddit.org
LeTak@feddit.orgJoined: 2025-06-11 |
Tell us more about how crowdsec works (for you)! (Didn't even know it had a web ui)
It is pretty good |
||
| 3 | |||
|
lemmyvore
feddit.nl
lemmyvore@feddit.nl Joined: 2023-06-15 |
crowdsec has always struck me as a really odd approach to security. You give out your logs to strangers and block IPs based on their say-so. The cause and effect are so far removed that I can't wrap my head about how it's supposed to be efficient. It's been proven in real-world tests that it lags badly behind the first waves of new vulnerabilities and by the time it starts blocking IPs that were related to those attacks the attackers have moved on and there are also patches available. The "thousands of IPs blocked" image reminds me of that WWII airplane bullet-holes image. |
||
| 46 | |||
A_norny_mousse
piefed.zip
A_norny_mousse@piefed.zipJoined: 2026-02-04 |
It is pretty good I use it on many machines. You install it on your machine with a reverse proxy, it then analyses the traffic logs for malicious activity or for known bad IPs and then creates iptable block rules. The web interface is the cloud interface that it connects to, because as the name implies, it works by using log data from all members to block bad actors efficiently
Why with a reverse proxy? I don't see this mentioned as the default installation method. https://doc.crowdsec.net/u/user_guides/building/ |
||
| 1 | |||
|
Azura The Spellkissed
lemmy.blahaj.zone
AzuraTheSpellkissed@lemmy.blahaj.zone Joined: 2026-03-30 |
Why with a reverse proxy? I don't see this mentioned as the default installation method. https://doc.crowdsec.net/u/user_guides/building/
You can use crowdsec without a reverse proxy and just block offending IPs using a firewall. However, you can optionally configure a reverse proxy to enforce decisions made by crowdsec, e.g. by serving error pages or by serving captchas. See Remediation Components (formally "Bouncers") |
||
| 5 | |||
|
refract
lemmy.zip
refract@lemmy.zip Joined: 2025-07-22 |
crowdsec has always struck me as a really odd approach to security. You give out your logs to strangers and block IPs based on their say-so. The cause and effect are so far removed that I can't wrap my head about how it's supposed to be efficient. It's been proven in real-world tests that it lags badly behind the first waves of new vulnerabilities and by the time it starts blocking IPs that wer...
Do you have a source on the real world tests? |
||
| 2 | |||
A_norny_mousse
piefed.zip
A_norny_mousse@piefed.zipJoined: 2026-02-04 |
You can use crowdsec without a reverse proxy and just block offending IPs using a firewall. However, you can optionally configure a reverse proxy to enforce decisions made by crowdsec, e.g. by serving error pages or by serving captchas. See Remediation Components (formally "Bouncers")
Oh yeah I remember that! Never felt the need for it. |
||
| 1 | |||
Taasz/Woof
lemmy.blahaj.zone
MangoPenguin@lemmy.blahaj.zoneJoined: 2023-06-19 |
crowdsec has always struck me as a really odd approach to security. You give out your logs to strangers and block IPs based on their say-so. The cause and effect are so far removed that I can't wrap my head about how it's supposed to be efficient. It's been proven in real-world tests that it lags badly behind the first waves of new vulnerabilities and by the time it starts blocking IPs that wer...
I don't believe there are any logs being transferred, just the abusive IPs are shared with the central DB. So if an IP starts hitting a ton of rules (like .env access, repeated 403s, 404s, 429s, etc.. Or specific AppSec rules) then that IP is blocked and sent to their central DB where it's pushed out to everyone running crowdsec. On my setup crowdsec has been more effective than cloudflare at stopping scanners and bots from overloading things, cloudflare just lets basically everything through so I stopped using it. That said I'm curious if you remember the source of the real world tests, because I'd love to see what's actually better. |
||
| 20 | |||
|
chagall
lemmy.world
chagall@lemmy.world Joined: 2023-06-21 |
Tell us more about how crowdsec works (for you)! (Didn't even know it had a web ui)
Sure. So OpnSense is the real gem here. Or really any solid firewall/edge device CrowdSec is an optional (free) add-on module in OpnSense. It's immediately operational at a minimal level without any registration. However, if you choose to register within the CrowdSec UI then you can load up more lists and tie it to your instance. I also load up Hagezi's Threat Intelligence Blocklists into my OpnSense firewall rules, which get updated (by him) on a rolling 12 hour basis. I also have OpnSense query Github every 12 hours to pull the updates. |
||
| 5 | |||
|
chagall
lemmy.world
chagall@lemmy.world Joined: 2023-06-21 |
crowdsec has always struck me as a really odd approach to security. You give out your logs to strangers and block IPs based on their say-so. The cause and effect are so far removed that I can't wrap my head about how it's supposed to be efficient. It's been proven in real-world tests that it lags badly behind the first waves of new vulnerabilities and by the time it starts blocking IPs that wer...
You're not wrong. If CrowdSec is your entire approach, it's a little weird. But I use it as a (small) part of my overall blocking strategy. I use other lists and frankly, block most IPs by default. Those other IPs aren't counted in the email screenshot though... only the CrowdSec based ones are coming through. I think a lot of the 137k above are just scanning bots to be frank. |
||
| 4 | |||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
I don't believe there are any logs being transferred, just the abusive IPs are shared with the central DB. So if an IP starts hitting a ton of rules (like .env access, repeated 403s, 404s, 429s, etc.. Or specific AppSec rules) then that IP is blocked and sent to their central DB where it's pushed out to everyone running crowdsec. On my setup crowdsec has been more effective than cloudflare at s...
Cloudflare is in the business of keeping infrastructure up and working. Any security benefits of CF are secondary. |
||
| 1 | |||
Funwayguy
lemmy.world
Funwayguy@lemmy.worldJoined: 2023-06-09 |
I have similar setup on my home server except my Crowdsec & Anubis live in a dockerised VPS proxy that tunnels over WireGuard to the real server behind OPNSense. Saves me a ton not having bandwidth obliterating AI crawlers hit my internet bill. As an added bonus, I can move or shutdown the public VPS entry if things get too 'spicy' without any downtime on connections via the VPN. |
||
| 3 | |||
LeTak
feddit.org
LeTak@feddit.orgJoined: 2025-06-11 |
You can use crowdsec without a reverse proxy and just block offending IPs using a firewall. However, you can optionally configure a reverse proxy to enforce decisions made by crowdsec, e.g. by serving error pages or by serving captchas. See Remediation Components (formally "Bouncers")
Yes. I check the logs from my web pages with it. |
||
| 1 | |||
|
Encrypt-Keeper
lemmy.world
EncryptKeeper@lemmy.world Joined: 2023-07-03 |
crowdsec has always struck me as a really odd approach to security. You give out your logs to strangers and block IPs based on their say-so. The cause and effect are so far removed that I can't wrap my head about how it's supposed to be efficient. It's been proven in real-world tests that it lags badly behind the first waves of new vulnerabilities and by the time it starts blocking IPs that wer...
CrowdSec isn’t really for protection against novel threats. It’s just a crowdsourced Fail2Ban that’s extensible with custom rules. If you and I are both using CrowdSec, and some foreign machine is trying to brute force into one of my services, then when it tries to do the same to you it doesn’t even get the chance to try. It cuts down on the load. You can also define your own scenarios. Most of the rules it ships with block IPs using a leaky bucket method but I have a custom rule that instantly blocks anyone trying to log into anything using usernames like admin, root, pgadmin, etc. |
||
| 14 | |||
Taasz/Woof
lemmy.blahaj.zone
MangoPenguin@lemmy.blahaj.zoneJoined: 2023-06-19 |
On my setup crowdsec has been more effective than cloudflare at stopping scanners and bots from overloading things Cloudflare is in the business of keeping infrastructure up and working. Any security benefits of CF are secondary.
They do talk a lot about security and their WAF on their home page, it might be secondary but they mention it a lot. |
||
| 2 | |||
|
non_burglar
lemmy.world
non_burglar@lemmy.world Joined: 2023-06-16 |
They do talk a lot about security and their WAF on their home page, it might be secondary but they mention it a lot.
Sure, but that WAF solution is not for us, it's aimed at clients who can measure their web presence in millions of requests per second. Cloudflare is a CDN first and foremost, their success competing with Fastly and Akamai has been good to them, but they don't care if you get pwned unless you have a ton of money. |
||
| 2 | |||
Taasz/Woof
lemmy.blahaj.zone
MangoPenguin@lemmy.blahaj.zoneJoined: 2023-06-19 |
Sure, but that WAF solution is not for us, it's aimed at clients who can measure their web presence in millions of requests per second. Cloudflare is a CDN first and foremost, their success competing with Fastly and Akamai has been good to them, but they don't care if you get pwned unless you have a ton of money.
I guess? They advertise it as blocking bots and bad actors and such but it doesn't really do that. |
||
| 1 | |||
| Post Reply |
Back to top |