Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/pf.4
Show All 20 Lines | |||||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.Dd October 20, 2023 | .Dd September 4, 2024 | ||||
.Dt PF 4 | .Dt PF 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm pf | .Nm pf | ||||
.Nd packet filter | .Nd packet filter | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Cd "device pf" | .Cd "device pf" | ||||
.Cd "options PF_DEFAULT_TO_DROP" | .Cd "options PF_DEFAULT_TO_DROP" | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
tunables are available. | tunables are available. | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Va net.pf.states_hashsize | .It Va net.pf.states_hashsize | ||||
Size of hash tables that store states. | Size of hash tables that store states. | ||||
Should be power of 2. | Should be power of 2. | ||||
Default value is 131072. | Default value is 131072. | ||||
.It Va net.pf.source_nodes_hashsize | .It Va net.pf.source_nodes_hashsize | ||||
Size of hash table that store source nodes. | Size of hash table that store source nodes. | ||||
Should be power of 2. | |||||
Default value is 32768. | |||||
.It Va net.pf.udpendpoint_hashsize | |||||
Size of hash table that store UDP endpoint mappings. | |||||
Should be power of 2. | Should be power of 2. | ||||
Default value is 32768. | Default value is 32768. | ||||
.It Va net.pf.default_to_drop | .It Va net.pf.default_to_drop | ||||
This value overrides | This value overrides | ||||
.Cd "options PF_DEFAULT_TO_DROP" | .Cd "options PF_DEFAULT_TO_DROP" | ||||
from kernel configuration file. | from kernel configuration file. | ||||
.El | .El | ||||
.Pp | .Pp | ||||
▲ Show 20 Lines • Show All 1,136 Lines • Show Last 20 Lines |