用Microsoft VC++6.0的套接字实现一个VPN  

Fulfillment of a VPN with Microsoft Visual C++6.0 Socket

在线阅读下载全文

作  者:丁岳伟[1] 王景寅 施雪松[1] 

机构地区:[1]上海理工大学计算机工程学院,上海200093

出  处:《计算机工程》1999年第S1期70-72,共3页Computer Engineering

摘  要:主要讲述网络安全的解决方案-VPN(virtualprivatenetwork),即虚拟专用网。它用Internet代替租赁专线实现不同地点网络的安全互联。对于在世界各地拥有许多分支机构的企业来说,VPN是一个较理想的解决方案。首先介绍了VPN的两个关键技术,然后提供了一个VPN实现的框架。在MicrosoftVC++6.0环境下的VPN程序则展现了VPN的实际工作过程。在VPN的程序中,用到了MFC的CAsyncsocket类。通过套按字成员函数的调用,完成向对方发送和接收数据的工作。数据的传输均经过非对称会话密银交换和TEA加/解密算法处理。This article focuses on their solutions. VPN, virtual private network, can securely interconnect networks at diffeTent places withInternet instead of leased lines, which is a good solution to enterPrises distributed around the world. Firstly, the article introduces two keytechniques of VPM-cryptographic principles and IPsec. Secondly, the article provides a VPN backbone. Furthermore, a VPN program underMicrosoft VC++6.0 shows the actual sequence as VPNs work. In these codes, MFC'S CAyncsocket class is used. Through calling socketfunctions, it sends and Teceives data from peer. And before data is sent (received), it is encrypted (decrypted) with TEA encryption algorithmand simple asymmetric exchange about session key.

关 键 词:虚拟专用网 因特网 加密/解密算法 IPSEC IP隧道 WINDOWS套接字 

分 类 号:TP393.4[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象