Skip to content

qiyugfh/nDPI-httpfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduce

This is a project of using the nDPI library to filter http protocol.
The nDPI source code link: https://github.com/ntop/nDPI
Its functions include monitoring where the HTTP packets go, analyzing the packet's IP address, Host, user agent, and so on.

Compile

Before compiling, you need to ensure that "cmake", "libpcap-dev", "cronolog", "boost", "activemq cpp" are installed on the machine.
https://github.com/qiyugfh/nDPI-httpfilter/blob/master/HowToInstallActiveMQ-CPP.md
https://github.com/qiyugfh/nDPI-httpfilter/blob/master/HowToInstallBoost.md

cd nDPI-httpfilter/build
cmake ..
make

Run

bash run.sh start
bash run.sh status
bash run.sh stop
bash run.sh restart

Output

cat run.log
cat output/httpfilter.log
tail -n 100 /var/log/ndpilog/20180919_23273.info