MAC_IFOFF(4)
π NAME π
okay so bestie, this is mac_ifoff(4) from the Kernel Interfaces Manual β the interface silencing policy. It's giving network-traffic bouncer energy, and honestly? iconic. β¨
π¦ SYNOPSIS π¦
To compile the interface silencing policy into your kernel, place the following lines in your kernel configuration file:
options MAC
options MAC_IFOFF
Alternately, to load the interface silencing policy module at boot time, place the following line in your kernel configuration file:
options MAC
and in loader.conf(5):
mac_ifoff_load="YES"
πΈ DESCRIPTION πΈ
The mac_ifoff interface silencing module allows administrators to enable and disable incoming and outgoing data flow on system network interfaces via the sysctl(8) interface. Lowkey a whole traffic switch situation. π
- To disable network traffic over the loopback (
lo(4)) interface, set thesysctl(8)OIDsecurity.mac.ifoff.lo_enabledto0(default1). - To enable network traffic over other interfaces, set the
sysctl(8)OIDsecurity.mac.ifoff.other_enabledto1(default0). - To allow BPF traffic to be received, even while other traffic is disabled, set the
sysctl(8)OIDsecurity.mac.ifoff.bpfrecv_enabledto1(default0).
π Label Format π
No labels are defined. Zero. None. It's giving label-less realness, bestie. π
π₯ SEE ALSO π₯
Go read these too, fr fr:
mac(4)mac_bsdextended(4)mac_lomac(4)mac_mls(4)mac_none(4)mac_partition(4)mac_portacl(4)mac_seeotheruids(4)mac_test(4)mac(9)
π HISTORY π
The mac_ifoff policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project. Periodt. π
π«Ά AUTHORS π«Ά
This software was contributed to the FreeBSD Project by Network Associates Labs, the Security Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (βCBOSSβ), as part of the DARPA CHATS research program.
π BUGS π
π¨ real talk warning: While the MAC Framework design is intended to support the containment of the root user, not all attack channels are currently protected by entry point checks. As such, MAC Framework policies should not be relied on, in isolation, to protect against a malicious privileged user. π
kisses, this page is from Debian, dated July 25, 2015, and it's the MAC_IFOFF(4) manual page π
π«Ά
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2002 Networks Associates Technology, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms