How to create a DBus server

Daniel P. Berrange dan at
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.

|=-            GPG key:       -=|
|=-       Perl modules:              -=|
|=-           Projects:               -=|
|=-   berrange at  -  Daniel Berrange  -  dan at    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :

More information about the dbus mailing list