RDKB-66917 : [MNGVULN] Remediation of managed vulnerabilities in firewall - #434
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Build guards, one-way nftables filtering, and hard-coded /24 prefixes leave security gaps.
Review effort: Balanced
Findings: 2
Open (3)
What changed in this PR
Adds dynamic isolation rules for LAN bridges across iptables and nftables backends.
Changes:
- Generates LAN-to-self isolation chains dynamically.
- Adds cross-bridge forwarding drops.
- Removes several hard-coded destination rules.
| File | Description |
|---|---|
source/firewall/firewall.c |
Adds iptables bridge isolation rules. |
source/firewall_nft/firewall_nft.c |
Adds nftables LAN-to-self isolation rules. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
snayak002c
approved these changes
Oct 1, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.


Reason for change: Added rules that are required for lan2self_isolatedBridges.
Test Procedure: To validate the testcases required for this rule created.
Risks: Medium
Priority: P1