From: Kurt Garloff Subject: Re: [PATCH] xen-2.0: privileged port connections Date: Wed, 23 Mar 2005 17:57:39 +0100 Message-ID: <20050323165739.GR12479@tpkurt.garloff.de> References: <20050323123639.GM12479@tpkurt.garloff.de> <42418E24.5070906@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="skzcsJvRJWOW8YcK" Content-Disposition: inline In-Reply-To: <42418E24.5070906@us.ibm.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Anthony Liguori Cc: Xen development list List-Id: xen-devel@lists.xenproject.org --skzcsJvRJWOW8YcK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Anthony, On Wed, Mar 23, 2005 at 09:41:24AM -0600, Anthony Liguori wrote: > So, here's my concerns: >=20 > 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. > 2) unix domain sockets would solve the same problem Yes. There's one but:=20 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 :-) > 3) this approach is not flexible for finer grain control sudo, setuid, ... can provide that. > 4) you still have to find a way to deal with the consoles Before I start working on getting the consoles under control, I=20 wanted to see whether this approach is acceptable at all. > 5) you still have to deal with xfrd It seems to listen on *:8002 ...=20 Is there no authentication either? Sigh. And we probably need to look into the event channel (8001) as well. > With all that said, I'd like to see this applied as it's better than=20 > leaving everything out in the open. 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=20 concerns. Regards, --=20 Kurt Garloff, Director SUSE Labs, Novell Inc. --skzcsJvRJWOW8YcK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCQaADxmLh6hyYd04RAnURAJ9VAVpCfep6Wrl6w4IRgOx8Ze3xBQCgvltA gZlz1iOZbTFifzntOrczoyA= =hA7E -----END PGP SIGNATURE----- --skzcsJvRJWOW8YcK-- ------------------------------------------------------- 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