Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

startup: firewalld enters RUNNING and set_policy(ACCEPT) before ipsets are applied #1573

Copy link
Copy link

Description

@erig0
Issue body actions

What happened

Since 3874baf, firewalld defers ipset entry adds by using the GLib mainloop. This means firewalld reports RUNNING and the traffic policy is ACCEPT before the ipsets are actually applied.

This means that an ipset that is used to drop specific traffic may not actually drop that traffic until the ipsets are applied in the background. Unwanted traffic may be accepted.

What you expected to happen

firewalld should not do set_policy(ACCEPT) until the ipset entries are fully applied. This can be solved by deferring the call to set_policy() to the GLib mainloop after the ipset entries have been queued.

How to reproduce it (as minimally and precisely as possible)

No response

Anything else we need to know?

No response

Firewalld Version

main

Firewalld Backend

No response

Linux distribution

No response

Linux kernel version

No response

Other information

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed as a bug.Confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.