From nobody Sun Apr 7 12:56:34 2024 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 4VCC0Q622Kz5GmTm for ; Sun, 7 Apr 2024 12:56:38 +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 4VCC0Q4t3cz3xNv for ; Sun, 7 Apr 2024 12:56:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712494598; a=rsa-sha256; cv=none; b=ZSQr93rIOUKmEWhm631RG11FbED4jIrnvqjAa8Be4ua/PgIO5N5HtYOU+AjNe6/yKUbwjM /kqYfsDr0Zr5B5lBkwhk2e5WFouYFUh1ldTJ6wCAHCxZkxpMt+HbCs1ErdS1PMpMwCws0Y 8ELuNmwHIdNsyaycIBkDF6ofxQJEDgZE2LdrOI/a07+UHvpi7ENwW7/STcLk5CJPaOehHc Hbyc+WPZIDxVVuZCyKp8aQY3/9HYrmZ+23SmN+g45+5fc/fOL6N10QrcEZSM3hmsTDLBEE 0zPSLMSOumduKtdRYdsYZr3rv6yETV/6d+p8w+sUpw0LymoK6fb5dgDcXjq4Cg== 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=1712494598; 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; bh=IS2sfsvQ3woADRS47nDWrXAYO6UhVsW/AV2rJrHATVE=; b=sjaeLhOVJz67lLx8WJM8hbax96efcGf86Z3QzFxfX+Yc5D7xJ9KLP1mNwcJVmp/4C1s60j 6dmTVYjr8gEEVkGgWDKHg+4g4TwEo24lS0ChRpO9lDbVTpZPUP/54PkyoCkJTngLmee7b4 Em2V5Flo6eKjAocNs2bLkXio8k9nk4kkfEs2WhZ96KaXX/g+OE2bs2obtZqprQpX9gkK8y chfsXC0cTIW2N8SrnB59R7sKZR3S+6flS5T6BTsrRIeKVYa97sodeeSjajKX0XU1YlYwpI 4FMqFOKbNB8tt1BgSv0kG9OoqP37ZeTpO6aV8NESfCKaLqzdYiXa49unBnRNXg== 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 4VCC0Q4V8dzSmH for ; Sun, 7 Apr 2024 12:56:38 +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 437Cuc7C066450 for ; Sun, 7 Apr 2024 12:56:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 437CucSX066446 for bugs@FreeBSD.org; Sun, 7 Apr 2024 12:56:38 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 278232] Jail IPv4 source address selection inside a jail not working Date: Sun, 07 Apr 2024 12:56:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dinoex@FreeBSD.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278232 Bug ID: 278232 Summary: Jail IPv4 source address selection inside a jail not working Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dinoex@FreeBSD.org Jail IPv4 source address selection inside a jail not working after upgrade from FreeBSD-13.2 to FreeBSD-14.0. There seems something wrong about source address selection on plain jails. igb0: flags=3D1008943 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D48104b8 ether ac:1f:6b:47:83:8a inet 194.XXX.XXX.43 netmask 0xffffffff broadcast 194.XXX.XXX.43 inet 192.168.22.43 netmask 0xffffffff broadcast 192.168.22.43 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D21 /etc/jail.conf: service { ip4.addr =3D 194.XXX.XXX.43, 192.168.22.43; ip4.saddrsel; interface =3D "igb0"; exec.fib =3D 0; devfs_ruleset =3D 9; allow.sysvipc; allow.raw_sockets; } works: # ping -S 192.168.22.43 192.168.22.16 working with FreeBSD-13.2 # ping 192.168.22.16 failed with FreeBSD-14.0 # ping 192.168.22.16 using tcpdump on the host I see: with FreeBSD-13.2, the ping uses source "192.168.22.43" with FreeBSD-14.0, the ping uses source "194.XXX.XXX.43" --=20 You are receiving this mail because: You are the assignee for the bug.=