Commit graph

30 commits

Author SHA1 Message Date
Sylvain Berfini
9551c9118a Improvements on tunnel to make udp mirror and dual mode cohabitate + JNI wrapper 2017-02-01 11:20:40 +01:00
Sylvain Berfini
53e99b9a22 Fixes related to tunnel 2017-01-31 15:54:25 +01:00
Sylvain Berfini
463a24d3e0 Added dual tunnel client feature in TunnelManager and C API above it 2017-01-30 17:14:26 +01:00
Ghislain MARY
a584db8606 Fix some header inclusions. 2016-11-16 09:14:48 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Simon Morlat
3a1dacbdf4 big rework of Tunnel management
- better integration with network reachability callback
- fix crashes (mTunnelClient can no longer be NULL)
- avoid useless operations during transcient states
- clarify source code
- allow the application to set root_ca before the tunnel connection actually starts.
2016-08-18 18:51:11 +02:00
Gautier Pelloux-Prayer
cf9022757f tunnel: add a test when having several tunnel configs 2016-04-14 12:23:00 +02:00
Johan Pascal
f45856be68 Tunnel client can verify server certificate 2016-03-21 20:29:17 +01:00
Jehan Monnier
89e977998f start long running task during tunnel udp link probing 2016-02-04 16:11:43 +01:00
Simon Morlat
3f7577a6ab fix potential bug because internal_call_update flag was never reset. 2015-08-26 14:47:01 +02:00
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00
Simon Morlat
d0095948b9 Allow the tunnel mode to work with any proxy config (except for sips destinations)
fix the tunnel tests, that were not working correctly.
2014-11-14 20:17:54 +01:00
François Grisez
636976e55d Reworking TunnelManager
Some booleans have been replaced by a state variable
2014-10-30 11:20:51 +01:00
François Grisez
df4385b17c Fix registration issues when tunneling is enabled 2014-09-23 16:03:29 +02:00
François Grisez
10bc15409c Change the LinphoneTunnel C API
* The tunnel manager are now thre mode : disable, enable and auto
* Two new functions: linphone_tunnel_set_mode() and linphone_tunnel_get_mode()
* linphone_tunnel_enable(), linphone_tunnel_enabled(), linphone_tunnel_auto_detect()
and linphone_tunnel_auto_detect_enabled() are now deprecated.
2014-09-18 16:03:45 +02:00
François Grisez
1796203783 Simplification of TunnelManager class
* TunnelManager does not implement the TunnelClientController anymore
* Methods which are not uses by functions of linphone_tunnel.h have been turn to private
* Private methods which are not used by any other methods have been deleted
* Unused attributes have been deleted
2014-09-18 16:03:45 +02:00
François Grisez
4bc67e3645 Add transport_SIP boolean parameter in "tunnel" of the configuration file
If this parameter is set to 1, SIP packets will pass through tunnels when the
tunnel mode is enabled. If set to 0, SIP packets will be directly sent to proxies
whatever the state of tunnels
2014-09-16 16:13:20 +02:00
François Grisez
37be673607 Add a private FirewallPolicy getter which return NoFirewallPolicy whether a tunnel is enabled 2014-09-15 15:55:10 +02:00
François Grisez
ef404cd319 Add a function to prevent SIP packets to pass through tunnels 2014-09-15 11:32:42 +02:00
Gautier Pelloux-Prayer
ba13a9baf7 Fix tunnel bug: reset 'enable register' option in proxy config after enabling/disabling the tunnel 2014-09-04 16:59:41 +02:00
Simon Morlat
86aa12e97e Merge remote-tracking branch 'public/master' into belle-sip 2013-05-10 15:49:33 +02:00
Simon Morlat
fd98c1e057 - do not register outside of tunnel when tunnel is activated but not yet connected.
- move TUNNEL_ENABLED to config.h, which avoids recompilation issues with -D flags.
2013-05-10 15:07:01 +02:00
Ghislain MARY
82c498a711 Port tunnel to belle-sip. 2013-04-19 10:55:59 +02:00
Simon Morlat
239e4f553b do not use ICE while in tunnel mode 2012-09-18 12:25:04 +02:00
Simon Morlat
b70085becb set processing of tunnel udp mirror callback on main thread. 2012-09-17 16:02:57 +02:00
Simon Morlat
5ad81af695 refine tunnel implementation
- API cleanups
- add http proxy support
- add stubs to avoid using conditional defines.
2012-02-15 14:53:27 +01:00
Simon Morlat
3c805758e8 ported to mingw 2012-01-30 22:21:30 +01:00
Jehan Monnier
77cad2f045 finilize tunnel api cleanup 2011-12-22 13:59:10 +01:00
Guillaume Beraudo
f45bf65a80 Stores a different payload in Rtptransport. 2011-12-20 17:34:02 +01:00
Guillaume Beraudo
886d80bb6d Tunnel manager. 2011-12-16 10:43:30 +01:00