Skip to content

Conversation

@gcoxmoz
Copy link
Contributor

@gcoxmoz gcoxmoz commented Mar 8, 2024

Summary

Allows --reject-with tcp-reset. This was allowed before the 7.0 rewrite, but lost and a regression introduced in that cutover.

tcp-reset is allowed (man 8 iptables-extensions) since ancient kernel 2.6.14, and is valid on TCP-matching rules. There's no "you can only do this on TCP rules" limitation included in this PR, as it's valid to do (INPUT rule that matches TCP should jump to Xchain) -> (Xchain does a reject without declaring/knowing that it's TCP).

Additional Context

Related Issues (if any)

Resolves #1184

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@gcoxmoz gcoxmoz requested a review from a team as a code owner March 8, 2024 22:44
@praj1001 praj1001 merged commit dca6c22 into puppetlabs:main Nov 25, 2024
50 checks passed
@gcoxmoz gcoxmoz deleted the tcp-reset branch November 25, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow --reject-with tcp-reset for TCP rules

3 participants