随笔分类 -  安全(iptables、审计...)

审计:记录用户执行命令,并上传到日志服务器上
摘要:一、编辑/etc/profile 二、编辑/etc/rsyslog.d/bash_log.conf 三、编辑/etc/rsyslog.d/logserver.conf 阅读全文

posted @ 2018-12-24 17:32 xiaobai小白 阅读(612) 评论(0) 推荐(0)

iptables:ipset批量管理ip
摘要:1、安装 安装: yum -y install ipset \apt-get -y install ipset 2、创建一个ipset ipset create whitelist hash:net 3、加入一个名单ip ipset add whitelist 1.1.1.1 ipset list 阅读全文

posted @ 2018-12-11 10:21 xiaobai小白 阅读(1538) 评论(0) 推荐(0)

导航