How to create a DBus server

Daniel P. Berrange dan at berrange.com
Sat Jan 21 05:04:21 PST 2006


On Sat, Jan 21, 2006 at 12:04:24PM +0000, Jamie McCracken wrote:
> >>That's probably not really supported (it could be, but allowing p2p 
> >>communication is not the main goal). DBus is meant to be used with a 
> >>shared server (called message bus) which can be global to a machine or 
> >>local to the user's session.
> >
> >It is supported.  HAL uses p2p to avoid spamming the bus.  However it is
> >a bit more complicated than using the bus to communicate.  Tang, can you
> >describe how you want to use D-Bus?
> 
> Just a quick question on DbusServer. Can it be used for remote machine 
> access via tcp/ip? Or is tcp/ip support disabled for security reasons?

Yes, there is a TCP transport implemented in the DBus libraries. The
caveat is, however, that there is no authentication protocol implemented
yet that is particularly suited to TCP. IIRC, the plan is to integrate 
cyrus sasl to provide strong authentication. Also note although its
a binary stream, the on the wire encoding is *not* encrypted in any
way so not suitable for any remotely sensitive data.

Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060121/7395b4a9/attachment.pgp


More information about the dbus mailing list