This tool adds rules to the macOS pf
firewall. The pf
firewall has no UI other than pfctl
so it works well for fleet-wide low-level security purposes.
Rules are embedded in the file Sources/llfw/Ruleset.swift
engage
- ifllfw
isn't disabled, will create or overwrite the rule file and load it intopf
. It will also retainpf
and store the token value at/Library/Application Support/llfw/pfReferenceToken
disable
will unload these rules, release our claim onpf
if we had one, and create a touchfile that deactivates futureenagage
commands. The touchfile is/Library/Application Support/llfw/doNotLoadLLFWRules
enable
removes the touchfile/Library/Application Support/llfw/doNotLoadLLFWRules