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 🌟

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