summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-01-03Add new rpm with disalbled-ethernettizen_4.0.IoT.p2_releasesubmit/tizen_4.0/20180103.085037accepted/tizen/4.0/unified/20180111.043556tizen_4.0accepted/tizen_4.0_unifiedchleun.moon1-0/+110
Change-Id: Ib5b1b2a166d26180f75793f03d8770ef37cc1329 Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
2017-11-27Added cap_dac_override capabilitysubmit/tizen_4.0/20171126.232824accepted/tizen/4.0/unified/20171127.083333taesub kim2-2/+2
Change-Id: I4b8a613f2d219069b63ff7406165e6094193c16a Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-10-18Merge "Revert "Avoid build warnings for __connman_logs_s"" into tizen_4.0tizen_4.0.m2_releasesubmit/tizen_4.0/20171018.003035accepted/tizen/4.0/unified/20171018.231345taesub kim1-1/+0
2017-10-18Merge "Revert "Fix SVACE issue for CID:24236, 31182"" into tizen_4.0taesub kim1-6/+3
2017-10-17Revert "Avoid build warnings for __connman_logs_s"taesub kim1-1/+0
This reverts commit 6e2cfdae0dd71a8eeeb72ee29ed9093c62cc4d28. Change-Id: Ida5b595e7b63a51a669a52644b841e41fed1e45b
2017-10-17Revert "Fix SVACE issue for CID:24236, 31182"taesub kim1-6/+3
This reverts commit e6637f83c3a33ebab633ba104855bae3d7ce24c6. Change-Id: Iffabac76c36124cdb72ad08d724f0e3b43d42459
2017-10-17Avoid build warnings for __connman_logs_ssubmit/tizen_4.0/20171017.050934Milind Ramesh Murhekar1-0/+1
Description: This patch avoids build warnings for __connman_log_s() Change-Id: Ifd74090bd7d42744786dd1775046df777eaedb7f Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
2017-10-16Fix SVACE issue for CID:24236, 31182submit/tizen_4.0/20171016.080645Milind Ramesh Murhekar1-3/+6
Description: This patch fixes the SVACE issue for remove() function. Change-Id: Ie9fedadb8e36d91f9a197635eb4cee6a89ad7f7b Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
2017-10-16Fixed handle leak while returning error from specific_scan()Nishant Chaprana1-1/+3
Change-Id: I0eec6ccf785cc77fc3548dd178e3d4d6f84e14bd Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2017-10-11[CID-32053] Remove dead codetizen_4.0.IoT.p1_releasesubmit/tizen_4.0/20171011.035617accepted/tizen/4.0/unified/20171012.230325hyunuktak1-1/+0
Change-Id: I27db8650a701d9c7986636077bf041fdfa72a319 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2017-10-11@fix: Disconnect Reason code was not getting resetManeesh Jain1-0/+3
Description: In following use case, disconnect reason code was not getting reset. 1. Connect With AP 2. Change the Password of AP 3. Check the Disconnect Reason using CAPI 4. Connect again with AP with New Password 5. Check the Disconnect Reason again : It was showing 3 in place of 0. Change-Id: I1b1542b69ac270811ad789a4f662836241b6bf34 Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
2017-09-28Fixed a resource leakhyunuktak1-2/+6
Change-Id: I70b15db8ba90fc18410072f0017f04413662cde6 Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
2017-09-26Append eap type property in "GetServices" Dbus method.submit/tizen_4.0/20170927.040651accepted/tizen/4.0/unified/20170927.181844Niraj Kumar Goit1-0/+36
Change-Id: Ie9cdabbddba37fab987ec48402e7d7508949f040 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-09-21[Upstream] dnsproxy: Fix crash on malformed DNS responseJaehyun Kim1-6/+10
If the response query string is malformed, we might access memory pass the end of "name" variable in parse_response(). Change-Id: Iea436d5ba15222b5861f4abdfa270f451c4d4e61 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-09-19[Upstream] ipconfig: Ensure ifname is not NULL when setting IPv6 statesubmit/tizen_4.0/20170920.021207accepted/tizen/4.0/unified/20170921.073336Jaehyun Kim1-2/+4
This is a quick fix for the issue where removal of an interface may cause IPv6 to be disabled/enabled on other interfaces. When removing an ipdevice in free_ipdevice(), it is ensured that the ifname (which we get from connman_inet_ifname()) is not NULL, before invoking set_ipv6_state(). If a NULL ifname is passed into set_ipv6_state(), it will apply the change to all interfaces instead of the intended one. Change-Id: Iefab1e1c87d2f08d1b73c80ec51dbdfcb3238fad Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2017-09-19Add APIs to set/get auto connection modetaesub kim3-1/+54
Change-Id: I34e42d98ab540ffb75e0ae860fb1b615ef2bddcb Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-09-13Send Error code only to requesting application.submit/tizen_4.0/20170913.025326accepted/tizen/4.0/unified/20170914.175556Niraj Kumar Goit1-3/+12
Description: If an application request for wifi scan and it gets failed, then send error code only to the requesting application. Change-Id: I90bc3b0af68e9d3ff5c2e4709f5788c1f107a854 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-09-13[connman] Notify 'ScanDone' signal with scan-type info.Niraj Kumar Goit2-2/+42
Description: In this patch added below changes- 1. Notify ScanDone signal with scan-type info. 2. If scanning is in-progress at connman return error 'InProgress' to application. Change-Id: If8427e185dd0ad811c1d1de72254f073babebbbf Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-31dbus: modify dbus policy configuration #4submit/tizen_4.0/20170831.131058accepted/tizen/4.0/unified/20170901.202610Seonah Moon1-0/+1
Change-Id: Id58b1038e689f24c42d8cfdccfd59162988626f1 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2017-08-31dbus: modify dbus policy configuration #3taesub kim1-2/+2
Change-Id: I4e7f65898fe824cd589b0a4dfa6b7b506b88a511 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-08-22dbus: modify dbus policy configuration #2submit/tizen_4.0/20170828.100005submit/tizen/20170822.062753accepted/tizen/unified/20170823.165941accepted/tizen/4.0/unified/20170828.222351taesub kim1-1/+0
Change-Id: I5cfd797e298386e80f407a6bfeba8b2cb7adfadb Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
2017-08-18[connman] Enabled specific scan for Multiple APs.submit/tizen/20170822.002714submit/tizen/20170821.070104Niraj Kumar Goit1-2/+5
Change-Id: I2156778ed0bcc703e8823c7eccaf344ab21503c1 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-18Merge "dbus: modify dbus policy configuration" into tizentaesub kim1-2/+4
2017-08-16[connman]Added DBus method for wifi Specific AP Scan.submit/tizen/20170817.042132accepted/tizen/unified/20170818.000126Niraj Kumar Goit3-0/+144
Change-Id: Ib8f446164242caeb7fbc29c2917eff4b8a5b8bf7 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-16Fix Svace Issue [WGID: 1348].Niraj Kumar Goit1-0/+4
Change-Id: I8e1b366bc0973ec60ab24aa486c877b330b5de82 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-09[connman] Added support to get WiFi vendor element.submit/tizen/20170811.041528accepted/tizen/unified/20170811.133331Niraj Kumar Goit4-1/+106
Change-Id: I560be68a876a5fef516647365db3c56761f2aba1 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
2017-08-08dbus: modify dbus policy configurationsanghyeok.oh1-2/+4
<allow send_type="signal"/> can affect every other process(uid root or network_fw), This can cause abnormal behavior against other dbus services. So, remove this rule from dbus conf. Sending signal to net.connman is allowed by this rule, '<allow send_destination="net.connman"/>' After all, there are no behavior changes. Change-Id: I7668deeaa33ae14181c64d0a85a049fa2387657b Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
2017-08-03Changes required for DHCP leased seconds APIsubmit/tizen/20170809.085632submit/tizen/20170808.043745accepted/tizen/unified/20170811.021044Abhishek Sansanwal3-0/+28
Change-Id: I0727c24f30be5162d27e49996dfa376348f98527 Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
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