8000 GitHub - olacin/libpcap-dos-monitor: TCP SYN and DNS traffic monitoring.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

olacin/libpcap-dos-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libpcap-dos-monitor

Build Status
This program monitors TCP SYN and DNS traffic (UDP on port 53), prints details of these packets and counts monitored packets out of total packets.
As Denial of Service and Distributed Denial of Service consists in massive sending of these packets, this program can be used to monitor TCP SYN and DNS traffic on a network.
This program is mainly to pratice C programming with libpcap and not an enterprise-like DoS detector.

Compilation Instructions

If libpcap is not installed, you can install it by typing:

apt-get install libpcap-dev

Compilation was made with gcc like this:

gcc -lpcap monitor.c -o monitor

You have to tell the program the desired network interface to listen on as the first argument.
You can run it like this, assuming eth0 is your network interface.

./monitor eth0

If you don't know your network interfaces you can get it with ifconfig.

About

TCP SYN and DNS traffic monitoring.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0