摘要
介绍了Windows应用程序设计接口钩子(APIHOOK)技术,创造性提出将此技术与SOCKS5协议结合,以设计和实现一种拦截和转发Windows系统网络数据包方案。重点介绍了Windows系统中动态链接库(DLL)知识和内存管理机制,并阐述APIHOOK原理和实现方法;简要介绍了SOCKS5协议及实现该协议应注意的事情;基于所述理论和游戏超市(GameMall)收费系统的需求,阐述了拦截和转发数据包理论在实际软件项目中的实现;最后比较了该方案相对于其他拦截和转发网络数据包方案所具有的优点。
This paper introduces the Application Programming Interface Hook (APIH OOK) technology at first. Then this technology is put forward innovatively to in tegrate with SOCKS5 protocol for the design and implementation of a solution rel ated to packet interception and forwarding. This paper focuses on some knowledge of DLL and memory management of Windows system, and tells you about the princip le and implementation of APIHOOK programs. Then SOCKS5 protocol is described bri efly and matters that need to pay attention to in the course of its implementati on are pointed out. Based on the above mentioned concept and having in mind the requirements of the Game Mall billing system, the implementation of packet inter ception and forwarding theory in an actual software project is described. Finall y, advantage of this solution when compared with other packet interception and f orwarding solutions is elaborated.
出处
《电信快报》
2005年第4期21-23,共3页
Telecommunications Information