Project

General

Profile

Actions

Bug #11184

open

PF: State policy cannot be configurable

Added by Yannis Planus about 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
FreeBSD
Target version:
-
Start date:
12/22/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
All

Description

Hello,

When trying to set PF state policy to "if-bound" instead of "floating", I saw that this parameter had no effect. After some research, I found this patch:
https://github.com/pfsense/FreeBSD-src/commit/9712a28f08aae88972c0b837e5ad28bde30089de

Why the state policy is forced to "floating" instead of using the configuration file? (floating policy is the default one)
Moreover, in this patch, the first part force the state policy to "if-bound":
#define BOUND_IFACE(r, k) k
The second part force the state policy to "floating" by removing the if statement. It is not really coherent.

Is it possible to remove this patch?

Actions

Also available in: Atom PDF