Download the PHP package tourze/workerman-anti-replay-protocol without Composer
On this page you can find all versions of the php package tourze/workerman-anti-replay-protocol. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tourze/workerman-anti-replay-protocol
More information about tourze/workerman-anti-replay-protocol
Files in tourze/workerman-anti-replay-protocol
Download tourze/workerman-anti-replay-protocol
More information about tourze/workerman-anti-replay-protocol
Files in tourze/workerman-anti-replay-protocol
Vendor tourze
Package workerman-anti-replay-protocol
Short Description Workerman防重放攻击协议实现,提供数据包重放检测和防护功能
License MIT
Package workerman-anti-replay-protocol
Short Description Workerman防重放攻击协议实现,提供数据包重放检测和防护功能
License MIT
Please rate this library. Is it a good library?
Informations about the package workerman-anti-replay-protocol
Workerman Anti-Replay Protocol
中文
这个包提供了一个防重放攻击的协议实现,适用于Workerman框架。
功能特点
- 防止重放攻击
- 可配置的检查长度
- 可配置的TTL (生存时间)
- 与Workerman框架集成
- 支持PSR日志
安装
使用方法
协议工作原理
防重放协议通过检查数据包的前N个字节来检测重放攻击。如果检测到相同的数据包头部,连接将被拒绝。
配置选项
checkLength: 要检查的头字节长度,默认为32cache: 用于存储已处理请求哈希的缓存适配器ttl: 缓存的生存时间,默认为24小时logger: 用于记录重放攻击尝试的PSR兼容日志记录器
开发
安装依赖
运行测试
参考文档
License
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
All versions of workerman-anti-replay-protocol with dependencies
PHP Build Version
Package Version
Requires
ext-hash Version
*
psr/log Version ^3|^2|^1
symfony/cache Version ^7.3
symfony/cache-contracts Version ^3
tourze/workerman-connection-context Version 0.0.*
workerman/workerman Version ^5.1
psr/log Version ^3|^2|^1
symfony/cache Version ^7.3
symfony/cache-contracts Version ^3
tourze/workerman-connection-context Version 0.0.*
workerman/workerman Version ^5.1
The package tourze/workerman-anti-replay-protocol contains the following files
Loading the files please wait ...