diff --git a/README.md b/README.md index f48e0ca..56d368f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@
-
+
@@ -12,101 +11,109 @@
English | 中文文档
++ 官方网站 | + 技术文档 | + For 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. ++ 语义分析自动机引擎 | + 流量分析插件 | + T1K 协议 | + 测试工具 +
-## ✨ Demo +一款足够简单、足够好用、足够强的免费 WAF。 -### 🔥🔥🔥 Online Demo: https://demo.waf-ce.chaitin.cn:9443/ +耗时近 10 年,长亭科技倾情打造,核心检测能力由智能语义分析算法驱动,专为社区而生,不让黑客越雷池半步。 -There is a simple http server, listened on `http://127.0.0.1:8889`, can be used as for testing. +
-
+## 产品特性
-
+#### 便捷性
-## 🚀 Installation
+采用容器化部署,一条命令即可完成安装,0 成本上手。安全配置开箱即用,无需人工维护,可实现安全躺平式管理。
-### 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
+#### 安全性
+
+首创业内领先的智能语义分析算法,精准检测、低误报、难绕过。语义分析算法无规则,面对未知特征的 0day 攻击不再手足无措。
+
+#### 高性能
+
+无规则引擎,线性安全检测算法,平均请求检测延迟在 1 毫秒级别。并发能力强,单核轻松检测 2000+ TPS,只要硬件足够强,可支撑的流量规模无上限。
+
+#### 高可用
+
+流量处理引擎基于 Nginx 开发,性能与稳定性均可得到保障。内置完善的健康检查机制,服务可用性高达 99.99%。
+
+## 🚀 安装
+
+### 配置需求
+
+- 操作系统:Linux
+- 指令架构:x86_64
+- 软件依赖:Docker 20.10.6 版本以上
+- 软件依赖:Docker Compose 2.0.0 版本以上
+- 最小化环境:1 核 CPU / 1 GB 内存 / 10 GB 磁盘
+
+### 创建安装目录
+
+```
+mkdir -p safeline # 创建 safeline 目录
+cd safeline # 进入 safeline 目录
```
-### 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
+```
+curl -fsSLk https://waf-ce.chaitin.cn/release/latest/setup.sh | bash
```
-#### 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}')
+```
+docker compose up -d
```
-## 🕹️ Quick Start
+## 🕹️ 快速使用
-### 1. Login
+### 登录
-Open admin page `https://
-## ✨ CTStack
-
-
-SafeLine has already joined [CTStack](https://stack.chaitin.com/tool/detail?id=717) community.
-
## Star History
-
-
-
-
-
-
-
-
-
中文文档 | English
- -一款简单、好用的 WAF 工具。基于[长亭科技](https://www.chaitin.cn)王牌的 🤖️智能语义分析算法🤖️ 打造,专为社区设计。 - -## ✨ Demo - -### 🔥🔥🔥 体验地址:https://demo.waf-ce.chaitin.cn:9443/ - -有一台运行在环境上 `http://127.0.0.1:8889` 的服务可以作为上游服务器测试使用。 - - - - - -## 🚀 安装 - -### 1. 确保机器上正确安装 [Docker](https://docs.docker.com/engine/install/) 和 [Compose V2](https://docs.docker.com/compose/install/) -```shell -docker info # >= 20.10.6 -docker compose version # >= 2.0.0 -``` - -### 2. 部署安装 - -```shell -mkdir -p safeline && cd safeline -# 下载并执行 setup -curl -kfLsS https://waf-ce.chaitin.cn/release/latest/setup.sh | bash - -# 运行 -sudo docker compose up -d -``` - -#### 升级 - -##### 自动一键更新 - -**WARN: 雷池 SafeLine 服务会重启,流量会中断一小段时间,根据业务情况选择合适的时间来执行升级操作。** - -```shell -# 请到 compose.yaml 同级目录下执行下面脚本 -curl -kfLsS https://waf-ce.chaitin.cn/release/latest/upgrade.sh | bash - -# 如果有需要,可以手动删除旧版本镜像 -docker rmi $(docker images | grep "safeline" | grep "none" | awk '{print $3}') -``` -**有部分环境的默认 SafeLine 安装路径是在 `/data/safeline-ce`,安装之后可能会发现需要重新绑定 OTP、配置丢失等情况,可以修改 .env 的 `SAFELINE_DIR` 变量,指向 `/data/safeline-ce`** - -##### 手动更新镜像 - -**适用于 docker hub 拉取镜像失败的场景,手动更新镜像,注意还是要执行 `upgrade.sh` 来处理 `.env` 的更新,否则有可能会因为缺少参数而启动失败。** - -###### 1. 在一台能够从 docker hub 拉取镜像的机器上执行 - -```shell - -# 拉取镜像 -docker pull chaitin/safeline-tengine:latest -docker pull chaitin/safeline-mgt-api:latest -docker pull chaitin/safeline-mario:latest -docker pull chaitin/safeline-detector:latest -docker pull postgres:15.2 -docker pull redis:7.0.11 - -# 打包镜像 -docker save -o image.tar chaitin/safeline-tengine:latest chaitin/safeline-mgt-api:latest chaitin/safeline-mario:latest chaitin/safeline-detector:latest postgres:15.2 redis:7.0.11 - -# 传输到 SafeLine 要部署的目标服务器 -# scp image.tar
-
-## ✨ CTStack
-
-
-雷池 SafeLine 现已加入 [CTStack](https://stack.chaitin.com/tool/detail?id=717) 社区
-
-## Star History
-
-
-
+
+
+
+
+
+
+
+
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://
+
+## ✨ CTStack
+
+
+SafeLine has already joined [CTStack](https://stack.chaitin.com/tool/detail?id=717) community.
+
+## Star History
+
+
+