W dniu 01.04.2016, pią o godzinie 15∶06 +0200, użytkownik Philipp Jacob
napisał:
> <route xmlns='http://jabberd.jabberstudio.org/ns/component/1.0'
> from='localhost' to='localhost'>
> <presence xmlns='jabber:client' from='user1@localhost/testclient'
> type='subscribed' to='gloox@localhost'/>
> </route>
> sx (io.c:301) encoding 210 bytes for writing: <route ...

Here we see a bug, as the from is not replaced with bare JID.


> sx (io.c:255) decoded read data (210 bytes):
> <route xmlns='http://jabberd.jabberstudio.org/ns/component/1.0'
> to='localhost' from='localhost'>
>   <presence xmlns='jabber:client' to='gloox@localhost'
> type='subscribed' from='user1@localhost/testclient'/>
> </route>
> (io.c:96) completed nad: <route ...

And here this stanza arrives back at the 'localhost' sm, destined for
gloox@.

What hapens next with it?

It should pass:
mod_presence.c  _presence_pkt_user()  and get passed to pres_in()
pres.c  pres_in()  and get duplicated to each gloox session
pkt.c  pkt_sess()  each copy gets via router to gloox c2s connections

Maybe post the rest of the debug log on some pastebin, or just create
an issue on github[1] as we already found one bug. :-)

[1] https://github.com/jabberd2/jabberd2/issues/new


-- 
 /o__  A verbal contract isn't worth the paper it's written on. Include
(_<^'  me out. -Samuel Goldwyn

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to