Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Selinux in FC4 is blocking SCTP: msg#00169

Subject: Re: Selinux in FC4 is blocking SCTP
On Thu, 29 Sep 2005, Gregory Maxwell wrote:

> type=AVC msg=audit(1128050967.120:12221195): avc:  denied  { name_bind
> } for  pid=10749 comm="sctp_test" src=1234
> scontext=root:system_r:unconfined_t tcontext=system_u:object_r:port_t
> tclass=socket

SELinux has no protocol-level support for SCTP yet, so the SCTP socket is 
being classified by SELInux as a generic socket, but still being checked 
by the protocol-level bind() permissions.

Other parts of the code make assumptions about IP & IPv6 sockets, 
classifying them as either TCP, UDP or 'RAW' (which is a 
catch-all for IP protocols notably including ICMP).

We could add a policy entry for unconfined_t to allow name_bind for the 
socket class, but we'd also hit problems where it defaults to a 'raw' 
socket.

We can't simply classify SCTP as 'raw', as it has some different 
semantics, such as multiple local and remote addresses, which we need to 
investigate and develop proper controls for.

We proably need to rethink the way IP sockets default to 'raw', as new IP 
protocols are sometimes developed (DCCP has just been implemented) and we 
don't know that the 'raw' IP controls always appropriate.


- James
-- 
James Morris
<jmorris@xxxxxxxxx>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe