Skip to content

feat(network): GNOME OS firewall zone and fallback DNS, as on Dakota - #1273

Closed
hanthor wants to merge 1 commit into
feat/dakota-image-alignmentfrom
feat/dakota-firewall-dns
Closed

hanthor wants to merge 1 commit into
feat/dakota-image-alignmentfrom
feat/dakota-firewall-dns

Conversation

@hanthor

@hanthor hanthor commented Nov 16, 2026

Copy link
Copy Markdown
Member

Part 8/8 of the Dakota parity stack (epic #1236). Base: feat/dakota-image-alignment (#1254).

Depends on projectbluefin/utah-packages#1018 (gnome-os-config subpackages, including the fallback-DNS subpackage added in its second commit) and a PACKAGE_IMAGE_SHA bump that publishes them.

Dakota inherits two network defaults from gnome-build-meta that Utah
lacked:

  • firewall: gnomeos-deps/firewalld.bst ships the lax zone (ssh, mDNS,
    Samba client, DHCPv6 client, TCP/UDP 1025-65535, forwarding) and
    edits firewalld.conf to DefaultZone=lax, IPv6_rpfilter=loose. Utah
    defaulted to public with strict rpfilter, which blocked GSConnect,
    Steam and LAN games. gnome-os-config-firewalld ships the zone;
    configure-services.sh applies the two edits through firewalld's
    variant symlink.
  • fallback DNS: core-deps/systemd-base.bst compiles Cloudflare's
    resolvers into systemd-resolved; Fedora's build has none.
    gnome-os-config-resolved-fallback-dns carries the same list as a
    resolved.conf.d drop-in.

Both subpackages come from projectbluefin/utah-packages#1018, so the
image build needs a PACKAGE_IMAGE_SHA that publishes them. Verified on
the Hummingbird base: firewall-offline-cmd reports lax as the default
zone, with 1025-65535/tcp+udp open, and the symlink is kept.

just check passes (1,330 tests). The new sandbox test pins the lax default and the kept symlink. No image build yet.

Dakota inherits two network defaults from gnome-build-meta that Utah
lacked:

- firewall: gnomeos-deps/firewalld.bst ships the lax zone (ssh, mDNS,
  Samba client, DHCPv6 client, TCP/UDP 1025-65535, forwarding) and
  edits firewalld.conf to DefaultZone=lax, IPv6_rpfilter=loose. Utah
  defaulted to public with strict rpfilter, which blocked GSConnect,
  Steam and LAN games. gnome-os-config-firewalld ships the zone;
  configure-services.sh applies the two edits through firewalld's
  variant symlink.
- fallback DNS: core-deps/systemd-base.bst compiles Cloudflare's
  resolvers into systemd-resolved; Fedora's build has none.
  gnome-os-config-resolved-fallback-dns carries the same list as a
  resolved.conf.d drop-in.

Both subpackages come from projectbluefin/utah-packages#1018, so the
image build needs a PACKAGE_IMAGE_SHA that publishes them. Verified on
the Hummingbird base: firewall-offline-cmd reports lax as the default
zone, with 1025-65535/tcp+udp open, and the symlink is kept.

Assisted-by: Claude Opus via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danathar, hanthor

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hivecommons-hive hivecommons-hive Bot added author/clanker A contributor's own hive authored this PR under their login no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) labels Nov 16, 2026

@Danathar Danathar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stand-in review (the hive's reviewers are out of quota). Approving. This needs a clear release note, because it changes Utah's inbound firewall default.

Checked:

  • lax.xml at gnome-build-meta 8a89846 allows ssh, mdns, samba-client and dhcpv6-client, TCP and UDP 1025-65535, and <forward/>. gnomeos-deps/firewalld.bst makes it the default zone and sets IPv6_rpfilter=loose, which are exactly the two edits configure-services.sh makes (with --follow-symlinks, a test -f for the zone, and grep -qx checks afterwards).
  • That's the same shape as Fedora Workstation's long-standing default zone, so Bluefin users already have it. It's looser than Utah's current public default, which is the point: GSConnect, Steam and LAN games.
  • ssh in the zone changes nothing by default, because published images keep sshd.service disabled (configure-services.sh:319-328, only on ENABLE_SSHD=1).
  • Fallback DNS comes from gnome-os-config-resolved-fallback-dns (utah-packages#1018, re-checked there: Cloudflare's four resolvers, used only when no link or global DNS is set).

Depends on: utah-packages#1018 publishing and a factory pin bump; test -f /usr/lib/firewalld/zones/lax.xml fails the build until then. Plus the stack's contract blocker (#1243).

Release notes: the default firewall zone is now lax. It allows inbound connections on ports 1025-65535 on every network, which is what lets GSConnect, Steam and LAN games work, and is the same as Fedora Workstation, Bluefin and Dakota. Fallback DNS is Cloudflare when no network supplies a DNS server.

@hivecommons-hive hivecommons-hive Bot added role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 16, 2026
@hivecommons-hive

hivecommons-hive Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Withdrawn: this PR is not back in your court after all. The failing checks (contract) are red on the base branch too; this change did not break them. There is nothing to fix here: the PR is back on the normal path, and the hive checks it again once the base branch is green.

@hanthor

hanthor commented Nov 16, 2026

Copy link
Copy Markdown
Member Author

Folded into #1248, which carries this change unchanged in one rebased series so the stack lands in a single CI cycle. Closing here; review continues on #1248.

@hanthor hanthor closed this Nov 16, 2026
@hanthor hanthor mentioned this pull request Nov 16, 2026
1 of 30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. author/clanker A contributor's own hive authored this PR under their login no-dco A commit is missing Signed-off-by — run `git rebase --signoff` role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants