ThreeGate/infra/seccomp/monty-no-network.json

32 lines
671 B
JSON

{
"defaultAction": "SCMP_ACT_ALLOW",
"archMap": [
{ "architecture": "SCMP_ARCH_X86_64", "subArchitectures": ["SCMP_ARCH_X86", "SCMP_ARCH_X32"] },
{ "architecture": "SCMP_ARCH_AARCH64", "subArchitectures": ["SCMP_ARCH_ARM"] }
],
"syscalls": [
{
"names": [
"socket",
"socketpair",
"connect",
"accept",
"accept4",
"bind",
"listen",
"getsockname",
"getpeername",
"getsockopt",
"setsockopt",
"shutdown",
"sendto",
"recvfrom",
"sendmsg",
"recvmsg"
],
"action": "SCMP_ACT_ERRNO",
"errnoRet": 1
}
]
}