利用netfilter机制,实现内核防火墙把http请求和回应的数据包截获后,解释出其中的http层数据
#include#include#include#include#include#include#include#include#includeunsignedintchange(intaChar,inthex){intch;ch=aChar-hex;returnch;}unsignedcharHexToAsc(intaChar){/*if(aChar>=0x20&&aChar=0x0)&&(aC