Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
3181
|
Version |
tigase-server-7.1.0
|
Spent time |
42h
|
Issue Votes (0)
Watchers (0)
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
3181
|
Version |
tigase-server-7.1.0
|
Spent time |
42h
|
We are using 7.1.0 SNAPSHOT and we noticed a problem with multiplexed XMPP S2S connection to Tigase as follows:
NxPFS (my XMPP server) opens an outbound connection to Tigase as follows. Note that this is a single XMPP connection with outbound (NxPFS->Tigase) and inbound (Tigase->NxPFS) stanzas as shown.
NxPFS->Tigase
05:01:57 PM:1:<stream:stream xmlns="jabber:server" xmlns:db="jabber:server:dialback" xmlns:stream="http://etherx.jabber.org/streams" from="voxbone.com" to="nxptest.ucinterop.info" xml:lang="en" version="1.0">
Tigase->NxPFS
05:01:57 PM:2:<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' id='ebc1452c-da5f-4b8c-9eb0-6181d7925a26' from='nxptest.ucinterop.info' to='voxbone.com' version='1.0'>
05:01:57 PM:3:stream:features</stream:features>
NxPFS->Tigase
05:01:57 PM:4:<db:result from="voxbone.com" to="nxptest.ucinterop.info">8d7c05b920220395620737ebc1452c-da5f-4b8c-9eb0-6181d7925a26</db:result>
Tigase->NxPFS
05:01:59 PM:9:<db:result from="nxptest.ucinterop.info" to="voxbone.com" type="valid"/>
At this point the connection is valid for sending packets from voxbone.com to nxptest.ucinterop.info and indeed many packets are sent successfully.
After some point NxPFS tries to authenticate this connection for a different pair:
NxPFS->Tigase
05:02:51 PM:63:<db:result from="tatacommunications.com" to="nxptest.ucinterop.info">7580d40d20420395620737ebc1452c-da5f-4b8c-9eb0-6181d7925a26</db:result>
Tigase->NxPFS
05:02:53 PM:68:<db:result from="nxptest.ucinterop.info" to="tatacommunications.com" type="valid"/>
Since the Tigase server came back with “valid” dialback result the connection SHOULD BE valid for sending packets from tatacommunications.com to nxptest.ucinterop.info. However when NxPFS does try to send a packet as follows:
NxPFS->Tigase
05:02:53 PM:69:
We get a stream error back from Tigase and the stream is closed:
Tigase->NxPFS
05:02:53 PM:70:stream:error</stream:error></stream:stream>
If indeed the connection was authenticated for the "tatacommunications.com->nxptest.ucinterop.info” pair, why did it reject the new packet for the same pair?