Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mariantaragel/dhcp-stats

Monitoring of DHCP communication
https://github.com/mariantaragel/dhcp-stats

c dhcp project

Last synced: about 1 month ago
JSON representation

Monitoring of DHCP communication

Awesome Lists containing this project

README

        

# DHCP stats

**Name and surname:** Marián Tarageľ

**Login:** xtarag01

**Date:** 22.10.2023

## Project description
The program will monitor DHCP traffic and show stats about IP prefix utilization. When the IP prefix exceeds 50 % of the allocated IP addressed, the program will notify the administrator through syslog. The program can generate stats from a pcap file. It can also listen on a network interface.

## CLI Syntax
```
./dhcp-stats [-r ] [-i ] [ [ ... ] ]
```

**-r filename** - stats will be generated from a pcap file

**-i interface** - interface to listen on

**ip-prefix** - net range for which stats will be generated\n

### Example
```sh
$ ./dhcp-stats -i eth0 192.168.1.0/24 192.168.0.0/22 172.16.32.0/24
```

## Files included
dhcp-stats.c

dhcp-stats.h

dhcp-stats.1

Makefile

README.md

manual.pdf