DBus in a local network
George Washburn
g.p.washburn at gmail.com
Mon Sep 15 14:20:36 PDT 2008
On Mon, Sep 15, 2008 at 1:35 AM, KHOA NGUYEN <qa_tridang at hotmail.com> wrote:
> Hi,
>
> I'd like to know if it is a heavy load (for example, to modify application
> code, ...) to make my application work in DBus / TCP.
> I wrote it in API-Low-Level Dbus (C language). It works well at present in
> a machine, but not in the multi-host environment.
> Have you an idea of this ?
>
> Best regards
>
> VyDaMan
>
>
>
> ------------------------------
>
> Date: Sun, 14 Sep 2008 19:22:00 -0700
> From: g.p.washburn at gmail.com
> To: qa_tridang at hotmail.com; dbus at lists.freedesktop.org
> Subject: Re: DBus in a local network
>
>
> If you are using the reference implementation of DBus for a dbus-daemon you
> also need to patch the daemon to permit anonymous connections.
>
> There was a patch posted a little while back on this list. If you dig
> around in the archives you'll find it.
> I don't have the source code with me at the moment otherwise I'd post it.
>
> It works great for low-bandwidth API based RPC over the network. Security
> considerations aside of course.
>
> G.P.
>
> On Sun, Sep 14, 2008 at 4:24 PM, Avery Pennarun <apenwarr at gmail.com>wrote:
>
> On Sun, Sep 14, 2008 at 7:03 PM, KHOA NGUYEN <qa_tridang at hotmail.com>
> wrote:
> > I do not find any documentation ... about this interface Dbus-daemon /
> tcp
> > socket.
> > Do you know where I can find some doc. / sample codes to do it ?
> > Best regards.
>
> Yeah, the documentation isn't obvious. Look in "man dbus-daemon" for
> the <listen> section. More specifically, take your
> /etc/dbus-1/whatever.conf and change the <listen> line from something
> like this:
>
> <listen>unix:tmpdir=/tmp</listen>
>
> to something like this:
>
> <listen>tcp:port=1234</listen>
>
> Apparently you can have more than one <listen> section and it'll
> listen on all of them, but I've never tried it.
>
> Have fun,
>
> Avery
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
>
>
Try turning on the VERBOSE mode output for the daemon to get diagnostic
output.
Just set the environment variable when launching your daemon.
Next you may find that a search through the list archives for a conversation
with the subject:
"Issues while using DBUS over TCP"
( Oh hell here's the dam link:
http://lists.freedesktop.org/archives/dbus/2008-August/010205.html )
to be very helpful on setting up for a dbus system via TCP across a network.
G.P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080915/376a63c2/attachment.html
More information about the dbus
mailing list