You can add ports via semange e.g. "semanage port -a -t
memcached_port_t -p tcp 11211"
see semanage(8) for more details
PS: you need to declare the type in your policy before executing the
command. look at modules/kernel/corenetwork.te for some examples
On 06.09.2007, at 18:43, Konstantin Ryabitsev wrote:
Hello, all:
I'm trying to write a policy for memcached, but I'm not sure how I'd
declare a new memcached_port_t (11211/tcp). Any pointers?
TIA!
Cheers,
--
Konstantin Ryabitsev
Montréal, Québec
--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list