网络安全防护:psad、fwsnort与Metasploit更新拦截
1. psad 阻塞链与数据包处理
psad 提供了三个阻塞链,数据包会从内置的 INPUT、OUTPUT 和 FORWARD 过滤链跳转至这些阻塞链,从而对攻击者的 IP 地址采取有效的 DROP 策略。通过以下命令可以列出这些链:
[iptablesfw]# psad --fw-list [+] Listing chains from IPT_AUTO_CHAIN keywords... Chain PSAD_BLOCK_INPUT (1 references) pkts bytes target prot opt in out source destination 0 0 DROP all -- * * 144.202.X.X 0.0.0.0/0 Chain PSAD_BLOCK_OUTPUT (1 references) pkts bytes target prot opt in out source destination 0 0 DROP all -- * * 0.0.0.0/0 144.202.X.X Chain PSAD_BLOCK_FORWARD (1 references) pkts bytes target prot opt in out source destination 0 0 DROP al