asalih / guardian

Open Source Web Application Firewall

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

This repository started as a good idea but I didn't have enough time or desire to work on it. So, it's left here for historical / educational purposes, but be advised it's essentially dead code. If anyone else wants to fork and develop / maintain it, be my guest :)

Guardian Web Application Firewall

CircleCI Go Report Card

Guardian is the open source web application firewall based on ModSecurity SecRule format.

How it works!

Guardian locates in front of your web server and if incoming traffic valid then the Guardian passes it to the target server.

Diagram

Guardian Nameserver

Guardian Nameserver To route web traffic through the Guardian, update the nameservers at your domain registrar to resolve your domain’s DNS with Guardian's nameservers.

Guardian Dashboard

Guardian Dashboard To managing your rules and domains.

Docker

There is docker-compose.yml available. Builds the following apps using Dockerfiles.

  • db
    • Runs postgres image with default settings and guardiandb created in it.
  • guardian
    • Runs golang image then builds the waf from master branch. Listens 80 and 443 ports.
  • guardian_dashboard
    • Runs mcr.microsoft.com/dotnet/core/sdk:3.0 image then builds the dashboard app from master branch. Listens 8080 port.

TODO

  • General improvements & better testing
  • Usecase

About

Open Source Web Application Firewall

License:MIT License


Languages

Language:Go 99.3%Language:Dockerfile 0.5%Language:Makefile 0.2%