Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badger Plugin for Traefik with Pangolin Integration with secure proxy support

Allows the usage of X-Forwarded-For and similar headers to determine client IP when behind trusted proxies. By default this is disabled to secure against IP spoofing.

Badger is a middleware plugin designed to work with the Traefik reverse proxy in conjunction with Pangolin, a multi-tenant tunneled reverse proxy server and management interface with identity and access management. Badger acts as an authentication bouncer, ensuring only authenticated and authorized requests are allowed through the proxy.

This plugin is required to be configured alongside Pangolin to enforce secure authentication and session management.

Installation

Learn how to set up Pangolin and Badger in the Pangolin Documentation.

Configuration

Badger requires the following configuration parameters to be specified in your Traefik configuration file. These coincide with the separate Pangolin configuration file.

Configuration Options

apiBaseUrl: "http://localhost:3001/api/v1"
userSessionCookieName: "p_session_token"
resourceSessionRequestParam: "p_session_request"

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Fork of github.com/fosrl/badger/ but with implementation for x-forwarded-for

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages