mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
Rewrite networking in package dhcpd to only use gopacket #3908
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#3908
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ainar-g on GitHub (Sep 15, 2022).
Originally assigned to: @EugeneOne1 on GitHub.
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to request a feature or enhancement and not ask a question
Description
What problem are you trying to solve?
Package
dhcpdcurrently uses a lot of different modules and packages for networking, includinggithub.com/google/gopacket,github.com/insomniacslk/dhcp,github.com/mdlayher/ethernet, and the deprecatedgithub.com/mdlayher/raw. This creates all sorts of issues, including but not limited to:Proposed solution
Module
github.com/google/gopacketseems to have either all or most of the things we require. If I am not mistaken, we could even enable DHCP on Windows, if we make sure that the networking works well there.Alternatives considered
Go on as we do. See the problems with this approach above.