From nobody Sat Jan 29 15:23:38 2022 X-Original-To: ports-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 4EA7B198CBB3 for ; Sat, 29 Jan 2022 15:23:38 +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 4JmJ4n6wPSz3lpM for ; Sat, 29 Jan 2022 15:23:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 CDE5418054 for ; Sat, 29 Jan 2022 15:23:37 +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 20TFNb2S025817 for ; Sat, 29 Jan 2022 15:23:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20TFNboY025816 for ports-bugs@FreeBSD.org; Sat, 29 Jan 2022 15:23:37 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: ports-bugs@FreeBSD.org Subject: [Bug 261555] 410.pkg-audit: suggested patch to improve expiry by handling anticongestion delay better Date: Sat, 29 Jan 2022 15:23:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: wbe@psr.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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 attachments.created 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643469818; 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=qcCvs8UPzsQzyavgyQA6A2Dh/RbgUsCHBFVavxGkgzU=; b=Ed2q38FY2BzpjX6YFabg+IDeQ9ZrdwIu+YUb4HWpNNCvhC95EqPyzVORxl/yIyfKEw8Ema QYHk81I+WRuLhdflblfTdmUZJsnr88DkybH6Kqtogm9VK5OgzU4/t1CcaCcO9bKVmvlLfP hRHDY8HkGEM+YFpKYFswwBYL8Z4vDWx4U5P80diE5CXa1wx4RGi2T8tuBs6j+cIz+h4iL/ ERNxh0JTbPj3YLjEmTYf3Soy4o8S63FxQzw2mN56Ig/2MPONLE+bitc4iCt8MZnEw+Gn1T mfudtONgn86e5muIlWY6tbk2YZMc2UxQquB7FcdimEQuam4R6zh8XEYVFAdiGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643469818; a=rsa-sha256; cv=none; b=t2KyPVmvhmBtIVyPYwgjrorKluGQcomzcVh7KOb1pKN1LEgcsU1ZhQQRA3qByb4gZBtJKL zHiNOFJMLMd3tSLhdcZZGowQnRWGi83AR4QZc7y04embcncQ36XPi1utWYjSTQTv9++0SU 3F4xyQBE8JJhh3YmW59JARh73y8mkBFsDx59oPODC9NEVL5JzmxkI/Quu5Op+FjTRGD5O9 POHgLdne9X8+MRGI6Mh7dqG7M4fUVQgvJ/K7zeyFFgz3GgdU5Vv+ebvT6cduLTUGlp8mD4 qLt1hcc/yfiLAstlVvDS2HYo1LHXMlHCZSNYF+tGGpGgaTDcfDhe9sVrfTo5HA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261555 Bug ID: 261555 Summary: 410.pkg-audit: suggested patch to improve expiry by handling anticongestion delay better Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: wbe@psr.com Created attachment 231429 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231429&action= =3Dedit suggested patch to make expiry handle anticongestion delay better In 410.pkg-audit, ${security_status_pkgaudit_expiry} is clearly trying to be how often the test is run, in days (e.g., 2). vuln.xml gets written after = the up-to-60 minute anticongestion sleep time on the day it is fetched. Current code uses a fixed 10 minute grace period. Since that's less than the up-to= -60 minute anticongestion sleep time, the result is that differences of N days minus (11+ minutes) results in (N+1) days between fetches. The patch uses ${anticongestion_sleeptime} instead of 600 and improves the comment. --=20 You are receiving this mail because: You are the assignee for the bug.=