xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Questions on Xen
@ 2010-03-15 10:21 Aditya Pendyala
  2010-03-16 16:22 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Pendyala @ 2010-03-15 10:21 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]

Hi all,
I have the following questions regarding Xen hypervisor.Can you please
clarify these queries?

Does Xen follow any security model, in particular, does a Random Oracle (RO)
fit in Xen?
When there are concurrent Guest OS running on the same hardware, then there
has to be a mechanism for concurrency control and fairness, how does Xen
implement these?
Shared memory access has to make sure that one "malicious" OS doesn't access
other's memory, where and how is this done?
Similarly with shared network, how and where is security handled in this
case so that packets meant for one OS are not accessible to other OS?
Does xen has cryptography implementation in the code ?
If you have idea regarding *"provable security" *property of Xen , can you
give us a gist of it ?

Thanks&Regards,
Aditya Pendyala

[-- Attachment #1.2: Type: text/html, Size: 951 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Questions on Xen
  2010-03-15 10:21 Questions on Xen Aditya Pendyala
@ 2010-03-16 16:22 ` Pasi Kärkkäinen
  0 siblings, 0 replies; 2+ messages in thread
From: Pasi Kärkkäinen @ 2010-03-16 16:22 UTC (permalink / raw)
  To: Aditya Pendyala; +Cc: xen-devel

On Mon, Mar 15, 2010 at 03:51:53PM +0530, Aditya Pendyala wrote:
>    Hi all,
>    I have the following questions regarding Xen hypervisor.Can you please
>    clarify these queries?
> 
>    * Does Xen follow any security model, in particular, does a Random Oracle
>      (RO) fit in Xen?

Yes, Xen has Xen Security Modules (XSM).

See:
http://www.xen.org/files/summit_3/coker-xsm-summit-090706.pdf
http://www.xen.org/files/xensummit_4/xsm-summit-041707_Coker.pdf
http://www.xen.org/files/XenSecurity_SHand.pdf

Those pdfs seem to be a bit old, but feel free to google for more up-to-date stuff.
Especially check the various Xen Summit presentation slides available on xen.org.

>    * When there are concurrent Guest OS running on the same hardware, then
>      there has to be a mechanism for concurrency control and fairness, how
>      does Xen implement these?

Xen has different schedulers to control cpu time sharing. 
Xen credit scheduler is the default scheduler nowadays. 

credit2 scheduler is under development.

For disk-IO you can use the Linux dom0 CFQ/ionice, or things like dm-ioband.

For network traffic you can use all the common Linux QoS tools, or the built-in
network shaping.


>    * Shared memory access has to make sure that one "malicious" OS doesn't
>      access other's memory, where and how is this done?

I don't know the internals unfortunately.. I can guess it's related to the
fact that Xen hypervisor runs in the x86 ring-0, and the guests run
in other ring levels. So Xen hypervisor has complete control of the guests,
and it can force the security.

>    * Similarly with shared network, how and where is security handled in this
>      case so that packets meant for one OS are not accessible to other OS?

If you're using routed setup then it's pretty easy to control which IP has which
IP and perform firewalling in dom0.

If you're using bridged network setup then you can use things like ebtables
to filter the bridged traffic.

Xen dom0 is usually Linux, so all the usual Linux tools can be used.

>    * Does xen has cryptography implementation in the code ?

What do you mean exactly?

>    * If you have idea regarding "provable security" property of Xen , can you
>      give us a gist of it ?

I don't really help with this one unfortunately.

-- Pasi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-16 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 10:21 Questions on Xen Aditya Pendyala
2010-03-16 16:22 ` Pasi Kärkkäinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).