Shadow Daemon

Shadow Daemon Web 应用程序防火墙服务器。(The Shadow Daemon web application firewall server)

Github星跟踪图

Shadow Daemon

Shadow Daemon 是用于检测、记录和防止对 Web 应用程序的攻击的工具的集合。从技术上讲,Shadow Daemon 是一种 Web 应用程序防火墙,可拦截请求并过滤出恶意参数。 它是一个模块化系统,将 Web 应用程序、分析和界面分开,以提高安全性、灵活性和可扩展性。

这是处理请求的分析和存储的主要组件。

文档

有关完整文档,请访问 shadowd.zecure.org

安装

预备

使用 cmake 配置和准备项目。最好为此创建一个单独的目录。典型的安装可能如下所示。

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release ..

编译

如果 cmake 成功,它将创建一个 makefile。使用它来编译和安装项目。

make shadowd
make install

数据库

安装和配置数据库服务器。目前,shadowd 正式支持 PostgreSQL 和 MySQL。然后为 shadowd 创建一个新的用户和数据库,并导入正确的设计。

如果使用的是 PostgreSQL,则可以使用 psql 导入设计。

psql -Ushadowd shadowd < /usr/share/shadowd/pgsql_layout.sql

如果使用的是 MySQL,则可以使用 mysql 导入设计。用户需要 CREATE ROUTINE 特权。

mysql -ushadowd -p shadowd < /usr/share/shadowd/mysql_layout.sql

安装程序会将配置文件复制到 /etc/shadowd/shadowd.ini。该文件带有注释,如何配置应该是不言自明的。


(The first version translated by vz on 2020.08.05)

主要指标

概览
名称与所有者zecure/shadowd
主编程语言C++
编程语言C++ (语言数: 7)
平台BSD, Docker, Linux, Mac, Solaris, Windows
许可证GNU General Public License v2.0
所有者活动
创建于2014-08-29 13:52:14
推送于2022-11-26 11:34:47
最后一次提交2022-11-26 12:34:28
发布数11
最新版本名称v2.2.0 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数300
关注者数23
派生数41
提交数240
已启用问题?
问题数61
打开的问题数4
拉请求数27
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

Logo

Build Status
Quality Gate Status

Shadow Daemon is a collection of tools to detect, record and prevent attacks on web applications.
Technically speaking, Shadow Daemon is a web application firewall that intercepts requests and filters out malicious parameters.
It is a modular system that separates web application, analysis and interface to increase security, flexibility and expandability.

This is the main component that handles the analysis and storage of requests.

Documentation

For the full documentation please refer to shadowd.zecure.org.

Installation

Preparation

Use cmake to configure and prepare the project. It is a good idea to create a separate directory for this.
A typical installation might look like this.

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release ..

Compilation

If cmake is successful it creates a makefile. Use it to compile and install the project.

make shadowd
make install

Database

Install and configure a database server. At the moment shadowd officially supports PostgreSQL and MySQL.
Afterwards create a new user and database for shadowd and import the correct layout.

If you are using PostgreSQL you can use psql to import the layout.

psql -Ushadowd shadowd < /usr/share/shadowd/pgsql_layout.sql

If you are using MySQL you can use mysql to import the layout. The user requires the CREATE ROUTINE privilege.

mysql -ushadowd -p shadowd < /usr/share/shadowd/mysql_layout.sql

Configuration

The installer copies the configuration file to /etc/shadowd/shadowd.ini. The file is annotated and should be self-explanatory.