Firewalld icmptype configuration files
/etc/firewalld/icmptypes/icmptype.xml /usr/lib/firewalld/icmptypes/icmptype.xml
A firewalld icmptype configuration file provides the information for an Internet Control Message Protocol (ICMP) type for firewalld.
This example configuration file shows the structure of an icmptype configuration file:
<?xml version="1.0" encoding="utf-8"?> <icmptype> <short>My Icmptype</short> <description>description</description> <destination ipv4="yes" ipv6="yes"/> </icmptype>
The config can contain these tags and attributes. Some of them are mandatory, others optional.
The mandatory icmptype start and end tag defines the icmptype. This tag can only be used once in an icmptype configuration file. This tag has optional attributes:
version="string"
To give the icmptype a version.
Is an optional start and end tag and is used to give an icmptype a more readable name.
Is an optional start and end tag to have a description for a icmptype.
Is an optional empty-element tag and can be used only once. The destination tag specifies if an icmptype entry is available for IPv4 and/or IPv6. The default is IPv4 and IPv6, where this tag can be missing.
ipv4="bool"
Describes if the icmptype is available for IPv4.
ipv6="bool"
Describes if the icmptype is available for IPv6.
firewalld home page:
\m[blue]http://www.firewalld.org\m[]
More documentation with examples:
\m[blue]http://fedoraproject.org/wiki/FirewallD\m[]