Ghislain MARY
46d894caf6
Use correct macro to detect Android build.
2017-03-08 13:12:02 +01:00
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
33b72ce6b5
Move public header files in the include/linphone directory.
2016-11-15 14:41:18 +01:00
Ghislain MARY
b6d9baff92
No longer access dblk_t fields directly.
2016-10-24 16:51:51 +02: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
Ghislain MARY
01919efecc
Fix crash in ICE when the tunnel is activated.
2016-06-22 15:37:27 +02:00
Ghislain MARY
bd6ae0f373
Update oRTP submodule + fix TunnelManager according to changes made in oRTP.
2016-05-10 17:35:12 +02:00
Gautier Pelloux-Prayer
af33a19266
tunnel: turn off autodetection if network is not reachable anymore
2016-04-14 14:21:32 +02:00
Gautier Pelloux-Prayer
cf9022757f
tunnel: add a test when having several tunnel configs
2016-04-14 12:23:00 +02:00
Gautier Pelloux-Prayer
88e593e944
tunnel: add/improve some debug traces
2016-04-08 11:21:31 +02:00
Johan Pascal
f45856be68
Tunnel client can verify server certificate
2016-03-21 20:29:17 +01:00
Gautier Pelloux-Prayer
30e504c263
TunnelManager.cc: invoke sal_set_tunnel when destroying tunnel
2016-02-25 16:42:35 +01:00
Jehan Monnier
89e977998f
start long running task during tunnel udp link probing
2016-02-04 16:11:43 +01:00
Jehan Monnier
2a455a5fc7
remove some warnings
2016-01-19 15:39:31 +01:00
Simon Morlat
a326159be9
add logs to track RtpEndpoint enablement
2016-01-15 09:21:55 +01:00
Simon Morlat
2a2ef0f94d
fix compile issue
2015-02-24 18:22:41 +01:00
Jehan Monnier
d7437ef1f5
enable ice with tunnel
2014-12-22 21:47:35 +01:00
Jehan Monnier
7c0a5ee770
fix compilation issuewq
2014-11-20 16:24:43 +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
Simon Morlat
0f52361549
set correct name to constructor of LinphoneCoreVTable
2014-10-15 16:25:31 +02:00
François Grisez
acab555601
Fix invalid read/write
2014-09-25 14:37:23 +02:00
François Grisez
127d0f3aa9
Add some traces
2014-09-24 11:38:23 +02:00
François Grisez
ea5f09dcea
Avoid TunnelManager to register or unregister when SIP is disabled
2014-09-24 10:16:32 +02:00
François Grisez
df4385b17c
Fix registration issues when tunneling is enabled
2014-09-23 16:03:29 +02:00
François Grisez
b71182e56b
Make the tunnel to listen 'network-reachable' events even if its mode is not 'auto'
2014-09-19 14:53:23 +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
06035f934d
Update submodules and rtp_transport behavior
2014-09-08 14:20:31 +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
550af5a8c7
fix linphone_proxy_config_edit() calls unbalanced with linphone_proxy_config_done() calls.
...
This caused regressions, like for example linphone_core_clear_proxy_config() not sending any unREGISTER.
2014-05-26 22:10:05 +02:00
Simon Morlat
e407f70c14
Fix: in tunnel mode, linphone wasn't unregistering at exit.
2013-11-06 16:36:43 +01:00
Ghislain MARY
9ef261f66e
Fix compilation with tunnel on Android.
2013-10-23 15:57:00 +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
6d682291e9
Fix registration when disabling tunnel.
2013-04-22 11:16:00 +02:00
Ghislain MARY
541413ce20
Do not include eXosip header when compiling with bellesip.
2013-04-19 14:57:26 +02:00
Ghislain MARY
82c498a711
Port tunnel to belle-sip.
2013-04-19 10:55:59 +02:00
Ghislain MARY
264a6ac3aa
Fix one more possible crash in TunnelManager if the ip address is NULL.
2013-03-04 11:13:14 +01:00
Ghislain MARY
a6c1410623
Use random port instead of fixed 15060 for tunnel transport.
2013-01-21 12:01:41 +01:00
Ghislain MARY
46ce83799e
Add check to prevent crash.
2013-01-17 11:32:00 +01:00
Ghislain MARY
8de31757c6
Fix logging for tunnel on Android.
2013-01-03 16:14:35 +01:00
Ghislain MARY
6799a424ae
Fix bug in auto detect procedure of tunnel manager.
...
The same UDP client was always used and so the tunnel could never be
enabled by the auto detect mode.
2013-01-03 15:09:45 +01:00
Simon Morlat
edec0b18e7
fix tunnel crash
2012-10-02 11:05:05 +02:00
Simon Morlat
239e4f553b
do not use ICE while in tunnel mode
2012-09-18 12:25:04 +02:00