[jdev] TLS/SSL Stream Resumption and XMPP

Philipp Hancke fippo at goodadvice.pages.de
Sat Mar 9 16:33:23 UTC 2013

> has somebody experience with TLS level stream resumption in XMPP software?

http://tools.ietf.org/html/draft-cridland-sasl-tls-sessions-00 is still 
worth reading...

> Has anybody implement this and made some tests? Is it worth the effort,
> considering that in some situations (e.g. mobile) you have frequent
> reconnects? How does it play with STARTTLS?

Don't use STARTTLS, just multiplex TLS on port 5222 by peek'ing the 
first byte (which should be 0x16). jabberd has supported that for ages, 
it works quite reliably for TLSv1 client hellos (and slightly less for 

More information about the JDev mailing list