Skip to contentSkip to conversation

Labelling a new port

DISCUSSION Ted X Toth 1 participant 1 message Sep 7, 2007 2 messages not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Ted X Toth

author
#2 lore raw

Also look at the Thursday, May 31st, 2007 entry at http://danwalsh.livejournal.com/

Quoted 20 lines · Stefan Schulze Frielinghaus

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

Quoted 12 lines · Konstantin Ryabitsev

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,

Signature · 2 lines
Konstantin Ryabitsev
Montréal, Québec
Quoted 11 lines
Quoted 4 lines
Signature · 3 lines
fedora-selinux-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Signature · 3 lines
fedora-selinux-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

--
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.