Menu

#5392 Several FirewallD module bugs/inconsistencies

1.950
open
nobody
None
5
2020-07-29
2020-07-27
sputnik0
No

Hello,

I've found that the FirewallD module contains a few bugs and/or inconsistensies.

First, when a zone contains at least one source ip, the zone is in active use by FirewallD. This source adress is not reported in the module. Also, the module reports there are not open ports or services for that zone. This is not true as all traffic allowed from the defined source(s).

Lastly, to me it's unclear what the green "change" button does. Changing the zone in the pull down menu already triggers a pageload to the selected zone.

FirewallD output below and module output on "trusted" zone.

root@dexter:~# firewall-cmd --zone=trusted --list-all
trusted (active)
target: ACCEPT
icmp-block-inversion: no
interfaces:
sources: xx.xx.xx.155 [redacted]
services:
ports:
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:

root@dexter:~# firewall-cmd --get-active-zones
public
interfaces: eth0
trusted
sources: xx.xx.xx.155 [redacted]

Thank you for reading. If there's anything I can do to help, please let me know!

1 Attachments

Discussion

  • Ilia

    Ilia - 2020-07-28

    First, when a zone contains at least one source ip, the zone is in active use by FirewallD.

    Reach rules are not supported yet.

    Also, the module reports there are not open ports or services for that zone.

    That works for me for default (public by default) zone.

    it's unclear what the green "change" button does.

    Yes, this button is redundant, we'll fix it.

     
  • Ilia

    Ilia - 2020-07-28

    Change button will not be shown anymore.

     
  • sputnik0

    sputnik0 - 2020-07-29

    Ilia, thank you for responding so quickly.

    Reach rules are not supported yet.

    I'm assuming you mean rich rules? This is not the case. The trusted zone is empty with no services or ports defined. It has a default target "ACCEPT". The zone is disabled by default but becomes active once you add a source ip. Because of this, the statement that there are no open ports or services on that zone is also false because all traffic is accepted from the source address once it is defined.

     

Log in to post a comment.

Auth0 Logo