Commit Graph
57 Commits
Author SHA1 Message Date
Peijun Zhao 055de65e88 安全模块大规模重构:151文件从com.aluer.security分包到8个子包
新包结构:
- com.aluer.anticheat.combat (16) — KillAura/Reach/Criticals/CrystalAura/Totem等战斗反作弊
- com.aluer.anticheat.movement (18) — Fly/Speed/Jesus/NoFall/Timer/Phase等移动反作弊
- com.aluer.anticheat.world (14) — Nuker/Xray/AutoMine/VeinMiner等世界反作弊
- com.aluer.anticheat.player (8) — FakePlayer/AltAccount/NameSpoof等玩家反作弊
- com.aluer.network (32) — DDoS/Protocol/TokenBucket/Firewall等网络安全
- com.aluer.server (10) — ChunkLoad/EntityCount/Redstone/CrashExploit等服务器保护
- com.aluer.chat (5) — ChatFlood/Advertisement/Phishing/CommandAbuse等聊天安全
- com.aluer.defense (50) — WAF/IDS/IPS/Honeypot/EDR/Forensics等纵深防御

所有package声明+跨包import已更新,323测试全绿
2026-05-22 19:29:45 +08:00
Peijun Zhao 5adbbd9592 修复IDE 2026-05-16 20:51:10 +08:00
Peijun Zhao 9a683ee219 修复IDE 2026-05-16 20:39:19 +08:00
Peijun Zhao 788c7f5c7c Banner: 恢复原始正确的ALUER ASCII艺术字,仅改版本号为V5.0.0 2026-05-16 20:38:10 +08:00
Peijun Zhao f533d3f1c1 Banner: 单色ASCII艺术字ALUER+ServerGuard,字母间无颜色码,不再吃字符 2026-05-16 20:35:45 +08:00
Peijun Zhao c3e2ae0851 Banner: ALUER红色 Server青色 Guard绿色 三色分段清晰 2026-05-16 20:29:43 +08:00
Peijun Zhao dda7fcb20f Banner修复:ALUER红色在左 + ServerGuard青色在右,单色每词避免字符被吃 2026-05-16 20:27:48 +08:00
Peijun Zhao 580789a3c5 Banner 去多色花哨:统一金色ALUER+绿色ServerGuard,清晰可读 2026-05-16 20:25:28 +08:00
Peijun Zhao e90f16fd8a 修复IDE 2026-05-16 20:21:33 +08:00
Peijun Zhao 441027fcae Maven Package 运行配置补全 clean 前置 2026-05-16 20:19:47 +08:00
Peijun Zhao 915b16e05a 修复 WAF 误拦截本地回环地址访问 Web 控制台:localhost/127.0.0.1/::1 跳过 WAF 过滤 2026-05-16 20:17:18 +08:00
Peijun Zhao 7e55676775 修复启动崩溃 + Banner升级为Spring Boot彩色版
- AntiNoInteractService: 删除Set.of()中重复的LOOM元素导致java.lang.IllegalArgumentException
- banner.txt: 替换旧v1.0.0纯文本Banner为Spring Boot ANSI彩色版
  ALUER红色+绿色 / ServerGuard金色+青色 / V5.0.0紫色
- ServerGuardService.printBanner(): 简化为补充信息行,Banner由banner.txt统一管理
2026-05-16 20:11:52 +08:00
Peijun Zhao f1f292a520 强制全量编译:删除所有增量编译缓存,IDE编译改为mvn clean compile
- 所有IDE Run Configuration替换Make为Maven.BeforeRunTask clean compile
- Maven Test/Package全部加入clean前置
- CLAUDE.md新增禁止增量编译规范
2026-05-16 20:01:07 +08:00
Peijun Zhao 0986619e82 修复 IDE 运行配置:改用 Maven compile 替代 IntelliJ Make,确保每次运行前强制 Maven 编译 2026-05-16 19:51:24 +08:00
Peijun Zhao 5a5d33aefc 新增开发规范:IDE配置同步 — 代码改动影响IDE体验时必须同步更新.idea/配置 2026-05-16 19:48:21 +08:00
Peijun Zhao 51a47b2760 恢复 IDE 运行配置:ServerGuard Spring Boot + Maven Compile + All Tests (323) 2026-05-16 19:46:30 +08:00
Peijun Zhao 07bdcd9e2c Shell 彩色 ANSI Banner + Prompt美化 + Help超级详细 + README去品牌化
- ServerGuardService 启动Banner: ALUER金色ASCII艺术字+ANSI 256色
- ShellPromptProvider: ╭─Aluer·ServerGuard/╰─> 彩色双行提示符
- AdminCommands: 全部重写为真实实现+统一框线格式+柱状图
- help: 9大分类+50+API端点完整参考
- README: 导航修复/Apache 2.0/贡献者名单/去Meteor品牌化
2026-05-16 19:28:47 +08:00
Peijun Zhao 511e25d749 Shell界面全面美化 + 帮助系统超级详细 + AdminCommands真实实现
Shell 优化:
- 新增 ShellPromptProvider:ANSI 彩色双行提示符(金色Aluer·蓝色ServerGuard)
- AdminCommands 全部重写:tps/memory/server status/player kick&ban&mute/world list/ai analyze/config reload 实现完整功能
- 所有命令输出统一采用 ╔╠╚ 框线格式,带 ASCII 柱状图
- memory 命令展示 JVM 堆使用详情 + 百分比柱状图
- server status 展示完整引擎状态(版本/模式/模块统计/Agent连接数)
- help 保持原有超级详细分类帮助(ai/status/defense/security/monitor/player/world/admin/info 9大类 + 50+ API端点)
- 移除 Meteor Client 品牌名称,改用通用"外挂"表述
- 贡献者名单 + Apache 2.0 许可证标识
2026-05-16 19:19:58 +08:00
Peijun Zhao 3a6cdef958 README去品牌化优化:移除Meteor Client针对性表述,改为通用外挂对抗覆盖矩阵
- 模块表头"对抗的Meteor Hack"改为"对抗的外挂"
- 覆盖矩阵改为通用外挂分类,不绑定特定客户端品牌
- 版本历史描述去Meteor标记
- 导航链接修复,Apache 2.0许可证标识
- 贡献者名单新增
2026-05-16 19:15:29 +08:00
Peijun Zhao b76668e506 README 全面 GitHub 优化:badges、logo、目录、快速开始、折叠面板、FAQ
- 新增 GitHub badges(Release/Test/Java/PaperMC/模块数/License)
- logo 居中展示 + 导航目录链接
- 快速开始置顶(一键部署 + Agent Plugin 模式)
- 安全模块改用折叠面板,简洁可读
- Meteor Client 100% 覆盖矩阵
- 新增 FAQ(Agent vs External、AI 是否必需、Java 版本)
- 中英文 README 同步完整更新
2026-05-16 18:41:25 +08:00
Peijun Zhao 3323fcd8cf 修复 Maven 构建:shade 插件配置异常回退至 spring-boot-maven-plugin 2026-05-16 18:30:54 +08:00
Peijun Zhao c8a1037f9e V5.0 文档全面更新:135+模块完整列表 + 100% Meteor覆盖矩阵 + 完整部署/配置/开发指南
- README.md/EN: 架构图、模块清单、双模式部署、WebSocket协议、75种告警类型
- docs/DEVELOPER.md: 五核心设计模式、七步添加新模块模板、事件监听器、Agent协议
- docs/PROJECT_SUMMARY.md: 模块统计、100% Meteor Client覆盖矩阵、竞品对比
- docs/USER_MANUAL.md: 安装、配置详解、CLI命令、Web控制台、性能调优、故障排查
2026-05-16 18:20:25 +08:00
Peijun Zhao 1b66197804 V5.0 安全模块大扩展:Meteor Client 全功能反作弊 + AI行为分析 + 服务器保护
新增 45 个安全模块,覆盖 Meteor Client 全部 hack 类别:

【反作弊基础扩展 6 模块】
- AntiTimerService: 游戏加速检测(移动tick间隔分析)
- AntiVelocityService: 击退修改检测(伤害后速度分析)
- AntiPhaseService: 穿墙检测(固体方块射线追踪)
- AntiBlinkService: 闪烁检测(伤害-断连-重连时序)
- AntiFastBreakService: 快速破坏检测(方块标准破坏时间对比)
- AntiElytraFlyService: 鞘翅飞行检测(速度/高度操控分析)

【Meteor Combat 10 模块】
- AntiCriticalsService: 自动暴击检测(跳跃/地面状态验证)
- AntiAutoCrystalService: 水晶Aura检测(放置/爆炸时序分析)
- AntiAutoTotemService: 自动图腾检测(副手装备速度分析)
- AntiSurroundService: 自动包围检测(脚下方块精确放置模式)
- AntiAutoTrapService: 自动陷阱检测(目标周围方块网格分析)
- AntiAutoArmorService: 自动装备检测(多槽位同tick交换)
- AntiChestSwapService: 自动胸甲交换检测(鞘翅-胸甲乒乓切换)
- AntiAutoLogService: 自动断线检测(伤害-断连500ms时序)
- AntiHitboxesService: 扩展碰撞箱检测(射线-边界边缘命中率)
- AntiBowAimBotService: 弓箭自瞄检测(移动目标精度分析)

【Meteor Movement 10 模块】
- AntiNoSlowService: 无减速检测(物品使用+移动速度组合)
- AntiSpiderService: 爬墙检测(无攀爬方块垂直上升)
- AntiStepService: 自动跨步检测(非跳跃1格上升)
- AntiPacketFlyService: 数据包飞行检测(连续悬浮/弹跳模式)
- AntiAirJumpService: 空中跳跃检测(离地跳跃包)
- AntiLongJumpService: 远跳检测(跳跃后水平速度衰减分析)
- AntiAntiHungerService: 免饥饿检测(活动量vs饥饿消耗率)
- AntiFastFallService: 快速下落检测(超终端速度持续下落)
- AntiVClipService: 垂直穿墙检测(固体方块间瞬移)
- AntiNoFallService 增强: 新增GroundSpoof/数据包地面/坠落累积/瞬移坠落检测

【Meteor World+Player 10 模块】
- AntiSpeedMineService: 加速挖掘检测(方块标准破坏时间对比)
- AntiFastUseService: 快速使用检测(物品冷却时间分析)
- AntiNoInteractService: 交互绕过检测(持剑开箱等异常操作)
- AntiAutoMineService: 自动挖掘检测(挖掘间隔方差/视角追踪)
- AntiVeinMinerService: 连锁挖矿检测(相邻矿石快速序列)
- AntiAutoToolService: 自动工具检测(同tick切工具+开挖)
- AntiFakePlayerService: 假人检测(心跳响应/交互缺失/移动模式)
- AntiPistonAuraService: 活塞光环检测(战斗上下文活塞激活率)
- AntiAnchorService: 锚定检测(受击零位移+封闭空间)
- AntiStashFinderService: 仓库扫描检测(网格区块加载+零交互)

【网络协议安全 5 模块】
- ProtocolStateValidator: 协议状态机验证(四态转换违规检测)
- TokenBucketRateLimiter: 令牌桶速率限制器(可复用速率控制基元)
- BotFingerprintDetector: 机器人指纹检测(五维行为指纹分析)
- NBTExploitPrevention: NBT漏洞防护(深度/大小/书页/告示牌验证)
- ConnectionHandshakeValidator: 握手完整性验证(协议版本/状态/主机名)

【服务器保护 4 模块】
- ChunkLoadRateLimiter: 区块加载限制器(WARN/LIMIT/BLOCK三级响应)
- EntityCountEnforcer: 实体数量执行器(分块限制+优先级清理)
- RedstoneUpdateLimiter: 红石更新限制器(三级渐进+观察者钟检测)
- CrashExploitSignatureDB: 崩溃漏洞签名库(12种已知漏洞+4级自动响应)

【AI/ML 行为分析 4 模块】
- BehavioralProfilingEngine: 行为分析引擎(5维特征+香农熵+Z分数)
- ThreatScoreAggregator: 威胁分数聚合器(指数衰减+4级上报)
- MovementPatternAnalyzer: 移动模式分析器(FFT频谱+旋转分析)
- CombatPatternRecognizer: 战斗模式识别器(CPS方差+多目标熵+扫视分析)

配置更新:AlertType新增39个枚举值,SuperEvolutionConfig新增39个开关,
application.yml新增39个配置项。323项全量测试通过,0失败。
2026-05-16 18:02:49 +08:00
Peijun Zhao 67e873525b 修复 Paper API 1.21.1 兼容性:Java 17 升级至 Java 21
Paper 1.21.1 API (class version 65) 要求 Java 21+ 运行时,
pom.xml compiler source/target 及 java.version 统一升级至 21
2026-05-16 16:34:13 +08:00
Peijun Zhao fa8f91e67d 修复 IDE 构建警告:InternalCommandExecutor 弃用 API 替换与代码清理
- banPlayer/banIP/unbanPlayer/unbanIP 改用 dispatchCommand 执行 /ban /ban-ip 命令,避免 BanList.Type 弃用警告
- setSpawnRate 保留 setMonsterSpawnLimit/setAnimalSpawnLimit 并添加 @SuppressWarnings("deprecation")
- 移除未使用的方法:executeCommandQuiet/addToWhitelist/removeFromWhitelist/clearEntities/quarantineIP
- 移除未使用的 import:java.net.InetAddress/OfflinePlayer/EntityCategory
2026-05-16 16:30:59 +08:00
Peijun Zhao 4d420abcbd 更新 CLAUDE.md 开发规范:新增并行Agent开发、打靶试验、IDE全盘控制、代码零伪代码等铁律 2026-05-16 16:16:34 +08:00
Peijun Zhao 92a590c36a V5.0 Agent架构重构:轻量Agent注入MC进程 + WebSocket实时数据回传
架构变更:
- ServerGuard 保持独立外部进程(Spring Boot),Agent 为轻量 Paper 插件
- Agent 通过 WebSocket (ws://host:8080/agent) 实时推送 Bukkit 事件/指标/告警至 ServerGuard
- ServerGuard 通过 WebSocket 下发防御指令(ban/kick/whitelist),Agent 端通过 InternalCommandExecutor 直接执行
- 新增 AgentMessage 通信协议(14种消息类型 + 10种命令类型)
- Agent 端即时拦截(超高速移动/超远攻击/命令注入/广告/钓鱼)+ Server 端深度 AI 分析

新增文件:
- agent/AgentMessage.java — 通信协议定义
- server/AgentWebSocketServer.java — Spring WebSocket 服务端
- server/AgentCommandDispatcher.java — 指令下发调度器
- config/WebSocketConfig.java — WebSocket 端点配置
- plugin/bridge/AgentWebSocketClient.java — Agent WebSocket 客户端

重写文件:
- AluerPlugin.java — 轻量 Agent(移除 Spring Boot 嵌入)
- 所有 9 个 EventListener — 数据通过 WebSocket 推送
- AluerCommandExecutor.java — 精简版命令执行器
- ServerGuardService.java — Agent WebSocket 事件处理集成
- ServerGuardApplication.java — 还原为独立引擎入口

技术栈:pom.xml 新增 spring-boot-starter-websocket
278 项全量测试通过,0 失败
2026-05-16 16:14:48 +08:00
Peijun Zhao 030ced87f9 V5.0 Paper插件架构:深度植入Minecraft服务器进程,实现完美实时防护
核心变更:
- 新增 PaperMC 插件层(14个新文件):主插件入口 AluerPlugin + 10个 Bukkit 事件监听器 + DataBridge 数据桥接 + InternalCommandExecutor 内部命令执行器
- 运行时注入服务器进程,直接访问 Bukkit/Paper API,取消 RCON 中间层
- 9种反作弊实时检测(Speed/Fly/Jesus/NoFall/KillAura/Reach/AutoClicker/Scaffold/Nuker)全部迁移为事件驱动
- 聊天安全(刷屏/广告/钓鱼)与命令滥用检测由 AsyncPlayerChatEvent/PlayerCommandPreprocessEvent 直接拦截
- AlertType 枚举扩展至 47 项告警类型,覆盖反作弊/玩家行为/服务器保护/聊天安全/网络/主机全部维度
- 双模式兼容:serverguard.mode=plugin(嵌入式)| external(传统外部监控),旧模式代码完整保留
- Maven 构建切换为 shade 插件,生成 Paper 插件兼容的扁平 JAR
- 278 项全量测试通过,0 失败
2026-05-16 15:50:48 +08:00
Peijun Zhao 1269d4dfa5 V4.0 安全扩展:29个新模块 + 60项API端点 + 164项新测试全部通过
新增模块(5组29个):

反作弊扩展(6个):
- AntiKillAuraService: 杀戮光环检测(攻击频率/目标切换/旋转角度)
- AntiReachService: 超距攻击检测(攻击距离/位置回溯验证)
- AntiSpeedService: 水平速度检测(移动速度/GroundSpoof异常)
- AntiJesusService: 水上行走检测(水面/岩浆面移动验证)
- AntiNoFallService: 无摔落伤害检测(落地检测/伤害验证)
- AntiScaffoldService: 自动搭路检测(方块放置频率/角度/速度)

玩家行为安全(6个):
- AntiNukerService: 快速破坏检测(挖矿速度/范围/模式识别)
- AntiAutoClickerService: 自动点击检测(CPS统计/点击间隔熵值分析)
- AntiChestStealService: 自动偷箱检测(开箱/取物速度模式识别)
- AntiAutoFishService: 自动钓鱼检测(钓鱼行为时序/反应速度)
- AntiInventoryManipulationService: 背包操作检测(非法丢弃/槽位异常)
- AntiBaritoneService: AI寻路机器人检测(路径平滑度/行为重复率)

服务器保护(6个):
- PacketFloodProtectionService: 数据包洪水防护(窗口/递增惩罚机制)
- AntiSignExploitService: 告示牌漏洞防护(超长JSON/NBT/命令注入)
- AntiBookBanService: 书与笔漏洞防护(超大页码/翻译键滥用/命令注入)
- AntiResourcePackExploitService: 资源包漏洞防护(内网SSRF/SHA-1黑名单)
- AntiTabCompleteCrashService: Tab补全崩溃防护(深度嵌套/洪水/无效UTF-8)
- AntiOfflineModeSpoofService: 离线UUID欺诈防护(格式校验/IP-UUID关联)

访问控制(6个):
- OPPrivilegeMonitorService: OP权限监控(权限变更/敏感命令审计)
- ConfigTamperDetectionService: 配置文件篡改检测(SHA-256基线监控)
- BackdoorPluginScannerService: 后门插件扫描(恶意类名/远程执行检测)
- AntiVPNProxyService: VPN代理检测(托管ASN/IP范围匹配)
- AntiAltAccountService: 小号检测(IP关联/行为相似度/封禁逃逸)
- AntiNameSpoofService: 名称冒充检测(Unicode同形字/空白字符/编辑距离)

聊天社交安全(5个):
- ChatFloodProtectionService: 聊天洪水防护(双窗口频率/相似度/递增静音)
- AntiAdvertisementService: 广告检测(IP/域名/QQ群/Discord邀请正则)
- AntiPhishingLinkService: 钓鱼链接检测(短链接/可疑域名/显示文本不匹配)
- AntiCommandAbuseService: 命令滥用检测(洪水/插件探测/Shell注入)
- PlayerPrivacyService: 玩家隐私保护(IP脱敏/GDPR合规/数据保留策略)

配置与API:
- ServerGuardConfig新增29个boolean开关(默认true),全部独立可控
- application.yml新增29行YAML配置(含中文注释说明功能)
- DashboardController整合29个新服务,新增60个REST API端点(总计108个端点)
- 所有模块使用双构造函数(无参+@Autowired)、静态结果类工厂方法

测试:新增5个测试类164项测试,全部通过(全项目278项/17测试类/159源文件)

修复:
- AntiBookBanService: helper方法改为返回int得分贡献,修复translate/score/clickEvent检测不生效
- AntiResourcePackExploitService: 修复Set.of()中.vbs重复导致ExceptionInInitializer
- AntiTabCompleteCrashService: 深度嵌套得分提高至75(触发blocked阈值)
- AntiOfflineModeSpoofService: 快速UUID切换得分提高至75(触发blocked阈值)
- PacketFloodProtectionService: 重构检测流程,移除提前返回导致的检测屏蔽
2026-05-16 11:47:59 +08:00
Peijun Zhao f82fb616cc 新增 CLAUDE.md 项目开发规范
- 七条工作原则:YOLO模式/详细注释/测试纪律/Token不限/文档严肃/频繁提交/Git记录严肃
- 基础技术规范:Java/Spring Boot/Maven版本与命令速查
2026-05-16 10:57:54 +08:00
Peijun Zhao 69c9f64dbf 清理仓库:移除构建产物/工具状态等无关文件,保留.idea共享IDE配置
- .gitignore 排除 .vscode .claude .omc target/ forensics/ .DS_Store 等
- .idea/ 目录保留在版本控制中(共享IDE配置)
- 从版本控制中移除约440个无关文件
2026-05-12 23:50:14 +08:00
Peijun Zhao d12a545860 更新 LICENSE 2026-05-10 23:15:07 +08:00
Peijun Zhao c60ceda94f V4.0 正式发布:130源文件/114测试全部通过,31个高级扩展安全模块,完整API与专业开发文档
- 版本号从1.0.0升级至4.0.0,pom.xml版本号同步
- 新增 docs/DEVELOPER.md 详细技术开发文档(架构设计/模块详解/API参考/扩展指南)
- 文档用词规范化,去除非专业"超进化"用语,以V4.0和专业表述统一
- README/README_EN/USER_MANUAL/PROJECT_SUMMARY同步更新模块数量和版本信息
- CLI help命令全面重写,200行分类命令参考,覆盖14个功能类别
- 31个高级扩展模块独立开关,配置注释去除版本标签
- 发布产物 release/V4.0/AluerServerGuard-V4.0.jar
2026-05-10 22:36:02 +08:00
Peijun Zhao b271eda8d5 超进化 v3.3: 6个新安全模块 + 31个模块独立开关 + 完整文档与测试
新增6个Minecraft安全模块:
- GeoBlockService: 地理IP封锁(国家黑白名单/高风险MC攻击来源拦截)
- PlayerSessionValidationService: 玩家会话验证(UUID/正版/离线检测/会话重放)
- PluginVerificationService: 插件完整性校验(SHA-256/恶意插件名/25个已知恶意插件)
- ConnectionThrottleService: 连接速率限制(多窗口追踪/递增延迟2s-30s)
- BackupIntegrityService: 备份完整性验证(SHA-256/文件存在性/6h自动扫描)
- AntiSkinSpoofService: 皮肤伪造检测(25个冒充目标/可疑URL/变更频率)

配置独立开关(31个模块全部可单独控制):
- ServerGuardConfig新增SuperEvolutionConfig包含全部31个模块的enabled开关
- application.yml新增完整super-evolution配置段(含中文说明)
- 每个Service注入ServerGuardConfig并在入口检查开关,关闭时跳过检测

DashboardController新增6个API端点 + 全部25个服务重构注入config

测试: V33SecurityTest 29项测试(含23项v3.3 + 6项更正),全部114测试通过

文档: README/README_EN 30+→85+模块,USER_MANUAL新增完整开关配置文档
2026-05-10 22:02:42 +08:00
Peijun Zhao 1d297ba095 超进化 v3.2: Minecraft专属安全模块 — X-ray透视/飞行外挂/物品复制/崩溃漏洞/卡服机检测
新增5个Minecraft反作弊安全模块 + 21项测试 + 5个API端点:
- AntiXrayDetectionService: 钻石/远古残骸挖掘比检测,直线挖掘模式识别
- AntiFlyDetectionService: 垂直/水平速度检测,飞行外挂判定
- AntiDupeDetectionService: 物品堆叠异常/高价值物品暴涨/9种复制方法检测
- CrashExploitProtectionService: 12种崩溃漏洞防护(超大包/NBT炸弹/书与笔攻击等)
- LagMachineDetectionService: Observer链/TNT堆/红石密度/实体泛滥检测
DashboardController新增 /api/security/anti-xray|anti-fly|anti-dupe|crash-exploit|lag-machine 端点
2026-05-10 21:11:00 +08:00
Peijun Zhao 939d257ce6 docs: update all documentation for super evolution v3.1
- PROJECT_SUMMARY: add Section 9 with all 20 new security modules
- USER_MANUAL: add super evolution API endpoints table (20+ new endpoints)
- README.md: update security table to 60+ services with new module entries
- README_EN.md: update security table to 60+ services with new module entries
2026-05-10 20:41:04 +08:00
Peijun Zhao f7c590e34e feat: super evolution — 20 new security modules with full test coverage
新增20个超进化安全模块 (17 new services + 1 test suite + Dashboard API):
- JWT认证服务 (JwtAuthService): 基于HMAC-SHA256的token管理
- 反暴力破解 (BruteForceProtectionService): 渐进延迟+三层时间窗口检测
- 反机器人检测 (AntiBotDetectionService): MC玩家名模式+加入速度+多账号检测
- 反向Shell检测 (ReverseShellDetectionService): 50+ reverse shell模式匹配
- ARP欺骗检测 (ARPSpoofDetectionService): MAC变更+网关欺骗+重复MAC检测
- DNS隧道检测 (DNSTunnelDetectionService): 熵值分析+子域名编码+频率监控
- 漏洞签名检测 (ExploitSignatureService): Log4Shell/SQL注入/XSS等15+签名
- SSRF防护 (SSRFProtectionService): 内网IP/云元数据/编码绕过检测
- XXE防护 (XXEProtectionService): XML实体注入+十亿笑攻击检测
- CSP强制执行 (CSPEnforcementService): XSS/Clickjack防御+安全响应头
- 数据库防火墙 (DatabaseFirewallService): SQL注入+危险关键字+堆叠查询检测
- 数据防泄漏 (DataLossPreventionService): 12种敏感数据模式(邮箱/API Key/SSH Key等)
- 内存保护 (MemoryProtectionService): JVM堆监控+GC过载+内存泄漏检测
- 进程注入检测 (ProcessInjectionDetectionService): 线程异常+内存映射+文件描述符
- 安全文件删除 (SecureFileDeletionService): DoD多pass覆写+擦除后删除
- 取证收集器 (ForensicsCollectorService): 进程/网络/文件/日志取证
- 事件响应 (IncidentResponseService): 5套Playbook(DDOS/爆破/入侵/MC漏洞/数据泄露)
- 威胁狩猎 (ThreatHuntingService): 10种主动狩猎规则
- 合规扫描 (ComplianceScannerService): 7大类20+项合规检查
- 反破坏检测 (AntiGriefDetectionService): MC方块破坏/放置/实体/容器监控

API端点: DashboardController新增20+个安全API端点
测试: 64个测试全部通过 (12 existing + 52 new)
2026-05-10 20:36:04 +08:00
Peijun Zhao 1fa3e96d0a 更新 2026-05-10 17:10:59 +08:00
Peijun Zhao 7775f4016b 更新文档,增加新功能 2026-05-10 17:03:47 +08:00
Peijun Zhao c963035c99 docs: add logo, fully Chinese README, no mixed English
- Add logo.png (200px width, centered above title)
- Replace All English headers/descriptions with pure Chinese
  - 'Why Aluer' → '为什么选择 Aluer'
  - 'FAQ' → '常见问题'
  - 'Contributors' → '贡献者'
  - All badge labels, button text, footer in Chinese
- Fix anchor links to match Chinese headings
2026-05-10 17:02:36 +08:00
Peijun Zhao 7ee6e23d48 更新文档,增加新功能 2026-05-10 16:40:12 +08:00
Peijun Zhao 09b07d68b9 更新文档,增加新功能 2026-05-10 16:35:02 +08:00
Peijun Zhao 7858da3d0c docs: split README into zh/en with language switcher
- README.md: default Chinese version with 'English' link
- README_EN.md: full English translation with '简体中文' link
- Language switcher badge at top-right of both files
- Consistent styling, badges, and structure across both versions
2026-05-10 16:31:48 +08:00
Peijun Zhao ea0a9077a3 fix: update all repo references to actual GitHub URL (ZpjDev/Aluer) 2026-05-10 16:20:32 +08:00
Peijun Zhao b33f5168e8 docs: beautiful GitHub-style README overhaul
- Add skill-icons, star/forks/issues/PRs/last-commit badges
- Add 'Why Aluer' feature highlight cards section
- Add animated emoji title, mission quote, key-stats table
- Add Contributors wall, Support/Star/Fork CTAs
- Polish license section, footer, table of contents
2026-05-10 16:19:23 +08:00
Peijun Zhao 5e1ab0c1c7 docs: update README, PROJECT_SUMMARY, USER_MANUAL for new features
- README: add notification package, HealthService, health/webhook/report APIs
- README: update web console features (sparklines, auto-refresh, health panel)
- PROJECT_SUMMARY: add notification module and web infrastructure sections
- USER_MANUAL: add health check, webhook, and attack report API docs
2026-05-10 16:12:23 +08:00
Peijun Zhao 4c08566022 feat: ASCII banner + graceful shutdown hook for ServerGuardApplication 2026-05-10 16:03:48 +08:00
Peijun Zhao f28be08211 feat: frontend overhaul - health panel + sparklines + auto-refresh
- Add health status panel with component status dots
- Add auto-refresh toggle with configurable interval (3s/6s/10s/30s)
- Add performance sparkline bars (TPS/CPU/Memory/Players)
- Use useReducer for terminal lines (append/clear)
- Better responsive layout for mobile
- Third ambient background layer for visual depth
- Refined glass-panel hover effects
2026-05-10 16:02:04 +08:00
Peijun Zhao 46d597d6ff feat: critical fixes + health API + webhook + attack reports
- Fix busy-wait loop in ServerGuardService (removed while(true))
- Fix sync blocking on async Future (use thenAccept instead of .get())
- Add startup banner with system info and config validation
- Add HealthService: /api/health, /api/health/live, /api/health/ready
- Add RequestLoggingFilter for HTTP request monitoring
- Add CorsConfig for cross-origin support
- Add WebhookService (Discord/Slack notifications)
- Add AttackReportService with HTML report generation
- New endpoints: /api/attacks/recent, /api/attacks/report, /api/webhook/test
- Upgrade Lombok 1.18.30 to 1.18.38 for Java 25+ compatibility
2026-05-10 15:54:48 +08:00
Peijun Zhao 40e97d1fc6 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	LICENSE
2026-05-10 15:39:48 +08:00
Peijun Zhao 76163f965f 修复无法在IDEA内直接调试的问题 2026-05-10 15:38:14 +08:00
Peijun Zhao 8115d903de Update README.md 2026-05-10 13:55:20 +08:00
Peijun Zhao 38c141a6ea 提交Git 2026-05-10 13:53:31 +08:00
Peijun Zhao d5b0b00510 Update README.md 2026-05-10 13:19:58 +08:00
Peijun Zhao 65eea726f9 Add LICENSE file 2026-05-10 13:11:17 +08:00
Peijun Zhao 33cf22c574 Create LICENSE 2026-05-10 13:10:08 +08:00
Peijun Zhao b0aaea9fb3 提交Git 2026-05-10 12:59:00 +08:00