Menu

Tree [00c668] master /
 History

HTTPS access


File Date Author Commit
 assets 2016-12-05 Roman Shneer Roman Shneer [00c668] Last fixs for mobile
 inc 2016-11-30 Roman Shneer Roman Shneer [00760a] Fix about encoding in waf.sql, changed to utf8
 include 2016-11-30 Roman Shneer Roman Shneer [296ee0] Mobile_unfinished
 libs 2016-11-30 Roman Shneer Roman Shneer [296ee0] Mobile_unfinished
 sessions 2016-09-20 Roman Shneer Roman Shneer [a24d3f] Version 1.0 - be carefull
 404.html 2016-11-23 Roman Shneer Roman Shneer [b154c2] Big update! Implemented Export and Import to js...
 404.php 2016-11-24 Roman Shneer Roman Shneer [0379fe] Added webmaster email for showing in 404.php pa...
 CONTRIBUTING.md 2016-10-05 mattbk mattbk [d6b240] Remove confusing Gratipay references
 COPYING 2016-10-05 shaman33 shaman33 [49b08f] Create COPYING
 LICENSE 2016-10-05 shaman33 shaman33 [0d5438] Update LICENSE
 README.md 2016-11-28 Roman Shneer Roman Shneer [213c2b] Update README.md
 ajax.php 2016-12-05 Roman Shneer Roman Shneer [3a20af] dashboard changes
 blacklist.php 2016-11-23 Roman Shneer Roman Shneer [b154c2] Big update! Implemented Export and Import to js...
 edituser.php 2016-11-27 Roman Shneer Roman Shneer [969536] small design changes
 exit.php 2016-09-22 Roman Shneer Roman Shneer [1ba632] Added global variables
 htaccess.php 2016-12-05 Roman Shneer Roman Shneer [00c668] Last fixs for mobile
 index.php 2016-12-05 Roman Shneer Roman Shneer [00c668] Last fixs for mobile
 install.php 2016-09-22 Roman Shneer Roman Shneer [1ba632] Added global variables
 installed.php 2016-09-22 Roman Shneer Roman Shneer [1ba632] Added global variables
 login.php 2016-10-05 Roman Shneer Roman Shneer [122da0] Right Icons
 logs.php 2016-11-27 Roman Shneer Roman Shneer [dde27b] removed right panel in access map, changed sele...
 map.php 2016-11-30 Roman Shneer Roman Shneer [296ee0] Mobile_unfinished
 password.php 2016-11-27 Roman Shneer Roman Shneer [969536] small design changes
 remind_password.php 2016-09-22 Roman Shneer Roman Shneer [1ba632] Added global variables
 reset_password.php 2016-09-22 Roman Shneer Roman Shneer [1ba632] Added global variables
 settings.php 2016-11-27 Roman Shneer Roman Shneer [969536] small design changes
 users.php 2016-11-27 Roman Shneer Roman Shneer [969536] small design changes
 waf.php 2016-11-30 Roman Shneer Roman Shneer [400ce6] Fix about bug about http codes <> 200||301

Read Me

Web App Firewall

Introduction

WAFs goal is protect sites against hackers and virus attacks.
Web App Firewall its PHP application that implement principle of reverse-proxy , control of types variables accepted by server , and comfortable management interface.

alt tag

W.A.F. supported to work under LAMP servers with .htaccess files support.
Security protection based on white-list strategy: after starting "Learn" mode program collect map of requests, and user have to approve requests. After starting "Guard" mode - program accept only known requests.

Program using white-list strategy, it is more absolute protection, but its requires a lot of work on configuration.
In the program using Intellectual graphical UI , its give an opportunity regularize most chaotic structure.

Contains libraries:

Jquery-connections https://github.com/musclesoft/jquery-connections

jQuery-1.11.3 https://jquery.com

Google Charts https://developers.google.com/chart/

Requires:

Linux OS, Apache webserver with support htaccess and mod_rewrite,PHP5 with support CURL and MySQL

How its working?

Web App Firewall organize reverse-proxy by injection to .htaccess file, and writing Rewrite Rules with security key 1.

WAF script get redirected request and parse path and parameters sent from user. Detect created rules for specified situation and block or accept request via prepared politics.

If request approved, WAF script sending request back to server via CURL with added security key 2 (.htaccess rule miss request if detect key2).
If request blocked, WAF save logs and show 404 page.

Getting Started

Installation

HTACCESS Injection

Configuration Settings

Set W.A.F Status Learn on, and Guard off.
Now program start collect request-map from every request to site, leave it for one week for view more complete structure of site.

Access Map - configuration permissions

Bad Requests log

Blacklist IP

Analizing Attacks

Support

Project Facebook

Write me for help RomanShneer@gmail.com

Please donate: