saltstack / saltstack/salt

[FEATURE REQUEST] firewalld policy

Open
#63,707 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature needs-triage
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

firewalld supports policies, which can manage inter-zone IP forwarding.
Configuration files are saved under /etc/firewalld/policies as XML.

For example,

xtex@nl-alk1 ~ % sudo firewall-offline-cmd --info-policy=dn42-forward
dn42-forward (active)
  priority: -1
  target: CONTINUE
  ingress-zones: dn42
  egress-zones: dn42
  services: 
  ports: 
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
        rule family="ipv4" destination ipset="dn42-v4" accept
        rule family="ipv6" destination ipset="dn42-v6" accept
        rule family="ipv4" source ipset="dn42-v4" accept
        rule family="ipv6" source ipset="dn42-v6" accept

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names firewalld policy XML under /etc/firewalld/policies and shows firewall-offline-cmd --info-policy output, but no Salt files or tests. Start by locating Salt's existing firewalld support and comparing its interfaces with policy configuration; done means firewalld policies can be managed through Salt with behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
infrastructure, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.