本地监听与远程端口扫描的设计与开发摘要随着Internet的不断发展,信息技术已成为社会进步的巨大推动力。不管是存储于服务器里还是流通于Internet上的信息都已成为一个关系事业成败的关键,这就使保证信息的安全变得格外重要。本地监听与远程端口扫描程序就是在基于Internet的端口扫描的基础上,开发的一个基于java的本地监听和远程端口扫描的小程序。该程序主要包括四个功能模块:显示当前系统信息;显示网络状态;显示当前进程;扫描计算机。其中当前系统信息和网络状态可以反应出当前计算机的系统配置和网络设置,让用户可以直观便捷的了解主机状况。而本地监听实现对正在运行进程的监听和进程分析。远程端口扫描用来对本机或远程主机的端口开放状态进行检测。通过使用以上四个功能可以使用户对本机的安全程度有更好认识也可以对目标主机的开放状况有更直观的了解。关键词:端口扫描;Java;进程DesignandImplementationofLocalMonitoringandRemotePortScanAbstractWiththedevelopmentofinternet,informationtechnologyhasbeenahugepushtosocialadvancement.InformationstoredinserverorflowinginInternethasbeenakeyrelatedtotheaccomplishmentofwork.Soitbecomesespeciallyimportanttoassuresecurityofinformation.Locallisteningandremoteportscanprogramisdevelopedinjavalanguage.Thisprogramincludesfourfunctionmodules——currentsysteminformationshowingmodule,currentnetworkingstateshowingmodule,currentprogressshowingmoduleandcomputerscanningmodule.Modulesofsysteminformationshowingandnetworkingstateshowingcandisplaycomputer'ssystemconfigurationandnetworkingsetting,whichcanhelpusergetthestateofthecomputer.Locallisteninglistenstoandanalyzesrunningprogress.Remoteportscancantestportstatesoflocalmachineandremotemachine.Byusingthefollowingfourfunctions,usercanknowdeeplyinthesafestateofhost,andknowmoreaboutgoalmachine'sstatedirectly.Keywords:portscanning;Java;process目录论文页数:19页1引言........................................................................11.1课题背景................................................................11.2课题研究意义............................................................11.3与以往的程序的区别......................................................12基本理论....................................................................22.1TCP/IP协议和IP地址....................................................22.2用TCP/IP进行通信的示意图...............................................32.3端口....................................................................32.4JAVASocket类..........................................................33系统功能模块设计与实现......................................................43.1体系结构与功能介绍......................................................43.1.1体系结构............................................................43.1.2功能大体介绍........................................................43.2程序主界面..............................................................53.3当前系统信息界面........................................................63.4网络状态程序界面........................................................73.5本地监听................................................................73.6远程端口扫描............................................................83.6.1Socket类编程机制...................................................83.6.2功能详解...........................................................104系统关键点测试.............................................................14结论.........................