public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ejabberd] f45: Allow STUN/TURN in SELinux policy (#1901466)
@ 2026-09-23 19:07 Randy Barlow
  0 siblings, 0 replies; only message in thread
From: Randy Barlow @ 2026-09-23 19:07 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ejabberd
            Branch : f45
            Commit : d48066216cac7e2ec1626d65376313dc12e9477f
            Author : Randy Barlow <randy@electronsweatshop.com>
            Date   : 2021-08-17T00:10:48-04:00
            Stats  : +5/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/ejabberd/c/d48066216cac7e2ec1626d65376313dc12e9477f?branch=f45

            Log:
            Allow STUN/TURN in SELinux policy (#1901466)

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>

---
diff --git a/ejabberd.spec b/ejabberd.spec
index 0f58db2..09377bd 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -37,7 +37,7 @@
 
 Name:           ejabberd
 Version:        20.07
-Release:        4%{?dist}
+Release:        5%{?dist}
 BuildArch:      noarch
 
 License:        GPLv2+
@@ -419,6 +419,9 @@ fi
 
 
 %changelog
+* Sat Aug 07 2021 Randy Barlow <bowlofeggs@fedoraproject.org> - 20.07-5
+- Allow to bind to name_bind on udp (#1901466).
+
 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.07-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
 

diff --git a/ejabberd.te b/ejabberd.te
index 2d2a157..187bcf0 100644
--- a/ejabberd.te
+++ b/ejabberd.te
@@ -1,6 +1,5 @@
 policy_module(ejabberd,0.0)
 
-
 ########################################
 #
 # Declarations
@@ -25,6 +24,7 @@ logging_log_file(ejabberd_var_log_t)
 allow ejabberd_t self:tcp_socket { accept bind connect create getattr getopt listen name_bind read setopt write };
 allow ejabberd_t self:udp_socket { bind connect create getattr getopt read setopt write };
 allow ejabberd_t self:unix_dgram_socket { connect create getopt setopt write };
+allow ejabberd_t unreserved_port_t:udp_socket name_bind;
 
 auth_use_nsswitch(ejabberd_t)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-23 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 19:07 [rpms/ejabberd] f45: Allow STUN/TURN in SELinux policy (#1901466) Randy Barlow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox