免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1513 | 回复: 0
打印 上一主题 下一主题

Detecting NAT Routers [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-13 21:30 |只看该作者 |倒序浏览

                zz from : http://antionline.com/archive/index.php/t-241802.html   
        Thursday, April 24 2003 @ 08:35 AM EDT
        Contributed by:
William Reyor
        Views: 2,157
   
   
        

A
great paper written by Peter Phaal
explains the simple method used in his companies product, Sflow, to
detect multiple host behind a NAT firewall. The secret, it would seem
is simply monitoring of the TTL of out going packets and comparing them
to a host know not to be using a NAT firewall.
Another method
only touched upon by Phaal is passive OS finger printing, although this
method is less reliable, an statistical analasys could determine if
multiple operating systems were using the same network network device.
If this were the case it would be reasonable to assume that that host
was in fact a NAT device.
AT&T Labs
has published a paper explaining how to count the number of devices
behind a NAT device. The method AT&T uses, relies on the fact that
most operating systems (excluding Linux and Free BSD) use IP header
ID's as simple counters. By observing out of sequence header ID's, an
analasys can calculate how many actual hosts are behind a NAT device.
Each of these methods can be easily defeated through better
sterilization by the router itself. In the first example, if the TTL
for each TCP packet was re-written by the router for each packet to the
value of 128, the first method would no longer function. For the second
method, sterilizing IP header information and stripping unneeded TCP
flags would successfully undermine this scheme. For the last Method,
counting hosts behind a router. Striping the fragmentation flag for syn
packets, and setting the IP ID to '0', (like Linux and Free BSD both
do) would make it impossible to count hosts behind a NAT router.
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6702/showart_463731.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP