Skip to content

Commit 0861b70

Browse files
authored
chore: add crowdsec bouncer
1 parent 94d17fb commit 0861b70

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

examples/traefik/fileConfig.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,58 @@ http:
9191
# - Remote-Name
9292
# - Remote-Email
9393

94+
#crowdsec:
95+
# plugin:
96+
# bouncer:
97+
# enabled: true
98+
# updateIntervalSeconds: 60
99+
# updateMaxFailure: 0
100+
# defaultDecisionSeconds: 60
101+
# httpTimeoutSeconds: 10
102+
# crowdsecMode: live
103+
# crowdsecAppsecFailureBlock: true
104+
# crowdsecAppsecUnreachableBlock: true
105+
# crowdsecLapiKey: $CROWDSEC-BOUNCER-API-TOKEN
106+
# crowdsecLapiHost: crowdsec:8080
107+
# crowdsecLapiScheme: http
108+
# crowdsecLapiTLSInsecureVerify: false
109+
# crowdsecCapiScenarios:
110+
# - crowdsecurity/traefik
111+
# - crowdsecurity/http-cve
112+
# - crowdsecurity/http-path-traversal-probing
113+
# - crowdsecurity/http-xss-probing
114+
# - crowdsecurity/http-generic-bf
115+
# forwardedHeadersTrustedIPs:
116+
# - 10.0.0.0/8
117+
# - 172.16.0.0/12
118+
# - 192.168.0.0/16
119+
# - 103.21.244.0/22
120+
# - 103.22.200.0/22
121+
# - 103.31.4.0/22
122+
# - 104.16.0.0/13
123+
# - 104.24.0.0/14
124+
# - 108.162.192.0/18
125+
# - 131.0.72.0/22
126+
# - 141.101.64.0/18
127+
# - 162.158.0.0/15
128+
# - 172.64.0.0/13
129+
# - 173.245.48.0/20
130+
# - 188.114.96.0/20
131+
# - 190.93.240.0/20
132+
# - 197.234.240.0/22
133+
# - 198.41.128.0/17
134+
# - 2400:cb00::/32
135+
# - 2606:4700::/32
136+
# - 2803:f800::/32
137+
# - 2405:b500::/32
138+
# - 2405:8100::/32
139+
# - 2a06:98c0::/29
140+
# - 2c0f:f248::/32
141+
# clientTrustedIPs:
142+
# - 10.0.0.0/8
143+
# - 172.16.0.0/12
144+
# - 192.168.0.0/16
145+
94146
# rate limiting
95147
rate-limit:
96148
rateLimit:

0 commit comments

Comments
 (0)