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

icmp-type with limit Rich rule #238

Open
Phurion opened this issue Oct 23, 2019 · 1 comment
Open

icmp-type with limit Rich rule #238

Phurion opened this issue Oct 23, 2019 · 1 comment
Labels

Comments

@Phurion
Copy link
Contributor

Phurion commented Oct 23, 2019

I'm looking to be able to do what's below
firewall-cmd --permanent --add-rich-rule='rule family=ipv4 icmp-type name="destination-unreachable" limit value="20/s" accept'

Which looks like
rule family="ipv4" icmp-type name="destination-unreachable" accept limit value="20/s"

@Phurion
Copy link
Contributor Author

Phurion commented Oct 30, 2019

@alexjfisher I'm sure I can get this working with direct-rule. I would like to see something like

Rich-Rule { 'something':
icmp-type => 'destination-unreachable',
limit => '20/s'
}

or

Rich-Rule { 'something':
icmp-type => 'destination-unreachable',
limit => {
time => '20',
time_unit => 'seconds'
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants