The Implementation of a Port-scanning Program Based on Semi-opened Port Technology Abstract With the quick development of the internet, network intrusion behavior becomes more and more serious; Network security becomes the focus which people pay attention to. Port-Scanning Technology is one of the most important technologies of the safe scanning on internet. The first step that network system intruders enter the target system is the port scanning of the system. This essay explains the principle and application of the port scanning technology, and then designs a simple port-scan system which bases on the Windows platform. The paper introduces the SYN probe technology of the semi-open scan technologies, analyzes its implementing principle, approach and characters. In the real design it use the SYN probe technology which has a better scanning security and feasibility to achieve the Port Scanning, then realize user-defined port list function, recording of the scanning result, and some other functional modules. At last, combined with the nowadays actual situation, the paper brings a few personal minds for the future direction of the development of the Port-Scanning. Key words: Network security;Port scanning;SYN probe 目 录 论文总页数:22页 1 引言 1http://www.16sheji8.cn/ 1.1 端口扫描概述 1 1.2 端口扫描技术的国内外研究现状 1 1.3 端口扫描原理 1 1.4 端口扫描技术概要 2 1.5 SYN技术详解 3 1.5.1 TCP包探测原理 3 1.5.2 SYN包探测 4 1.5.3 分组时延 4 1.6 端口扫描实现方法 4 2 需求分析 4 2.1 端口扫描器的总体要求 4 2.1.1 设计背景 4 2.1.2 用户特点 4 2.1.3 软件开发及运行环境 5 2.2 端口扫描器的需求分析 5 3 端口扫描器的实现 5 3.1 功能模块简介 5 3.2 程序实现流程 6 3.3 SYN探测的实现 6 3.4 端口扫描功能模块 15 3.4.1 端口选择模块 15 3.4.2 目标IP选取模块 16 3.4.3 终止扫描 17 3.4.4 扫描结果存储模块 17 4 测试环境及结果 18 4.1 硬件环境 18 4.2 软件环境 18 4.3 测试结果 18 5 端口扫描技术的发展方向和趋势 19 结 论 19http://www.16sheji8.cn/ 参考文献 20 致 谢 21 声 明 22