From owner-freebsd-net@freebsd.org Wed Apr 14 19:12:18 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F252C5E4E6F for ; Wed, 14 Apr 2021 19:12:18 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plan-b.pwste.edu.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLBtT5qPBz3snv for ; Wed, 14 Apr 2021 19:12:17 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from fomalhaut.potoki.eu ([IPv6:2001:470:71:d47:4c1b:9b59:ed64:f71f]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.16.1/8.16.1) with ESMTPSA id 13EJC7Vk005817 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 14 Apr 2021 21:12:08 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1618427528; bh=wWce1g5QBu1QMxkNrbkQXMx65hTC4I4L5qHfcrmPwVE=; h=From:Subject:To:References:Date:In-Reply-To; b=ldfwfX/XlRxAHllBYft0zRGZNIuftNZ32X74FAbGDgx/V6lznTdwcTPRutyNkET+k 9aqT1LqV+HybBG11Ocb2mAnlgjEMwoR81wPyQStS67wP+oI7JLMT/24ZZWpB18dq2W hWtT2VrlBRaoAG4taz5SZnRPGC6wIIum2P642STSNQ5qfzLhsrRAdtNW7Hx1YPY879 +Eva1pptg9C+rLybcX3rJL/6QvQk4ExiYL0ZeyqM3wuqbQArbKM4ypQbzwXampCnq+ 1qcLjIgAyPauTC64OjFo937lEHq9vS79y+xmpBRd0x/FU2vQVhYj9cuXdPPmxlQjSt Z5J22Y+qAQZQw== X-Authentication-Warning: plan-b.pwste.edu.pl: Host [IPv6:2001:470:71:d47:4c1b:9b59:ed64:f71f] claimed to be fomalhaut.potoki.eu From: Marek Zarychta Subject: Re: Some net.link.bridge entries in sysctl.conf appear ignored after upgrade to 13.0-RELEASE To: "freebsd-net@freebsd.org" References: Message-ID: <7d646c3c-9f9d-2490-f03b-2fabeb44d989@plan-b.pwste.edu.pl> Date: Wed, 14 Apr 2021 21:12:07 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rQ2X9RApXDv05WCn8Nn0dVsHtfd1cRCz8" X-Rspamd-Queue-Id: 4FLBtT5qPBz3snv X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=ldfwfX/X; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-7.89 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ATTACHMENT(0.00)[]; HAS_XAW(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; NEURAL_HAM_SHORT(-0.99)[-0.994]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:678:618::40:from]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[pwste.edu.pl:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:678:618::40:from:127.0.2.255]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2021 19:12:19 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rQ2X9RApXDv05WCn8Nn0dVsHtfd1cRCz8 Content-Type: multipart/mixed; boundary="0hAZYVfm9rpphK1hyCu0S8Ied0r5lVEIu"; protected-headers="v1" From: Marek Zarychta To: "freebsd-net@freebsd.org" Message-ID: <7d646c3c-9f9d-2490-f03b-2fabeb44d989@plan-b.pwste.edu.pl> Subject: Re: Some net.link.bridge entries in sysctl.conf appear ignored after upgrade to 13.0-RELEASE References: In-Reply-To: --0hAZYVfm9rpphK1hyCu0S8Ied0r5lVEIu Content-Type: text/plain; charset=utf-8 Content-Language: pl Content-Transfer-Encoding: quoted-printable W dniu 14.04.2021 o=C2=A016:22, Darryn Nicol pisze: > I have the following entries in /etc/sysctl.conf to facilitate the use = of > IPFW within VNET jails: >=20 > # Only pass IP packets when pfil is enabled > net.link.bridge.pfil_onlyip=3D0 > # Packet filter on the bridge interface > net.link.bridge.pfil_bridge=3D0 > # Packet filter on the member interface > net.link.bridge.pfil_member=3D0 >=20 > These worked fine in 12.2-RELEASE but since the upgrade after every reb= oot > these are all set to 1. If I set them manually they work, but are reset=20 to > 1 after another reboot. I have other entries in sysctl.conf that work, = did > these sysctls change in 13? >=20 Please try loading if_bridge from /boot/loader.conf to make it working. According to rcorder(8) it looks like /etc/rc.d/sysctl is executed prior to /etc/rc.d/kld. --=20 Marek Zarychta --0hAZYVfm9rpphK1hyCu0S8Ied0r5lVEIu-- --rQ2X9RApXDv05WCn8Nn0dVsHtfd1cRCz8 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEMOqvKm6wKvS1/ZeCdZ/s//1SjSwFAmB3PocFAwAAAAAACgkQdZ/s//1SjSx5 CQgAyqUyKuEaHy5Dq2QMtcKWiJCPCyP8yp1mh3nnf9cuypQ5yO/ih9zu1eYr5LVYKXDlUkqtcVL6 bMtnyxwRFoexCCpfKtJB1L1ycB/IldWmz8NKb2NHfzchFAxPMVkNweLwm1+5HumUfGuIwbhAJu4E EMlHyjS5Qwu0gCgQG2fIGZT8QqIuEN4/5rA7piCDNrlmdcU38ZoRh6guvOMuoM4yMTCXBK0o1Ihb mFTnNMqvw5PxmAEU13toDTDsZCsmY4WtXq6tOKCxz+PGIwwDs82LQUkBCWZY/IfcjLAoI2tzCJ5Y lY6fh2LLr0aS4ZbAu8UeyL+Et4ljanf/5iK2vEy04w== =37R/ -----END PGP SIGNATURE----- --rQ2X9RApXDv05WCn8Nn0dVsHtfd1cRCz8--