- 论坛徽章:
- 0
|
请教大虾关于IP碎片通过包过滤防火墙的问题。希望斑竹置顶。谢谢
呵呵,我来看看。\r\n\r\n我做了一下实验,把你这个实验简化了一下。\r\n就2机器,没有用FORWARD,用的INPUT。\r\n实验结果如下。\r\n\r\nC:\\>;ping -l 1472 192.168.0.1\r\n\r\nPinging 192.168.0.1 with 1472 bytes of data:\r\n\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\n\r\nPing statistics for 192.168.0.1:\r\n Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),\r\nApproximate round trip times in milli-seconds:\r\n Minimum = 0ms, Maximum = 0ms, Average = 0ms\r\n\r\n\r\n\r\nC:\\>;ping -l 1473 192.168.0.1\r\n\r\nPinging 192.168.0.1 with 1472 bytes of data:\r\n\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\nReply from 192.168.0.1: bytes=1472 time<10ms TTL=64\r\n\r\nPing statistics for 192.168.0.1:\r\n Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),\r\nApproximate round trip times in milli-seconds:\r\n Minimum = 0ms, Maximum = 0ms, Average = 0ms\r\n\r\n\r\n我感觉你的理论里面没有问题,就看\r\niptables -A INPUT -p icmp --icmp-type 8 -s 192.168.0.116 -d 192.168.0.1 -j ACCEPT\r\n是不是有特殊的地方了。 |
|