-
Notifications
You must be signed in to change notification settings - Fork 79
Fix various bugs CoPilot put into LXC. #1041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Soham Das (SohamDas2021)
merged 82 commits into
main
from
user/dahoehna/ci-lxc-bridge-netfilter
Sep 16, 2026
Merged
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
96ad57b
Give a v0.8 container that asks for no network no interface at all
dhoehna 3353de6
Revert the ingress header wording fix
dhoehna 686a468
Stop enabling bridge netfilter in the SDK integration job
dhoehna f380e03
Split the LXC network decision on the schema before anything else
dhoehna 846b6b1
Let a policy that permits nothing pass without a firewall chain
dhoehna c532a08
Stop loading br_netfilter for the LXC test lanes
dhoehna aa4d630
Enforce LXC egress in the container's namespace instead of host FORWARD
dhoehna ba9432e
Describe the enforcement point the LXC backend actually uses
dhoehna 21a97e0
Confirm the OUTPUT hook in the log and assert the leak it closed
dhoehna 16e4e8a
Let a filtered container reach its own loopback
dhoehna 5cc9afa
Reflow the error return the egress move left unformatted
dhoehna f0c3f1f
Correct the LXC backend document where it no longer matches the code
dhoehna 840750d
Apply this run's network policy to a container an earlier run left ru…
dhoehna 2dd0ba6
Pin the schema 0.8 omitted-network-section case with an E2E test
dhoehna a926451
Honor legacy network fields on a schema 0.8 request
dhoehna e42227f
Give back the network interface a previous run took away
dhoehna 8d19083
Name the rule the bridge resolver paragraph points back to
dhoehna 4cbe9b2
Drop the two paragraphs that document the change instead of the behavior
dhoehna 8cf8f97
Apply the no-interface network policy per run, not to the container
dhoehna e60b1b8
Kill a reused container instead of waiting a minute to restart it
dhoehna 7d9c86a
Say why a running container must be restarted, not how it used to be
dhoehna 6074222
Pin the rule that a no-interface container is never failed for its ad…
dhoehna 9b13de8
Pin that lxc-start receives the topology as per-run defines
dhoehna d03e1d8
Name the start overrides for what they override
dhoehna 6046e70
Name the start config for what it states, not what it replaces
dhoehna 8a0b1b4
Give lxc-start the network choice as a type, not a string bag
dhoehna 0410e99
Derive the tool name from the command instead of passing it alongside
dhoehna 27ced7c
Assert the whole lxc-start argv, not that its pieces are present
dhoehna 40e9f56
Plan LXC networking from the keys the config used, not its version
dhoehna aa45176
Enforce a legacy network policy that permits nothing
dhoehna 0ded8ce
Declare the network bindings where they are used
dhoehna ae598a4
Derive the network schema from the policy instead of storing it
dhoehna eb82db7
Say what the network and stop bindings are for
dhoehna 5cbda39
Format the network ingress and spec files
dhoehna 83bde16
Document the no-network topology and correct the proxy loopback table
dhoehna b451b0b
Wait for an address whenever the container is given an interface
dhoehna 98535b4
Take a failed OUTPUT hook back out before giving up its claim
dhoehna 1fc4747
Let a container renew its DHCP lease through a filtered chain
a1f865e
Stop a reused container inheriting an earlier run's mounts
98fbc31
Scope the DHCP exemption so it cannot carry ordinary egress
b382cc0
Merge remote-tracking branch 'origin/main' into user/dahoehna/ci-lxc-…
dhoehna fff1ce6
Enforce a named host list whatever mode the policy carries
dhoehna 5baabc0
Stop a reused container when network setup fails
dhoehna bf51b7c
Describe the egress hook point as OUTPUT, not FORWARD
dhoehna 803d50b
Test that a deny-all 0.8 request keeps container loopback
dhoehna c7bb5bd
Report a container release that fails instead of discarding it
dhoehna 60a2e73
Merge remote-tracking branch 'origin/main' into user/dahoehna/ci-lxc-…
dhoehna b69bd19
Stop a sandboxed workload reconfiguring its own network
dhoehna 6f9ba70
Prove the network-capability confinement from a Rust E2E test
dhoehna 5b02a3f
Assert only that the workload cannot reconfigure the network
dhoehna 2d86239
Read the capability mask where it is asserted
dhoehna 5a3b92a
Carry the capability as a yes or no
dhoehna 293292d
Cut the capability comments back to what the code cannot say
dhoehna 72f4201
Count blocked egress on the host instead of asking the container
dhoehna 4909c45
Cut history and a banner out of two comments
dhoehna 67d4cf4
Show what the network probe prints
dhoehna 43ad590
Lead the resolution-failure section with its precondition
dhoehna 3f664b2
Check every capability set, not just the effective one
dhoehna 6fcd658
Tag the counter rules so the test only touches its own
dhoehna ed0f6e9
Name the three things a failed readiness probe reports
dhoehna 43f65d2
Name the capability bypass where the egress limits are listed
dhoehna 9ccc902
Keep the networking internals high level
dhoehna 3f7248b
Measure the raw path instead of passing when it is absent
dhoehna bebe28e
Quarantine the raw egress test instead of gating on it
dhoehna 41717c7
Drop the DHCP client exemption from the egress chain
dhoehna 05ac955
Delete the unused set_config_item config-file writer
dhoehna bd54d1e
Name the mount-entry writer for what it gives the container
dhoehna e2b535c
Delete the test that gated on a bypass staying open
dhoehna 0dbcf1e
Name the capability step for what it protects
dhoehna 884e69d
Drop the dedicated capability test step
dhoehna f71a578
Cut the LXC backend doc to what a person needs to decide
dhoehna e6805a6
Delete comments that restate the code they sit above
dhoehna 9829541
Delete comments that restate the code across the LXC backend
dhoehna ef9a137
Tear down egress firewall debris when an apply fails under preservePo…
dhoehna 095bb0b
Give the kernel prerequisite a real floor
dhoehna 5272ec6
Merge remote-tracking branch 'origin/main' into user/dahoehna/ci-lxc-…
SohamDas2021 24884f5
Addressed PR comments
SohamDas2021 0fb24b9
Confine the workload only when a firewall is installed
SohamDas2021 ccd09c1
Merge remote-tracking branch 'origin/main' into user/dahoehna/ci-lxc-…
SohamDas2021 429188c
Merge remote-tracking branch 'origin/main' into user/dahoehna/ci-lxc-…
SohamDas2021 86db660
Own mounts by marker, and run the capability test in CI
SohamDas2021 c851dfc
Addresses pr comments
SohamDas2021 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.