摘要随着互联网的普与,安全问题越来越受到大家的重视。一个安全良好的网络环境能很好的保护好人们的计算机不受木马和病毒的侵扰,给人们的财产和隐私提供必要的保护。个人防火墙作为最早出现和最多使用的网络安全产品,以软件的形式存在于计算机与其所连接的网络之间,对流经计算机的未经授权的网络数据包进行监控和阻止,以起到对系统的保护作用。因此,开发有效的个人防火墙具重要意义。本文根据个人防火墙的实际需求,首先分析了目前市场上各类防火墙所采纳的不同核心过滤技术,结合其优缺点和实现的难易程度,确定了本课题实现所采纳的技术并做出相应的阐述。其次对本课题实现的功能和核心技术进行了详细的介绍,接着对个人防火墙的相关功能进行了介绍和展示,最后对完成本论文中获得的心得体会和经验进行了系统的总结。本课题中实现个人防火墙所采纳的核心过滤技术为 Filter-Hook Driver。核心过滤驱动的开发采纳 Visual Studio 2024 和 Windows 下的驱动开发工具 WDK 进行编码和编译,用户层采纳 C 语言进行编写。用户界面用 MFC 实现。本个人防火墙实现了对网络数据包的过滤,管控规则设置和日志功能。充分考虑了个人防火墙所需的基本功能,操作方便,界面简单友好。关键词个人防火墙;数据包过滤;Filter-Hook Driver;网络安全AbstractWith the popularity of the Internet, security issues are attention by more and more people. A secure network environment can protect personal computer from Trojans and viruses, and provide necessary protection to people's property and privacy. Personal firewall as the earliest and the most used Network Security toolkit, it exists as software, between a computer and its network. In order to protect the system,personal firewall monitors and prevents network packets which are flowing through the compute and unauthorized.Therefore, the development of an effective personal firewall has the important meaning.According to the actual needs of personal firewall, this paper first analyzes different core filtering technologies adopted by all kinds of firewall used in the current market, combined with...