Skip to contentSkip to conversation

BUG: looks like net contexts is being ignored

DISCUSSION Luke Kenneth Casson Leighton 2 participants 3 messages Sep 26, 2004 – Oct 4, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

i'm using cvs linux2.6 from 2 weeks ago.
latest cvs policy, tools and libs selinux-usr.

the bug is that any tcp or udp port access by any program appears to be attempted as reserved_port_t.

e.g:

denied { name_bind } for /sbin/dhclient scontext=system_u:system_r:dhcpc_t tcontext=system_u_object_r:reserved_port_t tclass=udp_socket

and

denied { name_bind } for /usr/sbin/sshd src=22 scontext=system_u:system_r:sshd_t tcontext=system_u_object_r:reserved_port_t tclass=tcp_socket

zero modifications to net_contexts have been made.

okay i admit it i made some mods to fs/proc/base.c to split up a function in order use 98% of that function somewhere else.

also i reduced autofs4's NEGATIVE_TIMEOUT from 60 seconds to 5.

nothing significant or what i would call relevant.

l.

Signature · 13 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


--
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.
#1 lore raw
Quoted 5 lines · Luke Kenneth Casson Leighton

i'm using cvs linux2.6 from 2 weeks ago.
latest cvs policy, tools and libs selinux-usr.

the bug is that any tcp or udp port access by any program appears to be attempted as reserved_port_t.

Using the latest checkpolicy from cvs?

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.
#2 lore raw
Quoted 8 lines · Stephen Smalley
Quoted 5 lines · Luke Kenneth Casson Leighton

i'm using cvs linux2.6 from 2 weeks ago.
latest cvs policy, tools and libs selinux-usr.

the bug is that any tcp or udp port access by any program appears to be attempted as reserved_port_t.

Using the latest checkpolicy from cvs?

as of last week at the time of writing, yes. hi stephen, you're back then?

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