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

Add proto_options to enable usage of icmp types #20

Conversation

kBite
Copy link
Contributor

@kBite kBite commented Jul 13, 2018

Adding proto_options covers use cases which require more protocol info than just tcp, udp, or icmp. The following example will suppress the hostname in programs like traceroute:

---
ferm::rules:
  'drop_output_traceroute':
    chain: 'OUTPUT'
    policy: 'DROP'
    proto: 'icmp'
    proto_options: 'icmp-type time-exceeded'

@kBite kBite force-pushed the add-protocol-suffix-to-enable-usage-of-icmp-types branch 2 times, most recently from abce2f2 to 9b1f43e Compare July 13, 2018 16:42
@bastelfreak bastelfreak force-pushed the add-protocol-suffix-to-enable-usage-of-icmp-types branch from 9b1f43e to 65ebfd9 Compare July 13, 2018 16:54
@bastelfreak bastelfreak added the enhancement New feature or request label Jul 13, 2018
@bastelfreak
Copy link
Member

Thanks for the PR @kBite !

@bastelfreak bastelfreak merged commit d98f270 into voxpupuli:master Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants