局域网的数据包监听及数据分析论文.doc
I毕业设计(论文)学院信息工程学院专业计算机科学与技术班级4625姓名xucidong332007年4月15日II摘要本文主要阐述了目前网络安全的现状、缺陷、面临的威胁,提出了相应的防范措施,并介绍了网络的常用协议。然后又介绍了WINSOCK技术和监听原理,并对最广泛的监听工具sniffer做了简单的概述。基于当前网络很多威胁都是来自与自己电脑的漏洞与自己不能够清楚的察觉到自己电脑是否正在被侵犯,虽然防火墙可以提供帮助,但它不能对低层的东西显示给大家。本文主要研究的是对局域网的数据包监听并分析,采用WINSOCK技术实现的。在此工具中主要有监听和IP数据包分析2大主要功能,并能通过窗体清楚的显示出来。它使人们可以每时每刻观察到进入自己电脑的数据包,并能够观察到进行数据交流时对方的IP地址和所开放的端口号,及时对信息明朗化,预防黑客端口的监听。关键词:网络安全监听工具winsock技术IP数据包Vc+IIIAbstractThistexthasexplainedthecurrentsituation,defect,threatfacedoftheonlinesecurityatpresentmainly,haveputforwardthecorrespondingprecautionarymeasures,hasintroducedthedailyagreementofthenetwork.Recommendwinsocktechnologyandmonitorprinciple,monitortoamostextensiveonetoolsniffermakethesimplesummary。Onthebasisofnetworkalotofthreattocomefromwithonesownloopholeandoneselfofcomputercannotclearperceivingwhetheronesowncomputerisbeinginfringedatpresent,thoughthefirewallcanofferhelp,itcantshowtothethingofthelowertoeverybody.Mainresearchofthistextiswrappingupandmonitoringandanalysingaboutthedataofthelan,adoptwincocktechnologytorealize.Monitorandwrapupandanalyse2greatmainfunctionswithipdatamainlyintoolonce,andcancomeoutthroughthedisplaythatthewindowbodyisclear.Itspeoplecanobserveallthetimethedatawhichenteronesowncomputerarechartered,andcanobservetheothersidesipaddressandendslogansopenedwhileexchangingthedata,cleartoinformationintime,preventthemonitoringofblackports.Keywords:networksecuritymonitortoolwinsocktechnologyipdatapackvc+IV目录摘要.IAbstract.III目录.IV引言.11网络安全面临的威胁.21.1什么是网络安全.21.2网络安全隐患与威胁.21.3几种常见的威胁类型.41.4威胁我国网络安全的4个因素.52网络协议.73WINSOCK技术与监听原理.113.1WINSOCK技术概述.113.2局域网与以太网监听原理.144sniffer.174.1sniffer概述.174.2怎样防范sniffer.185基于WINSOCK技术捕获IP包工具的设计与实现.225.1系统概述.225.2系统概要设计.225.3系统主要功能介绍.245.4实例分析.285.5数据包首部解析.29结论.31参考文献.33附录.34谢辞.38