From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: selinux@tycho.nsa.gov, Tim Waugh <twaugh@redhat.com>
Subject: Re: cups sends mail, connects to smbd port and binds to ports 600-1023
Date: Mon, 30 Apr 2007 14:17:33 -0400 [thread overview]
Message-ID: <463632BD.2000704@redhat.com> (raw)
In-Reply-To: <1177954715.3570.133.camel@sgc>
Christopher J. PeBenito wrote:
> On Fri, 2007-04-20 at 14:52 -0400, dwalsh@redhat.com wrote:
>
>> --- nsaserefpolicy/policy/modules/services/cups.te 2007-03-26 10:39:04.000000000 -0400
>> +++ serefpolicy-2.5.12/policy/modules/services/cups.te 2007-04-11 17:07:34.000000000 -0400
>> @@ -151,9 +151,11 @@
>> corenet_tcp_bind_reserved_port(cupsd_t)
>> corenet_dontaudit_tcp_bind_all_reserved_ports(cupsd_t)
>> corenet_tcp_connect_all_ports(cupsd_t)
>> +corenet_tcp_connect_smbd_port(cupsd_t)
>> corenet_sendrecv_hplip_client_packets(cupsd_t)
>> corenet_sendrecv_ipp_client_packets(cupsd_t)
>> corenet_sendrecv_ipp_server_packets(cupsd_t)
>> +corenet_tcp_bind_all_rpc_ports(cupsd_t)
>>
>
> Any info on why it binds to these ports?
>
>
Tim, why does cupsd bind to ports 600-1023?
>> dev_rw_printer(cupsd_t)
>> dev_read_urand(cupsd_t)
>> @@ -294,6 +296,10 @@
>> ')
>>
>> optional_policy(`
>> + sendmail_domtrans(cupsd_t)
>> +')
>>
>
> Wouldn't mta_send_mail() be better?
>
Yes
>
>> +
>> +optional_policy(`
>> seutil_sigchld_newrole(cupsd_t)
>> ')
>>
>
>
--
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.
prev parent reply other threads:[~2007-04-30 18:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 18:52 cups sends mail, connects to smbd port and binds to ports 600-1023 dwalsh
2007-04-30 17:38 ` Christopher J. PeBenito
2007-04-30 18:17 ` Daniel J Walsh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=463632BD.2000704@redhat.com \
--to=dwalsh@redhat.com \
--cc=cpebenito@tresys.com \
--cc=selinux@tycho.nsa.gov \
--cc=twaugh@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.