Nincs leírás

海亮 a68fc117eb Update README_CN.md 1 éve
.github 21a30a034e Update 2bug-report.yaml 1 éve
backend 6e04f0b10f fix: add behavior source (#843) 1 éve
blazehttp @ 23e8b59cd2 c6243e5107 feat: update blazehttp 1 éve
blockpage 769ea14e52 feat: add 4.2.0 version doc 1 éve
documents dc726f35fc feat: 6.0.1 1 éve
images afbe426448 Add files via upload 1 éve
lua-resty-t1k @ 6446166301 d99ef04cf3 加上了几个子模块 2 éve
plugins @ 209e7c0e00 d99ef04cf3 加上了几个子模块 2 éve
release dc726f35fc feat: 6.0.1 1 éve
website 91252b39c3 fix: add discord url 1 éve
yanshi 14716a090b add yanshi 2 éve
.dockerignore 7efa85996a feat: add dockerfile for whole site 1 éve
.gitignore fcdcf124d5 feat: change release log 1 éve
.gitmodules 20361064a2 add about us link 2 éve
CHANGELOG.md dc726f35fc feat: 6.0.1 1 éve
Dockerfile fcdcf124d5 feat: change release log 1 éve
FAQ.md 150eec4585 doc: update the container name in doc 1 éve
LICENSE.md d87249c35b feat: update license 1 éve
README.md ad59bb70b7 Update README.md 1 éve
README_CN.md a68fc117eb Update README_CN.md 1 éve

README.md

English | 中文

SafeLine - The Best WAF For Community


Home Page | Online Demo | Documents

A simple, easy-to-use, and powerful free WAF. Based on the industry-leading semantic engine detection technology, it serves as a reverse proxy access to protect your website.

  • Cumulative installations exceed 130,000 units
  • Protecting websites over 1,000,000
  • Processing HTTP requests over 30,000,000,000 times per day
  • Intercepting attacks over 50,000,000 times per day

The core detection capability is driven by intelligent semantic analysis algorithms, tailored for the community, keep hackers away from you.

Related Repo

Automaton Generator | Lua Plugin | T1K Protocol | WAF Test Tool

Features

Convenience

Adopting containerized deployment, installation can be completed with one command at zero cost. Security configurations are ready to use out of the box, requiring no manual maintenance and enabling secure and effortless management.

Security

Pioneering industry-leading intelligent semantic analysis algorithms for precise detection, low false positives, and resistance to circumvention. Unconstrained by rules, the semantic analysis algorithm equips users to confidently confront unknown 0day attack features.

High Performance

Ruleless engine, linear security detection algorithm, with an average request detection latency at the millisecond level. Strong concurrency capability, effortlessly detecting 2000+ TPS on a single core; with sufficient hardware, there is no upper limit to the supported traffic scale.

High Availability

The traffic processing engine is developed based on Nginx, guaranteeing both performance and stability. It incorporates a comprehensive health check mechanism, ensuring a service availability of up to 99.99%.

🚀 Get Started

Environment

  • Operating System: Linux
  • Instruction Architecture: x86_64
  • Software Dependencies: Docker version 20.10.6 or higher
  • Software Dependencies: Docker Compose version 2.0.0 or higher
  • Minimum Environment: 1 core CPU / 1 GB memory / 10 GB disk

Setup

bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh)"

for information for 安装雷池

🕹️ use SafeLine

Login

After opening the backend management page in the browser at https://<IP-or-HOSTNAME>:9443, follow the on-screen instructions to scan the QR code using an authentication app that supports TOTP, and then enter the dynamic password to log in.

login.gif

Settings

SafeLine is accessed in reverse proxy mode, receiving traffic before the web server, detecting and cleaning attack behavior in the traffic, and then forwarding the cleaned traffic to the web server.

config.gif

💡 TIPS: After adding, executing curl -H "Host: <domain>" http://<IP-or-HOSTNAME>:<port> should be able to get the response of the website.

test

Use the following step to simulate hacker attack and see how effective the protection of the SafeLine is.

  • access http://<IP-or-HOSTNAME>:<PORT>/?id=1%20AND%201=1
  • access http://<IP-or-HOSTNAME>:<PORT>/?a=<script>alert(1)</script>

log.gif

more test for 测试防护效果

FAQ

🏘️ Talk Group

  1. Bug feedback and feature suggestions can be directly submitted through GitHub Issues.
  2. Join SafeLine Discord for more discussions.

Star History

<img width="500" alt="Star History Chart" src="https://api.star-history.com/svg?repos=chaitin/safeline&type=Date">