Skip to content

RDKBACCL-1853 SSH not working - Ethernet Configurable WAN Interface I…#351

Open
anatar818 wants to merge 2 commits into
developfrom
anatar818-patch-1
Open

RDKBACCL-1853 SSH not working - Ethernet Configurable WAN Interface I…#351
anatar818 wants to merge 2 commits into
developfrom
anatar818-patch-1

Conversation

@anatar818

Copy link
Copy Markdown

…ntegration

SSH not working - Ethernet Configurable WAN Interface Integration Modified the code to make it more generic and allow customised wan interface for the configurable wan feature

…ntegration

SSH not working - Ethernet Configurable WAN Interface Integration
Modified the code to make it more generic and allow customised wan interface for the configurable wan feature
Copilot AI review requested due to automatic review settings June 19, 2026 10:39
@anatar818 anatar818 requested review from a team as code owners June 19, 2026 10:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the IPv4 firewall SSH (port 22) rule generation to support the “Ethernet Configurable WAN Interface” integration, so SSH filtering is applied on the appropriate WAN interface when the WAN interface name is customized at build-time.

Changes:

  • Updates the ETH WAN SSH rule selection logic under FEATURE_RDKB_CONFIGURABLE_WAN_INTERFACE to prefer the active/current WAN interface instead of forcing the default interface.
  • Adds conditional compilation around the SSH interface-selection check to preserve legacy behavior when the feature flag is not enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/firewall/firewall.c Outdated
Comment on lines +12482 to +12486
#ifdef FEATURE_RDKB_CONFIGURABLE_WAN_INTERFACE
if (strcmp(current_wan_ifname, default_wan_ifname ) != 0)
#else
if (strcmp(current_wan_ifname, default_wan_ifname ) == 0)
#endif
Copilot AI review requested due to automatic review settings June 22, 2026 07:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread source/firewall/firewall.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants