注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

mie

 
 
 

日志

 
 

NAT相关  

2011-02-08 18:18:16|  分类: 网络开发 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
四种不同的NAT类型
http://www.cppblog.com/w2001/archive/2007/04/13/21795.html

NAT 类型及检测方法

http://www.cnblogs.com/netlife/archive/2008/10/10/1308249.html

NAT、防火墙的原理区别和分类
http://blog.csdn.net/wcl0715/archive/2006/04/25/676070.aspx

防火墙—NAT
http://www.c-ps.net/trade/content/2006/10/3416.html

Understanding types of NAT
It’s important to understand the different types of NAT behavior:
Cone
Reuses the same address and port when talking to all peers.
Multiple IP address, symmetric
Picks a new address and port when talking to a new peer.
Single IP address, symmetric
Uses the same address but a new port when talking to a new peer.
It’s also important to understand the filtering behaviors of NATs and firewalls:
None
A cone NAT with no filtering is called “full cone”.
Address-restricted
The peer is restricted to talking only to addresses it has talked to already.
Address and port-restricted
The peer is restricted to talking only to addresses and ports it has talked to already.
In addition, some NAT and firewall behaviors aren't easily defined. For example, a NAT could act as a symmetric NAT that preserves port numbers. When it runs out of resources, it could switch and act as a cone NAT.
In another example, a NAT could act as one type of NAT for the first client that connected to a server. It could act as a different type of NAT for the second client that tried to connect to the same server. In this case, a simple analysis can fail to predict whether a client can make a peer-to-peer connection.
Note: A firewall can filter and not be a NAT. A NAT can act as a firewall and have filtering. A firewall may block UDP completely.
  评论这张
 
阅读(525)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2016