From nobody Tue Jun 20 02:28:32 2023 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 4QlVtS6vMpz4fmM9 for ; Tue, 20 Jun 2023 02:28:32 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QlVtS4wRLz4ShZ for ; Tue, 20 Jun 2023 02:28:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687228112; 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=jiZxte5RGEgD1vqR30YKhuxYYOvFsp5vQMxIdr5YG/8=; b=t42iSK+953PjmV8XYWWjcTiuInnY1HBeJgHJYYD96X2/3wCeSBuYBCITqG1AqQSuK/unSu r54hnYhVyry/MeROxS1dgohQ1cGKt3uJGi2OQ52QeqMf6p0pN27yG3nlqxuzgBqHg3WOMV L88NTF/jIxIetLmIh4546VEij7VnLwvKzIwp6xM6uLZsq5ECEXr+3sC0cu+4gI4rqzBzQg ciQlQF7vVKUkyi7RTrsBjgbRlSQ4hC1LUxwCFThytANRh0m5RGYKK5PRkZtDdgv9IVkyUD 7/Mkodcv7bzQPRtOurHy9KhHYjPnYFlXd+lZoH26ageO+3mwotzYsS5wHxncyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687228112; a=rsa-sha256; cv=none; b=QMmb/rocQzh1SvLLVEjrdyPPPJiG6UIF7gTD+BiPN7gby3CLWDd1LOlOxBB/MHnqqn53+k UAhwPVHDN3Bwi2dnefFyY76jdHgDi1lC6kFFdd89w7RUqKBEhwoEJiSMidUhn2RyoHdwGp 06F57QEwDJVGoGfCoT1SO8OrUUGvkVr+NDzuEak0p+oBzZZDQYjzMJ/0VX9LS0xQ0Cn3BK vF7Bp3nhsANj7phchcl8cmgAUb2oJGzqIjWlCXe1iHAVaSht58y3wHavXhSEwmhTvRIhtD cRFCWLuIZId/hdE/grz6IUu+tYUmKokKmMXAllIHUL/OEPwaZEAYQipqO0divw== 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 4QlVtS3vSQzhjW for ; Tue, 20 Jun 2023 02:28:32 +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 35K2SW44069208 for ; Tue, 20 Jun 2023 02:28:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35K2SW84069207 for bugs@FreeBSD.org; Tue, 20 Jun 2023 02:28:32 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 272086] dhclient increase retry delay too high, ignore settings Date: Tue, 20 Jun 2023 02:28:32 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272086 Bug ID: 272086 Summary: dhclient increase retry delay too high, ignore settings Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: rozhuk.im@gmail.com My config is: timeout 60; retry 4; select-timeout 0; reboot 8; backoff-cutoff 16; initial-interval 16; Log: Jun 19 15:34:56 firewall dhclient[16291]: send_packet: No route to host Jun 19 15:34:56 firewall kernel: [384699] Jun 19 15:34:56 firewall dhclient[16291]: send_packet: No route to host Jun 19 15:35:12 firewall dhclient[16291]: send_packet: No route to host Jun 19 15:35:32 firewall syslogd: last message repeated 1 times Jun 19 15:35:32 firewall kernel: [384734] Jun 19 15:35:32 firewall syslogd: last message repeated 2 times Jun 19 15:35:45 firewall dhclient[16291]: send_packet: No route to host Jun 19 15:36:14 firewall syslogd: last message repeated 1 times Jun 19 15:37:40 firewall syslogd: last message repeated 2 times Jun 19 15:37:40 firewall kernel: [384862] Jun 19 15:37:40 firewall syslogd: last message repeated 4 times Jun 19 15:37:52 firewall dhclient[16291]: send_packet: No route to host Jun 19 15:38:15 firewall syslogd: last message repeated 2 times Jun 19 15:40:21 firewall syslogd: last message repeated 5 times Jun 19 15:45:52 firewall syslogd: last message repeated 3 times Jun 19 15:47:55 firewall kernel: [385477] Jun 19 15:45:52 firewall syslogd: last message repeated 11 times Jun 19 15:49:04 firewall dhclient[16291]: send_packet: No route to host Jun 19 15:55:39 firewall syslogd: last message repeated 1 times Jun 19 15:57:55 firewall kernel: [386077] Jun 19 15:55:39 firewall syslogd: last message repeated 2 times Jun 19 16:04:48 firewall dhclient[16291]: send_packet: No route to host Jun 19 16:07:55 firewall kernel: [386678] Jun 19 16:04:48 firewall syslogd: last message repeated 1 times Jun 19 16:19:52 firewall dhclient[16291]: send_packet: No route to host Jun 19 16:19:52 firewall kernel: [387395] Jun 19 16:19:52 firewall syslogd: last message repeated 1 times Jun 19 16:43:59 firewall dhclient[16291]: send_packet: No route to host Jun 19 16:43:59 firewall kernel: [388842] Jun 19 16:43:59 firewall syslogd: last message repeated 1 times Jun 19 17:52:43 firewall dhclient[16291]: send_packet: No route to host Jun 19 17:52:43 firewall kernel: [392965] Jun 19 17:52:43 firewall syslogd: last message repeated 1 times Jun 19 19:40:21 firewall dhclient[16291]: send_packet: No route to host Jun 19 19:40:21 firewall kernel: [399423] Jun 19 19:40:21 firewall syslogd: last message repeated 1 times Jun 19 23:25:24 firewall dhclient[16291]: send_packet: No route to host Jun 19 23:25:24 firewall kernel: [412926] Jun 19 23:25:24 firewall syslogd: last message repeated 1 times Jun 20 02:26:26 firewall root[4421]: vlan886 ADDR_DEL 176.99.147.0 lease { interface "vlan886"; fixed-address 176.99.147.0; next-server 176.99.128.28; option subnet-mask 255.255.248.0; option routers 176.99.144.1; option domain-name-servers 194.187.204.254,194.187.205.226; option broadcast-address 176.99.151.255; option dhcp-lease-time 86400; option dhcp-message-type 5; option dhcp-server-identifier 10.204.46.1; renew 1 2023/6/19 01:43:28; rebind 1 2023/6/19 10:43:28; expire 1 2023/6/19 13:43:28; } lease { interface "vlan886"; fixed-address 176.99.147.0; next-server 176.99.128.28; option subnet-mask 255.255.248.0; option routers 176.99.144.1; option domain-name-servers 194.187.204.254,194.187.205.226; option broadcast-address 176.99.151.255; option dhcp-lease-time 78177; option dhcp-message-type 5; option dhcp-server-identifier 10.204.46.1; renew 1 2023/6/19 12:34:56; rebind 1 2023/6/19 20:43:32; expire 1 2023/6/19 23:26:25; } After 15:47:55 something goes wrong and client start increase retry timeout. System connected via switch and link was stable, but ISP line outside was d= own for a while. ISP probably drop my DHCP lease and reassing my IP address to some other customer, and possible block all non DHCP DISCOVER requests. I do expect that dhclient will retry at least every 60 seconds, according to max value in config file, but it sleep for hours. Another issue is in case "No route to host" dhclient probably should restart with DISCOVER. --=20 You are receiving this mail because: You are the assignee for the bug.=