上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 169 下一页
摘要: 一,安装whois [root@blog logs]# yum install whois 说明:whois命令不是自带命令,需要手动安装一下 二,测试查询一个域名的注册信息: [root@blog logs]# whois nidecode.com Domain Name: NIDECODE.CO 阅读全文
posted @ 2024-09-19 10:00 刘宏缔的架构森林 阅读(62) 评论(0) 推荐(0)
摘要: 一,日志按天切分: 修改.env root@lhdpc:/data/api# vi .env 指定LOG_CHANNEL值为daily即可,代码: LOG_CHANNEL=daily 二,配置laravel日志中记录url/方法/参数 1,config/logging.php 'daily' => 阅读全文
posted @ 2024-09-18 14:01 刘宏缔的架构森林 阅读(431) 评论(0) 推荐(0)
摘要: 一,官方网站: https://aide.github.io/ 代码站: https://github.com/aide/aide 二,安装aide 1,用yum从命令行安装 [root@192 ~]# yum install aide 2,查看版本: [root@192 ~]# aide -v A 阅读全文
posted @ 2024-09-17 19:25 刘宏缔的架构森林 阅读(165) 评论(0) 推荐(0)
摘要: 一,查看规则 查看所有规则 [root@192 ~]# nft list ruleset table inet my_table { chain my_chain { type filter hook input priority filter; policy accept; tcp dport 2 阅读全文
posted @ 2024-09-17 15:21 刘宏缔的架构森林 阅读(839) 评论(0) 推荐(0)
摘要: 一,policy: 1,原文档链接: https://docs.redhat.com/zh_hans/documentation/red_hat_enterprise_linux/9/html/configuring_firewalls_and_packet_filters/assembly_cre 阅读全文
posted @ 2024-09-17 13:40 刘宏缔的架构森林 阅读(368) 评论(0) 推荐(0)
摘要: 一,创建目录和文件,并添加规则 1,创建目录和文件 [root@blog modsecurity]# mkdir custom_rules [root@blog modsecurity]# cd custom_rules/ [root@blog custom_rules]# vi ipwhiteli 阅读全文
posted @ 2024-09-14 14:18 刘宏缔的架构森林 阅读(188) 评论(0) 推荐(0)
摘要: 一,创建索引: 说明:创建索引时,要使用nested类型 //创建索引库 public function createSecondIndex($client,$indexName) { $params = [ 'index' => $indexName, //索引的名称(mysql的表名) 'bod 阅读全文
posted @ 2024-09-14 10:19 刘宏缔的架构森林 阅读(280) 评论(0) 推荐(0)
摘要: 一,日志在哪里查看? # -- Audit log configuration # Log the transactions that are marked by a rule, as well as those that # trigger a server error (determined b 阅读全文
posted @ 2024-09-05 10:51 刘宏缔的架构森林 阅读(274) 评论(1) 推荐(1)
摘要: 一,modsecurity官网: 官网: https://modsecurity.org/ 如图: 官方代码站: https://github.com/owasp-modsecurity/ModSecurity 二,安装环境准备: 1,安装依赖库: [root@localhost source]# 阅读全文
posted @ 2024-09-04 17:03 刘宏缔的架构森林 阅读(1026) 评论(0) 推荐(0)
摘要: 一,保存nftables规则: 查看规则: [root@fedora ~]# nft list ruleset table inet firewalld { ct helper helper-netbios-ns-udp { type "netbios-ns" protocol udp l3prot 阅读全文
posted @ 2024-09-04 10:23 刘宏缔的架构森林 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 65 66 67 68 69 70 71 72 73 ··· 169 下一页