Comments (4)
Just wanted to share @giuseppe initial idea here for reference:
diff --git a/src/firewall/server/firewalld.py b/src/firewall/server/firewalld.py
index 9c2f9d4a..df2cb7e1 100644
--- a/src/firewall/server/firewalld.py
+++ b/src/firewall/server/firewalld.py
@@ -10,6 +10,8 @@ from gi.repository import GLib
import copy
import dbus
import dbus.service
+import os
+import subprocess
from firewall import config
from firewall.core.fw import Firewall
@@ -330,6 +332,8 @@ class FirewallD(DbusServiceObject):
@dbus.service.signal(config.dbus.DBUS_INTERFACE)
@dbus_handle_exceptions
def Reloaded(self):
+ for i in os.listdir("/etc/firewalld/reload-scripts"):
+ subprocess.run(os.path.join("/etc/firewalld/reload-scripts", i))
log.debug1("Reloaded()")
@dbus_polkit_require_auth(config.dbus.PK_ACTION_CONFIG)
from firewalld.
@mheon, @mohanboddu, this is implemented in #1270. Take a look if you're interested.
from firewalld.
Wonderful! Thanks! @Luap99 what do you think about it?
from firewalld.
Thank you @erig0
from firewalld.
Related Issues (20)
- IPv6_rpfilter=yes breaks IPv6 connectivity over bridges when br_netfilter is in use HOT 23
- It is impossible to add a rule accepting bridge traffic with FirewallBackend=nftables HOT 2
- runtime-to-permanent does not work as expected when all elements of a list have been removed
- FirewallD class generation does not return (2.0.1) HOT 7
- [FEATURE] Support the use of numeric values for ICMP/ICMPv6 types in rules
- TCP MSS Clamping in rich rules and policies does not appear to be applied HOT 6
- firewall-cmd: error: unrecognized arguments: --add-source-ipset= HOT 1
- Firewalld does not work with virtual port HOT 1
- Logging port forwarding rich rules
- firewall-offline-cmd ignores the IP family when creating a new IP set HOT 3
- Firewalld only assigns interface zone in NetworkManager in the CLI script HOT 3
- Deprecate and Drop Lockdown Feature
- Various test suite failure on Debian sid HOT 5
- Firewalld is blocking Network/Samba Client in KDE/Dolphin HOT 4
- Firewalld 2.0: Error from removeSource Call HOT 9
- Doc: Include better explainations of the effects various configurations (i.e. what does the setting do?)
- ipset: config checks should verify that the number of elements does not exceed ipset size
- firewall-config doesn't show policy objects
- Render, but don't apply, rules - for debugging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firewalld.