Skip to contentSkip to conversation

djbdns patch

PATCH Daniel J Walsh 3 participants 3 messages Mar 23, 2007 – Apr 10, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

Make ucspitcp_service_domain optional

policy/modules/services/djbdns.te +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+	ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+
#1 lore raw
Quoted 1 line · Daniel J Walsh

Make ucspitcp_service_domain optional

Perhaps this should be made an init_daemon_domain() too?

Quoted 23 lines

differences
between files
attachment
(djbdns.patch),
"djbdns.patch"

policy/modules/services/djbdns.te 2007-03-22 15:06:59.000000000 -0400 renamed from policy/modules/services/djbdns.te 2007-01-02 12:57:43.000000000 -0500 +4 -1
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+       ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+
Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw

Hi,

Quoted 4 lines · Christopher J. PeBenito
Quoted 1 line · Daniel J Walsh

Make ucspitcp_service_domain optional

Perhaps this should be made an init_daemon_domain() too?

axfrdns runs under tcpserver [1], it is not a stand-alone daemon, so I see no reason why it should be an init_daemon_domain().

also I wonder what use would it be to have the djbdns module loaded without also loading the ucspitcp one.

[1] http://cr.yp.to/djbdns/axfrdns.html

"Normally axfrdns runs under tcpserver to handle TCP connections on port 53 of a local IP address. tcpserver is responsible for rejecting connections from hosts not authorized to perform zone transfers. axfrdns can also run under secure connection tools offering an UCSPI-compliant interface."

Quoted 12 lines
Quoted 12 lines

differences
between files
attachment
(djbdns.patch),
"djbdns.patch"

policy/modules/services/djbdns.te 2007-03-22 15:06:59.000000000 -0400 renamed from policy/modules/services/djbdns.te 2007-01-02 12:57:43.000000000 -0500 +0 -0
@@ -44,4 +44,7 @@
 libs_use_ld_so(djbdns_axfrdns_t)
 libs_use_shared_libs(djbdns_axfrdns_t)
 
Quoted 5 lines

policy/modules/services/djbdns.te 2007-03-22 15:06:59.000000000 -0400 line 50

Quoted 5 lines
policy/modules/services/djbdns.te 2007-03-22 15:06:59.000000000 -0400 renamed from policy/modules/services/djbdns.te 2007-01-02 12:57:43.000000000 -0500 +4 -1
-ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+optional_policy(`
+       ucspitcp_service_domain(djbdns_axfrdns_t, djbdns_axfrdns_exec_t)
+')
+

cheers,
peter

Signature · 4 lines
petre rodan
<[email protected]>
Developer,
Hardened Gentoo Linux