i have implemented the File Tranfer by using ByteStreams and some previous post of Alex regarding Jep0065 and wildfire.
The problem now is that even between my apps, althought both Initiator and Target is CONENCTED to the windfire server and of coure i have enabled the FIle Tranfer proxy on it,
when the initiator tryies to Activate the Bytestream it gets a error.
According to jep0065 this error is raised when one of the parties is not connected.
But i am positive that both of them are as i am debugging both of them and i see that they have successfully connected to the server.
My first thought is perhaps that you are building the hash wrong. Are you using java to implement your client? What is the code you are using to build your hash?
Wildfire builds the hash from the information sent in the activate packet so that would be another place to check that you are sending fully qualified JIDs: node@server/resource
Also, are you seeing the the ‘‘00’’ returned from wildfire when connecting to the proxy?
Also, about the SOCK5 addressing, althought Jep does not say anything about it, in the first octet of the ADDRESS field i put the number of the address octets.
Also i use the ‘‘00’’. I suppose we are talking about the REP field of the return status of the CONNECT command to the SOCKS5 proxy server.Right?I use the REP field to understand if I am connected to the server.
Alex, i don’'t have this traffic right now, but i will manage to get it for you (i will grab the messages one by one).
About sha1, it returns me an 20 bytes long code.
I am sending these bytes to the Wildfire server.
Talking with anohter friend, he pointed out to me that i shouldn’'t sent the plain bytes as i get them but i should convert them to ascii codes before i send them as an address. So the result address should be 40 bytes ascii encoded the 20 bytes from the SHA1 encoding.