[openib-general] Should I use umad -or- osm

shaharf shaharf at voltaire.com
Thu Dec 9 09:27:47 PST 2004



> -----Original Message-----
> From: openib-general-bounces at openib.org [mailto:openib-general-
> bounces at openib.org] On Behalf Of Michael S. Tsirkin
> Sent: Thursday, December 09, 2004 7:07 PM
> To: openib-general at openib.org
> Subject: Re: [openib-general] Should I use umad -or- osm
> >
> > I guess that in this stage only root will able to use user mode
mads.
> > Later I would consider letting non-root applications use some mads -
> > meaning most of the get/query mads, and some of the set mads. I
won't
> > rely on root access for security. There are mkey, qkey and pkey to
> > handle that.
> >
> > Shahar
> 
> They are trivial to guess, so kernel would have to touch the MAD
> data somehow?
> Further, it seems local MADs have the check disabled now?
> 
> MST
> _______________________________________________

The Mkey should set according to the system policy. They can be non
trivial.
64 bits (changing) keys may be relatively strong.
Currently only trivial keys are used so we won't let non root users use
mads. But this is very weak (NFS style) security. Anyone can have root
access on his machine.

Shahar 



More information about the general mailing list