Project

General

Profile

Bug #11184

PF: State policy cannot be configurable

Added by Yannis Planus 3 months ago. Updated 27 days ago.

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

0%

Estimated time:
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?

History

#1 Updated by Yannis Planus 27 days ago

Hello,

Do you have any news about this patch?

Thank you

Also available in: Atom PDF