newbie: tcp transport problem
hp at redhat.com
Tue Feb 8 18:49:10 PST 2005
On Wed, 2005-02-09 at 10:46 +0900, Junji Kanemaru wrote:
> Havoc Pennington wrote:
> > Question one is what kind of authentication are you expecting. If you
> > can answer that, I can help you implement it.
> Basically, I just want to invoke *fast RPC*. That's it. D-BUS is relatively
> fast comparing to XMLRPC though its 1.1 version has got incredible
> performance improvement in abyss server code.
D-BUS isn't astonishingly fast or anything, though it's faster than XML-
> Also, I want secure transport since what we are going to send out
> to network is very sensitive information.
There isn't SSL support in D-BUS yet.
> Probably you wouldn't recommend D-BUS such use but I just wanted
> to give it a try. Anyways, going back to my original question,
> the "tcp:host=xxxx,port=xxxx" doesn't work here, what I'm missing?
> The test apps test-thread-server and test-thread-client won't work
> over network? Or do I need some tweaking to make them work?
As I've said twice now: you need an authentication mechanism. Maybe the
unclear part is that you have to _implement_ this authentication
mechanism. The only two mechanisms currently implemented are:
- socket credentials (works only for local sockets)
- magic cookie (works only if you share a home directory)
I don't know what authentication mechanism you want, because it depends
on your application and how your network is set up. The two that exist
are the ones appropriate for the system and session bus.
More information about the dbus