we are developing an IM client based on Xmpp running the lastest version of Wildfire Server.
Currently we are stuck with file transfers.
We have implemented the full Jep065,jep 096 and jep 095 features (auto discovery, proxied transfered etc).
My problem is that i cannot send or receive a file and i try to figure out the problem.
I have tried with the following clients Miranda, Spark and PSI.
I have tested all these clients and they are able to tranfer files between them.
Not even one can transfer files with my app.
I use the SOCKS5 protocol as Jep0065 proposes.
I have the following questions:
Jep 0065 says that the SOCKS5 server will send to the Target the Status ‘‘00’’ only after the Inittiator activates the stream. Is that right?
The Target should not wait to return from the CONNECT SOCKS5 command, but should send to the Initator the StreamHost used right after he Authenticates with the server. Is that right?
In the CONNECT command both initiator and Target send the SHA1(SIDInitiatorTarget) byte array.Should I follow the full SOCKS5 RFC and the first octet of the address be the size of the address?
I do all these and when i am the Initiator and send the Activate Xmpp command to the PROXY server (which is Wildfire) it returns me not-allowed error which means that someone has not been conencted to the server. I suppose this is not right as the Target of course will not be fully connected as he is waiting the response from the CONNECT command. This responce according to jep0065 will come only AFTER the Initiator Activates the stream.
I really need some help!
Thanks in advance.