Commit graph

46 commits

Author SHA1 Message Date
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Simon Morlat
deed93a650 Fix "grosse déchire" around LinphoneTunnel objectization. 2017-04-16 17:32:43 +02:00
Jehan Monnier
070e8ddacb restaure http proxy tunnel settings at startup 2017-04-11 14:03:38 +02:00
François Grisez
62c03843ff Turn LinphoneTunnel into belle_sip_object_t 2017-03-17 16:41:20 +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
7a9a12e606 Fixed tunnel dual mode config read from file 2017-01-31 17:50:16 +01:00
Sylvain Berfini
53e99b9a22 Fixes related to tunnel 2017-01-31 15:54:25 +01:00
Sylvain Berfini
4eea002784 Save & read dual tunnel mode from rc file 2017-01-30 17:36:36 +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
b9749a98a1 Fixes for build with autotools. 2016-11-16 10:12:10 +01:00
Ghislain MARY
33b72ce6b5 Move public header files in the include/linphone directory. 2016-11-15 14:41:18 +01:00
Sandrine Avakian
ef52735633 Fix windows compilation warnings. 2016-06-21 14:43:38 +02:00
Ghislain MARY
b535d1f153 Use bctbx_list_t instead of MSList that has been deprecated. 2016-06-16 17:42:33 +02:00
Simon Morlat
3b2f0be5b1 fix bad naming of linphonerc property 2016-04-22 12:10:26 +02:00
Gautier Pelloux-Prayer
f13fb7a90c tunnel: fix some leaks 2016-04-21 10:18:52 +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
Simon Morlat
9a8ee6ddf5 update for new ortp logging api 2016-01-19 16:25:43 +01:00
Simon Morlat
c4cf58931e rework TunnelConfig java wrapper to make it state of art and in the public interfaces. 2015-10-27 18:41:36 +01:00
Simon Morlat
49a91becb7 cleanups, add network simulation api to liblinphone 2015-02-24 18:11:12 +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
127d0f3aa9 Add some traces 2014-09-24 11:38: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
8e8a66002b Rename some linphone_tunnel_* functions 2014-09-17 10:04:41 +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
Gautier Pelloux-Prayer
e5522d62ef Add transport tests (tunnel only and tunnel + srtp) 2014-09-08 14:20:31 +02:00
François Grisez
012dc476e1 Destroy the "server_addresses" line in the configuration file while the save of the tunnel config when the tunnel host is empty 2014-07-23 16:48:28 +02:00
Ghislain MARY
0933640e54 Add API to know if tunnel auto detect is enabled. 2013-10-24 15:19:51 +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
Yann Diorcet
35d65d36f2 Merge branch 'master' of git.linphone.org:linphone into upnp
Conflicts:
	coreapi/linphone_tunnel.cc
	mediastreamer2
2013-01-17 15:34:58 +01:00
Yann Diorcet
d6b9b813eb Update linphone tunnel API 2013-01-15 12:47:49 +01:00
Yann Diorcet
9898c4beec Fix static build split tunnel stubs 2012-12-20 17:34:36 +01:00
Simon Morlat
aaa06771f2 avoid using strtok 2012-09-17 18:36:06 +02:00
Simon Morlat
dfb7e62d42 add tunnel stub 2012-05-30 10:00:04 +02:00
Simon Morlat
fde22ebf22 implement setting of http proxy host and port (for tunnel extension) in gtk ui 2012-05-29 23:51:24 +02:00
Jehan Monnier
3f071e9eb0 fix tunnel code for android 2012-05-18 12:38:08 +02:00
Simon Morlat
f1933983b8 add sanity check in linphone_core_remove_proxy_config()
fix compilation without tunnel (stubs are needed and must be declared as extern "c"
2012-02-15 21:48:34 +01:00
Yann Diorcet
6305ec6175 Remove unwanted header during compilation without tunnel 2012-02-15 18:38:16 +01: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
5e0c3388e1 tunnel extension ported to windows (mingw) and working 2012-01-30 23:47:29 +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
Renamed from coreapi/linphone_tunnel_manager.cc (Browse further)