随笔分类 -  安全

摘要:有人反馈"JumpServer 登录变慢"。这篇是完整的排查 + 修复:怎么排查"登录慢"(把登录分段计时,再用受控实验坐实"缺索引",同一条查询 0.5ms vs 1202ms、差约 2400 倍)、加索引修复;以及更深一层——索引只是放大器,真凶是一套 AI 运维 agent 把登录审计表刷到了 阅读全文
posted @ 2026-06-23 10:17 Hello_worlds 阅读(27) 评论(0) 推荐(0)
摘要:Sentry 客户端上报全部 403:event submission rejected with_reason: ProjectId 排查 环境:Sentry self-hosted 26.5.0、Relay 26.5.0、Postgres 14.22、ClickHouse 24.x;客户端 SD 阅读全文
posted @ 2026-05-28 18:56 Hello_worlds 阅读(42) 评论(0) 推荐(0)
摘要:自托管 Sentry 安全加固实录:从 Google 钓鱼告警到 nginx 路径级白名单 一句话总结:阿里云 CLB 的 ACL 是绑在监听层的,按客户端 IP 一刀切。对自托管 Sentry 这种「admin 要严格白名单 + SDK 上报路径要公网开放」的混合场景,CLB 拦不住该拦的(搜索引 阅读全文
posted @ 2026-05-28 12:37 Hello_worlds 阅读(49) 评论(0) 推荐(0)
摘要:1、pritunl 简介 #官方网站 https://pritunl.com/ ​ #官方文档 https://docs.pritunl.com/docs ​ #Github项目地址 https://github.com/pritunl/pritunl ​ #客户端下载地址(也可以使用OpenVPN 阅读全文
posted @ 2024-08-12 18:47 Hello_worlds 阅读(2791) 评论(0) 推荐(0)
摘要:1. 针对所有用户 # vi /etc/profile ... export TMOUT=900 # 设置闲置时间为15分钟,单位为秒;如果没有此行则直接添加进去 ... vi /etc/profile TMOUT=18000000000000export QT_IM_MODULE=fcitxrea 阅读全文
posted @ 2022-09-15 10:25 Hello_worlds 阅读(726) 评论(0) 推荐(0)
摘要:/etc/login.defs 文件用于在创建用户时,对用户的一些基本属性做默认设置,例如指定用户 UID 和 GID 的范围,用户的过期时间,密码的最大长度,等等。需要注意的是,该文件的用户默认配置对 root 用户无效。并且,当此文件中的配置与 /etc/passwd 和 /etc/shadow 阅读全文
posted @ 2022-09-14 21:57 Hello_worlds 阅读(233) 评论(0) 推荐(0)
摘要:# 测试以下系统支持 hosts.allow 限制ssh的登录 Ubuntu 20.04 64位Ubuntu 18.04 64位高内核Ubuntu 16.04 64Ubuntu 16.04 64位高内核CentOS 7.9 64位RedHat 7.9 64位高内核CentOS 7.6 64位Cent 阅读全文
posted @ 2022-06-27 14:43 Hello_worlds 阅读(130) 评论(0) 推荐(0)