diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2025-10-29 18:29:39 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2025-12-08 16:15:18 +0000 |
| commit | d9788eabffa4b67fc534685fc3d9b8e3334af196 (patch) | |
| tree | 4b76bfc9a7c2e603b2785d77e0e55fd3154a67cf /include/ranlib.h | |
| parent | 0f0662c6b4cc611d6e400f823656f908ffce5c04 (diff) | |
ipfilter: Restrict ipfilter within a jail
Add a sysctl/tunable (net.inet.ipf.jail_allowed) to control whether a
jail can manage its own ipfilter rules, pools, and settings. A jail's
control over its own ipfilter rules and settings may not be desireable.
The default is jail access to ipfilter is denied.
The host system can stil manage a jail's rules by attaching the rules,
using the on keyword, limiting the rule to the jail's interface. Or
the sysctl/tunable can be enabled to allow a jail control over its own
ipfilter rules and settings.
Implementation note: Rather than store the jail_allowed variable,
referenced by sysctl(9), in a global area, storing the variable in the
ipfilter softc is consistent with ipfilter's use of its softc.
Discussed with: emaste, jrm
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D53623
Diffstat (limited to 'include/ranlib.h')
0 files changed, 0 insertions, 0 deletions
