摘要: 主要讲述网络安全的解决方案-VPN(virtualprivatenetwork),即虚拟专用网。它用Internet代替租赁专线实现不同地点网络的安全互联。对于在世界各地拥有许多分支机构的企业来说,VPN是一个较理想的解决方案。首先介绍了VPN的两个关键技术,然后提供了一个VPN实现的框架。在MicrosoftVC++6.0环境下的VPN程序则展现了VPN的实际工作过程。在VPN的程序中,用到了MFC的CAsyncsocket类。通过套按字成员函数的调用,完成向对方发送和接收数据的工作。数据的传输均经过非对称会话密银交换和TEA加/解密算法处理。
关键词:
虚拟专用网,
因特网,
加密/解密算法,
IPsec,
IP隧道,
Windows套接字
Abstract: 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.
中图分类号:
丁岳伟,王景寅,施雪松. 用Microsoft VC++6.0的套接字实现一个VPN[J]. , 1999, 25(S1): 70-72.
Ding Yuewei, Wang Jingyin, Shi Xuesong. Fulfillment of a VPN with Microsoft Visual C++6.0 Socket[J]. , 1999, 25(S1): 70-72.