65535a / redbouncer

Minimalistic reverse proxy with request filtering.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick instructions:

  • Install dependencies
  • Add your Badger's http headers into the headers.txt file in json format (the key must start with CAPITAL letter)
  • Generate an SSL key and a cert or use existing ones
  • Run the main.py with suitable arguments (-h is your friend)

Requests from new IPs without proper headers are added straight into blacklist.txt which the script checks first during request handling. Requests from IPs which are found in whitelist.txt are proxied without the header check. If a request has valid headers, the IP is added to whitelist.txt.

To-do:

  • Make a proper help message and documentation
  • Implement proper logging
  • Make forced SSL optional
  • Make header handling case insensitive
  • Blacklist an IP using wrong URI

About

Minimalistic reverse proxy with request filtering.


Languages

Language:Python 100.0%