diff --git a/CHANGELOG.md b/CHANGELOG.md index 7107748f..2eb59ef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ In this release, the schema version has changed from 16 to 17. ### Fixed +- Obsolete value of the Interface MTU DHCP option is now omitted ([#5281]). - Various dark theme bugs ([#5439], [#5441], [#5442], [#5515]). - Automatic update on MIPS64 and little-endian 32-bit MIPS architectures ([#5270], [#5373]). @@ -74,6 +75,7 @@ In this release, the schema version has changed from 16 to 17. [#1472]: https://github.com/AdguardTeam/AdGuardHome/issues/1472 [#4884]: https://github.com/AdguardTeam/AdGuardHome/issues/4884 [#5270]: https://github.com/AdguardTeam/AdGuardHome/issues/5270 +[#5281]: https://github.com/AdguardTeam/AdGuardHome/issues/5281 [#5373]: https://github.com/AdguardTeam/AdGuardHome/issues/5373 [#5431]: https://github.com/AdguardTeam/AdGuardHome/issues/5431 [#5439]: https://github.com/AdguardTeam/AdGuardHome/issues/5439 diff --git a/internal/dhcpd/options_unix.go b/internal/dhcpd/options_unix.go index 082826d5..6881d942 100644 --- a/internal/dhcpd/options_unix.go +++ b/internal/dhcpd/options_unix.go @@ -263,15 +263,12 @@ func (s *v4Server) prepareOptions() { // IP-Layer Per Interface - // Since nearly all networks in the Internet currently support an MTU of - // 576 or greater, we strongly recommend the use of 576 for datagrams - // sent to non-local networks. + // Don't set the Interface MTU because client may choose the value on + // their own since it's listed in the [Host Requirements RFC]. It also + // seems the values listed there sometimes appear obsolete, see + // https://github.com/AdguardTeam/AdGuardHome/issues/5281. // - // See https://datatracker.ietf.org/doc/html/rfc1122#section-3.3.3. - dhcpv4.Option{ - Code: dhcpv4.OptionInterfaceMTU, - Value: dhcpv4.Uint16(576), - }, + // [Host Requirements RFC]: https://datatracker.ietf.org/doc/html/rfc1122#section-3.3.3. // Set the All Subnets Are Local Option to false since commonly the // connected hosts aren't expected to be multihomed.