{"id":22606302,"url":"https://github.com/mariantaragel/dhcp-stats","last_synced_at":"2025-03-28T21:46:35.480Z","repository":{"id":214230753,"uuid":"697787539","full_name":"mariantaragel/dhcp-stats","owner":"mariantaragel","description":"Monitoring of DHCP communication","archived":false,"fork":false,"pushed_at":"2023-11-18T11:54:36.000Z","size":473,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T08:36:41.327Z","etag":null,"topics":["c","dhcp","project"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mariantaragel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-09-28T13:29:00.000Z","updated_at":"2023-12-26T17:36:55.000Z","dependencies_parsed_at":"2023-12-26T20:40:55.839Z","dependency_job_id":"fcc4c6c0-1b0a-494b-b192-489d5e2a03a1","html_url":"https://github.com/mariantaragel/dhcp-stats","commit_stats":null,"previous_names":["mariantaragel/dhcp-stats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariantaragel%2Fdhcp-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariantaragel%2Fdhcp-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariantaragel%2Fdhcp-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariantaragel%2Fdhcp-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariantaragel","download_url":"https://codeload.github.com/mariantaragel/dhcp-stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246106661,"owners_count":20724400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","dhcp","project"],"created_at":"2024-12-08T14:13:10.056Z","updated_at":"2025-03-28T21:46:35.454Z","avatar_url":"https://github.com/mariantaragel.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DHCP stats\n\n**Name and surname:** Marián Tarageľ\u003cbr\u003e\n**Login:** xtarag01\u003cbr\u003e\n**Date:** 22.10.2023\n\n## Project description\nThe 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.\n\n## CLI Syntax\n```\n./dhcp-stats [-r \u003cfilename\u003e] [-i \u003cinterface-name\u003e] \u003cip-prefix\u003e [ \u003cip-prefix\u003e [ ... ] ]\n```\n\n**-r filename** - stats will be generated from a pcap file\u003cbr\u003e\n**-i interface** - interface to listen on\u003cbr\u003e\n**ip-prefix** - net range for which stats will be generated\\n\n\n### Example\n```sh\n$ ./dhcp-stats -i eth0 192.168.1.0/24 192.168.0.0/22 172.16.32.0/24\n```\n\n## Files included\ndhcp-stats.c\u003cbr\u003e\ndhcp-stats.h\u003cbr\u003e\ndhcp-stats.1\u003cbr\u003e\nMakefile\u003cbr\u003e\nREADME.md\u003cbr\u003e\nmanual.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariantaragel%2Fdhcp-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariantaragel%2Fdhcp-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariantaragel%2Fdhcp-stats/lists"}