Skip to content

Funny-Systems-Freeware/Nginx-Hardened-Mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx-Hardened-Mode

Hardened Mode for Nginx

Features

v1.0-L7-Host v1.0-L3-CDN
1. Server Name Validation O
2. Source IP Address Validation O
3. Auto Update Trusted IPs List O
4. Immediately Error Reporting O O

1. Drop Requests for Unknown Server Name

  • If a request ask for server name out of trusted list, it'll be drop immediately.

2. Drop Requests from Untrusted Source Address

  • If a request comes from an address out of trusted list, it'll be drop immediately.

3. Get Latest IPs List of Trusted Service Automatically

  • Make it easier to deal with IPs lists provided by numerous well-known services which changed frequently.
    Currently supported: CloudFlare, Fastly.

4. Immediately Error Reporting

  • Auto reporting while failed over to Normal Mode (Behavior of Original Nginx) by WebHook.

Distribution of Nginx-Hardened-Mode

Roadmap

  • ✅ Server name validation
  • ✅ Source IP address validation
  • ✅ IP List of CDN (ex: cloudflare, fastly...etc)
  • 🚀 IP List of Public Cloud (ex: gcp, azure, aws, akamai... etc)
  • 🚀🚀 Secret Sauce :)

Known Issues

  • Commands nginx -s reload and nginx -s stop might fail in certain conditions. If encounter such error, you might have to kill nginx processes manually.

Contact Us

Funny Email 😍