From nobody Tue Jun 28 23:38:15 2022 X-Original-To: jail@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 94EE88626B9 for ; Tue, 28 Jun 2022 23:38:17 +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 4LXgyK314Sz4rBX for ; Tue, 28 Jun 2022 23:38:17 +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 448C126679 for ; Tue, 28 Jun 2022 23:38:17 +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 25SNcHvw062047 for ; Tue, 28 Jun 2022 23:38:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25SNcHee062046 for jail@FreeBSD.org; Tue, 28 Jun 2022 23:38:17 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: jail@FreeBSD.org Subject: [Bug 255830] dummynet(4) queues/pipes do not work inside of a VNET jail Date: Tue, 28 Jun 2022 23:38:15 +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: pmc@citylink.dinoex.sub.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656459497; 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=FJ4EMzkWH+5rRYttOMpXq7x60cyGWR9GQfJvyumVIQM=; b=N3gSDTEgvSlv371lEDloBn+Jiw3Jny131qza5MkhJRaWGh1/I3Qn2bcVqmLyQ21Tuj21T8 8NuMPVhYMCgFCtJHxmze13dYMu0ueeulqOG4grc11ZKz7AfQBEWjbprfdRba3nJ1lKWBnl 6NTMeXAy78r+JM7jmmM8LLEfvwyXMb5JUkJkm7CtxABuaPH/dFWfr/KWe73K3DaCjjUhm4 iDG7C2Y3+eRxGQSIXobsSTasJN2gAkLlCf+IqBUYfnu8lOuqhp0BNR0/gIo0gBuD/MvrTK 7M2nHdcq66J+s15pfjyrrxbeX3h6Ues4m7SbaI8dTM4AMs+Owi3vwwF1VBwFwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656459497; a=rsa-sha256; cv=none; b=waNsIgYLiXRgjhPQsUX4h52BZfJgjTWcgAjddl1kFENZIFvbKersoKsUlz+of21ItkkDWW y7oKnZE8HRGEcqaMslE2+TK3zANaLrtHEeOGW0yQbQMz2bCQ3WtHkQVy3xnfw6DCHGN+b/ zNnGWrkyjBOZBaYAaA44NuSsIrEywpMiEGcyC7gK3Ds+qSRnyKnS5fwp4Km9FqaWmyz3Ft m03/hP60FUhTugG3LATFGN8AF5UxKLeI/yo3n1irUHgkFawQcRqSa1y4qIvzefncm7dgAt THulTfDTD1Tx01jH+T42DMlrhwnJ6q+PnPPujelA8IpO7g7j33yzk7/o7aOZAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255830 Peter Much changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pmc@citylink.dinoex.sub.org --- Comment #9 from Peter Much --- I am seeing these messages too, and no, Joshua, You're not the only one try= ing such things with dummynet. A few comments: * dummynet did never malfunction, it did simply reinsert the shaped packets into the host's ipfw instead of the jail's one - because there was only one dummynet on the system. The issue was more serios: every jail could manipul= ate the hosts pipes parameters, so it was necessary to run jails in securelevel= =3D3. * This appears to be fixed in 13.1. Kudos to the author! * What has sadly not been fixed alongside is the same issue with ng_ipfw, (Should be simpler, because netgraph itself is already VIMAGE-able) I once tried the bufferbloat thing, ran into the very same issue, considere= d it too difficult to fix on my own, and then moved the router into a bhyve inst= ead. There timing issues were more challenging, but the shaping apparently did w= ork. Currently it doesn't anymore. Thanks for Your configuration data, that might help me when looking into that issue occasionally - maybe the bhyve has to leave again. Now I tried to do the ng_ipfw fix myself, but with horror then noticed the beforementioned error-messages, and another one that looks worse: Apr 22 15:34:06 edge kernel: Freed UMA keg (IPFW counters) was = not empty (1 items). Lost 20 pages of memory. Jun 15 20:41:45 edge kernel: Freed UMA keg (IPFW counters) was = not empty (2 items). Lost 40 pages of memory. Jun 26 17:06:23 edge kernel: [55226] Freed UMA keg (IPFW counte= rs) was not empty (3 items). Lost 60 pages of memory. Jun 28 22:42:20 edge kernel: [248183] Freed UMA keg (IPFW count= ers) was not empty (3 items). Lost 40 pages of memory. But this one also obviousely exists since upgrade to 13.1 (RC2), and seems = to happen at shutdown after some uptime; it cannot be related to my recent hacking.=20 (I do massive and frequent ruleset updates during runtime.) --=20 You are receiving this mail because: You are the assignee for the bug.=