今天发现一台redhat6.3的服务器防火墙总是自动启动,关闭没有效果

message日志里只记录了启动时间

Nov 30 22:10:18 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team

 

由于系统已经运行了很长时间,上面服务比较多,关闭了几个网络相关的服务后,防火墙还是自动起来。很可能是某些网络发现服务把防火墙拉起来的,当时思路有两

1、修改iptables日志配置,输出详细的log,看能不能从中有所发现

2、去掉iptables模块

 

还是选择最简单的,删除

# lsmod|grep ip
iptable_filter 12810 0
ip_tables 27115 1 iptable_filter

 

# modinfo iptable_filter

把模块的文件删掉 *.ko

 

# rmmod iptable_filter

##完事

 

相关文章:

  • 2021-12-04
  • 2021-12-09
  • 2021-08-16
  • 2022-03-08
  • 2021-08-27
  • 2021-07-14
  • 2022-01-04
  • 2021-09-11
猜你喜欢
  • 2022-01-02
  • 2022-01-02
  • 2021-09-26
  • 2021-11-01
  • 2022-01-02
  • 2021-12-31
相关资源
相似解决方案