Skip to content

Conversation

@alemonmk
Copy link
Contributor

Remove ciaddr and added DHCP server ID in DHCPREQUEST messages, since it is MUST be filled for the first DHCP request as defined in RFC2131, section 4.4.1.

Those changes (at least) allow me to obtain an address via DHCP from my ISP. It's partly standard compliant because in renewing and rebinding state ciaddr has to be filled, but there are not such states here.

Remove ciaddr and added DHCP server ID in DHCPREQUEST messages, since those are MUST NOT and MUST be filled respectively for the initial DHCP request as defined in RFC2131 (see section 4.4.1).

Signed-off-by: Lemon Lam <alemonmk@users.noreply.github.com>
@mc36
Copy link
Owner

mc36 commented May 17, 2023

morning!
thanks for the patch, first i'll run my ci-cd after i'll merge as it seems reasonable :)
all the best,
cs

@mc36
Copy link
Owner

mc36 commented May 17, 2023 via email

@mc36
Copy link
Owner

mc36 commented May 17, 2023 via email

@mc36
Copy link
Owner

mc36 commented May 17, 2023

@frederic-loui time to send out a github invite to @alemonmk .... also don't forget about @famfo for his/her/its rusty tries at http://git.famfo.xyz/famfo/freertr_native-rs :)

@mc36
Copy link
Owner

mc36 commented May 17, 2023 via email

@mc36
Copy link
Owner

mc36 commented May 17, 2023

for now some quick lunch 4 me but i have the strong feeling this change deserves a config knob under int xxx / ipv4 dhcp XXX like fill-ciaddr :)

edit: no worries, i'll take care of that 4 u.... :)

@mc36 mc36 closed this May 17, 2023
@mc36
Copy link
Owner

mc36 commented May 17, 2023

--ofkoz i'll keep you posted with the updates :)

@mc36 mc36 reopened this May 17, 2023
@mc36 mc36 merged commit e0e459e into mc36:master May 17, 2023
@alemonmk alemonmk deleted the dhcpv4fix branch May 17, 2023 12:17
@mc36
Copy link
Owner

mc36 commented May 17, 2023 via email

@mc36
Copy link
Owner

mc36 commented May 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants