Skip to content

Commit a31a3d0

Browse files
author
jdv
committed
chamboulement
1 parent be5174b commit a31a3d0

File tree

3 files changed

+22
-100
lines changed

3 files changed

+22
-100
lines changed

crowdsec-docs/unversioned/blocklists/getting_started.mdx

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
---
22
id: getting_started
3-
title: Getting Started
3+
title: How to use CrowdSec Blocklists
44
---
55

66
import ConsolePromo from '@site/src/components/ConsolePromo.js';
77

8-
There are two ways to get started with Blocklists:
8+
There are two main paths to integrate CrowdSec blocklists into your infrastructure:
99

10-
1. **Security Engine** - Use the CrowdSec Security Engine to ingest blocklists
11-
2. **Integrations** - Use Integrations to ingest blocklists into firewall, CDN, or other security solutions
10+
1. **Security Engine** - If you already have a CrowdSec Security Engine, you can use it to ingest blocklists
11+
2. **Integrations** - For a purely SaaS approach, use Integrations to ingest blocklists into firewall, CDN, (...) via our Blockist as a Service Integrations endpoints
1212

1313
Depending on which path you take you can start with the following guides:
1414

15+
# Security Engine Ingestion
16+
If you already have security engines and remediation components installed in your infrastructure, you can follow the guide bellow.
17+
<!-- We'll make those sections a bit more unifor later, maybe even in this current page rather than remote ones made only for this purpose -->
1518
<ConsolePromo
1619
title="CrowdSec Security Engine"
1720
description="The CrowdSec Security Engine is a powerful, open-source software for detecting and blocking malicious IPs, safeguarding both infrastructure and application security."
1821
image="Hero Security Engine.png"
1922
link="/u/blocklists/security_engine"
2023
/>
21-
<br/>
24+
25+
# SaaS Integration
26+
If you want to use blocklists without installing the CrowdSec Security Engine you can follow the guide bellow.
2227
<ConsolePromo
2328
title="Integrations"
2429
description="A seemless way to integrate CrowdSec blocklists into your existing firewall, CDN, or other security solutions."

crowdsec-docs/unversioned/blocklists/intro.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
---
22
id: intro
3-
title: Introduction
3+
title: CrowdSec Blocklists - Proactively defend your perimeter
44
sidebar_position: 2
55
---
66

7-
## Objective
7+
CrowdSec's Blocklist regroup IPs and ranges that have been **validated** as performing **malicious behaviors** on **exposed endpoints**.
8+
Those blocklists are kept up to date and are currated to ensure they don't contain false positives.
9+
Their are meant to be directly actionable to protect your perimeter from thousands of known attackers.
10+
The unique nature of CrowdSec's network, by its diversity and size brings unmatched exclusivity and quality.
811

9-
Welcome to the documentation section dedicated to CrowdSec's Blocklists. This section will outline what Blocklists are, how they work, and how you can use them to protect your systems.
12+
13+
This section will help you understand the nature of our different blocklists, how they work, and how you can use them to protect your systems.
1014

1115
## What are CrowdSec Blocklists?
1216

crowdsec-docs/unversioned/user_guides/use_cases/blaas_to_firewall.mdx

+5-92
Original file line numberDiff line numberDiff line change
@@ -35,96 +35,9 @@ For this use case, you will need to:
3535
++ Test that it works and evaluate performance
3636
++ Scale and Automate >> SAPI >> centralize your own blokclists ++ link to other use cases
3737

38+
--------
3839

39-
//////////// GPT generated
40-
41-
# **Use Case: Integrating CrowdSec Blocklists Directly Into Your Firewall**
42-
43-
## **What We Want to Achieve**
44-
Enhance your firewall’s protection by integrating CrowdSec’s **"Blocklist as a Service" (BLaaS)** feature. This service provides a dynamically updated list of malicious IPs and ranges from selected blocklists, hosted on an endpoint with basic authentication. By leveraging this integration, your firewall will proactively block known malicious actors, reducing attack surface and risk.
45-
46-
---
47-
48-
## **Prerequisites**
49-
Before starting, ensure you meet the following requirements:
50-
51-
1. **Firewall Capabilities**:
52-
- Your firewall supports creating rules from an IP or CIDR list hosted on a given endpoint.
53-
- The list must be accessible via **basic authentication**.
54-
55-
2. **BLaaS Integration**:
56-
- You have a valid CrowdSec BLaaS configuration, exposing the merged blocklist endpoint.
57-
- Ensure the blocklists attached to this integration match your security policies.
58-
- Documentation: [Configuring BLaaS](https://doc.crowdsec.net/docs/using-crowdsec/blocklist/#blocklist-as-a-service-blaas).
59-
60-
3. **Access and Credentials**:
61-
- Verify access to the BLaaS endpoint with provided basic auth credentials.
62-
63-
4. **Network and API Access**:
64-
- The firewall can access external endpoints over the internet or a designated network.
65-
66-
5. **Testing Environment**:
67-
- Ensure a testing setup is available to validate the integration before deploying it in production.
68-
69-
---
70-
71-
## **Technicality Score**
72-
- **Overall**: 🟠 Moderate (requires firewall configuration and API usage)
73-
- **Section Breakdown**:
74-
- **Firewall Compatibility Check**: 🟢 Easy
75-
- **Retrieving Blocklists via BLaaS**: 🟡 Moderate
76-
- **Configuring the Firewall**: 🟠 Moderate to Complex (depends on the firewall)
77-
- **Testing & Maintenance**: 🟢 Easy to Moderate
78-
79-
---
80-
81-
## **Required Skills**
82-
- Basic understanding of networking and firewalls.
83-
- Familiarity with basic authentication and endpoint configurations.
84-
- Experience with REST APIs or CLI tools is helpful but not mandatory.
85-
86-
---
87-
88-
## **Estimated Time**
89-
- **Compatibility Check**: 15 minutes
90-
- **BLaaS Setup Validation**: 15–30 minutes
91-
- **Firewall Configuration**: 1–2 hours
92-
- **Testing and Fine-Tuning**: 30–60 minutes
93-
**Total Time**: ~2.5–4 hours
94-
95-
---
96-
97-
## **Steps to Achieve This Goal**
98-
99-
### 1. **Check Firewall Compatibility**
100-
- Verify that your firewall can:
101-
- Fetch and process an external list of IPs or CIDRs.
102-
- Authenticate to endpoints using basic authentication.
103-
- Refer to your firewall's documentation or CrowdSec’s [Supported Firewalls Guide](https://doc.crowdsec.net/docs/firewalls/overview/).
104-
105-
### 2. **Validate Your BLaaS Configuration**
106-
- Ensure your BLaaS endpoint is configured and accessible.
107-
- Use the credentials to test access via tools like `curl` or Postman:
108-
```bash
109-
curl -u username:password https://your-blaas-endpoint/blocklist
110-
```
111-
- Confirm the endpoint returns a properly formatted list of IPs and ranges.
112-
- Documentation: [BLaaS Overview](https://doc.crowdsec.net/docs/using-crowdsec/blocklist/#blocklist-as-a-service-blaas).
113-
114-
### 3. **Integrate Blocklists Into Your Firewall**
115-
- Configure your firewall to fetch the list at regular intervals.
116-
- Apply rules to enforce blocking based on the retrieved IPs and CIDRs.
117-
- Example configurations for common firewalls are available in the [Firewall Integration Guide](https://doc.crowdsec.net/docs/using-crowdsec/firewall/).
118-
119-
### 4. **Test and Verify**
120-
- Simulate traffic from a blocked IP to verify that the firewall correctly applies the rules.
121-
- Review logs to ensure legitimate traffic isn’t inadvertently blocked.
122-
123-
### 5. **Automate and Maintain**
124-
- Schedule periodic updates for the blocklist (e.g., cron jobs for API pulls).
125-
- Monitor the firewall and CrowdSec logs for performance and effectiveness.
126-
- Refer to [Monitoring Best Practices](https://doc.crowdsec.net/docs/monitoring/overview/).
127-
128-
---
129-
130-
By integrating CrowdSec’s "Blocklist as a Service" into your firewall, you gain access to dynamic, community-powered threat intelligence that keeps your infrastructure secure. For more detailed configuration examples and troubleshooting, explore the [CrowdSec Documentation](https://doc.crowdsec.net/).
40+
[ ] Move u/integrations/ to u/console/blaas_integrations/
41+
[ ] start with
42+
- Need to create console account
43+
- link of alternative via SAPI

0 commit comments

Comments
 (0)