FIREWALLD.ICMPTYPE(5)
π¦ NAME π¦
firewalld.icmptype β bestie, these are the firewalld icmptype configuration files. That's IT. That's the whole job. π
β¨ SYNOPSIS β¨
/etc/firewalld/icmptypes/icmptype.xml
/usr/lib/firewalld/icmptypes/icmptype.xml
πΈ DESCRIPTION πΈ
okay so real talk: a firewalld icmptype configuration file is literally just the file that hands firewalld all the info it needs about one Internet Control Message Protocol (ICMP) type. that's the vibe. π«Ά
here's what a config file looks like, structure-wise, so you can see the shape of it:
<?xml version="1.0" encoding="utf-8"?>
<icmptype>
<short>My Icmptype</short>
<description>description</description>
<destination ipv4="yes" ipv6="yes"/>
</icmptype>
π OPTIONS π
the config can contain these tags and attributes. some of them are mandatory, others are optional. no surprises, we love a clear contract. β¨
π icmptype
the mandatory icmptype start and end tag defines the icmptype. it can only show up once in an icmptype configuration file β one tag, one file, periodt. this tag has optional attributes:
version="string"β gives the icmptype a version. cute lil metadata moment. π·οΈ
π short
an optional start and end tag, and it's there to give an icmptype a more readable name. like a nickname but for your firewall config. π
π§ description
an optional start and end tag so you can have a description for a icmptype. write a lil something. future you will say thank you.
π destination
an optional empty-element tag, and it 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 β and in that case this tag can just be missing entirely. iconic default behaviour ngl.
ipv4="bool"β describes if the icmptype is available for IPv4.ipv6="bool"β describes if the icmptype is available for IPv6.
π SEE ALSO π
firewall-applet(1), firewalld(1), firewall-cmd(1), firewall-config(1), firewalld.conf(5), firewalld.direct(5), firewalld.dbus(5), firewalld.icmptype(5), firewall-offline-cmd(1), firewalld.richlanguage(5), firewalld.service(5), firewalld.zone(5), firewalld.zones(5), firewalld.policy(5), firewalld.policies(5), firewalld.ipset(5), firewalld.helper(5)
the whole friend group fr fr π«
π NOTES π
- firewalld home page:
http://firewalld.org
go say hi, it's giving main character energy.
π AUTHORS π
- Thomas Woerner
<twoerner@redhat.com>β Developer - Jiri Popelka
<jpopelka@redhat.com>β Developer - Eric Garver
<eric@garver.life>β Developer
the devs who made this whole thing happen. absolute legends, no cap. π
and that's a wrap, bestie!! this page came to you courtesy of firewalld 2.5.2, documented in FIREWALLD.ICMPTYPE(5) β go configure some icmptypes, you're gonna slay. π β¨π
π¦ where this page comes from
- arch rolling: firewalld 2.5.2-1 Β· GPL-2.0-or-later
- ubuntu stonking: firewalld 2.5.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms