The DHCPv4 relay discards requests only above the hop limit RFC 1542 sets #34
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil#34
Loading…
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?
Why
Dhcpv4RelayAgentdrops a request whenHops >= 16(
src/dotnet/src/Ninlil.Dhcp.Server.Relay/Dhcpv4RelayAgent.cs:56,221-228). RFC 1542 §4.1.1discards only when hops exceeds 16, so a request with hops = 16 is dropped one hop early. The
DHCPv6 relay uses
> MaxHops(Dhcpv6RelayAgent.cs:392).What changes
>instead of>=, with a comment citing RFC 1542 §4.1.1. Read the section first for what therelay does with the hops field of a request it forwards, and quote it in the PR. #114 later
counts the drops at this check; whichever lands second rebases.
Acceptance
17 is discarded.
Source
d-design.md:697,822.Owner decision 2026-10-31 (Q-REL-7): "follow RFC 1542".
Ghost referenced this issue2026-11-05 08:15:24 -05:00