This paper analysed the implementation technology of IP Queue mechanism, HTTP request packet, HTTP response packet and the characteristics of IP packet. Based on that,a real-time web page filtration system is realized. It contains the request packet filtering based on IP address and URL and the response packet filtering based on keywords. This system runs in a specific billing gateway system simultaneously, enhances the monitoring ability of the gateway, and provides beneficial reference to the enhancement of network security of similar products,especially in user mode firewalls and gateway monitoring,etc.%在分析了IP Queue机制的实现技术、HTTP请求报文和响应报文,以及IP数据包的相关特征的基础上,实现了基于IP地址、URL的请求报文过滤以及基于关键词的响应报文过滤的实时网页过滤系统.该系统同时运行于一个具体的网关计费系统,提高了网关的监控能力,为增强同类产品的网络安全尤其是在用户态防火墙和网关监控等方面提供了有益的参考.
展开▼