network: explicitly allow icmp/icmpv6 in libvirt zonefile
network: explicitly allow icmp/icmpv6 in libvirt zonefile

The libvirt zonefile for firewalld (added in commit 3b71f2e4) does the
following:

1) lists specific services it wants to allow, then

2) uses a lower priority <reject/> rule to block all other services to
   the host, and then finally,

3) relies on the zone's default "accept" policy to, accept all
   forwarded traffic (since forwarded traffic is ignored by the
   slightly higher priority <reject/> rule in (2)).

I had assumed that icmp traffic was either being allowed at the top of
the rules, or that it would be ignored by the <reject/> rule and
passed by the default accept policy (similar to forwarded traffic),
but this assumption was incorrect; the <reject/> rule does block icmp
traffic. This became apparent when DHCPv6 which requires ICMPv6 in
addition to udp/dhcpv6) failed to work.

This all means that in order to achieve our original goal of "similar
behavior to a default reject policy, but also allowing forwarded
traffic", we need to add rules to allow all icmp and icmpv6 traffic to
the libvirt zone, and that's what this patch does.

This is a further refinement of the resolution to
https://bugzilla.redhat.com/1650320

Signed-off-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@laine.org>
Acked-by: Eric Garver <96f164ad4d9b2b0dacf8ebee2bb1eeb3aa69adf1@garver.life>

zippy2/libvirt,eskultety/libvirt,jfehlig/libvirt,nertpinx/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,olafhering/libvirt,nertpinx/libvirt,eskultety/libvirt,andreabolognani/libvirt,olafhering/libvirt,olafhering/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,eskultety/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,crobinso/libvirt,fabianfreyer/libvirt,libvirt/libvirt,fabianfreyer/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,libvirt/libvirt,jardasgit/libvirt,eskultety/libvirt,jfehlig/libvirt,nertpinx/libvirt,eskultety/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,zippy2/libvirt,zippy2/libvirt,jardasgit/libvirt,jardasgit/libvirt,jardasgit/libvirt,olafhering/libvirt