网站大量收购独家精品文档,联系QQ:2885784924

毕业设计(论文)-基于IP、TCP协议分析器的开发.doc

毕业设计(论文)-基于IP、TCP协议分析器的开发.doc

  1. 1、本文档共25页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 TCP/IP协议是网络通信中应用广泛的协议,通过它可以实现不同网络媒介之间的信息传递。分析TCP/IP协议,了解网络通信的基本流程,对于网络通信,网络优化和网络安全都有重要的意义。通过程序截获TCP/IP协议并对其内容进行相应的提取分析,基本的流程是利用程序将网卡设置成混乱模式,对截取的数据包按相应的协议规格分析,提取相应的地址、端口号以及数据内容,并显示出来。程序中应用了线程的处理方法,使得抓取数据包和分析数据包分离,便于实时监控,并且解决了共享资源的访问冲突的问题。在程序中,截获到的数据都以文件保存下来,方便对已截获的数据进行查询。程序主要涉及到TCP/IP协议的基本知识,网络套接字的应用,线程处理问题的方法,数据的存储,MFC框架下相关的可视化编程等方面的基本知识和实际应用。 关键词: TCP/IP,协议,数据包,网络套接字,线程 ABSTRACT TCP/IP protocol is used widely in the network communication, which can realize the message transmission between different network media machines. That has important significance for network optimization, network communication and network security through analyzes of the TCP/IP protocol and understanding of the basic process of network communication. The program can intercept TCP/IP protocol to analyze the messages of the protocol. The basic process is using the program set to mix mode at the network card, analyzing the packet from the network card as relevant protocols, extraction of corresponding specification and address, the socket data content, and displayed. The thread is used in the program, it can make grab packet part and analysis data part in different parts, it make program monitor the network card all the time, and resolve the problem about the share resource. In the program, the data got from the network card is saved as file, it is convenient for check of data. This program mainly involves the TCP/IP protocols basic knowledge, socket, thread of the method to deal with problems, data storage, MFC framework related visual programming. KEY WORDS: TCP/IP, protocol, packet, network socket, thread 目录 前 言 3 第1章 技术可行性分析 3 1.1网络协议实现可行性分析 3 1.2 开发环境可行性分析 3 1.3 程序设计可行性分析 3 第2章 相关知识 3 2.1 TCP/IP协议 3 2.2 socket简介 3 2.3 线程原理 3 第3章 设计思路 3 3.1 总体设计 3 3.2详细设计 3 3.2.1 变量的说明 3 3.2.2 数据结构说明 3 3.2.3 网络协议截获部分设计 3 3.2.4数据分析部分设计 3 3.2.5 线程部分设计 3 3.2.6 不同部分数据传递设计 3 第4章 编码及实现 3 4.1 网络协议截获部分 3 4.2 数据分析部分 3 4.3模块整合部分及线程添加部分 3 4.4出现的其他问题及解决方案 3 第5章 结果分析 3 第6章 总结 3 致谢 3 参考文献 3 前 言 TCP/IP(Transm

文档评论(0)

***** + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档