Pared::Firewalld
Constants
IPv6 reverse path filtering is not a kernel sysctl: firewalld enforces RFC 3704 rules in its own nftables filter when IPv6_rpfilter is enabled. The setting is exposed as a string property on the config interface.
Well-known firewalld service catalog used by the packet tracer and the host exposure correlator to expand service names into port/protocol pairs.
Transport protocols accepted by firewalld port and rich-rule elements.
Class methods
Instance methods
Returns true when child (an IP address or CIDR network) is fully
contained within the parent CIDR network. Address families must match.
Returns true when two CIDR networks or addresses share any address space.
Renders the first detected conflict into a concise operator-facing warning suitable for flash messages, or nil when no conflict exists.
True when the string parses as a single IPv4/IPv6 address or CIDR network; used to validate operator input before evaluation.
Returns an error message when spec is not a single port or an ordered
low-high range within 1..65535.
Evaluates the raw rich rules already active in a zone against a candidate rule string, reporting any shadowing, contradictory, or duplicate conflicts that would prevent the candidate from evaluating as intended.
Returns an error message when name cannot be a firewalld service name.