<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CUsers%5CVincent%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5CVincent%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5CVincent%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;
        mso-font-charset:2;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-520092929 1073786111 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-size:10.0pt;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>

<p class="MsoNormal">Hi,</p>

<p class="MsoNormal">†</p>

<p class="MsoNormal"><span style="" lang="EN-US">Iím quite
new with XMPP, so please excuse me if this seems evident to you. Iím really
impress by the potential of XMPP, amazing!</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">Iím using
ejabberd (of course!) because of its scalability (going to have hundreds of
thousands simultaneous users) and documentation </span><span style="font-family: Wingdings;" lang="EN-US">J</span><span style="" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">I want to
do a pubsub system where publishers are authenticated users (my servers) and
subscribers are anonymous (my users Ė browsing the website). Itís typically for
a realtime web application.</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">Iím using
Strophe (JS) over BOSH right now to debug things an watch whatís happening
behind the scene (do you have a raw XMPP toolbox to recommend to me? (under
Windows) Iím looking for one, but canít find anything goodÖ)</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">Here are
the channel creation stanzas (I donít obscure anything as this should not have
any security problem and will be public):</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-US">SENT: &lt;body rid=&#39;3030453428&#39;
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39; sid=&#39;8bf46ca38d7c85b1fde82f7d1b198df3dd412069&#39;&gt;&lt;iq
from=&#39;<a href="http://server@push.oopad.com/40920709061263979266308076">server@push.oopad.com/40920709061263979266308076</a>&#39; to=&#39;<a href="http://push.oopad.com">push.oopad.com</a>&#39;
type=&#39;set&#39; id=&#39;2090:pubsubcreatenode&#39; xmlns=&#39;jabber:client&#39;&gt;&lt;pubsub
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;&lt;create node=&#39;channel&#39;/&gt;&lt;configure/&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-US">RECV: &lt;body
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;&gt;&lt;iq xmlns=&#39;jabber:client&#39;
from=&#39;<a href="http://push.oopad.com">push.oopad.com</a>&#39; to=&#39;<a href="http://server@push.oopad.com/40920709061263979266308076">server@push.oopad.com/40920709061263979266308076</a>&#39;
id=&#39;2090:pubsubcreatenode&#39; type=&#39;result&#39;/&gt;&lt;/body&gt;</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">The problem
is when my anonymous account want to subscribe to the channel (you can connect
to the server anonymously yourself, itís open Ė do I have any security breach
here? Anonymous users must only be able to listen) :</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-US">SENT: &lt;body rid=&#39;1708834866&#39; xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;
sid=&#39;24b5d9771a1edca218cdf77404668aaf82a9329e&#39;&gt;&lt;iq
from=&#39;<a href="http://1661478084126398010876641@push.oopad.com/10008815821263980108626620">1661478084126398010876641@push.oopad.com/10008815821263980108626620</a>&#39;
to=&#39;<a href="http://push.oopad.com">push.oopad.com</a>&#39; type=&#39;set&#39; id=&#39;8680:subscribenode&#39;
xmlns=&#39;jabber:client&#39;&gt;&lt;pubsub xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;&lt;subscribe
node=&#39;channel&#39;
jid=&#39;<a href="http://1661478084126398010876641@push.oopad.com/10008815821263980108626620&#39;/">1661478084126398010876641@push.oopad.com/10008815821263980108626620&#39;/</a>&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</span></p>


<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-US">RECV: &lt;body
xmlns=&#39;<a href="http://jabber.org/protocol/httpbind">http://jabber.org/protocol/httpbind</a>&#39;&gt;&lt;iq xmlns=&#39;jabber:client&#39;
from=&#39;<a href="http://push.oopad.com">push.oopad.com</a>&#39; to=&#39;<a href="http://1661478084126398010876641@push.oopad.com/10008815821263980108626620">1661478084126398010876641@push.oopad.com/10008815821263980108626620</a>&#39;
id=&#39;8680:subscribenode&#39; type=&#39;error&#39;&gt;&lt;error code=&#39;404&#39;
type=&#39;cancel&#39;&gt;&lt;item-not-found
xmlns=&#39;urn:ietf:params:xml:ns:xmpp-stanzas&#39;/&gt;&lt;/error&gt;&lt;pubsub
xmlns=&#39;<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>&#39;&gt;&lt;subscribe node=&#39;channel&#39;
jid=&#39;<a href="http://1661478084126398010876641@push.oopad.com/10008815821263980108626620&#39;/">1661478084126398010876641@push.oopad.com/10008815821263980108626620&#39;/</a>&gt;&lt;/pubsub&gt;&lt;/iq&gt;&lt;/body&gt;</span></p>


<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">There is
obviously something going bad hereÖ</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">Iíve also
tried with node in the form /home/<a href="http://push.oopad.com/channel">push.oopad.com/channel</a> but still the same.</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">†</span></p>

<p class="MsoNormal"><span style="" lang="EN-US">Thanks for
your help </span><span style="font-family: Wingdings;" lang="EN-US">J</span><span style="" lang="EN-US"></span></p>

<br clear="all"> <br><br>Cordialement,<br>Vincent Courcelle<br>