当前位置:论坛首页 > Linux面板 > Linux面板教程

监测黑客入侵服务器的事件----【堡塔入侵检测】

发表在 Linux面板2023-5-26 12:27   [复制链接] 218 94364

发表于 2025-11-6 09:32:53 | 显示全部楼层

腾讯云的最新内核版本暂时不支持,这一块内核版本是和官方Linux部分内容是调整过的,后续会支持
使用道具 举报 回复 支持 反对
发表于 2025-11-6 10:39:51 | 显示全部楼层
系统:Debian GNU/Linux 12 (bookworm) x86_64(Py3.7.16)
当前内核版本(6.1.0-22-amd64)不支持使用堡塔入侵检测
使用道具 举报 回复 支持 反对
发表于 2025-11-6 16:30:13 | 显示全部楼层
堡塔安全Bacon 发表于 2025-11-6 09:32
腾讯云的最新内核版本暂时不支持,这一块内核版本是和官方Linux部分内容是调整过的,后续会支持 ...

辛苦了,用 宝塔升级的  防火墙把外网 ip   限制了。。好多了
使用道具 举报 回复 支持 反对
发表于 2025-11-6 22:07:53 | 显示全部楼层
系统:OpenCloudOS 9.4 x86_64(Py3.7.16)

错误:
微信图片_2025-11-06_220548_936.png
使用道具 举报 回复 支持 反对
内核版本(6.8.0-78-generic)不支持使用:
# cd /www/server/panel/plugin/bt_hids/LKM/ && make
|-----------------------------------|
| building HIDS kernel module       |
|-----------------------------------|
make -C /lib/modules/6.8.0-78-generic/build M=/www/server/panel/plugin/bt_hids/LKM modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-78-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/init.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/trace.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/trace_buffer.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/smith_hook.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/anti_rootkit.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/filter.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/util.o
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/src/memcache.o
  LD [M]  /www/server/panel/plugin/bt_hids/LKM/hids_driver.o
  MODPOST /www/server/panel/plugin/bt_hids/LKM/Module.symvers
  CC [M]  /www/server/panel/plugin/bt_hids/LKM/hids_driver.mod.o
  LD [M]  /www/server/panel/plugin/bt_hids/LKM/hids_driver.ko
  BTF [M] /www/server/panel/plugin/bt_hids/LKM/hids_driver.ko
Skipping BTF generation for /www/server/panel/plugin/bt_hids/LKM/hids_driver.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-78-generic'
make -C test
make[1]: Entering directory '/www/server/panel/plugin/bt_hids/LKM/test'
|---------------------------------|
| building HIDS pipe reader       |
|---------------------------------|
     CC main.ou
building test programs
     CC rst
make[1]: Leaving directory '/www/server/panel/plugin/bt_hids/LKM/test'
root@iZn5img5yqb8ajZ:/www/server/panel/plugin/bt_hids/LKM#
使用道具 举报 回复 支持 反对
发表于 4 天前 | 显示全部楼层
宝塔用户_nyidjw 发表于 2025-11-8 08:11
内核版本(6.8.0-78-generic)不支持使用:
# cd /www/server/panel/plugin/bt_hids/LKM/ && make
|--------- ...

这个已经编译成功了。能正常运行了,重新打开插件或者修复一下,就能使用了
使用道具 举报 回复 支持 反对
发表于 4 天前 | 显示全部楼层
root@iZgq1np1s7vda0Z:~# cd /www/server/panel/plugin/bt_hids/LKM/ && make
Makefile:154: *** Kernel header files related to 6.1.0-31-amd64 not found.  Stop.


Debian 12/当前内核版本(6.1.0-31-amd64)不支持使用堡塔入侵检测,更换内核版本


请问可以支持这个版本吗
使用道具 举报 回复 支持 反对
当前内核版本(6.1.0-40-amd64)不支持使用堡塔入侵检测,更换内核版本参考:
https://www.bt.cn/bbs/thread-113964-1-1.html

|-----------------------------------|
| building HIDS kernel module       |
|-----------------------------------|
make -C /lib/modules/6.1.0-40-amd64/build M=/www/server/panel/plugin/bt_hids/LKM modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-40-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-40-amd64'
make -C test
make[1]: Entering directory '/www/server/panel/plugin/bt_hids/LKM/test'
|---------------------------------|
| building HIDS pipe reader       |
|---------------------------------|
     CC main.ou
building test programs
     CC rst
使用道具 举报 回复 支持 反对
当前内核版本(6.1.0-40-amd64)不支持使用堡塔入侵检测,更换内核版本参考:
https://www.bt.cn/bbs/thread-113964-1-1.html

|-----------------------------------|
| building HIDS kernel module       |
|-----------------------------------|
make -C /lib/modules/6.1.0-40-amd64/build M=/www/server/panel/plugin/bt_hids/LKM modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-40-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-40-amd64'
make -C test
make[1]: Entering directory '/www/server/panel/plugin/bt_hids/LKM/test'
|---------------------------------|
| building HIDS pipe reader       |
|---------------------------------|
     CC main.ou
building test programs
     CC rst
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表