English | 中文文档
A simple and easy to use WAF tool. Built on [Chaitin Technology](https://www.chaitin.cn/en/)'s ace 🤖️Intelligent Semantic Analysis algorithm🤖️, designed for the community. ## ✨ Demo ### 🔥🔥🔥 Online Demo: https://demo.waf-ce.chaitin.cn:9443/ There is a simple http server, listened on `http://127.0.0.1:8889`, can be used as for testing.   ## 🚀 Installation ### 1. Make sure [Docker](https://docs.docker.com/engine/install/) and [Compose V2](https://docs.docker.com/compose/install/) are installed correctly on the machine ```shell docker info # >= 20.10.6 docker compose version # >= 2.0.0 ``` ### 2. Setup and deploy ```shell mkdir -p safeline && cd safeline # setup curl -kfLsS https://waf-ce.chaitin.cn/release/latest/setup.sh | bash # launch sudo docker compose up -d ``` #### Upgrade **WARN: SafeLine will be restarted and your traffic will be unavailable for a short period of time. You may need to choose a proper time for upgration.** ```shell curl -kfLsS https://waf-ce.chaitin.cn/release/latest/upgrade.sh | bash # delete the old used image layers if necessary. docker rmi $(docker images | grep "safeline" | grep "none" | awk '{print $3}') ``` ## 🕹️ Quick Start ### 1. Login Open admin page `https://