summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-07-20Migrate root daemon to non rootsubmit/tizen/20170724.063335taesub kim7-8/+38
Change-Id: I0d0afacc8a11fadc8128f6eef3f64f7a4ca8675b Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-07-10Merge "Added support of EAP-AKA, EAP-SIM." into tizentaesub kim1-0/+1
2017-07-06[Upstream] iptables: Add missing function item of xtables to match iptables 1.6Saurav Babu1-0/+3
The struct of xtables_globals has been modified in iptables 1.6. If connman runs with iptables 1.6, it can crash. Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () 0xb7dea89c in xtables_find_target () from /usr/lib/libxtables.so.11 0xb7deac1c in ?? () from /usr/lib/libxtables.so.11 0xb7dea793 in xtables_find_target () from /usr/lib/libxtables.so.11 The the missing function item of xtables is added to xtables_globals. Commit ID: acea08a0e4234a4c1a87bedc087c73ff36de0c7b Change-Id: I670e100d816636d705d967ba69b3cb72c26d889e Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-07-04Added support of EAP-AKA, EAP-SIM.Niraj Kumar Goit1-0/+1
Change-Id: I5e1b30061271baace51e31da973dbc5298a5341f Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-07-03Merge "[connman]Remove org.freedesktop.hostname1 service from Tizen ↵taesub kim1-2/+2
platform." into tizen
2017-06-29[connman]Remove org.freedesktop.hostname1 service from Tizen platform.Niraj Kumar Goit1-2/+2
Change-Id: Ib74170f4c5be93f4ba6df56436dac227352b76ef Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-06-29Append raw ssid to WLAN ServicesMilind Ramesh Murhekar1-0/+5
Description: This patch appends the raw ssid in bytes to GetServices method call. Change-Id: I0fdbfba4bcf0860fff02c4edd34559154fd0b8eb Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
2017-06-07service: Fix memory leak issuesSaurav Babu1-3/+2
This patch fixes memory leak on loading service passphrase. g_strdup() function returns NULL only when nameserver will be NULL and it has already been checked before so there is no need to check for return of g_strdup(). Change-Id: I3ddd3af135a35ba03bd01ccd5a68f822ed1dac26 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-05-04Fix svace issues (WGID-207858, 208122, 208137, 208138)submit/tizen/20170504.080025accepted/tizen/unified/20170504.114207chleun.moon1-1/+4
Change-Id: I31373fbb6ad79517e63f4023c1f4bac2f63424e5 Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-04-25Added some logs for debuggingSeonah Moon8-6/+80
Change-Id: I3a133fa6aebd28dea42f7dfd9ecb42d04c45f291 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-04-24service: Use correct DBUS data type to pack disconnect reasonSaurav Babu1-1/+1
disconnect_reason can have negative values, so we should use DBUS_TYPE_INT32 instead of DBUS_TYPE_UINT32 to pack. Change-Id: Ia4cc303741461da5b8d42493779b8623a0482a33 Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
2017-04-18Merge "Updated connman.socket file" into tizensubmit/tizen/20170419.041337accepted/tizen/unified/20170419.165202taesub kim1-1/+1
2017-04-18Initialize a local variable (WGID-202395)chleun.moon1-1/+1
Change-Id: I6878ce2844c6ca821b0bff827edd248b559c6c6f Signed-off-by: cheoleun <chleun.moon@samsung.com>
2017-04-17Updated connman.socket fileSeonah Moon1-1/+1
Dns proxy should listen all of 53 ports for UDP. Change-Id: I6b63dc53035126bc95b9841fd93e99581c103d39 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-04-12Merge "[connman] Send ScanChanged signal." into tizensubmit/tizen/20170414.032608accepted/tizen/unified/20170417.082500taesub kim1-6/+26
2017-04-12Merge "Provide DHCP Server address to upper layer while appending IPv4 Data" ↵taesub kim1-0/+12
into tizen
2017-04-12[connman] Send ScanChanged signal.Niraj Kumar Goit1-6/+26
Send ScanChanged signal when device scanning status change. Change-Id: I9878cbb29d6c40363e6e629d6e6e7c855952ed0c Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-04-10Remove old IP and gateway addresssubmit/tizen/20170412.005740submit/tizen/20170411.091632accepted/tizen/unified/20170412.152315Abhishek Sansanwal1-6/+13
Change-Id: I61defbc6fba37e7c3a04516d1946f2b5cd22af1a Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
2017-04-06Provide DHCP Server address to upper layer while appending IPv4 Datataesub kim1-0/+12
Change-Id: I8d6a33ddeff94c7bbfb56ed7e4d64966be5bcd31 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-04-05Merge "[connman] Added DBus method to get scanning status." into tizensubmit/tizen/20170406.062437accepted/tizen/unified/20170406.173418taesub kim1-0/+40
2017-03-30apply upstream fixessubmit/tizen/20170403.015738accepted/tizen/wearable/20170403.124441accepted/tizen/unified/20170403.124614accepted/tizen/tv/20170403.124414accepted/tizen/mobile/20170403.124303accepted/tizen/ivi/20170403.124556accepted/tizen/common/20170403.190030accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonEun Chul Kim1-4/+8
- Replace g_timeout_add_seconds() with 0 as timeout to g_idle_add() - gdhcp: Set T1 and T2 to infinite if expiry time is infinite - dhcpv6: Return -EISCONN when the expiry time is inifinite Change-Id: I59ddd9b4c2d1af0f1ee8898381bc0372fba8e8ad
2017-03-30Removed unnecessary logsSeonah Moon5-8/+24
Change-Id: Ia9688dbfa5bd0b2e5f917003c6d5825e2e4c7b5f
2017-03-28Merge "Fix to prevent RA message processing" into tizentaesub kim3-31/+52
2017-03-28Merge "[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb ↵taesub kim1-2/+5
timer" into tizen
2017-03-28Merge "Modified the DHCP descover/request timeout and disable DHCP reququest ↵taesub kim2-0/+16
for last address" into tizen
2017-03-28[connman] Configure IPv6 after IPv4 dhcp succeed.Niraj Kumar Goit1-1/+24
To speed up Wi-Fi connection modified IP configuration logic in connman. Start IPv6 configuration once IPv4 dhcp configuration succeed. Change-Id: I8a33d533f36b42fa0b7450f3b34a5d2238d06e49 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-03-28Modified the DHCP descover/request timeout and disable DHCP reququest for ↵taesub kim2-0/+16
last address (DHCP discovery) wlan0 retry timeout=1sec retries=15 (DHCP request) retry timeout=1sec Change-Id: I28b8f8361dcf2c8cff7f3084c47707f05bc0da64 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-03-28Fix to prevent RA message processingSeonah Moon3-31/+52
Added fix to prevent RA message processing pass by kernel via RTM_NEDNDUSEROPT if ipv6 DNS method is set as manual. Change-Id: Ibee486071e5a235a1426028f107e105920499c6e Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-27[upstream patch] dhcp: Remove the possible remaining dhcp_retry_cb timerSeonah Moon1-2/+5
Change-Id: I9759e546298a5ae5cdfccfd629512f475e9ec2e8 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-23Consider ipconfig method in clearing association stateSeonah Moon1-2/+29
Change-Id: I94f5a1f26140ea2c1edfdb1d9dd191435757802b Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-21[connman] Added DBus method to get scanning status.Niraj Kumar Goit1-0/+40
Change-Id: Ib84cb1c218b6c468ffe413b63af2fe7a33c2a63e Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-03-21Merge "When scan is started send signal ScanStarted to application." into tizentaesub kim1-0/+11
2017-03-14Apply DNS configuration methodsubmit/tizen/20170322.011410accepted/tizen/wearable/20170322.235735accepted/tizen/unified/20170322.235830accepted/tizen/tv/20170322.235708accepted/tizen/mobile/20170322.235633accepted/tizen/ivi/20170322.235801accepted/tizen/common/20170322.153711Seonah Moon10-62/+696
Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-03-10When scan is started send signal ScanStarted to application.Niraj Kumar Goit1-0/+11
Change-Id: I034c3317a346140006e1d23d1389894c867012cc Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-03-08[connman] Add IPv6 gateway address after service IP bound.submit/tizen_unified/20170310.011402submit/tizen/20170308.045955accepted/tizen/wearable/20170308.121234accepted/tizen/unified/20170310.080648accepted/tizen/tv/20170308.121225accepted/tizen/mobile/20170308.121214accepted/tizen/ivi/20170308.121241accepted/tizen/common/20170309.175139Niraj Kumar Goit3-6/+17
Add IPv6 gateway address after service IP bound to fix state flow issue. Change-Id: Ia30a834f52c7d849ee54305d0d370f629fc506bb Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-03-02Merge "[tizen 4.0]: Add support of Disconnect Reason Event Handler" into tizensubmit/tizen_unified/20170308.100411submit/tizen/20170303.005553accepted/tizen/wearable/20170303.065623accepted/tizen/unified/20170309.035138accepted/tizen/tv/20170303.065605accepted/tizen/mobile/20170303.065550accepted/tizen/ivi/20170303.065637accepted/tizen/common/20170303.090745taesub kim1-1/+1
2017-02-23DHCP: Use auto-generated IP when DHCP is failedsubmit/tizen/20170228.042751submit/tizen/20170227.093013accepted/tizen/wearable/20170228.071803accepted/tizen/tv/20170228.071716accepted/tizen/mobile/20170228.071608accepted/tizen/ivi/20170228.071900accepted/tizen/common/20170228.065258accepted/tizen/common/20170227.140546Seonah Moon1-14/+0
Change-Id: I1051fc5506c816150bea4d65c93a0e2877d375d3 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-23[connman] Merged IPv6 related code.Seonah Moon4-3/+89
1. Added code to set IPv6 gateway addess. 2. Fix IPv6 issue in case of auto-configuration. Change-Id: Ie0e1d53dd269a09600d2f08e66d73cefd6dd3c29 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-20Supported IPv6 DNS querysubmit/tizen/20170222.093648accepted/tizen/wearable/20170222.222326accepted/tizen/tv/20170222.222320accepted/tizen/mobile/20170222.222259accepted/tizen/ivi/20170222.222333accepted/tizen/common/20170222.124713Seonah Moon1-60/+0
connman dnsproxy has ignored AAAA record for IPv6. It makes fail to resolve DNS in IPv6 environment. Change-Id: I11e83560c522377b2f88c0dfea28df0fb66140a8 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-16[tizen 4.0]: Add support of Disconnect Reason Event HandlerManeesh Jain1-1/+1
Description: Merged the following upstream patch and modified the connMan accordingly. http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=6245582d0dc9a3f47a6880dabf437ee7c351caef Change-Id: Id90b6d83849c62c2842c038aec516354a2b74060 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2017-02-10WGID-149077: Fixed integer overflow issuesubmit/tizen/20170213.093416accepted/tizen/wearable/20170214.011127accepted/tizen/tv/20170214.011116accepted/tizen/mobile/20170214.011102accepted/tizen/ivi/20170214.011139accepted/tizen/common/20170214.173413Seonah Moon1-1/+3
Change-Id: Ie2d0939e43080aa2c7937f912d13ece6c39fdb9c Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-07Merge "Do not listen all of 53 ports for DNS proxy" into tizensubmit/tizen/20170210.083740submit/tizen/20170210.072732accepted/tizen/wearable/20170214.011008accepted/tizen/tv/20170214.010924accepted/tizen/mobile/20170214.010834accepted/tizen/ivi/20170214.011041accepted/tizen/common/20170210.170532taesub kim1-2/+2
2017-02-07Do not listen all of 53 ports for DNS proxySeonah Moon1-2/+2
0:0:0:0 means all of IPv6 addresses. It should be replaced with localhost. Change-Id: I21ace9e0eb5c50903f7b03ec270cbef0c8776aa3 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-02-07Merge "[connman]: Fixed: ConnMan keep trying connection infintely" into tizentaesub kim2-0/+18
2017-01-25Remove Profile Build Dependency (1/2): do it at runtimeMyungJoo Ham5-47/+197
- This is for Tizen 4.0. : Tizen 4.0 Configurability and Build Blocks require to remove all profile-depending build options in spec files. (No More profile macros) - It is recommended to distinguish features/profiles at runtime. unless it incurs too much overhead, which requires you to create multiple binaries and subpackages. - Now it reads if it is TV based on the /etc/ conf file. Change-Id: Id9d2f6e9db7814ab06f5d166ef2299a1a8aacb51 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2017-01-17Fix service file for TV profile referring to mobile onesubmit/tizen/20170117.105810accepted/tizen/wearable/20170117.231624accepted/tizen/tv/20170117.231609accepted/tizen/mobile/20170117.231552accepted/tizen/ivi/20170117.231642accepted/tizen/common/20170117.175057Yu Jiung1-3/+6
Change-Id: I683d96bef1b08acdd42bddf6eeedc659baad5d01 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-01-08[connman]: Fixed: ConnMan keep trying connection infintelyManeesh Jain2-0/+18
Description : In following use case, ConnMan was stuck in auto-connection with a specific AP. In that time, user could not be able to select any other AP for connection. 1. Connect with an AP 2. Add the Device Mac address in AP's Mac filter list 3. Device disconnect from AP 4. Device keep trying to connection with AP Partially added following upstream patch. "http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=3bda07204b11158dd18322db6e64dc92bdd07124" Change-Id: I1731bfd21324c83a87f4ff2a5fccf264fd7883f5 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2016-12-26Fix to check favorit value into servicesubmit/tizen/20161226.070156accepted/tizen/wearable/20161226.131929accepted/tizen/tv/20161226.131907accepted/tizen/mobile/20161226.131853accepted/tizen/ivi/20161226.131948accepted/tizen/common/20161227.192253hyunuktak1-0/+2
When AP's status is changed(ex, password), favorite value is setted to false. so it is returning false as not supported with checking favorite and state of service when remove profile mothod is called. it should remove service profile whether it is favorite or not, when it's called explicit. Change-Id: I6b59729c7c2614b9f25f56696463f4ac927f6809 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-12-12Fix a svace for checking NULLsubmit/tizen/20161212.124346accepted/tizen/wearable/20161213.003256accepted/tizen/tv/20161213.003252accepted/tizen/mobile/20161213.003235accepted/tizen/ivi/20161213.003304accepted/tizen/common/20161212.185700hyunuktak1-1/+2
Change-Id: I91b9b29c1c1c2b0b835f5a9b81a23b48fbd3b5dc Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2016-12-06[connman] Added wifi connection when invalid-key error occurred.Niraj Kumar Goit1-0/+3
When invalid-key error occurs users need to enter the valid password to connect with Wi-Fi AP. Change-Id: I7dd56186b09060bfad920721316b7b8ccb64e844 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>