From: Nivedita Singhvi <niv@us.ibm.com>
To: Kurt Garloff <garloff@suse.de>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Xen development list <xen-devel@lists.sourceforge.net>
Subject: Re: [PATCH] xen-2.0: privileged port connections
Date: Wed, 23 Mar 2005 09:36:17 -0800 [thread overview]
Message-ID: <4241A911.3060502@us.ibm.com> (raw)
In-Reply-To: <20050323165739.GR12479@tpkurt.garloff.de>
Kurt Garloff wrote:
>>1) ports < 1024 are reserved although 732 is currently unassigned
>
>
> Note that NFS uses such ports without asking prior permission.
> I chose 732 because it's unassigned indeed.
With all due respect to the NFS folks, NFS is just not
a good example to follow in any aspect. Just picking an
unassigned port randomly won't ensure a non-conflict.
>>2) unix domain sockets would solve the same problem
>
>
> Yes. There's one but:
>
> With the patch you can currently configure xend from completely
> open (xend-address '' and xend-privileged-port 0)
> to closed (xend-address 'localhost' and xend-privileged-port 1)
> except for root (and stuff I overlooked or did not do yet).
>
> If you go for Unix Domain Sockets instead TCP, you lose the ability
> of remote control. Unless you support both.
> I did not investigate how difficult to do that would be.
> If you have a patch, I'd volunteer to review :-)
Yes, we can do this, allow users to select which protocol
they want. But picking one solution and resolving it's
deficiencies in other ways would be simpler and cleaner
in the long run. Having the user make fewer infrastructure
decisions like this, the better. It also becomes an issue
when the distros need to ship with a fixed config.
>>3) this approach is not flexible for finer grain control
>
>
> sudo, setuid, ... can provide that.
The fewer such programs, the better for security, right?
>>4) you still have to find a way to deal with the consoles
>
>
> Before I start working on getting the consoles under control, I
> wanted to see whether this approach is acceptable at all.
>
>
>>5) you still have to deal with xfrd
>
>
> It seems to listen on *:8002 ...
> Is there no authentication either? Sigh.
>
> And we probably need to look into the event channel (8001) as well.
Yep.
>>With all that said, I'd like to see this applied as it's better than
>>leaving everything out in the open.
Agreed.
> For Xen-3.0, we may want to carefully chose what kind of backend (xend)
> to frontend (xm) communication channels we want to allow and how
> authentication and authorization is handled there.
>
> But for Xen-2, let's try to find a pragmatic way that enables desktop
> users to install and test xen without raising too many security
> concerns.
Agreed.
thanks,
Nivedita
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
next prev parent reply other threads:[~2005-03-23 17:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-23 12:36 [PATCH] xen-2.0: privileged port connections Kurt Garloff
2005-03-23 15:41 ` Anthony Liguori
2005-03-23 16:57 ` Kurt Garloff
2005-03-23 17:03 ` Anthony Liguori
2005-03-23 17:23 ` Kurt Garloff
2005-03-23 17:45 ` Anthony Liguori
2005-03-23 18:06 ` Rik van Riel
2005-03-23 17:36 ` Nivedita Singhvi [this message]
2005-03-24 7:31 ` David Hopwood
-- strict thread matches above, loose matches on Subject: below --
2005-03-23 17:43 Ian Pratt
2005-03-23 17:59 ` Ryan Harper
2005-03-24 19:06 ` Tommi Virtanen
2005-03-24 19:56 ` Anthony Liguori
2005-03-23 18:51 Ian Pratt
2005-03-23 19:27 ` Anthony Liguori
2005-03-23 21:37 ` Christian Limpach
2005-03-23 23:58 ` Kurt Garloff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4241A911.3060502@us.ibm.com \
--to=niv@us.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=garloff@suse.de \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.