summaryrefslogtreecommitdiff
path: root/vpn
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19[CID-32919, 33501] Unchecked return valuesubmit/tizen_4.0/20171103.014414accepted/tizen/4.0/unified/20171106.074041chleun.moon2-2/+12
Change-Id: I561f537c292f24af2e9956a7694e3868ee0ccd32 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-10-10[CID-28720] Remove unused valuechleun.moon1-1/+0
Change-Id: Ie59288fededb1bb7a09d234d8300e6893fab99c1 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-10-10[CID-32919, 33501] Fix bugchleun.moon2-0/+12
Change-Id: I8fc3c40c8a2cf3d9e5fb840796d0f0bf0b66a072 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-09-27[CID-26975, 36747] Fix memory leak and dereference after null checkchleun.moon1-2/+4
Change-Id: Ief1a868d989cb2cc78bb55980e3d8bee03a4a42b Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-09-11[WGID-253397, 253398] Fix unreachable codesubmit/tizen_4.0/20170911.130433accepted/tizen/4.0/unified/20170913.003055chleun.moon1-2/+2
Change-Id: Ie3faef9d95d95cbcfbd222d92f25e6eae8e41581 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-07-20Migrate root daemon to non rootsubmit/tizen/20170724.063335taesub kim4-4/+17
Change-Id: I0d0afacc8a11fadc8128f6eef3f64f7a4ca8675b Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-06-19Merge "Handle the failure case due to the invalid cert file" into tizensubmit/tizen/20170703.005838submit/tizen/20170620.103311accepted/tizen/unified/20170703.064314taesub kim1-24/+65
2017-06-07[IPSec] Unlink UDS file for charon when charon is killedsubmit/tizen/20170612.082510accepted/tizen/unified/20170612.171441chleun.moon1-1/+8
Change-Id: I2b6475c373bbf7410ecd779bc134f632ced626d5 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-06-02Handle the failure case due to the invalid cert fileJiung Yu1-24/+65
Change-Id: I86d6e2324936417c3a454a35f480dadb65feb9a8 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-06-02Add child SA up/down event and terminate commandJiung Yu4-112/+334
Change-Id: I4616b3148782cfc3b0ebf0a2f2826d84c67c2bf3 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-06-01Add NULL check before referencechleun.moon1-0/+10
Change-Id: I0485f5c69a2a1699f922b4c2c130f6865f8b31d9 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-05-31Fix crash during g_hash_table_destroy()submit/tizen/20170601.042236accepted/tizen/unified/20170602.154235chleun.moon1-1/+1
Change-Id: Ia3f6081ce49035f6b9126001161c6e804af71e3a Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-05-30Fix reference before null check (WGID 227715)chleun.moon1-0/+5
Change-Id: Iefe9af8c8a05877a16ed71cadf23aaed7053fa9a Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-05-30Wrap tizen specific codes with TIZEN_EXTchleun.moon2-0/+8
Change-Id: I4f30b15332aef3ceb2f0b601f1a18a170487c1f3 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-05-26Fix crash and invalid IKEV ESP proposalschleun.moon1-4/+1
Change-Id: I129210bcc41398ad1686758d80d836db254b1368 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-05-12[WGID-207858] Fixed memory leaktizen_4.0.m1_releasesubmit/tizen/20170512.071139accepted/tizen/unified/20170512.165707Seonah Moon1-0/+2
Change-Id: I2b291f130292951dcc962c1970f4d484463de9f5 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-05-10Fix svace issue (WGID 208127, 208128)submit/tizen/20170510.102153accepted/tizen/unified/20170510.183721chleun.moon1-1/+6
Change-Id: Ie8f4fe3e11c71111249f07d3a4bcdf4b3737d671 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-05-04Fix svace issues (WGID-207858, 208122, 208137, 208138)submit/tizen/20170504.080025accepted/tizen/unified/20170504.114207chleun.moon1-1/+5
Change-Id: I31373fbb6ad79517e63f4023c1f4bac2f63424e5 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-04-27Fix issues reported by a static analyzersubmit/tizen/20170427.090631accepted/tizen/unified/20170428.032833Jiung Yu2-8/+14
Change-Id: Ia57fc4f8b8b2740728d6df2972463f66a48b7b67 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-04-21Add license descriptionsubmit/tizen/20170425.040532submit/tizen/20170421.072430accepted/tizen/unified/20170427.015557accepted/tizen/unified/20170421.115140chleun.moon3-0/+57
Change-Id: I9953407e41b962de1e19ffbafad280a811c1e3a7 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-04-13Add processing request & response vici message with socketipsecYu Jiung9-234/+1782
Change-Id: I06ff60de06fde1ac8f484b1eecf49afed6d02542 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-03-02Add code to parse section struct into vici requestYu Jiung4-148/+623
Change-Id: If19978b75ab53c43a641a5e51bb0ef6a2adaa545 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-02-24Add ipsec pluginchleun.moon4-0/+462
Change-Id: Iafe144233e8dd8bc066e00340a5853e4e16d925a Signed-off-by: cheoleun <chleun.moon@samsung.com>
2016-11-17Revert "Change attribute for connmand and set uid/gid into service"submit/tizen/20161117.061227accepted/tizen/wearable/20161117.084156accepted/tizen/tv/20161117.084129accepted/tizen/mobile/20161117.084114accepted/tizen/ivi/20161117.084214accepted/tizen/common/20161117.085403seonah moon1-2/+2
This reverts commit 04bfa23db4a121adcd17c35bb1d9378cebc66b51. Change-Id: I1af9c34aed1496757f20cf1dc0411afc744bc990
2016-11-11Change attribute for connmand and set uid/gid into servicesubmit/tizen/20161114.043131accepted/tizen/wearable/20161114.074444accepted/tizen/tv/20161114.074425accepted/tizen/mobile/20161114.074404accepted/tizen/ivi/20161114.074501accepted/tizen/common/20161114.171550hyunuktak1-2/+2
Change-Id: I7c89d697792aff2521a31d1772e696c19313fc44 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-10-10Modify dbus conf file as policyhyunuktak1-1/+0
Change-Id: I7238ffe3c28d499e7561d2b0986c1e51c72d9cbe Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-07-20Set SmackProcessLabel to Systemsubmit/tizen/20160721.003054accepted/tizen/wearable/20160721.091048accepted/tizen/tv/20160721.091334accepted/tizen/mobile/20160721.090519accepted/tizen/ivi/20160721.090802accepted/tizen/common/20160721.175857Yunjin Lee1-0/+1
Change-Id: I233c41596ec8fb4424e18c80e043658f3d510d47 Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2016-06-09Remove capability and Change from dbus to systemd for vpn servicehyunuktak2-1/+4
Change-Id: I7ef5583cfc148b4835abec4bf57ad76369ed9b8e Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-03-14on-demand connman-vpnd startDeepak Kumar Sahu1-1/+0
Change-Id: I88da48264b9506b58335c4dbefa7dccb08215245 Signed-off-by: Deepak Kumar Sahu <deepak.sahu@samsung.com>
2016-01-21Remove option (route-noexec, ifconfig-noexec)submit/tizen/20160212.065902taesub.kim1-0/+2
Change-Id: I346d6c7325741f9ac44ba452e56a8a9ad55af869 route-noexec Don't add or remove routes automatically. Instead pass routes to --route-up script using environmental variables ifconfig-noexec Don't actually execute ifconfig/netsh commands, instead pass --ifconfig parameters to scripts using environmental Change-Id: Ib245d8ba5928b31f0da29843dd43b4c8a1f61b54
2016-01-04Added Connman VPN packagehyunuktak1-0/+23
Change-Id: I0f33c30fc20c9e6b48f159e0a0a5a13193cf8ab9 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak25-2/+2
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2014-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang11-49/+136
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang19-764/+828
2013-05-30vpn-config: Log a warning if the provider ident already existsPatrik Flykt1-2/+7
Also set the returned value appropriately when removing or adding configuration files.
2013-05-30vpn-config: Remove obsolete protected codePatrik Flykt1-63/+1
For VPN connections created via configuration files the immutable flag is set and it ensures no modifications are allowed. The protected feature implementation was a left-over from service configuration code. Removing the code fixes a bug where only VPN entries of different types can be provisioned in the same provisioning file.
2013-04-03vpn-provider: Send domain name to connman when connection is readyJukka Rissanen1-0/+7
Fixes BMC#25994
2013-04-03openvpn: Update domain name if received from OpenVPN serverJukka Rissanen1-0/+30
2013-03-27vpn-provider: Nameservers were not sent to connmand vpn pluginJukka Rissanen1-21/+27
We got some nameservers from VPN server but we never sent the nameserver list to connmand vpn plugin. Fixes BMC#25966
2013-03-27openvpn: Set the nameservers in correct orderJukka Rissanen1-17/+71
The nameservers that we get from OpenVPN server can be received in any order. Make sure that we sort them in correct order before sending them to connmand.
2013-03-27vpn-provider: Fix uninitialized memory readJukka Rissanen1-1/+1
The immutable field might be left uninitialized without this.
2013-03-08vpn-config: Ignore IN_CREATE as IN_MODIFY is called anywayJukka Rissanen1-8/+20
Inotify will send modify event after create event when user has copied the config file into config directory. Because of this it is useless to act on create event. As a bonus we avoid create/modify/create loop that was earlier done in the modify event handling code.
2013-03-08vpn-provider: Do not save or load provisioned VPN connectionsJukka Rissanen1-3/+13
The vpnd will not read or save provider data from disk. Only way to provision VPN is by setting necessary data in VPN .config file.
2013-03-08vpn-provider: SetProperty and ClearProperty do not work if immutableJukka Rissanen1-0/+6
Immutable VPN connection settings cannot be changed by SetProperty or ClearProperty dbus API.
2013-03-08vpn-provider: Introduce immutable flag to provider dataJukka Rissanen1-0/+5
2013-03-08vpn-provider: Do not allow changes to settings that are immutableJukka Rissanen2-5/+26
The immutable settings are those that are read from .config file.
2013-03-08vpn-provider: Do not quit vpnd if there are no VPN configurationsJukka Rissanen3-27/+0
Because we now support provisioning of VPN services via .config file, we need to keep vpnd running so that it can monitor the connman-vpn directory for new config files.
2013-02-28vpn-provider: Parse user networks correctlyJukka Rissanen1-1/+5
Check NULL string before passing it to g_strsplit()
2013-02-19vpn-provider: SetProperty works with all propertiesJukka Rissanen1-2/+6
2013-02-19vpn-provider: ClearProperty works with all propertiesJukka Rissanen1-0/+2