From nobody Sun Sep 8 11:57:30 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X1pP630rpz5Td4K for ; Sun, 08 Sep 2024 11:57:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X1pP61FSWz4xKM for ; Sun, 8 Sep 2024 11:57:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725796650; a=rsa-sha256; cv=none; b=WL2+jP1Nsd8wczECduPcfg/tjvtd6AW7Ta3IORcaH9gcC2zsxPewPRb1t0JKGwtg+mE+dD qAGZI851ZlR4TdzEvGmg+f0gPduw6F024nCNMiOIS2/rM4YNJP/agFcP0QK4q0yTu7TL2+ LNJeSv+CU7nNykHlYmb6+AzxbJ+/5tL5cih0eVm6MfR5iRix8CdDuiuxyiYp7t1zB2/1FN SZ4IvsZGVCaRxchIN1Yz8d5qBVe05+xbmLLaCrLUdiCpztrYTnYJN1mR5gs0aj14HaG6vc JdVix37gINFw8mjT5LpTjxMsVkHMlGuK4MvwPMBiQ+XxD6XR9yLQmJKBPb3KMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725796650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0oj2oHH8Z7D6EXkEUctp3yqye7JX6S6wH5G/61j8NjM=; b=DZChnWJXcJrRm/T4pJWnudWVs43ZbRbGj3KnMWFOZ1SfswfOZH9RkE8SteUM8QzrJd29p9 4YmCK+fNtx6JAEmDGfvvwBKNbGJ4ZQ6hgY6JTUd2VjBExp2JevqMiCc580Q7qJiXUZWLIJ OSsnh1o/fGYWthuhSLGf/nYp6n3xdzA2sQEng6n+efXRwa2vP+mbiKxG8LYc8amF6X+uw0 5G79Y4nr5C1LiwzRmVvGVMkFiHyhN0aOUjkE5eFLd3M/7xctYl6Fq37O+7vsGLHmnsnH1c 8p7Ou8WGBQ4GKd5x086qpLDjfk/c5Z1QldWAs79pGa7uABrXTndV0AyDCIlKMQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X1pP60lHszJT0 for ; Sun, 8 Sep 2024 11:57:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 488BvTcl018980 for ; Sun, 8 Sep 2024 11:57:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 488BvTWg018978 for bugs@FreeBSD.org; Sun, 8 Sep 2024 11:57:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281361] ddclient: messages about unknown DHCP option keep cluttering the log Date: Sun, 08 Sep 2024 11:57:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael@vonglasow.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281361 Bug ID: 281361 Summary: ddclient: messages about unknown DHCP option keep cluttering the log Product: Base System Version: 14.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: michael@vonglasow.com I keep getting the following error message in the log every time the IP con= fig on the external interface is renewed (15 minutes with my ISP): > Error:dhclient:unknown dhcp option value 0x7d **To Reproduce** Steps to reproduce the behavior: * Set up a network with a DHCP server. * Configure the DHCP server to send an unknown DHCP option (0x7d is known to work) * Configure a short timeout (under an hour) for DHCP leases. * Configure DHCP on one interface, and connect it to the network with DHCP server configured in the previous steps. * Observe the log **Expected behavior** I would expect ddclient to silently ignore any options it does not understa= nd (which is the recommended standard behavior for most parsers). If it does l= og a message at all, the log level should be Debug or Information at most, not Error. **Describe alternatives you considered** Reconfiguring the DHCP server to not set any obscure options ddclient does = not need or understand is not an option: the DHCP server is beyond my control (I probably won=E2=80=99t get my ISP to configure their DHCP server the way I = think it should be), and since lease times are such that renewals happen every 15 minutes, this really clutters up the logs. There may certainly be legit use cases why a DHCP server would specify DHCP options which some DHCP clients = do not understand. **Additional context** I=E2=80=99ve verified DHCP traffic with a packet capture tool, and the DHCP= offer indeed does have the unsupported option in it. The log entry has been around for a few versions and might have been present ever since I started using OPNsense on that particular ISP. It makes the logs hard to read when you=E2=80=99re trying to debug somethin= g, especially since it is logged as an error. The lower the log level, the eas= ier it is to filter out. Should I have filed this bug against the wrong component, please feel free = to move it or let me know where it should go. **Environment** OPNsense 24.7.3_1-amd64 (based on FreeBSD 14.1-release-p3); Franco Fichtner suggested I file my issue as a bug here (however, I don=E2=80=99t agree wit= h him that this is just a minor annoyance) --=20 You are receiving this mail because: You are the assignee for the bug.=