From nobody Wed Jul 12 18:05:32 2023 X-Original-To: freebsd-hackers@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 4R1Qdq5m8nz4ml5F for ; Wed, 12 Jul 2023 18:05:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R1Qdq3z7Bz4TxZ; Wed, 12 Jul 2023 18:05:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689185151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ub4352azCXRPeIYopC9XKIVQzX1PiIOnCLI94kguiCI=; b=ygDlMkAANNrYOB8bVHwDvMyp8BVpfjvx04kcUYJ/zf0xHxPYv2pr02u2Oheg3mNtTd2Wgn c363b1ZKRCOPoZtT8PWcYQtx30za6sd87uH7vzxOJkcgNyZ8wR7rlRweZQcaxclD9xPyBK 55/anKSs4pIaH2iS/63yKfEaX9kaJkWZv31pX0SwftWm7hfbn7HWP/Yhq8BKkQQSoMslMl U4a9TFV4E1zhoBycP/vuh8DqytEwI8Y9ReuL26WW59m8tqhFYIaJAt7fnPY9OTjACSCyFU J0TNafuEG60tLmnpa32wy50QQItikvebn0NSpcmrAwYrQBi1BMXUkK0gZS8YHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689185151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ub4352azCXRPeIYopC9XKIVQzX1PiIOnCLI94kguiCI=; b=xyw5vAsd4xz0op4Cqo0TO4QtFfGVuagJopKyhVblntvdqQHKyxdKjxg8mfpGxzPWFy+SVC ZhDqA/tmVSAzqLjs4rKx/2Bkg1SNXMdoZHVwuTpOL+c2yxIg4oFUlOibmswwRy4YinPa/S B+0FnoBWsdudljriGjESihksqDc6wLELL5AiAwCBHwpmokgsK1+OXAGyrw0qmxnHhutV9J 4vCO8d5fPV9x01Teh1JnA4RqT0tk9QDezANZR8FBWIKsI+S84aPE8HKE25Zlg0aU2FI14M p1nvP6NDi30unXejO7Uga5DPR3m8L1bUXLpqlEmHQw8je5ZZmYdnDkhqiFhk5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689185151; a=rsa-sha256; cv=none; b=W4OPi0FyOK1x+RD8xd43nw50saZXI7e3IKCnGKyeGtf0v73KnQ1BrsnWApC8ktDEeT77Ts hj0cKVi74GhWeyDLNMT1L99xzLyXW5es7GtgGSCbXufaFiLNfosjcISj6Dti0iix48i0MM 053mYF07g+4bInPNiArhAkmK7SjEXzBl31Poxkylb5scPEE+EjqEODyRox2ypSspxMp6lh 3kuPrnWAEFOsmEMRdl0m+Wiq6z8Lw0KjqhM93gPsgX1oGzQrfWaFeIE0lsiK9ma9c+SVjp oEGM7Sg/30a7835HsdBaKkIHW6QciblXR6LYLSvJYeCDO4sY8jppickQa+OCJQ== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4R1Qdq2JPnzyWB; Wed, 12 Jul 2023 18:05:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 909C750FEE; Wed, 12 Jul 2023 20:05:48 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_1701F926-8F93-49C5-A555-0BEAA1E950A0"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: dis/advantages of compiling in-kernel over kldload From: Dimitry Andric In-Reply-To: Date: Wed, 12 Jul 2023 20:05:32 +0200 Cc: freebsd-hackers@freebsd.org Message-Id: References: To: void X-Mailer: Apple Mail (2.3731.600.7) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_1701F926-8F93-49C5-A555-0BEAA1E950A0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 12 Jul 2023, at 19:58, void wrote: > > On Wed, Jul 12, 2023 at 11:53:32AM -0600, Warner Losh wrote: > >> Yes. pf_enable=YES will load it as a side effect when it configures >> pf, but isn't primarily to load it as a module. But if it's in the kernel, >> you still need to configure pf on boot (or some time later). > > But if pf is already configured in /etc/pf.conf, is pf_enable=YES still > required in /etc/rc.conf ? Yes. The rc.conf setting is needed for /etc/rc.d/pf, which is the command script responsible for bringing pf up (or down). -Dimitry --Apple-Mail=_1701F926-8F93-49C5-A555-0BEAA1E950A0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZK7rbQAKCRCwXqMKLiCW o808AKDgKgRvm23OvRfgM8cznCoMr102ZQCdFyFc8L89RJjevDej0bixp5Lfts8= =2Qlt -----END PGP SIGNATURE----- --Apple-Mail=_1701F926-8F93-49C5-A555-0BEAA1E950A0--