linux防止ip欺骗

编辑/etc/host.conf文件并增加如下几行来防止IP欺骗攻击.

1
2
3
order hosts,bind     #名称解释顺序
multi on #允许主机拥有多个IP地址
nospoof on #禁止IP地址欺骗