From 65ebfd9de601225b1fab19580cef85d80fce6988 Mon Sep 17 00:00:00 2001 From: Kilian Engelhardt Date: Fri, 13 Jul 2018 18:14:22 +0200 Subject: add proto_options to enable usage of icmp types --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9317a24..b4d0705 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,20 @@ The desired policy. Allowed values are Enum['ACCEPT','DROP', 'REJECT'] the protocol we would like to filter. Allowed values are Enum['icmp', 'tcp', 'udp'] +### `proto_options` + +The protocol options we would like to add. +The following example will suppress the hostname in programs like `traceroute`: +```yaml +--- +ferm::rules: + 'drop_output_traceroute': + chain: 'OUTPUT' + policy: 'DROP' + proto: 'icmp' + proto_options: 'icmp-type time-exceeded' +``` + #### `comment` A comment that will be written into the file and into ip(6)tables -- cgit v1.2.3