-
Notifications
You must be signed in to change notification settings - Fork 103
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
feat(usr/lib): Add firewalld configuration files #186
feat(usr/lib): Add firewalld configuration files #186
Conversation
I have two comments/suggestions
|
Thanks for your reply:
|
The project already contains UFW configuration files, but firewalld configuration files are missing. Let's add a copy of firewalld configuration files used in Fedora.
c809caf
to
5d0776b
Compare
firewalld already has a service file "ws-discovery-udp.xml" that is identical to your "wsdd.xml", except for the include of "wsdd-http.xml". For my opensuse package I added a service file "wsdd.xml" which is equivalent to the latter and includes "ws-discovery-udp.xml". For older distributions I added a copy of firewallds "ws-discovery-udp.xml", too. |
By firewalld, you mean upstream here?
Sounds reasonable.
So you proposal would be to rely on the existence of ws-discovery-udp.xml and rewrite the service file for wsdd accordingly?! |
I haven't known that it is part of firewalld. It will surely work if firewalld already contains some of those. Hmm, shouldn't the missing part be proposed to firewalld upstream after all? |
Yes, the "ws-discovery-udp.xml" service file is part of firewalld since version 1.1.0.
I think the firewalld service file(s) for wsdd shall use the files from firewalld so far as already available there. For the remaining ports one can profiled them as part of wsdd and in parallel shall give them upstream. Here is the "wsdd.xml" form may opensuse package:
Maybe for upstream one shall not use "wsdd" as part of the files to be friendly to other wsd implementations. |
Add a generic service definition for a WS-Discovery host implementation, which, e.g., allows to discover Samba file sharing services via Windows. As per https://learn.microsoft.com/en-us/windows/win32/wsdapi/additional-ws-discovery-functionality, TCP port 5357 is used by the service and respective implementations (see below). The file re-uses the already existing UDP multicast service definition. The service file is taken from openSUSE (see https://build.opensuse.org/package/view_file/openSUSE:Leap:15.5/wsdd/wsdd.xml), which did not validate against the firewalld serivce schema. Thus, the include statement was moved. The original author of the openSUSE package, suggested to upstream a generic service definition that is agnostic to a specific implementation, like wsdd (https://github.com/christgau/wsdd) or wsdd2 (https://github.com/Netgear/wsdd2). See also: christgau/wsdd#186 Co-authored-by: Herbert Graeber <[email protected]>
Add a generic service definition for a WS-Discovery host implementation, which, e.g., allows to discover Samba file sharing services via Windows. As per https://learn.microsoft.com/en-us/windows/win32/wsdapi/additional-ws-discovery-functionality, TCP port 5357 is used by the service and respective implementations (see below). The file re-uses the already existing UDP multicast service definition. The service file is taken from openSUSE (see https://build.opensuse.org/package/view_file/openSUSE:Leap:15.5/wsdd/wsdd.xml), which did not validate against the firewalld serivce schema. Thus, the include statement was moved. The original author of the openSUSE package, suggested to upstream a generic service definition that is agnostic to a specific implementation, like wsdd (https://github.com/christgau/wsdd) or wsdd2 (https://github.com/Netgear/wsdd2). See also: christgau/wsdd#186 Co-authored-by: Herbert Graeber <[email protected]>
Add a generic service definition for a WS-Discovery host implementation, which, e.g., allows to discover Samba file sharing services via Windows. As per https://learn.microsoft.com/en-us/windows/win32/wsdapi/additional-ws-discovery-functionality, TCP port 5357 is used by the service and respective implementations (see below). The file re-uses the already existing UDP multicast service definition. The service file is taken from openSUSE (see https://build.opensuse.org/package/view_file/openSUSE:Leap:15.5/wsdd/wsdd.xml), which did not validate against the firewalld serivce schema. Thus, the include statement was moved. The original author of the openSUSE package, suggested to upstream a generic service definition that is agnostic to a specific implementation, like wsdd (https://github.com/christgau/wsdd) or wsdd2 (https://github.com/Netgear/wsdd2). See also: christgau/wsdd#186 Co-authored-by: Herbert Graeber <[email protected]>
The project already contains UFW configuration files, but firewalld configuration files are missing. Let's add a copy of firewalld configuration files used in Fedora.