docs: RFC for seccomp-notify network enforcement#14
Closed
Ladas wants to merge 1 commit into
Closed
Conversation
Design proposal for kernel-level domain/IP filtering using SECCOMP_RET_USER_NOTIF. Alternative to Landlock TCP port restriction for standalone deployments without a proxy. Implementation: ~300-500 LOC, 2-3 weeks. All kernel features available on RHEL 9 / OpenShift 4.18. Ref: NVIDIA#899
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Design-only RFC for kernel-level domain/IP filtering using seccomp-notify
(
SECCOMP_RET_USER_NOTIF). The supervisor interceptsconnect()at thesyscall dispatch boundary, evaluates against a DNS-pinned allowlist, and
performs on-behalf-of operations via
pidfd_getfd().This is a design document, not an implementation. The RFC lives at
docs/rfcs/seccomp-notify-network-enforcement.md.Relationship to other PRs
These are complementary, not competing. Landlock port restriction forces traffic
through the proxy. seccomp-notify provides domain filtering at the syscall level
when no proxy is available.
Effort estimate
~300-500 LOC, 2-3 weeks for implementation (separate PR).
Assisted-By: Claude Code