From owner-freebsd-net@freebsd.org Thu Apr 15 09:38:47 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 5FFF85E8800 for ; Thu, 15 Apr 2021 09:38:47 +0000 (UTC) (envelope-from darryn.nicol@gmail.com) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLZ6G4p2Mz3PYF for ; Thu, 15 Apr 2021 09:38:46 +0000 (UTC) (envelope-from darryn.nicol@gmail.com) Received: by mail-il1-x132.google.com with SMTP id p15so8742047iln.3 for ; Thu, 15 Apr 2021 02:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=eZjX3Dt/YpfjS/LQHaCADCVE6zUCwCGvEztWrAEQsok=; b=X6tuwxDzTinfqM+jkuBNKR4jdHe6p9S/QatFmzdbUp/9aoRNfvb9yY4Ka7tnUs70VS tjquR1JTRzIYughTocc1YY2ZyPmcxu/QDYpUZbB0+Dx1yOLVnkaU53pgiMB4zg6zYRhO 9WW38XgyhLmu6egsi3fTtNh4vlcg8ZB+Q/hZLbu71mvRvnxt5wIzMgSCyJQxchBlrGm8 XAlD/fuEmTEZo4m0gK1odlkRTlgw6ehwhakYlvW0M3I2dZN3PcpRBEzgMRAA4hoQbg13 OXZFyYDwDbWtueBOuIL1cxTaAuJhzVfz273HNsUDLddx70+uVZPcRgTJs5ZxxyyqCU+q vSqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eZjX3Dt/YpfjS/LQHaCADCVE6zUCwCGvEztWrAEQsok=; b=OJ15jWYMwdyCUCBWjJYOXHvJ1m0rxzhyW84YRNDnuzcUizBzkvcp1XhmMj8XCM4qqG +fbE2ReZwsNONG9JyVLVO+/HunFp8sSO7N/OvWvEs5UZ/VqDCxviddoNXyw6PRa59VqT agWGagUTnSLpzH9YMZz034P/UbY5qe/vkIvWsDGf6dLKQlsX7joGpkBALhWKc+Dw4wiM zkA5w4W7QzFvS+eW4O6BGYfUuN8YBYg4lZINqMLLIJ7TyQ+imsRUNicFSJ3U2jkiKZhm wHo/3VwfYFEe0GyLlprUJyZJ7seHeziGZFoaTxqWMt+dA6dR/QekZXK9KiDgmSHOgtS9 kE1A== X-Gm-Message-State: AOAM532J7W0mBYYgfJfHBaifayVbvc/uW8+VHw6bxgUVAq/QSr8jKP74 jVhNj+8qCL6TaFLRTrwiqYui5ub97s/qu79te1XEj4yc65WbLQ== X-Google-Smtp-Source: ABdhPJzCEwjoHgtdHlWTHOQ3cAxlKATzDkQba0cqJRWhD3MiN6tHqbVKSFXLxS4NDXm4z4BWbArJommLbvpxtVaP1so= X-Received: by 2002:a05:6e02:8c:: with SMTP id l12mr2025722ilm.290.1618479525110; Thu, 15 Apr 2021 02:38:45 -0700 (PDT) MIME-Version: 1.0 From: Darryn Nicol Date: Thu, 15 Apr 2021 10:38:33 +0100 Message-ID: Subject: Re: Some net.link.bridge entries in sysctl.conf appear ignored after upgrade to 13.0-RELEASE To: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 4FLZ6G4p2Mz3PYF X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=X6tuwxDz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of darrynnicol@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=darrynnicol@gmail.com X-Spamd-Result: default: False [-1.03 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::132:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.990]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::132:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.96)[0.965]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::132:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-Mailman-Approved-At: Thu, 15 Apr 2021 16:54:34 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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: Thu, 15 Apr 2021 09:38:47 -0000 >>* I have the following entries in /etc/sysctl.conf to facilitate the use of *>>* IPFW within VNET jails: *>> >>* # Only pass IP packets when pfil is enabled *>>* net.link.bridge.pfil_onlyip=0 *>>* # Packet filter on the bridge interface *>>* net.link.bridge.pfil_bridge=0 *>>* # Packet filter on the member interface *>>* net.link.bridge.pfil_member=0 *>> >>* These worked fine in 12.2-RELEASE but since the upgrade after every reboot *>>* these are all set to 1. If I set them manually they work, but are reset *to >>* 1 after another reboot. I have other entries in sysctl.conf that work, did *>>* these sysctls change in 13? *>> >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. Thank you, it's working now.