Skip to content

eBPF-based security platform

713 B
Raw Blame
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2026 Authors of shirudo
#
# The rules of each sandbox the Beefile declares as a policy. README.md
# describes the keys.

[networks]
localnet = [
	"127.0.0.0/8",
	"10.0.0.0/8",
	"172.16.0.0/12",
	"192.168.0.0/16",
	"169.254.0.0/16",
	"::1/128",
	"fc00::/7",
	"fe80::/10",
]

[sandbox.apache]
exec = []
network = ["@localnet"]

[sandbox.apache.deny]
create = ["*.php"]
rename = ["*.php"]
write = ["*.php"]

[sandbox.php-fpm]
exec = []
network = ["@localnet"]

[sandbox.php-fpm.deny]
create = ["*.php", "*.phar", "*.phtml", "*.pht", "*.php?"]
rename = ["*.php", "*.phar", "*.phtml", "*.pht", "*.php?"]
write = ["*.php", "*.phar", "*.phtml", "*.pht", "*.php?"]