{"id":21894656,"url":"https://github.com/yamtaldev/dhcp","last_synced_at":"2025-03-22T04:21:02.332Z","repository":{"id":193037457,"uuid":"687632013","full_name":"YamtalDev/DHCP","owner":"YamtalDev","description":"The DHCP server project efficiently manages IP address allocation within a network range. It offers a clear and well-documented interface and supports various functionalities, including IP allocation, deallocation, and counting available IP addresses. The code structure is designed for maintainability and future updates.","archived":false,"fork":false,"pushed_at":"2023-09-06T09:39:14.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T05:44:04.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YamtalDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-05T17:14:51.000Z","updated_at":"2024-12-15T12:35:39.000Z","dependencies_parsed_at":"2023-09-06T13:39:22.092Z","dependency_job_id":null,"html_url":"https://github.com/YamtalDev/DHCP","commit_stats":null,"previous_names":["yamtaldev/dhcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YamtalDev%2FDHCP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YamtalDev%2FDHCP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YamtalDev%2FDHCP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YamtalDev%2FDHCP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YamtalDev","download_url":"https://codeload.github.com/YamtalDev/DHCP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244904249,"owners_count":20529398,"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":[],"created_at":"2024-11-28T13:27:12.802Z","updated_at":"2025-03-22T04:21:02.313Z","avatar_url":"https://github.com/YamtalDev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DHCP Server Project\n\nThis project implements a DHCP (Dynamic Host Configuration Protocol) server for managing IP address allocation within a network range. The DHCP server provides functions to create the server, allocate and free IP addresses, and count available (free) IP addresses. It efficiently handles scenarios like successful allocation, failed allocation, and double allocation attempts.\n\n\n## Project Description\n\nThe DHCP server project efficiently manages IP address allocation within a network range. It offers a clear and well-documented interface and supports various functionalities, including IP allocation, deallocation, and counting available IP addresses. The code structure is designed for maintainability and future updates.\n\n# Project Structure\n\nThe project is organized as follows:\n\n- Header Files (include/): Contains the header files necessary for the project.\n\n- Source Files (src/): Contains the source files for the DHCP server implementation.\n\n- Tests (test/dhcp): Includes test files and a makefile for building running and \ntesting the project.\n\n# Dependencies\nThe project relies on a trie data structure, which is included as trie.h and trie.c\nin the project folders. also a test for the trie is provided.\n\n# Building and Testing\nTo build and test the project, navigate to the test/dhcp folder and use the provided makefile:\n\n```shell\n# Simple compilation\n$ make\n# Running the project\n$ make run\n# Debugging the project\n$ make debug\n# Deleting all the obj, exe, shared/static libs files\n$ make clean \n# Checking valgrind on the project\n$ make vlg \n# Release compilation with optimization -O3\n$ make release\n\n```\n\n## Contact\n\nFor any questions about the project:\n\n### Name: Tal Aharon\n### Email: tal.aharon.work@gmail.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamtaldev%2Fdhcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyamtaldev%2Fdhcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyamtaldev%2Fdhcp/lists"}