Let&#39;s suppose this patch is committed. &nbsp;Yes, it then works with Google. &nbsp;And then which server do we break as a result?<div><br></div><div>We need a patch which somebody has tried with many servers and if necessary auto-detects when that hack is required vs. when it&#39;s not. &nbsp;Or let&#39;s check it in guarded, off by default, but with a config opt/flag to enable it. &nbsp;Then when people report bugs in the future with the new behavior we can say &quot;but does it work with FooOpt enabled?&quot;. &nbsp;And then we&#39;ll have data on a server that&#39;s required to do that for and eventually end up with a good solution.</div>
<div><br></div><div>But I&#39;m not a fan of all these patch proposals like &quot;well deleting this works for me&quot; because that&#39;s not a comprehensive solution.</div><div><br></div><div>Can somebody research this more?</div>
<div><br></div><div><div><div class="gmail_quote">On Fri, Jan 30, 2009 at 11:08 PM, Piers Harding <span dir="ltr">&lt;<a href="mailto:piers@ompka.net">piers@ompka.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi -<br>
I&#39;ve reported this problem before, with openfire servers - it just<br>
started happening to me a couple of months back.<br>
<br>
I was kind of hoping someone with commit access would remove the problem<br>
code.<br>
<br>
Cheers,<br>
Piers Harding.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
On Fri, Jan 30, 2009 at 06:16:15PM -0800, Gordon Irlam wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;ve been having difficulties getting my DJabberd to federate with<br>
&gt; <a href="http://gmail.com" target="_blank">gmail.com</a>. &nbsp;It federates fine with <a href="http://jabber.com" target="_blank">jabber.com</a>.<br>
&gt;<br>
&gt; I&#39;ve attached a packet trace at the end of this email, but it seems<br>
&gt; the problem is caused by the following code in<br>
&gt; Connection/ServerOut.pm:<br>
&gt;<br>
&gt; &nbsp; &nbsp; if ($ss-&gt;version-&gt;supports_features) {<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; # they can eat a dick for all we care. &nbsp;they get no features.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; # what is this weird XMPP 1.0 + old-school Dialback world anyway?<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; # maybe we&#39;re still confused. &nbsp;FIXME: care.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; my $features = &quot;&lt;stream:features&gt;&lt;/stream:features&gt;&quot;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $self-&gt;write($features);<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; $self-&gt;log-&gt;debug(&quot;$self-&gt;{id} sending &#39;$features&#39;&quot;);<br>
&gt; &nbsp; &nbsp; }<br>
&gt;<br>
&gt; Deleting this code allows my DJabberd to federate with Google.<br>
&gt;<br>
&gt; This is my first tweak to DJabberd, so I wanted to check if it is safe<br>
&gt; to delete this code, or are there gremlins I don&#39;t understand.<br>
&gt;<br>
&gt; Also, is this really a Google problem? &nbsp;Should I follow up with them<br>
&gt; too?<br>
&gt;<br>
&gt; thanks,<br>
&gt; Gordon<br>
&gt;<br>
&gt; -----------------------------------------------------<br>
&gt;<br>
&gt; myserver.32838 &gt; wf-in-f125.google.com.xmpp-server:<br>
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;stream:stream to=&#39;<a href="http://gmail.com" target="_blank">gmail.com</a>&#39;<br>
&gt; xmlns:stream=&#39;<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>&#39; xmlns=&#39;jabber:server&#39;<br>
&gt; xml:lang=&#39;en&#39; xmlns:db=&#39;jabber:server:dialback&#39; version=&#39;1.0&#39;&gt;<br>
&gt;<br>
&gt; wf-in-f125.google.com.xmpp-server &gt; myserver.32838:<br>
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;stream:stream from=&quot;<a href="http://gmail.com" target="_blank">gmail.com</a>&quot;<br>
&gt; id=&quot;0A8E5AD27E429B7E&quot; version=&quot;1.0&quot;<br>
&gt; xmlns:stream=&quot;<a href="http://etherx.jabber.org/streams" target="_blank">http://etherx.jabber.org/streams</a>&quot; xmlns=&quot;jabber:server&quot;<br>
&gt; xmlns:db=&quot;jabber:server:dialback&quot;&gt;<br>
&gt;<br>
&gt; wf-in-f125.google.com.xmpp-server &gt; myserver.32838:<br>
&gt; &lt;stream:features&gt;&lt;dialback<br>
&gt; xmlns=&quot;urn:xmpp:features:dialback&quot;/&gt;&lt;/stream:features&gt;<br>
&gt;<br>
&gt; myserver.32838 &gt; wf-in-f125.google.com.xmpp-server:<br>
&gt; &lt;stream:features&gt;&lt;/stream:features&gt;<br>
&gt;<br>
&gt; wf-in-f125.google.com.xmpp-server &gt; myserver.32838:<br>
&gt; &lt;stream:error&gt;&lt;not-authorized<br>
&gt; xmlns=&quot;urn:ietf:params:xml:ns:xmpp-streams&quot;/&gt;&lt;/stream:error&gt;<br>
<br>
</div></div><font color="#888888">--<br>
Home - <a href="http://www.piersharding.com" target="_blank">http://www.piersharding.com</a><br>
<a href="mailto:xmpp%3Apiers@ompka.net">xmpp:piers@ompka.net</a><br>
<br>
</font></blockquote></div><br></div></div>