Skip to content
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

MODULES-2769 - Add security table for iptables. #575

Merged
merged 1 commit into from
Nov 20, 2015

Conversation

werekraken
Copy link
Contributor

This fixes the following error when the built in "security" table is present.

Error: /Stage[main]/Profiles::Firewall::Stateless/Resources[firewallchain]: Failed to generate additional resources using 'generate': Parameter name failed on Firewallchain[INPUT:security:IPv4]: Inbuilt chains must be in the form {chain}:{table}:{protocol} where {table} is one of FILTER, NAT, MANGLE, RAW, RAWPOST, BROUTE or empty (alias for filter), chain can be anything without colons or one of PREROUTING, POSTROUTING, BROUTING, INPUT, FORWARD, OUTPUT for the inbuilt chains, and {protocol} being IPv4, IPv6, ethernet (ethernet bridging) got 'INPUT:security:IPv4' table:'' chain:'' protocol:''

The target system for this fix is CentOS 7, but it should be applicable to any system with a recent kernel/iptables.
https://lwn.net/Articles/267140/
http://www.netfilter.org/projects/iptables/files/changes-iptables-1.4.11.txt

@jonnytdevops
Copy link
Contributor

👍

@bmjen
Copy link
Contributor

bmjen commented Nov 20, 2015

Thanks @werekraken for the contribution! Thanks @jonnytpuppet for taking a look!

bmjen added a commit that referenced this pull request Nov 20, 2015
MODULES-2769 - Add security table for iptables.
@bmjen bmjen merged commit cc11896 into puppetlabs:master Nov 20, 2015
@werekraken werekraken deleted the security_table branch November 20, 2015 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants