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
{{ message }}
Repository navigation
Commit 7c06aec
Browse filesBrowse the repository at this point in the historyBrowse files
fix(supervisor): quote nft log prefix in bypass rules
The log prefix value passed to nft contains colons (e.g.
openshell:bypass:sandbox-cc817378:) but was not wrapped in double
quotes. Since nft concatenates argv entries and parses the result,
the bare colons cause a syntax error that silently prevents all
bypass-attempt LOG rules from installing.
Wrap log prefix values in nft-quoted strings via a new nft_quote()
helper that also escapes internal backslashes and double quotes.
All four log-rule generation sites (TCP and UDP, for both per-sandbox
and sidecar rulesets) are updated.
FixesNVIDIA#2470
Signed-off-by: Grace Smith <[email protected]>
Signed-off-by: Grace Smith <[email protected]>
0 commit comments