ubuntu 下的arp 防御


手动运行:

sudo arp -s gateway_address gateway_mac

iptables -t filter -A INPUT -s 可疑ip -i eth0 -j DROP

如果需要自动运行:

echo ‘arp -s gateway_address gateway_mac’ > /etc/ethers

gedit /etc/rc.local

加入如下行使其系统自动运行

arp -s /etc/ethers

ubuntu 下的arp 防御 was originally published on DormanthinkZ.C

ubuntu 下的arp 防御


手动运行:

sudo arp -s gateway_address gateway_mac

iptables -t filter -A INPUT -s 可疑ip -i eth0 -j DROP

如果需要自动运行:

echo ‘arp -s gateway_address gateway_mac’ > /etc/ethers

gedit /etc/rc.local

加入如下行使其系统自动运行

arp -s /etc/ethers

ubuntu 下的arp 防御 was originally published on DormanThink

ubuntu 下的arp 防御 was originally published on DormanThink

ubuntu 下的arp 防御 was originally published on DormanThink

ubuntu 下的arp 防御 was originally published on DormanThink

ubuntu 下的arp 防御 was originally published on DormanThink

ubuntu 下的arp 防御 was originally published on DormanThink