From nobody Wed Apr 10 02:02:51 2024 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 4VDmLh3zG0z5GWSf for ; Wed, 10 Apr 2024 02:02:52 +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 4VDmLh159gz4Hym for ; Wed, 10 Apr 2024 02:02:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712714572; a=rsa-sha256; cv=none; b=TnyNmqsjcNl/qwI92RYfH0e5W0ooMIHJofQS9v7Ak64AOcpwfeIHlv1K0lzXxDwvffnF5O /PVHNd0r5hVtUhYwhp6PvYs6W2YrRs4VSMGt9C6agsmXSxw8tzu9eHYaUQlR5qxr7fpShg 4JhvlSqAYCnQBoSzHntZgIZBn4s+aT0H0MfFC0I0H4RJKjjK75Ps9TsBONYcZErd/WDifI isA+cn9ukSJ4hIse+iFVMkkgdRvNfY0qfxlH0zhhk4+z9OVFXscbqjDb4bnFNru2g2hsCt dJ5FQYJfib7C/7epj9y+R7DUqZLYngSOI64zEmCV2zn/4NSdG+bBPKu2DfFKgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712714572; 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=DznZ2Wu74kuZEZbsYTyAxaWAN0f9jbrvCWFUoHpX20A=; b=oGgvfWGWKE/s9p4Q2n2wjSmJGRdN8yYCuLzF/bovpVSDrftSnuUq6mlwX43P1bWiNloFGE QdN/nZmgDpIpsAzw7KY1gXrMQ6jzisl90AV91246YBdNMw5VUT1ADuL0p1iWGJdhMvwPVP Cj9555PgbqJAs0+HbwdnOtSdZvwP76pyCmLv+WJkUd+1uRo8aVj3BngME5RP/JyM88mB2I K6Dp6VW6+TvvqtawZbhR864r09jSOd/Bny16C89HXverSOIxFrNuHqe884y+q0AucsEmSh WtA3sHcN/yl3d3o6CeFr1wYezogfpynVjxo76AWjRGMVZZDVjAJxtCsncjbJUg== 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 4VDmLh0cpCzK26 for ; Wed, 10 Apr 2024 02:02:52 +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 43A22ptb035756 for ; Wed, 10 Apr 2024 02:02:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43A22paa035754 for jail@FreeBSD.org; Wed, 10 Apr 2024 02:02:51 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 278232] Jail IPv4 source address selection inside a jail not working Date: Wed, 10 Apr 2024 02:02:51 +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: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@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: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278232 --- Comment #6 from Zhenlei Huang --- (In reply to Dirk Meyer from comment #4) > ip4.addr > ip4.saddrsel Those options are per jail. That is to say, they should be applied either in the command line or in the jail.conf . > There is also a sysctl, but I am unable to change it outside, > nor does it reflect the status inside the jail: > host# sysctl security.jail.param.ip4.saddrsel=3D1 > security.jail.param.ip4.saddrsel: 0 -> 0 > Is this the expected behavior ? Yes. Those sysctl knobs serve no purposes but are kept only for backward compatibility. Users should not have contact with them. See also the commit= log [1]. 1. https://cgit.freebsd.org/src/commit/?id=3D0304c7316344d7e2d1dee3aa0249724ec= 629e8ef --=20 You are receiving this mail because: You are the assignee for the bug.=