Location:
Search - napt
Search list
Description: AgileIM 是一款类似QQ、MSN的聊天软件,这个软件却是我“无意插柳”的结果,AgileIM 的“前身”原本只是为了测试我的通信框架ESFramework的通信能力,没想到,做了两个星期后则个用于测试的小软件居然有点模样了,AgileIM 如今已经支持的主要功能:
(1)文字聊天
(2)文件传输
(3)视频/音频聊天
(4)基于Udp的NAT/NAPT 穿透
IM类型的软件所需要的框架的能力大致也在这里了,现在把AgileIM的源码开放,希望能对后来者有些许帮助,当然,服务端通信框架的源码时不开放的。即使如此,你也可以从AgileIM中学到:
(1)如何与服务器进行通信、客户端基于Tcp的通信框架的特点
(2)如何组织通信消息/协议
(3)如何进行视频/音频捕捉
(4)多线程
(5)如何使用ESFramework框架的ESFramework.Network.Tcp.Passive空间
AgileIM基于ESFramework构建,使用VS2005开发,代码并不是很多(因为很多能力已经在ESFramework框架中实现),组件装配/IOC使用了Spring框架,数据访问层使用了XCodeFactory。
测试登录帐号: 100000 ,密码: 111111
110000 ,密码: 111111
111000 ,密码: -AgileIM is a similar QQ, MSN chat software, the software is I "inadvertently inserted Liu", AgileIM the "predecessor" was originally just to test my communications framework ESFramework communications capacity Unexpectedly, a two weeks after the tests were 000 for a small software actually a bit like, AgileIM now has support for the main functions : (1) Text-Chat (2), file transfer (3) video / audio chat (4) Based on the Udp NAT / NAP T-penetrating types of IM software required for the ability of the framework is here broadly, now AgileIM of open-source, in hopes of later were shown some help, of course, server communications source framework is not open. Even so, you can learn from AgileIM : (1) how to communicate with the server. Based on DEC client communications fra
Platform: |
Size: 777787 |
Author: 王懿璞 |
Hits:
Description: Unix/Linux NAPT协议解析源码
Platform: |
Size: 307169 |
Author: dazhzo |
Hits:
Description: P2P 之 UDP穿透NAT的原理与实现(附源代码)
原创:shootingstars
参考:http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt
baidu
论坛上经常有对P2P原理的讨论,但是讨论归讨论,很少有实质的东西产生(源代码)。呵呵,在这里我就用自己实现的一个源代码来说明UDP穿越NAT的原理。
首先先介绍一些基本概念:
NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。
最开始NAT是运行在路由器上的一个功能模块。
最先提出的是基本的NAT,它的产生基于如下事实:一个私有网络(域)中的节点中只有很少的节点需要与外网连接(呵呵,这是在上世纪90年代中期提出的)。那么这个子网中其实只有少数的节点需要全球唯一的IP地址,其他的节点的IP地址应该是可以重用的。
因此,基本的NAT实现的功能很简单,在子网内使用一个保留的IP子网段,这些IP对外是不可见的。子网内只有少数一些IP地址可以对应到真正全球唯一的IP地址。如果这些节点需要访问外部网络,那么基本NAT就负责将这个节点的子网内IP转化为
Platform: |
Size: 35878 |
Author: little3388 |
Hits:
Description: 在VxWorks下实现NAT/NAPT的方法.pdf
NAT/NAPT 网络协议栈 截获 转换 校验和
Platform: |
Size: 249708 |
Author: GB |
Hits:
Description: udp 的 通讯以及Cone NAT的情况,穿透。
Platform: |
Size: 3907 |
Author: majun |
Hits:
Description: natpt source code-convert packets as they cross the
Platform: |
Size: 104593 |
Author: jwxu |
Hits:
Description: windriver公司nat协议代码,基于vxworks平台:支持Basic NAT,NAPT
Platform: |
Size: 148564 |
Author: LenaPolaris |
Hits:
Description: 通过源码学习,如何做代理服务器 及应用
-Forum on the principle of frequent discussion on P2P, but the discussion to the discussion, there is very little substance produced (source code). Oh, here on my own implementation of a source code to illustrate the principle of UDP through NAT. First of all, to introduce some basic concepts: NAT (Network Address Translators), Network Address Translation: NAT IP addresses are becoming more and more scarce in the circumstances, it is the main purpose of reuse in order to be able to address. NAT is divided into two categories, the basic NAT and NAPT (Network Address/Port Translator). Most are running at start NAT router on a function module. The first to propose that the basic NAT, it is the emergence of truth based on the following: a private network (domain) of nodes required only a few nodes and external network connection (Ha ha, this is up at mid-century and raised 90) . Well, this subnet in a matter of fact only a small number of nodes required of the world s only IP addresses
Platform: |
Size: 359810 |
Author: rotk2012 |
Hits:
Description: natpt source code-convert packets as they cross the
Platform: |
Size: 104448 |
Author: jwxu |
Hits:
Description: AgileIM 是一款类似QQ、MSN的聊天软件,这个软件却是我“无意插柳”的结果,AgileIM 的“前身”原本只是为了测试我的通信框架ESFramework的通信能力,没想到,做了两个星期后则个用于测试的小软件居然有点模样了,AgileIM 如今已经支持的主要功能:
(1)文字聊天
(2)文件传输
(3)视频/音频聊天
(4)基于Udp的NAT/NAPT 穿透
IM类型的软件所需要的框架的能力大致也在这里了,现在把AgileIM的源码开放,希望能对后来者有些许帮助,当然,服务端通信框架的源码时不开放的。即使如此,你也可以从AgileIM中学到:
(1)如何与服务器进行通信、客户端基于Tcp的通信框架的特点
(2)如何组织通信消息/协议
(3)如何进行视频/音频捕捉
(4)多线程
(5)如何使用ESFramework框架的ESFramework.Network.Tcp.Passive空间
AgileIM基于ESFramework构建,使用VS2005开发,代码并不是很多(因为很多能力已经在ESFramework框架中实现),组件装配/IOC使用了Spring框架,数据访问层使用了XCodeFactory。
测试登录帐号: 100000 ,密码: 111111
110000 ,密码: 111111
111000 ,密码: -AgileIM is a similar QQ, MSN chat software, the software is I "inadvertently inserted Liu", AgileIM the "predecessor" was originally just to test my communications framework ESFramework communications capacity Unexpectedly, a two weeks after the tests were 000 for a small software actually a bit like, AgileIM now has support for the main functions : (1) Text-Chat (2), file transfer (3) video/audio chat (4) Based on the Udp NAT/NAP T-penetrating types of IM software required for the ability of the framework is here broadly, now AgileIM of open-source, in hopes of later were shown some help, of course, server communications source framework is not open. Even so, you can learn from AgileIM : (1) how to communicate with the server. Based on DEC client communications fra
Platform: |
Size: 777216 |
Author: 王懿璞 |
Hits:
Description: Unix/Linux NAPT协议解析源码-Unix/Linux NAPT agreement to resolve source
Platform: |
Size: 307200 |
Author: dazhzo |
Hits:
Description: P2P 之 UDP穿透NAT的原理与实现(附源代码)
原创:shootingstars
参考:http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt
baidu
论坛上经常有对P2P原理的讨论,但是讨论归讨论,很少有实质的东西产生(源代码)。呵呵,在这里我就用自己实现的一个源代码来说明UDP穿越NAT的原理。
首先先介绍一些基本概念:
NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。
最开始NAT是运行在路由器上的一个功能模块。
最先提出的是基本的NAT,它的产生基于如下事实:一个私有网络(域)中的节点中只有很少的节点需要与外网连接(呵呵,这是在上世纪90年代中期提出的)。那么这个子网中其实只有少数的节点需要全球唯一的IP地址,其他的节点的IP地址应该是可以重用的。
因此,基本的NAT实现的功能很简单,在子网内使用一个保留的IP子网段,这些IP对外是不可见的。子网内只有少数一些IP地址可以对应到真正全球唯一的IP地址。如果这些节点需要访问外部网络,那么基本NAT就负责将这个节点的子网内IP转化为
Platform: |
Size: 55296 |
Author: little3388 |
Hits:
Description:
Platform: |
Size: 249856 |
Author: GB |
Hits:
Description: udp 的 通讯以及Cone NAT的情况,穿透。-udp communications and Cone NAT situation, penetrate.
Platform: |
Size: 4096 |
Author: majun |
Hits:
Description: 底层通信可以实现底层通信非常好用大家快来用吧-The underlying communication can be very useful to achieve the underlying communications Come with us now
Platform: |
Size: 77824 |
Author: liangzi |
Hits:
Description: 论坛上经常有对P2P原理的讨论,但是讨论归讨论,很少有实质的东西产生(源代码)。呵呵,在这里我就用自己实现的一个源代码来说明UDP穿越NAT的原理。 首先先介绍一些基本概念: NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。 最开始NAT是运行在路由器上的一个功能模块。 最先提出的是基本的NAT,它的产生基于如下事实:一个私有网络(域)中的节点中只有很少的节点需要与外网连接(呵呵,这是在上世纪90年代中期提出的)。那么这个子网中其实只有少数的节点需要全球唯一的IP地址,其他的节点的IP地址应该是可以重用的。 因此,基本的NAT实现的功能很简单,在子网内使用一个保留的IP子网段,这些IP对外是不可见的。子网内只有少数一些IP地址可以对应到真正全球唯一的IP地址。-Forum on the principle of frequent discussion on P2P, but the discussion to the discussion, there is very little substance produced (source code). Oh, here on my own implementation of a source code to illustrate the principle of UDP through NAT. First of all, to introduce some basic concepts: NAT (Network Address Translators), Network Address Translation: NAT IP addresses are becoming more and more scarce in the circumstances, it is the main purpose of reuse in order to be able to address. NAT is divided into two categories, the basic NAT and NAPT (Network Address/Port Translator). Most are running at start NAT router on a function module. The first to propose that the basic NAT, it is the emergence of truth based on the following: a private network (domain) of nodes required only a few nodes and external network connection (Ha ha, this is up at mid-century and raised 90) . Well, this subnet in a matter of fact only a small number of nodes required of the world s only IP addresses, o
Platform: |
Size: 299008 |
Author: guojun |
Hits:
Description: 自己实现的一个源代码来说明UDP穿越NAT的原理。 首先先介绍一些基本概念: NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。最开始NAT是运行在路由器上的一个功能模块。 最先提出的是基本的NAT,它的产生基于如下事实:一个私有网络(域)中的节点中只有很少的节点需要与外网连接(呵呵,这是在上世纪90年代中期提出的)。那么这个子网中其实只有少数的节点需要全球唯一的IP地址,其他的节点的IP地址应该是可以重用的。因此,基本的NAT实现的功能很简单,在子网内使用一个保留的IP子网段,这些IP对外是不可见的。子网内只有少数一些IP地址可以对应到真正全球唯一的IP地址。如果这些节点需要访问外部网络,那么基本NAT就负责将这个节点的子网内IP转化为一个全球唯一的IP然后发送出去-He s a source to explain the principles through NAT UDP). First introduced some basic concepts: NAT (Network), its "Network Address translation: Network Address translation is growing in the IP Address of the circumstances, its main purpose is to Address reuse. NAT is divided into two categories, the basic NAT and NAPT Network (" Port/Translator). Most started on a router NAT is running a function module. The first is the basic NAT, which is based on the fact that, a private network (domains) nodes in only a few nodes need and connected to the network (ha ha, this is in the mid 1990s put). So the subnet of only a few of the nodes in the only global IP address to other nodes IP address should be reused. Therefore, the basic functions of the NAT is very simple, use a reserve in subnet mask, the IP is not visible outside the IP. Subnet only a few IP address can correspond to the real world of IP addresses. If the nodes need access to external network, then basic NAT is responsible for thi
Platform: |
Size: 30720 |
Author: fzw |
Hits:
Description: VxWorks下的windnet组件中关于NAPT模块的源码实现,网上很难找。-the source of NAPT in VxWorks windowsNET constitution
Platform: |
Size: 102400 |
Author: 杨黎斌 |
Hits:
Description: NAT(Network Address Translators),网络地址转换:网络地址转换是在IP地址日益缺乏的情况下产生的,它的主要目的就是为了能够地址重用。NAT分为两大类,基本的NAT和NAPT(Network Address/Port Translator)。
最开始NAT是运行在路由器上的一个功能模块。
最先提出的是基本的NAT,它的产生基于如下事实:一个私有网络(域)中的节点中只有很少的节点需要与外网连接(呵呵,这是在上世纪90年代中期提出的)。那么这个子网中其实只有少数的节点需要全球唯一的IP地址,其他的节点的IP地址应该是可以重用的。
因此,基本的NAT实现的功能很简单,在子网内使用一个保留的IP子网段,这些IP对外是不可见的。子网内只有少数一些IP地址可以对应到真正全球唯一的IP地址。如果这些节点需要访问外部网络,那么基本NAT就负责将这个节点的子网内IP转化为一个全球唯一的IP然后发送出去- This document is an Internet-Draft and is subject to all provisions
of Section 10 of RFC2026. Internet-Drafts are working documents of
the Internet Engineering Task Force (IETF), its areas, and its
working groups. Note that other groups may also distribute working
documents as Internet-Drafts.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet- Drafts as reference
material or to cite them other than as "work in progress."
Platform: |
Size: 58368 |
Author: sujianchao |
Hits:
Description: VxWorks实现NAT NAPT开发文档VxWorks development documents to achieve NAT NAPT
-VxWorks development documents to achieve NAT NAPT
Platform: |
Size: 249856 |
Author: qa |
Hits: