Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mariantaragel/dhcp-stats
- Owner: mariantaragel
- Created: 2023-09-28T13:29:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-18T11:54:36.000Z (about 1 year ago)
- Last Synced: 2023-12-26T20:40:49.675Z (about 1 year ago)
- Topics: c, dhcp, project
- Language: C
- Homepage:
- Size: 462 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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