rp_filter 在rhel6 和 rhel7 之后的一些改变
rp_filter, reverse-path filtering,反向过滤技术,系统在接收到一个IP包后,检查该IP是不是合乎要求,不合要求的IP包会被系统丢弃。该技术就称为rp filter。怎么样的包才算不合要求呢?例如,用户在A网口上收到一个IP包,检查其IP为B。然后考查:对于B这个IP,在发送时应该用哪个网口,“如果在不应该接收到该包的网口上接收到该IP包,则认为该IP包是hacker行为”。 例如: A: 192.168.8.100 B: (IGMP Query) 10.0.0.1 来自路由器 查找路由表 网卡1为默认路由: 172.17.5.100 172.17.5.1 网卡2 192.168.8.100 192.168.8.1 系统根据路由表,认为10.0.0.1这个IP应该在第一个网卡172.17.5.100上收到,现实的情况是在第二张网卡192.168.8.100上收到了。认为这是不合理的,丢弃该包。致命的问题的,该包是来自路由器的IGMP Query包。 The rp_filter can reject incoming packets if their source address doesn’t match the network interface that they’re arriving on, which helps to prevent IP spoofing. Turning this on, however, has its consequences: If your … Continue reading rp_filter 在rhel6 和 rhel7 之后的一些改变
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed