Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure firewall rules using nftables #1136

Merged
merged 18 commits into from
Dec 31, 2024

Fix tests

517a3a8
Select commit
Loading
Failed to load commit list.
Merged

Configure firewall rules using nftables #1136

Fix tests
517a3a8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Dec 18, 2024 in 1s

34.87% of diff hit (target 83.18%)

View this Pull Request on Codecov

34.87% of diff hit (target 83.18%)

Annotations

Check warning on line 104 in core/schains/firewall/firewall_manager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/firewall_manager.py#L101-L104

Added lines #L101 - L104 were not covered by tests

Check warning on line 144 in core/schains/firewall/iptables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/iptables.py#L144

Added line #L144 was not covered by tests

Check warning on line 56 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L52-L56

Added lines #L52 - L56 were not covered by tests

Check warning on line 61 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L59-L61

Added lines #L59 - L61 were not covered by tests

Check warning on line 65 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 68 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L68

Added line #L68 was not covered by tests

Check warning on line 81 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 96 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L95-L96

Added lines #L95 - L96 were not covered by tests

Check warning on line 101 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L99-L101

Added lines #L99 - L101 were not covered by tests

Check warning on line 120 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L120

Added line #L120 was not covered by tests

Check warning on line 128 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L124-L128

Added lines #L124 - L128 were not covered by tests

Check warning on line 136 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L132-L136

Added lines #L132 - L136 were not covered by tests

Check warning on line 141 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L139-L141

Added lines #L139 - L141 were not covered by tests

Check warning on line 146 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L144-L146

Added lines #L144 - L146 were not covered by tests

Check warning on line 149 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L149

Added line #L149 was not covered by tests

Check warning on line 152 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L152

Added line #L152 was not covered by tests

Check warning on line 157 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L155-L157

Added lines #L155 - L157 were not covered by tests

Check warning on line 159 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L159

Added line #L159 was not covered by tests

Check warning on line 176 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L174-L176

Added lines #L174 - L176 were not covered by tests

Check warning on line 180 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L180

Added line #L180 was not covered by tests

Check warning on line 184 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L182-L184

Added lines #L182 - L184 were not covered by tests

Check warning on line 194 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L194

Added line #L194 was not covered by tests

Check warning on line 205 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L204-L205

Added lines #L204 - L205 were not covered by tests

Check warning on line 216 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L215-L216

Added lines #L215 - L216 were not covered by tests

Check warning on line 219 in core/schains/firewall/nftables.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/schains/firewall/nftables.py#L218-L219

Added lines #L218 - L219 were not covered by tests