[jdev] dialback question

Matthias Wimmer m at tthias.eu
Tue May 23 10:55:12 CDT 2006


Peter Saint-Andre wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ben Turner wrote:
>   
>> Hello,
>>
>> We are implementing an XMPP server-to-server stack that supports dialback
>> authentication.
>>
>> Step five of chapter 8.3 of RFC3920 states that an implementation may re-use an
>> existing connection for dialback.
>>
>> Step nine however, states that the Authoritative Server should terminate the
>> stream between itself and the Receiving Server after dialback.
>>
>> What connections should step five re-use? I have been sniffing jabberd traffic
>> to figure out how it behaves, and as far as I can see it does not close the
>> dialback connection after authentication has happened, and subsequently re-uses
>> it. Can I assume that if I close the the dialback streams after authentication,
>> my partner will create a new stream for authetication in the other direction?
>>     
>
> Step 5 talks about re-using an existing TCP connection, whereas Step 9
> talks about terminating an XML stream. So these are two different levels
> (you can terminate the XML stream but keep the TCP connection open).
>   

Does this mean a server should wait for a new XML stream on a TCP 
connection, after a previous XML stream ended? I don't think so, I do 
not really understand what you want to say with this mail.


Matthias



More information about the JDev mailing list