noumenia/bravos
Composer 安装命令:
composer create-project noumenia/bravos
包简介
Log file security parser.
关键字:
README 文档
README
_
| |__ _ __ __ ___ _____ ___
| '_ \| '__/ _` \ \ / / _ \/ __|
| |_) | | | (_| |\ V / (_) \__ \
|_.__/|_| \__,_| \_/ \___/|___/
Log file security parser.
Features
- Multi process log monitors
- Low resource usage
- Adaptive monitor frequency
- Systemd service
- Firewalld ipset blacklist
- Whitelist log by keywords
- Blacklist by keywords
- Blacklist by regular expressions
- Block CIDR net blocks or individual IP addresses
Supported log formats
- Apache
- Dovecot
Requirements
- PHP 8.0, 8.1, 8.2, 8.3, 8.4, 8.5
- libLoggerPHP
- libSDManagerPHP
Install with RPM packages
You may install bravos via the copr repository, for Alma/Rocky/Oracle Enterprise Linux and Fedora, simply use:
dnf copr enable mksanthi/noumenia
dnf install bravos
Install with Composer
You may install bravos with composer, to get the latest version use the create-project command, the last dot is important because it tells composer to save the files in the current directory.
composer create-project noumenia/bravos .
It is important to note, that bravos must be run as root when installed by composer. Since the RPM package installs two additional files, the sudoers file and the systemd service, these files give the required permissions to run bravos as a normal user.
How to use
If you installed via the RPM packages then a systemd service is already available and bravos can be started with systemctl. By default, bravos will read the configuration file /etc/bravos.ini and monitor log files defined under the logFiles[] array.
systemctl --now enable bravos
If you installed via composer or manually, then the bravos.ini file will be located in the same directory as the bravos executable and can be specified with the --ini=... parameter. Below is the complete list of command-line parameters:
Usage: bravos [OPTION]...
-V, --version display version information only
-h, --help display help about parameters
-v, --verbose enable verbose output to stdout
-u, --user=[USER] Daemon user
-g, --group=[GROUP] Daemon group
-p, --pid=[FILE] PID file
-l, --processlimit=[NUM] Process limit
-i, --ini=[FILE] Configuration file (/etc/bravos.ini)
--logfiles=[FILE] Log file(s) to monitor for changes, can be set multiple times
Related projects
- Aetolos - Virtual hosting at your... command line!
- guardian-milter - Multi-purpose security milter.
- bravos - Log file security parser.
- mmDbDaemon is a memory-resident MaxMind Database reader implementation in PHP.
- libMilterPHP is a Postfix/Sendmail Milter library implementation in PHP.
- libSDManagerPHP provides a portable daemon with a Sockets and Streams manager.
- libLoggerPHP is a logging library implementation in PHP.
noumenia/bravos 适用场景与选型建议
noumenia/bravos 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「log」 「php」 「firewalld」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 noumenia/bravos 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 noumenia/bravos 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 noumenia/bravos 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Stackdriver handler for Monolog (codeinternetapplications/monolog-stackdriver Fork).
Laravel 5.x.x library for integration Monolog Sentry
Pacote simplificado para persistência de logs
Collection of tools to use the full power of the Enyalius framework
Audit changes of your Eloquent models in Laravel/Lumen
Alfabank REST API integration
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2025-12-29