[jdev] S2S questions - from attribute and version support

Norman Rasmussen norman at rasmussen.co.za
Thu Dec 29 07:42:30 CST 2005


Version=1.0 only requires the server to support features (rfc 3920,
section 4.6), it does not require the server to support tls or sasl. 
My guess that is that if the both servers support TLS (via features)
then do TLS.

Just because you have TLS doesn't mean you don't have to dialback. 
The only time you SHOULD not do dialback is when you've authenticated
via SASL. (rfc 3920, section 8.1)

On 12/29/05, Vinod Panicker <vinod.p at gmail.com> wrote:
> On 12/29/05, Jacek Konieczny <jajcus at jajcus.net> wrote:
> > On Thu, Dec 29, 2005 at 12:07:51PM +0530, Vinod Panicker wrote:
> > > RFC 3920 states -
> > >
> > >    In the 'jabber:server' namespace, a stanza MUST possess a 'from'
> > >    attribute; if a server receives a stanza that does not meet this
> > >    restriction, it MUST generate an <improper-addressing/> stream error
> > >    condition.
> > >
> > > But the Dialback section states -
> > >
> > >    Note: The 'to' and 'from' attributes are OPTIONAL on the root stream
> > >    element.
> >
> > Stanza is not the root stream element, but a child of the root stream
> > element. So there is nothing conflicting in those two sentences.
>
> Sorry!  Missed that out.  But what about servers advertising
> version=1.0 and not supporting tls+sasl?
>
> Regards,
> Vinod.
>


--
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list