Skip to content
项目

kdwils/envoy-proxy-crowdsec-bouncer

在 GitHub 查看

关于

A lightweight Crowdsec remediation component for envoy proxy and envoy gateway

系统与基础设施

这些数字如何统计

58 星标11 复刻 +1 24小时

可以做什么

  • Block malicious IPs streamed via CrowdSec decisions
  • Bouncer metrics reporting
  • Request inspection via CrowdSec AppSec
  • Google reCAPTCHA v2

实测星标增长

24小时
+1
7天
+1
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Go Build License

CrowdSec Envoy Proxy Bouncer

CrowdSec bouncer for Envoy Proxy using the ext_authz filter.

[!WARNING] This project is in active development and has not been tested in production environments. Use at your own risk. Breaking changes may occur between releases. For the most stable experience, use a tagged release rather than the main branch.

Features

  • Block malicious IPs streamed via CrowdSec decisions
  • Bouncer metrics reporting
  • Request inspection via CrowdSec AppSec
  • CAPTCHA challenges for suspicious IPs with support for:
    • Google reCAPTCHA v2
    • Cloudflare Turnstile
  • Crowdsec AppSec bot challenges

Supported CrowdSec Versions

The following CrowdSec versions have been tested. Other versions may work but have not been validated.

CrowdSec Version Status
v1.7.0 ✅
v1.7.2 ✅
v1.7.3 ✅
v1.7.4 ✅
v1.7.6 ✅
v1.7.7 ✅
v1.7.8 ✅
v1.8.0 ✅
v1.8.1 ✅
v1.8.2 ✅

How It Works

Integrates with Envoy as an external authorization service. Each request is evaluated by:

  1. Extracting client IP from forwarded headers
  2. Checking CrowdSec decision cache for IP-based ban or captcha decisions
  3. Inspecting request with CrowdSec AppSec WAF (if enabled)
  4. Enforcing decisions:
    • Allow: request proceeds
    • Ban: return 403 with ban page
    • Captcha: redirect to challenge page
    • Challenge: pass AppSec's bot challenge page through to the client

Ban Page

Documentation

Examples

Acknowledgments

探索相关项目

加载中…