Replace Traefik Crowdsec bouncer container with plugin, install iptables bouncer - #112
Conversation
WalkthroughThe changes update the security service configurations and Traefik middleware integration. In the Docker Compose configurations, new environment variables and network settings are added while a deprecated service is removed. The Traefik configuration revises the middleware handling for the Crowdsec bouncer, transitioning from an old forward authentication method to a plugin-based structure. Additionally, an experimental section is introduced to declare the plugin details, and the logrotate base image is updated. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Traefik
participant Middleware as "Crowdsec Bouncer Plugin"
participant Crowdsec
Client->>Traefik: Send HTTP request
Traefik->>Middleware: Invoke plugin for auth check
Middleware->>Crowdsec: Validate request (using LAPI key & host)
Crowdsec-->>Middleware: Return authentication status
Middleware-->>Traefik: Relay auth result
Traefik-->>Client: Forward or block request
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
Note 🎁 Summarized by CodeRabbit FreeYour organization has reached its limit of developer seats under the Pro Plan. For new users, CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please add seats to your subscription by visiting https://app.coderabbit.ai/login.If you believe this is a mistake and have available seats, please assign one to the pull request author through the subscription management page using the link above. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
a57c836 to
23ff6e3
Compare
23ff6e3 to
3312459
Compare
Summary by CodeRabbit
New Features
Chores
nashost entry in the inventory configuration.