[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] protecting xen startup



i notice that there's a management interface on port 8000.

There are currently two HTTP-based management interfaces. Once of them is the Xensv web interface, the other is the Xend HTTP-based API, which is used by both the command line xm tool and Xensv to issue commands to Xend.

i seek to protect this interface such that nothing but a trusted program
(think selinux) may run, manage, start up or shut down xen oses.

Currently, anyone who can access Xend's port can issue management commands. Xend can optionally be configured to only accept connections from localhost, in which case only local users will be able to issue commands to it.

is the port 8000 stuff just providing a web server (/etc/init.d/xend)
front-end to some extra system calls?

Not exactly. At the Linux Level, there aren't any extra Xen system calls. Most commands are issued to Xen by performing ioctls on the /proc/xen/privcmd file. The commands which are issued through this file are largely transparent to XenLinux however, having meaning only when they are parsed by Xen.

is the port 8000 stuff actually running in the xen boot-up stuff?

Xend starts its HTTP interface when it starts up and will do anything the HTTP interface tells it to do. If Xend isn't running then the HTTP interface is not accessible (but you can't do a lot without Xend).

HTH,
Mark




ta,

l.

--
--
<a href="http://lkcl.net";>http://lkcl.net</a>
--


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.