From nobody Fri Dec 10 12:04:40 2021 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 7639C18CA25A for ; Fri, 10 Dec 2021 12:04:40 +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 4J9V2J1Rl8z3mtJ for ; Fri, 10 Dec 2021 12:04:40 +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 1174D1A313 for ; Fri, 10 Dec 2021 12:04:40 +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 1BAC4eoL032795 for ; Fri, 10 Dec 2021 12:04:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BAC4eN9032794 for bugs@FreeBSD.org; Fri, 10 Dec 2021 12:04:40 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 260314] ping6: faulty "-4 and -6 cannot be used simultaneously" error on "ping6 -c4 localhost" Date: Fri, 10 Dec 2021 12:04:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639137880; 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: in-reply-to:in-reply-to:references:references; bh=pgm4oc9XTLcoKt7ezWQxJdHJBBR2qqISkQ0EKRghCpc=; b=RCq9M2V+NoEI1pQHj6G3YJP19LWCRYhMdRa6uxKl71/JnD6y6Qd0pQgR0KLhEegtB4vIGa V/eGfy/Aw0hYmJjip30A3lwZtnvaygUWqEl/8ByawR+OIqRyAXuo/m2OBFlhHL56WVJc3R RHNapquKjb22Obbel5Qf9S00nYOVm4U9WTFHbfJu/tvb74mdG2W3rVFKfvRxP7sRBXzOjz VCYDD7MXRitwRrugqXzj6/gU0YP7fWQwrbh+6hQqUjir3m3eZXSmMZnIgNpAtuNu9Vq4aE 6HfjIBWaaQH7WFlRUCAa0i55NZTOE6KZCUbraN9cA3xD2hu+qeXfcj4M+M12rg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639137880; a=rsa-sha256; cv=none; b=wHBaXJPncvApkUB2ZHgoBWabsD0V8gpRMkoIVBpCEzxQHoHmoNAqGJFLJiRWA3Ey+O5p3o zaOKjKIR7cGUZP3W/fLYx/U6k7+NgYHUFZZgrL2i1Zvx88XF3vSKgcqS95puCMVbefjKxW p1ieaoLGL1XNg6GMaZGmdeCJRmDccLMhbTaUACznw2EoA80j5TEld3NHkPG41850vvMlNd HhELMwMnOVwZpd8m50GQcndTHBd5pIG5jlAq94PEIjGl5Kvl5ZXNd94eRjqkx6Rb65nq2u T8RQLBCmUESPBBnjBPA0jpjzy8XB/htAShVTH2ZNEjfnhf7ZvKqrf68ApQj3Dg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260314 --- Comment #1 from Franco Fichtner --- The parsing of trying to validate -4 against -6 is so lax that this trigger= s on unknown and malformed arguments as well (things that don't actually take arguments). The most worrisome bug happens on # ping -c6 localhost Which pings localhost 6 times as expected, but with ping6 utility instead of ping (using ::1) as target. Cheers, Franco --=20 You are receiving this mail because: You are the assignee for the bug.=