DEV Community

Lulu
Lulu

Posted on

SafeLine WAF: Easy Installation and Pro-Level Web Protection

1. Introduction to SafeLine

SafeLine is a Web Application Firewall (WAF) developed by Chaitin Technology over nearly 10 years. It is powered by an intelligent semantic analysis algorithm designed to provide comprehensive security protection for web applications.

2. Minimum System Requirements

  • Operating System: Linux
  • CPU Architecture: x86_64
  • CPU Instruction Set: Must support SSSE3
  • Software Dependencies: Docker 20.10.14 or higher, Docker Compose 2.0.0 or higher
  • Minimum Resources: 1 Core CPU, 1 GB RAM, 5 GB Disk Space

3. Installing SafeLine

The setup system used: CentOS 7

SafeLine provides three installation methods, but I opted for the online installation:



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


Enter fullscreen mode Exit fullscreen mode

Once the installation is complete, log in to the management interface via your browser: https://waf-ip:9443

Simply enter your username and password to access the main dashboard.

Image description

4. Configuring SafeLine

Add your website under the "Web Services" section.

Image description

Once the site is added, you can begin monitoring it.

Image description

5. Testing the Protection

For example, accessing:



http://192.168.134.161/vulnerabilities/sqli/?id=1 group by 1&Submit=Submit#


Enter fullscreen mode Exit fullscreen mode

You'll notice that the request gets intercepted, and you can view the original data packets under "Attack ."

Image description

Image description

Top comments (0)