NetworkMode
Run commands and agent-written programs inside an operating-system boundary. See the guide.
-
class zett_agent.sandbox.policy.NetworkMode(*values)[源代码]
How much of the network a sandboxed process can reach.
-
NONE = 'none'
No network at all. Nothing can connect out, and nothing can connect in.
-
FULL = 'full'
Unrestricted network. Filtering by host needs a proxy and is not offered.