Commit Graph

55 Commits

Author SHA1 Message Date
Jefry Lagrange b2897e36bb better way to handle non supported hash algorithms 2012-01-24 16:51:26 -05:00
Jefry Lagrange c02b43f88f coding standards 2012-01-24 10:04:14 -05:00
Jefry Lagrange 5142ebd626 check file integrity when transfer is completed 2012-01-23 22:28:07 -05:00
Jefry Lagrange c51fb07d09 merge 2012-01-15 19:53:40 -05:00
Jefry Lagrange 376777091e support for xep-300 2012-01-15 19:37:00 -05:00
Yann Leboulanger 69544d5f5c coding standards 2012-01-08 20:44:15 +01:00
Jefry Lagrange 930c71cc04 complete IBB jingle support, fixes #6998 2012-01-06 23:18:50 -05:00
Yann Leboulanger 41b7bd7b41 fix sending jingle ack 2011-12-29 14:08:35 +01:00
Jefry Lagrange c491bd3f59 create a new session for every new file transfer; enable OpenSSL 2011-12-27 23:47:00 -05:00
Jefry Lagrange b85f96b929 fix sending multiple files at the same time 2011-12-26 21:18:45 -05:00
Jefry Lagrange c9f2176ccb fix bad refactoring 2011-12-22 21:52:37 -05:00
Jefry Lagrange bc78e35d55 refactoring 2011-11-17 23:55:44 -05:00
Yann Leboulanger e4fa96cce3 make jingleFT work when receiver's proxy is used 2011-11-02 00:09:33 +01:00
Jefry Lagrange 8408b17758 fix socks5 FT 2011-10-29 14:31:06 -04:00
Jefry Lagrange 212f33cafa socks5 proxy fixed 2011-10-29 00:09:45 -04:00
Yann Leboulanger 4c112419c0 start transfer when we get a candidate-error, but we found a remote usable streamhost 2011-08-24 23:53:36 +02:00
Yann Leboulanger e49a48d7da coding standards + choose correct streamhost when we receive the streamhost_used after we sent it 2011-08-24 10:42:16 +02:00
Jefry Lagrange 19bc86d9a3 fix candidate priority 2011-08-22 23:57:29 -04:00
Jefry Lagrange 609ee79791 connect to candidate with highest priority 2011-08-21 19:02:58 -04:00
Jefry Lagrange 60df476506 Wait until candidate negociation ends; Socks5 connection problem fixed 2011-08-14 23:59:39 -04:00
Jefry Lagrange 9f3d472564 bidirectional jingle FT with socks5 2011-08-08 19:43:07 -04:00
Jefry Lagrange d92d86e6bc connecting to candidates in session-accept 2011-07-22 16:15:34 -04:00
Jefry Lagrange 2d624a7b96 test case for jingle 2011-07-17 18:28:38 -04:00
Jefry Lagrange 8fbaaba356 Fixes jingleFT IBB fallback 2011-07-05 14:05:16 -04:00
Yann Leboulanger ff972b6b67 fix import loops 2011-07-02 00:47:33 +02:00
Jefry Lagrange a8fe25aaa4 JingleFT IBB fallback 2011-06-28 18:31:07 -04:00
Yann Leboulanger dc3b203168 use event system for jingle FT 2011-06-24 18:24:42 +02:00
Yann Leboulanger 5234e42a28 [Thibg] handle negociated variable correctly and use it for file transfer. 2010-08-26 16:56:08 +02:00
Yann Leboulanger ac2b2ac3a1 accept session as soon as one content is accepted 2010-08-26 13:18:16 +02:00
Yann Leboulanger 99981e57b8 ability to send several files at the same time. We need to accept them all before transfer starts for the moment. 2010-08-26 11:56:12 +02:00
Yann Leboulanger 286d788da0 Name of filetransfer content is now random to be able to have 2 transfer in the same session. send and handle content-add in filetranfer 2010-08-26 10:36:58 +02:00
Yann Leboulanger 833983eab8 - use transport sid to compute hash sent to proxies
- Don't use XTLS when using proxies
2010-08-25 12:05:14 +02:00
Yann Leboulanger 556236ac38 don't use XTLS to transfer files when we don't use the security element 2010-08-24 23:24:18 +02:00
Yann Leboulanger b8914c6219 coding standards 2010-08-24 23:12:34 +02:00
Zhenchao Li 2b603fd7e1 add some code to allow testing using some pre-existing certificates.
TODO: manually handle handshake states to allow non-blocking I/O
2010-07-27 21:29:12 +08:00
Zhenchao Li e9af72e944 add jingle_xtls.py, get_context helper function 2010-07-27 13:02:44 +08:00
Zhenchao Li 797b3fe6a9 remove unnecessary branch 2010-07-24 10:12:54 +08:00
Zhenchao Li 84debaabca if peer does not include a security element in content node, set use_security to false 2010-07-22 16:20:14 +08:00
Zhenchao Li 30cbdce234 if the peer supports jingle XTLS, send session-initiate with security element 2010-07-22 15:05:06 +08:00
Zhenchao Li e75dc0c408 fix incorrect use of jid where account name should be used as parameter 2010-07-15 14:32:34 +08:00
Zhenchao Li 7d0029879a send proxy activated stanza to peer 2010-07-15 13:38:53 +08:00
Zhenchao Li 2938838f54 remove "pass" 2010-07-13 10:43:14 +08:00
Zhenchao Li c29fbdb617 enable FT over proxy 2010-07-13 10:38:31 +08:00
Yann Leboulanger e5eb62e12b correctly get connection object in JingleTransportSocks5 2010-07-06 12:29:21 +02:00
Zhenchao Li 92988cf2ba fix bug: use jid without resource 2010-07-05 19:54:59 +08:00
Zhenchao Li 14fe189b00 send transport info, start "send_file" after receiving transport-info.
TODO: implement file transfer complete callback, various session management code for abnormal FT interactions.
2010-07-05 13:46:53 +08:00
Zhenchao Li d0adcb1a05 dispatch iq-result for a jingle iq stanza, start listener after iq-result on session-initiate. 2010-07-03 16:22:47 +08:00
Zhenchao Li 2203755734 parse transport, construct streamhosts 2010-07-01 15:48:44 +08:00
Zhenchao Li 2b745570ec add file_props structure to socks5queue 2010-07-01 13:25:33 +08:00
Zhenchao Li b85e7849e8 contruct transport candidates for jingle socks5 bytestream 2010-06-19 22:52:17 +08:00