You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sandbox): Landlock TCP port restriction in Platform mode
Add Landlock ABI v4 TCP connect restriction for Platform mode. When the
kernel supports ABI v4, only the proxy port (default 3128) is allowed
for outbound TCP connections. On older kernels, BestEffort compat level
silently degrades -- the rule has no effect but the proxy still works
cooperatively.
Both handle_access(ConnectTcp) and add_rule(NetPort) use the ? operator
since BestEffort guarantees they succeed on all kernel versions.
Signed-off-by: Ladislav Smola <lsmola@redhat.com>
0 commit comments