<div dir="ltr"><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">We avoided the HTTP based mechanisms
because we need to have a minimal HTTP server.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">What we understood from the available
documentation and your mails is </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<ol style="margin-top: 0in;" start="1" type="1"><li style="color: navy;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">There
is option for Anonymous mode of operation in DBUS library.</span></font></li><li style="color: navy;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The
dbus-daemon does not support anonymous mode as of now.</span></font></li><li style="color: navy;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">We
may need to write a custom DBUS server and which internally sets the
authentication as anonymous.</span></font></li></ol>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Could you please confirm our understanding
is correct?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Also is there any server implementation which
we could refer for that?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Regards,</span></font></p><p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Remya<br>
</span></font></p>
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"></span></font><br><br><div class="gmail_quote">On Mon, Jul 28, 2008 at 11:13 AM, Havoc Pennington <span dir="ltr"><<a href="mailto:hp@pobox.com">hp@pobox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
You have to figure out authentication, see for example some of these threads:<br>
<a href="http://lists.freedesktop.org/archives/dbus/2007-June/008066.html" target="_blank">http://lists.freedesktop.org/archives/dbus/2007-June/008066.html</a><br>
<a href="http://lists.freedesktop.org/archives/dbus/2008-February/009331.html" target="_blank">http://lists.freedesktop.org/archives/dbus/2008-February/009331.html</a><br>
<br>
The only known-working uses of TCP with dbus right now are:<br>
* to share the session bus when a user is logged into two machines<br>
sharing a home directory via a networked filesystem<br>
* to write a custom DBusServer (NOT a dbus-daemon) that accepts<br>
anonymous connections<br>
<br>
Other uses are possibly trivial to implement, but they are not<br>
implemented. So you would have to look into adding more features to<br>
dbus to support them.<br>
<br>
If you explain what you are trying to do on a higher level someone may<br>
have more advice about what sort of auth you could be using.<br>
<br>
Always remember this point made in the dbus spec:<br>
<br>
D-Bus is designed for two specific use cases:<br>
<br>
* A "system bus" for notifications from the system to user<br>
sessions, and to allow the system to request input from user sessions.<br>
* A "session bus" used to implement desktop environments such as<br>
GNOME and KDE.<br>
<br>
D-Bus is not intended to be a generic IPC system for any possible<br>
application, and intentionally omits many features found in other IPC<br>
systems for this reason.<br>
D-Bus may turn out to be useful in unanticipated applications, but<br>
future versions of this spec and the reference implementation probably<br>
will not incorporate features that interfere with the core use cases.<br>
<font color="#888888"><br>
Havoc<br>
</font></blockquote></div><br></div>