firewalld.icmptype — 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:
string
"To give the icmptype a version.
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.
bool
"Describes if the icmptype is available for IPv4.
bool
"Describes if the icmptype is available for IPv6.