Editing
Msg03136.html
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= [vserver] Re: security comparison between vserver and UML = ----- * '''From:''' John Goerzen * '''Date:''' Fri, 9 May 2003 16:44:05 +0100 (BST) ----- <pre>"Mitchell Smith" <mjs@xxxxxxxxxxxxxxxxxxx> writes: > In a production environment does UML http://user-mode-linux.sourceforge.net > offer any security advantages over vserver? The isolation is somewhat more complete, but generally it protects you only against administrative errors. For instance, some people setting up a vserver may leave /dev/hda nodes in /dev. If you set up the vserver without those, it'll be secure since it prevents people from doing that themselves. A few applications require relaxed permissions in a vserver and may not require those in UML. The disadvantages of UML exist, too, which is why we're using vserver instead of UML on our production server. A big one is performance. Since applications running in a vserver are running as close "to the metal" as any other application, they're not any slower. UML adds an extra layer of emulation, which hurts performance. I have seen *significant* (we're talking 10x-30x) performance hits with multithreaded apps running under UML. Another is the filesystem. vservers can have directories on your regular filesystem. For instance, we have a 130GB ext3 filesystem that all our vservers run off. It's a lot easier to manage space that way, and wastes less space (you don't have to allocate extra space to a vserver to start with, or adjust these things later) I've found UML networking to be unreliable and fairly slow as well. > The other advantage I see over UML, is you would be able to enforce per user > system resource limits, amount of memory etc, where as you probably couldn't > do that with vserver, or no way that I have found yet. ulimit works in a vserver. You can also set hard limits for the entire server; see the ULIMIT option in the config file and "man ulimit". > Any suggestions on the advantages of one system over the other greatly > appreciated. I'd say the net result is that UML theoretically has a higher amount of isolation, but in practical terms, vserver achieves similar results without so many problems. -- John </pre> ----- * '''References''': ** '''[[msg03120.html|[vserver] security comparison between vserver and UML]]''' *** ''From:'' Mitchell Smith * Prev by Date: '''[[msg03135.html|[vserver] Re: VServer production usage]]''' * Next by Date: '''[[msg03137.html|[vserver] root server as firewall and virtual servers for public services - a save approach ?]]''' * Previous by thread: '''[[msg03133.html|Re: [vserver] security comparison between vserver and UML]]''' * Next by thread: '''[[msg03129.html|[vserver] interesting side effect]]''' * Index(es): ** [[index.html#03136|'''Date''']] ** [[threads.html#03136|'''Thread''']]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information