Code: Select all
CentOS 8.1-1911# rpm -q firewalld
firewalld-0.7.0-5.el8.noarch
chain filter_INPUT {
type filter hook input priority 10; policy accept;
ct state established,related accept
ct status dnat accept
iifname "lo" accept
jump filter_INPUT_ZONES
ct state invalid drop
reject with icmpx type admin-prohibited
}
chain filter_INPUT_ZONES {
ip saddr 192.168.1.2 goto filter_IN_ssh
iifname "enp0s3" goto filter_IN_public
goto filter_IN_public
}
Code: Select all
CentOS 8.0-1905# rpm -q firewalld
firewalld-0.6.3-7.el8.noarch
chain filter_INPUT {
type filter hook input priority 10; policy accept;
ct state established,related accept
iifname "lo" accept
jump filter_INPUT_ZONES_SOURCE
jump filter_INPUT_ZONES
ct state invalid drop
reject with icmpx type admin-prohibited
}
chain filter_INPUT_ZONES_SOURCE {
ip saddr 192.168.1.2 goto filter_IN_internal
}
chain filter_INPUT_ZONES {
iifname "enp3s0" goto filter_IN_public
goto filter_IN_public
}
Code: Select all
* Tue Aug 13 2019 Eric Garver <egarver@redhat.com> - 0.7.0-5
- bump nftables version requirements
* Tue Aug 06 2019 Eric Garver <egarver@redhat.com> - 0.7.0-4
- backport patches to sort source-based zone dispatch by zone name
* Tue Jul 23 2019 Eric Garver <egarver@redhat.com> - 0.7.0-3
- backport patch to show service includes in service output
- backport patches to fix dbus API break
* Thu Jun 13 2019 Eric Garver <egarver@redhat.com> - 0.7.0-2
- package rebuild
* Wed Jun 12 2019 Eric Garver <egarver@redhat.com> - 0.7.0-1
- rebase to v0.7.0
* Sun Jan 13 2019 Eric Garver <egarver@redhat.com> - 0.6.3-7
- firewalld-0.6 had a separate INPUT_ZONES_SOURCE.
You had internal in there. Internal did not handle every packet.
The fall-through packets continued from INPUT, where the next rule is INPUT_ZONES and IN_public within it. - firewalld-0.7 has both source-based zones and interface-based zones in the INPUT_ZONES.
The fall-through packets continue from INPUT, skipping all other zones.
I don't think that there were nor are a bug in this. Rather that upstream decided to improve their design with the 0.7.