D-Bus windows help

Thiago Macieira thiago at kde.org
Mon Jul 2 08:32:02 PDT 2012


On segunda-feira, 2 de julho de 2012 10.10.33, Brett Stottlemyer wrote:
> Hi all,
> 
> Can someone who has used D-Bus/QtDbus on windows help me understand if I am
> using it wrong or have found a bug?
> 
> I am a beginner with D-Bus.  I'm trying to decide if QtDbus is a good
> solution for an IPC need I have on Windows (starting with process to process
> on the same machine, but eventually extending to different machines).  I
> followed the instructions on Ray Rischpater's blog
> (http://www.lothlorien.com/kf6gpe/?p=141) with the exception that I am using
> VS2008 and built everything (including expat) from source.

D-Bus is not a good solution for machine-to-machine communcation, unless you 
patch D-Bus and you know what you're doing. If you're a beginner, then that's 
probably not for you.

> As a related question, what is the purpose of noncefile?  It is not clear to
> me when I should use tcp and when I should use nonce-tcp.

nonce-tcp is a solution that requires the client to find a file, open it and 
read a shared secret which must be transmitted to the server. This ensures to 
the server that the client had the proper filesystem rights to find the file and 
read it.

By definition, this nonce file cannot be read by clients running on other 
machines, so remote connections would not be allowed.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20120702/d3c7d52d/attachment.pgp>


More information about the dbus mailing list