From nobody Mon Nov 29 14:58:35 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 EBE5218C4695 for ; Mon, 29 Nov 2021 14:58:35 +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 4J2pQ34fScz4T33 for ; Mon, 29 Nov 2021 14:58:35 +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 7FF93244DB for ; Mon, 29 Nov 2021 14:58:35 +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 1ATEwZSW053103 for ; Mon, 29 Nov 2021 14:58:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1ATEwZ4C053102 for bugs@FreeBSD.org; Mon, 29 Nov 2021 14:58:35 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 260120] [sctp] DSCP/TOS not always set during an association establishment (IPv6) Date: Mon, 29 Nov 2021 14:58:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: albin.hellqvist@ericsson.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: attachments.created 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=1638197915; 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=fJvHyRFvvDdqvESHnWldttFNA1vxJshTtqq38Kk9VeU=; b=yDwgO8BuT187xxv3Nt6gCKzJeKm4aESLzsugQQ2yJP0eiuZyOGooi5CPxffkXReenXEAOA /acXd5b1QfDI+0k9TedjBmmZbUQlDXiqOnEK6nI6bTI/TsoXyDEcFNrVG63zuoorxBe0Ca V/6TGL/3jx/ymZqNodzenyPoCxxzX5jQprwz8XG8lx2xKWRyFX91GAiY8SMdVbAGCVN4zr WTiuficHiYQfxJTfgz/rMS8mtybhogLzJV53jLhyO01a4XkeyyzrMbjLrpEif9vyk/M/wW aHlvYwQ6P33gNqVLqCPi3Kgp6mtnj7GNYZyaOQDF8zgVCxw67BjtMecJPHeWJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638197915; a=rsa-sha256; cv=none; b=c4cKCgDRdQcc5hwd4z4lwJlEkgqLDxhJoMj0reQpRxs+DcMCrMRkq3kyqUZihgEnSN0QDw xIIAyBDLAHVu1Gw0H/bUkFFLQ+2VRLIvkrFPVR2yLL85QEJtaq2TXpMJdrlmn4Z7IKrK7T 8L4u9g9H+3ZzdtMCD4ylwYqmKapxgsFNP0wD8p+bJmC5A59wOITss0GmFA1ZF2h4OZEXfz CB0c/0SPMtq1AgFI4tW7cUbQXWXTiYBbjaOvFVulSDVKSfvgA8lyyXhL5erzVmVHthr92I p9lLn9c4sY7iZxdkBGSbuWXv7wOxqd8XemsZ5mbQ1iwKZzN5NN41wFptFvs/rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260120 --- Comment #1 from Albin --- Created attachment 229797 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229797&action= =3Dedit Test files for reproducing the bug I added some tests if it helps. They can be compiled using: g++ -o client client.cpp utils.cpp g++ -o server server.cpp utils.cpp I have tested it in VMs with the SCTP module enabled. I have also added ali= as addresses to the loopback interface so that I could run both the server and client over the loopback interface. These alias addresess were added: 127.0.0.2 127.0.0.3 127.0.0.4 127.0.0.5 127.0.0.6 127.0.0.7 ::2 ::3 ::4 ::5 ::6 ::7 The test can be started using: ./server --poll --ipv6 --sctp --test-dscp ./client --poll --ipv6 --sctp --test-dscp IPv4 as well as TCP can be tested as well to compare the behavior. --=20 You are receiving this mail because: You are the assignee for the bug.=