selinux September 2007 archive
Main Archive Page > Month Archives  > selinux archives
selinux: Re: Labelling a new port

Re: Labelling a new port

From: Ted X Toth <txtoth_at_nospam>
Date: Fri Sep 07 2007 - 13:55:16 GMT
To: SE Linux <selinux@tycho.nsa.gov>

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

Stefan Schulze Frielinghaus wrote:
> 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@redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
>
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list@redhat.com
> 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 majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.