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: glibc post upgrade: msg#00174

Subject: Re: glibc post upgrade
Stephen Smalley wrote:

On Thu, 2004-08-26 at 05:37, Jeff Johnson wrote:
Malicious code from untrusted package problem not going to be solved by rpm_script_t alone afaict either.

Right.  We still need a mechanism for distinguishing among packages and
running scriptlets in different domains based on either some property of
the package (the authority that signed it) or some knowledge of the
admin (i.e. he specifies the desired scriptlet domain for all packages
obtained from a given repository in his yum.conf or similar).


My current thoughts are  to pass to libselinux
a) the result (OK/NOKEY/UNTRUSTED/BAD) of the package header signature verify.
  b) the contained file manifest.
and have libselinux return
  a) the file contexts to be applied.
  b) the exec context to use for that package's scriptlets.

That info permits libselinux to have full control of what rpmlib can/will do to
establish policy for packe files and scripts.

I can add the signature fingerprint id, but then libselinux and /var/lib/rpm/Pubkeys would have different conceptions of keyring, and (for better or worse) rpmlib
is better positioned to decide what input is valid than libselinux is.

If necessary, I suppose I can pass signature/pubkey/blob if libselinux wishes to do it's own crypto. I suspect that I could even wire the call to libselinux with a return code so that libselinux could control whether rpm was permitted to read any given
header.

Say when, not my call. Perhaps a week's work, another week to stabilize on fc3 packaging.
Otherwise crypto is hard slow design, known.

73 de Jeff



<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

Navigation