Skip to content

PathSentinel is an application firewall that focuses on HTTP path protection. It uses deep neural network to provide web application security.

License

Notifications You must be signed in to change notification settings

SunBK201/PathSentinel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PathSentinel

PathSentinel is an application firewall that focuses on HTTP path protection. It uses deep neural network to provide web application security. PathSentinel is deployed using a reverse proxy way, which provides robust protection for your web server.

Features

  • Comprehensive HTTP path protection: PathSentinel provides robust security measures against various attacks targeted at HTTP paths, including SQL injection, cross-site scripting, and path traversal attacks.
  • Advanced artificial intelligence: PathSentinel's deep neural network accurately detects and responds to potential threats, providing intelligent defense for your web applications.
  • Reverse proxy deployment: PathSentinel is deployed using a reverse proxy, which acts as a secure gateway between the internet and your web server, ensuring that your server remains protected and secure.
  • Load balancing: Supports multiple load balancing strategies: weighted round-robin strategy, source address hashing strategy, and random strategy.

Getting Started

PathSentinel is easy to get started with. Simply deploy it as a reverse proxy in front of your web server and configure it to start monitoring HTTP traffic.

python src/main.py -c conf/sentinel.json -l access.log

Please configure conf/sentinel.json before you start using it:

{
    "host": "0.0.0.0",
    "port": 80,
    "policy": "round_robin",
    "upstream": [
        {
            "upstream_addr": "127.0.0.1",
            "upstream_port": 9090,
            "weight": 2
        },
        {
            "upstream_addr": "127.0.0.1",
            "upstream_port": 9091,
            "weight": 2
        }
    ],
    "log_level": "INFO",
    "log_file": "access.log",
    "firewall": {
        "enable": true,
        "model": "10w.pt"
    }
}

Load Balance Policy

  • round_robin: Round-robin load balance policy.
  • ip_hash: IP-hash load balance policy.
  • random: Random load balance policy.

TODO

[] Introduce a new dataset: https://urlhaus.abuse.ch

License

PathSentinel is licensed under the BSD-2 License.

About

PathSentinel is an application firewall that focuses on HTTP path protection. It uses deep neural network to provide web application security.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published