From nobody Wed Apr 24 16:39:40 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 4VPl7x0Jcyz5Hx9f for ; Wed, 24 Apr 2024 16:39:41 +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 4VPl7w5nXwz4n0p for ; Wed, 24 Apr 2024 16:39:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713976780; a=rsa-sha256; cv=none; b=jwOvDsQ7UpYNbHDM1MBCCV+lc0iBTrmIn/8XCxFHfjjINg2FgnX9ZIgk75S7GbmRVicB7f V7eAv+QBYH61FySwOS7fxSQxKww80dM9UwLKGSZEYVguHIgAurpSv55ht1I0c6iDCQPK8c thagaBONK1oBnlbCf9edNug93afkctyfVN6+oETgMoEkdLyWq/Qia2fretZ5XdG6vtF6zr +8SMJi2D1chIkVb2cp4JJhkXEW02GfSzahBY0Nla/r+iyrOQq2vBstXSl8gqh68lPUBBYa Fawiq1i9COrH+nyFFgeTnL0UwiCX34t2+u7++tNrXPJqIlI50muHfSchPnKyhw== 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=1713976780; 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=M5gVfTmDS7hp/fkaB005ZQvozTymNfrLvzSy87jToO8=; b=gd7Taw2NiggcTzAOeuHuqR8lv5aa9myPUmjbuarEmy8x4iBy5p8mv+01JHHBRQs1ikaLCA OqcsSWEQ2Xw2kAxtIqCYF+cYe3KcWUAqgp7EjsW12+Mbr1uzRFSl06+UmuWGtB5xCTRKpH uTdrlmdCwIMuL0PpOfaprMBrzQ+FJRf+zJT+ID5eD1nLH6hqTxeXLS1JFZbXpuNxU4ECLs YRyiZtohWk4Blbh4B3GqsS3dU4B4JXex7BOBiMqkhJUnS2dFr/xvi6B4kLSx0S73SQbUuG l4TKg3U0kUg8WIWVTre+dVWboQ83sZOkkpVJogY0PKrfnjxwr9PY/22sl1DWjg== 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 4VPl7w5D2gzN5d for ; Wed, 24 Apr 2024 16:39: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 43OGdevF017177 for ; Wed, 24 Apr 2024 16:39:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43OGdefG017176 for jail@FreeBSD.org; Wed, 24 Apr 2024 16:39: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: jail@FreeBSD.org Subject: [Bug 278232] Jail IPv4 source address selection inside a jail not working Date: Wed, 24 Apr 2024 16:39:40 +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: dinoex@FreeBSD.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: 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 #10 from Dirk Meyer --- I see here: ping with passing the correct source ip works. ping without source ip fails, the first IP of the jail is always used. Sending UDP fails, the first IP of the jail is always used. (tested with snmpwalk) Sending TCP fails, the first IP of the jail is always used. (tested with ssh) TCP from a host only in 192.168.22.0/24 top the jail IP 192.168.22.43 works. --=20 You are receiving this mail because: You are the assignee for the bug.=