Skip to content

[server] Run CMD_CYCLE_* for all ports embedded within SPA#386

Open
tofurky wants to merge 1 commit intomrash:masterfrom
tofurky:cmd_cycle_multiple_ports
Open

[server] Run CMD_CYCLE_* for all ports embedded within SPA#386
tofurky wants to merge 1 commit intomrash:masterfrom
tofurky:cmd_cycle_multiple_ports

Conversation

@tofurky
Copy link
Copy Markdown

@tofurky tofurky commented Feb 24, 2026

Per the existing comment "We only look at the first port/proto combination", this limitation was acknowledged, but it's straightforward enough to iterate through each port/proto and run the command for each.

This allows externally calling e.g. 'nft' to have closer parity to natively supported firewalls.

Also, add a new test that opens multiple ports/protocols to verify the changes.

Fixes #327.

Per the existing comment "We only look at the first port/proto
combination", this limitation was acknowledged, but it's straightforward
enough to iterate through each port/proto and run the command for each.

This allows externally calling e.g. 'nft' to have closer parity to
natively supported firewalls.

Also, add a new test that opens multiple ports/protocols to verify the
changes.

Fixes mrash#327.
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.

CMD_CYCLE_OPEN for multiple ports

1 participant