Skip to content

Commit b233934

Browse files
authored
update for ip ranges (#1055)
1 parent 3eebda4 commit b233934

3 files changed

Lines changed: 22 additions & 16 deletions

File tree

crowdsec-docs/docs/configuration/network_management.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ id: network_management
1616
- Local API connects to `tcp/443` on `blocklists.api.crowdsec.net` (blocklists pull)
1717
- Local API connects to `tcp/443` on `papi.api.crowdsec.net` (console management)
1818
- `cscli` connects to `tcp/443` on `cdn-hub.crowdsec.net` to fetch scenarios, parsers etc. (1)
19-
- `cscli` connects to `tcp/443` on `version.crowdsec.net` to check latest version available.
20-
- `cscli` connects to `tcp/443` on `hub-data.crowdsec.net` to fetch external data loaded by parsers, scenario and postoverflows.
19+
- `cscli` connects to `tcp/443` on `version.crowdsec.net` to check latest version available. (2)
20+
- `cscli` connects to `tcp/443` on `hub-data.crowdsec.net` to fetch external data loaded by parsers, scenario and postoverflows. (2)
2121
- Dashboard-related functionality may connect to external services for configuration
2222
- Installation script is hosted on `install.crowdsec.net` over HTTPS.
2323
- Repositories are hosted on `packagecloud.io` over HTTPS.
2424

25-
__(1) - FQDN is cloudfront entry to crowdsec's github repository so people avoid hitting github's quotas__
25+
__(1) - This FQDN routes traffic to CrowdSec's GitHub repositories through CloudFront, which helps avoid GitHub rate limits.__
26+
[AWS publishes the CloudFront IP ranges](https://ip-ranges.amazonaws.com/ip-ranges.json); CloudFront entries are tagged `CLOUDFRONT`.
27+
28+
__(2) - This FQDN routes traffic to CrowdSec's GitHub repository through Cloudflare, which helps avoid GitHub rate limits.__
29+
[Cloudflare publishes its IP ranges](https://www.cloudflare.com/ips/): [IPv4](https://cloudflare.com/ips-v4) and [IPv6](https://cloudflare.com/ips-v6).
2630

2731

2832
# Communication between components
@@ -55,4 +59,3 @@ Both components need proper configuration to run (we decide to keep this behavio
5559
## Notes on proxy use
5660

5761
- It's possible to use crowdsec through proxy, it will honor the `HTTP_PROXY` environment variable. More on the configuration how to use crowdsec through a proxy [here](/u/troubleshooting/security_engine#how-to-set-up-a-proxy)
58-

crowdsec-docs/versioned_docs/version-v1.6/configuration/network_management.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@ id: network_management
1616
- Local API connects to `tcp/443` on `blocklists.api.crowdsec.net` (blocklists pull)
1717
- Local API connects to `tcp/443` on `papi.api.crowdsec.net` (console management)
1818
- `cscli` connects to `tcp/443` on `cdn-hub.crowdsec.net` to fetch scenarios, parsers etc. (1)
19-
- `cscli` connects to `tcp/443` on `version.crowdsec.net` to check latest version available.
20-
- `cscli` connects to `tcp/443` on `hub-data.crowdsec.net` to fetch external data loaded by parsers, scenario and postoverflows.
19+
- `cscli` connects to `tcp/443` on `version.crowdsec.net` to check latest version available. (2)
20+
- `cscli` connects to `tcp/443` on `hub-data.crowdsec.net` to fetch external data loaded by parsers, scenario and postoverflows. (2)
2121
- [`cscli dashboard`](/cscli/cscli_dashboard.md) fetches metabase configuration from a s3 bucket (`https://crowdsec-statics-assets.s3-eu-west-1.amazonaws.com/`)
2222
- Installation script is hosted on `install.crowdsec.net` over HTTPS.
2323
- Repositories are hosted on `packagecloud.io` over HTTPS.
2424

25-
__(1) - FQDN is cloudfront entry to crowdsec's github repositories so people avoid hitting github's quotas__
25+
__(1) - This FQDN routes traffic to CrowdSec's GitHub repositories through CloudFront, which helps avoid GitHub rate limits.__
26+
[AWS publishes the CloudFront IP ranges](https://ip-ranges.amazonaws.com/ip-ranges.json); CloudFront entries are tagged `CLOUDFRONT`.
27+
28+
__(2) - This FQDN routes traffic to CrowdSec's GitHub repository through Cloudflare, which helps avoid GitHub rate limits.__
29+
[Cloudflare publishes its IP ranges](https://www.cloudflare.com/ips/): [IPv4](https://cloudflare.com/ips-v4) and [IPv6](https://cloudflare.com/ips-v6).
30+
2631

2732

2833
# Communication between components
@@ -51,6 +56,3 @@ Both components need proper configuration to run (we decide to keep this behavio
5156
## Prometheus -> Agents
5257

5358
- If you're scrapping prometheus metrics from your agents or your local API, you need to allow inbound connections to `tcp/6060`
54-
55-
56-

crowdsec-docs/versioned_docs/version-v1.7/configuration/network_management.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ id: network_management
1616
- Local API connects to `tcp/443` on `blocklists.api.crowdsec.net` (blocklists pull)
1717
- Local API connects to `tcp/443` on `papi.api.crowdsec.net` (console management)
1818
- `cscli` connects to `tcp/443` on `cdn-hub.crowdsec.net` to fetch scenarios, parsers etc. (1)
19-
- `cscli` connects to `tcp/443` on `version.crowdsec.net` to check latest version available.
20-
- `cscli` connects to `tcp/443` on `hub-data.crowdsec.net` to fetch external data loaded by parsers, scenario and postoverflows.
19+
- `cscli` connects to `tcp/443` on `version.crowdsec.net` to check latest version available. (2)
20+
- `cscli` connects to `tcp/443` on `hub-data.crowdsec.net` to fetch external data loaded by parsers, scenario and postoverflows. (2)
2121
- Dashboard-related functionality may connect to external services for configuration
2222
- Installation script is hosted on `install.crowdsec.net` over HTTPS.
2323
- Repositories are hosted on `packagecloud.io` over HTTPS.
2424

25-
__(1) - The FQDN is cloudfront entry to crowdsec's github repositories so people avoid hitting github's quotas__
25+
__(1) - This FQDN routes traffic to CrowdSec's GitHub repositories through CloudFront, which helps avoid GitHub rate limits.__
26+
[AWS publishes the CloudFront IP ranges](https://ip-ranges.amazonaws.com/ip-ranges.json); CloudFront entries are tagged `CLOUDFRONT`.
27+
28+
__(2) - This FQDN routes traffic to CrowdSec's GitHub repository through Cloudflare, which helps avoid GitHub rate limits.__
29+
[Cloudflare publishes its IP ranges](https://www.cloudflare.com/ips/): [IPv4](https://cloudflare.com/ips-v4) and [IPv6](https://cloudflare.com/ips-v6).
2630

2731

2832
# Communication between components
@@ -51,6 +55,3 @@ Both components need proper configuration to run (we decide to keep this behavio
5155
## Prometheus -> Agents
5256

5357
- If you're scrapping prometheus metrics from your agents or your local API, you need to allow inbound connections to `tcp/6060`
54-
55-
56-

0 commit comments

Comments
 (0)