Skip to contentSkip to conversation

services_memcached.patch

refpolicy Daniel J Walsh 2 participants 4 messages Sep 24, 2008 – Oct 9, 2008

lore
Share & tools
lore
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F10/services_memcached.patch

New policy for memcached

Merged except for the port binding part since that port is missing.

Updated patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjtVQgACgkQrlYvE4MpobMA2QCeIUOcsUZeD/kpLN9GaTZYHHib nm8AoIUeBPzgs2nfLzRpXQmUZGIvjOUS
=dPjn
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: services_memcached.patch
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20081008/1736ccf5/attachment.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: services_memcached.patch.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20081008/1736ccf5/attachment.obj

#3 lore raw
Quoted 9 lines · Daniel J Walsh
Quoted 7 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F10/services_memcached.patch

New policy for memcached

Merged except for the port binding part since that port is missing.

Updated patch

Merged.

Quoted 22 lines

plain text document attachment (services_memcached.patch)

policy/modules/services/memcached.te +2 -0
@@ -35,6 +35,8 @@
 corenet_tcp_sendrecv_all_nodes(memcached_t)
 corenet_tcp_sendrecv_all_ports(memcached_t)
 corenet_tcp_bind_all_nodes(memcached_t)
+corenet_tcp_bind_memcache_port(memcached_t)
+corenet_udp_bind_memcache_port(memcached_t)
 
 manage_dirs_pattern(memcached_t, memcached_var_run_t,  memcached_var_run_t)
 manage_files_pattern(memcached_t, memcached_var_run_t,  memcached_var_run_t)
policy/modules/kernel/corenetwork.te.in +1 -0
@@ -121,6 +121,7 @@
 type lrrd_port_t, port_type; dnl network_port(lrrd_port_t) # no defined portcon
 network_port(lmtp, tcp,24,s0, udp,24,s0)
 network_port(mail, tcp,2000,s0)
+network_port(memcache, tcp,11211,s0, udp,11211,s0)
 network_port(mmcc, tcp,5050,s0, udp,5050,s0)
 network_port(monopd, tcp,1234,s0)
 network_port(msnp, tcp,1863,s0, udp,1863,s0)
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150