Cheoleun Moon [Thu, 25 Jun 2020 09:38:43 +0000 (18:38 +0900)]
Free all the unpacked values if breaking out of g_variant_iter_loop
Change-Id: Ib5e67dfa852f38431f19ed66a540275165073724
Jaehyun Kim [Mon, 22 Jun 2020 06:34:16 +0000 (15:34 +0900)]
Fix memory leak in stc_plugin_monitor_initialize
Variable system going out of scope leaks the memory it points to.
Change-Id: I9d2c5dc3cc3b951954e793cf3864f270810d846c
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Nishant Chaprana [Thu, 11 Jun 2020 16:58:39 +0000 (22:28 +0530)]
Restart stc-manager at non-zero exit code after 5 seconds
Change-Id: I2081d8328d09075e7130a803d921b06dc0399469
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 11 Jun 2020 16:02:36 +0000 (21:32 +0530)]
Add callback in monitor plugin to stop stc-manager
Change-Id: I32510bf9ec26958f83deac9863ef431e623007cf
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 11 Jun 2020 13:05:30 +0000 (18:35 +0530)]
Add retry mechanism for netlink socket creation
Change-Id: I92f7fc647fbe3262bad1d6962e296ff97a2a68f4
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuk.tak [Mon, 18 May 2020 07:57:23 +0000 (16:57 +0900)]
Modify database query appropriately
Change-Id: I71690be6c07a3133941835adab11dac80b243d2b
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Semun Lee [Mon, 18 May 2020 23:30:47 +0000 (08:30 +0900)]
Fix to delete iptables rule while unsetting restrictions
We should delete block rules
Change-Id: I4c3db4db451f034a9257ebda234dbfa275c19813
Signed-off-by: Semun Lee <semun.lee@samsung.com>
(cherry picked from commit
ab517e17e80fec38739dffe83e8f14af5487b586)
hyunuk.tak [Mon, 18 May 2020 04:08:54 +0000 (13:08 +0900)]
Fix not to use app-status plugin from monitor plugin
Change-Id: Ia29a74d576d346955be220290a890a0aae1e8a10
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Tue, 24 Mar 2020 07:49:15 +0000 (16:49 +0900)]
Modify to check roaming type
Change-Id: I4dbcb24640737f659aa6806e3ba116f08f21c10a
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Fri, 31 Jan 2020 02:00:03 +0000 (11:00 +0900)]
Fix ABI issue for app state and roaming
Change-Id: Ib6bf8400e20adfed0fa98781fb19bc131995e0a6
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Thu, 26 Sep 2019 05:43:05 +0000 (14:43 +0900)]
Fix to appropriate variable for default connection
Change-Id: I43a8a7aca0c1fb4f62b3c41dc58ef40359bbeabf
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
hyunuk.tak [Tue, 17 Sep 2019 08:12:33 +0000 (17:12 +0900)]
Remove to check old version from upgrade script
Change-Id: Ic6e537737db32b00d5ca625d390035e53092423d
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Jaehyun Kim [Tue, 10 Sep 2019 08:20:45 +0000 (08:20 +0000)]
Merge "Add os upgrade file for database" into tizen
hyunuk.tak [Mon, 12 Aug 2019 01:48:52 +0000 (10:48 +0900)]
Add os upgrade file for database
Change-Id: Ia679c169d26d8e9163d385362c08875776abc2ce
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Jaehyun Kim [Fri, 16 Aug 2019 11:38:03 +0000 (11:38 +0000)]
Merge "Add granularity support in GetAll method call on statistics interface" into tizen
Jaehyun Kim [Fri, 16 Aug 2019 11:37:31 +0000 (11:37 +0000)]
Merge "Add support of app_id in GetAll method call on statistics interface" into tizen
Jaehyun Kim [Fri, 16 Aug 2019 11:36:28 +0000 (11:36 +0000)]
Merge "Fixed CID 1038526." into tizen
prasadam-p [Mon, 12 Aug 2019 07:27:01 +0000 (12:57 +0530)]
Fixed CID 1038526.
Moved the log before the pcap_close call to fix USE_AFTER_FREE error.
Change-Id: Ie586c93e538c0297cc3dfa5a18719fa21db137f3
Signed-off-by: prashanth prasadam <prasadam.p@samsung.com>
INSUN PYO [Wed, 7 Aug 2019 03:23:20 +0000 (12:23 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"
Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
- Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.
Change-Id: If2f360a5d1014a4e06e9f212bd3383f266fb351d
Jaehyun Kim [Fri, 26 Jul 2019 05:54:32 +0000 (05:54 +0000)]
Merge "Delete meaningless configuration" into tizen
Dariusz Michaluk [Fri, 12 Jul 2019 13:11:47 +0000 (15:11 +0200)]
Migrate to openssl 1.1
Change-Id: I6e927cbeaae3c0c7f8b933b5aaf61cf4734b5ea3
Nishant Chaprana [Tue, 9 Jul 2019 11:49:15 +0000 (17:19 +0530)]
Add granularity support in GetAll method call on statistics interface
Change-Id: Ic70dfb6aa08365175180d8d9f61092022b6641a8
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 9 Jul 2019 09:23:05 +0000 (14:53 +0530)]
Add support of app_id in GetAll method call on statistics interface
Change-Id: I8afdfedd60ee2ce1b6708eec4034119dd405f85a
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
INSUN PYO [Mon, 8 Jul 2019 11:31:13 +0000 (20:31 +0900)]
Delete meaningless configuration
Change-Id: I7800cb6dc01ab510bbd3bae125b6e7684f3bb375
hyunuktak [Fri, 24 May 2019 08:14:09 +0000 (17:14 +0900)]
Remove gvariant free for dauble free
Change-Id: Ia3ed9d4ae536019ec735aaa02643a1258d2cb826
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 21 May 2019 02:25:31 +0000 (11:25 +0900)]
Remove realpath check to create file
Change-Id: I9b9c80aaad07f403c8712aa1ce2b4770450f6aba
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Mon, 13 May 2019 02:35:48 +0000 (11:35 +0900)]
Add monitor plugin requires for install dependency
Change-Id: I91be1576eeaf46259c953b7fbc1430c90c4f03ee
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 19 Mar 2019 07:21:14 +0000 (16:21 +0900)]
Change to operate in on-demand mode
Change-Id: Iea3e5df460e906e6790d66f65e9db338667a1c13
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 12 Mar 2019 01:22:49 +0000 (10:22 +0900)]
Add and remove restriction rule appropriately
Change-Id: Icb7d614eb5b4197b05df880e91d59fe21b77b6c5
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 19 Feb 2019 06:22:47 +0000 (15:22 +0900)]
Add to set/unset restriction list
Change-Id: I87e0278ccfac1aa10ae112494f66e75e2ef07a41
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Jaehyun Kim [Mon, 25 Feb 2019 07:08:08 +0000 (07:08 +0000)]
Merge "Fix a bug by wrong declaration" into tizen
hyunuktak [Wed, 13 Feb 2019 02:18:01 +0000 (11:18 +0900)]
Fix a bug by wrong declaration
Change-Id: I36a3cef3e79267dbb7fcb8068c30f9add0e6c4fb
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Nishant Chaprana [Tue, 12 Feb 2019 14:35:53 +0000 (20:05 +0530)]
Fixed Build fail issue when plugin-pcap build is diabled
Description:
This patch resolves the error which comes when plugin-pcap build is disabled.
Below error comes without this patch when plugin-pcap is diabled:-
=================================================================
[ 20s] In file included from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/include/stc-manager-plugin-pcap.h:22:0,
[ 20s] from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/src/stc-manager-plugin-pcap.c:20:
[ 20s] /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/plugin/pcap/include/stc-plugin-pcap.h:28:18: fatal error: pcap.h: No such file or directory
[ 20s] #include <pcap.h>
[ 20s] ^
[ 20s] compilation terminated.
[ 20s] src/CMakeFiles/stc-manager.dir/build.make:209: recipe for target 'src/CMakeFiles/stc-manager.dir/stc-manager-plugin-pcap.c.o' failed
[ 20s] make[2]: *** [src/CMakeFiles/stc-manager.dir/stc-manager-plugin-pcap.c.o] Error 1
[ 20s] make[2]: *** Waiting for unfinished jobs....
[ 20s] In file included from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/include/stc-manager-plugin-pcap.h:22:0,
[ 20s] from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/src/stc-pcap.c:19:
[ 20s] /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/plugin/pcap/include/stc-plugin-pcap.h:28:18: fatal error: pcap.h: No such file or directory
[ 20s] #include <pcap.h>
[ 20s] ^
[ 20s] compilation terminated.
[ 20s] src/CMakeFiles/stc-manager.dir/build.make:329: recipe for target 'src/CMakeFiles/stc-manager.dir/stc-pcap.c.o' failed
[ 20s] make[2]: *** [src/CMakeFiles/stc-manager.dir/stc-pcap.c.o] Error 1
[ 20s] In file included from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/include/stc-manager-plugin-pcap.h:22:0,
[ 20s] from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/src/stc-manager.c:34:
[ 20s] /home/abuild/rpmbuild/BUILD/stc-manager-0.0.89/plugin/pcap/include/stc-plugin-pcap.h:28:18: fatal error: pcap.h: No such file or directory
[ 20s] #include <pcap.h>
[ 20s] ^
[ 20s] compilation terminated.
=================================================================
Change-Id: I03c007d0adf19361304cc24acc85e4c5cd9d329d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 12 Feb 2019 15:11:44 +0000 (20:41 +0530)]
Fixed build fail issue when building only plugin-firewall
Description:
This patch fixes a build fail issue when we try to build only plugin-firewall.
Below is the error which is generated when build fails:-
========================================================
[ 11s] In file included from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.90/include/stc-manager.h:21:0,
[ 11s] from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.90/plugin/firewall/include/stc-plugin-firewall.h:30,
[ 11s] from /home/abuild/rpmbuild/BUILD/stc-manager-0.0.90/plugin/firewall/stc-plugin-firewall.c:17:
[ 11s] /home/abuild/rpmbuild/BUILD/stc-manager-0.0.90/include/stc-manager-util.h:21:18: fatal error: glib.h: No such file or directory
[ 11s] #include <glib.h>
[ 11s] ^
[ 11s] compilation terminated.
=======================================================
Change-Id: Id8a01d4ab761c39f9c2bfd1cf3bbfd664e1322b0
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuktak [Fri, 1 Feb 2019 05:42:37 +0000 (14:42 +0900)]
First check the index size of signal map
Change-Id: I592a919ef58281be6038157ba1e2f9acd059f233
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Fri, 1 Feb 2019 01:34:11 +0000 (10:34 +0900)]
Fix some coverity issues
1020742 : Unchecked return value
1037124 : Logically dead code
Change-Id: I60af7ca69b055884bd41047435b2bfff8213f3a7
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 17 Jan 2019 04:15:48 +0000 (13:15 +0900)]
Fix some svace issues for unchecking return value
Change-Id: I87e056e9f8538f199a27f2bba7a204c5db21e7a5
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 16 Jan 2019 06:54:49 +0000 (15:54 +0900)]
Fix a svace issue for negative code error
Change-Id: I4ed552ae7de2d691a26239c3390fde62f2a0d40f
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 8 Jan 2019 08:34:58 +0000 (17:34 +0900)]
Add http infomation for pcap and checking length of packet
Change-Id: I84486ec739c1ed0baf3feacebd22c475b7468971
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Mon, 17 Dec 2018 05:45:47 +0000 (14:45 +0900)]
Add hdr and tlv of nflog for pcap
Change-Id: I99e01ab3262c4d0a002a35c7d1eeefdadb8c20fe
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Mon, 10 Dec 2018 07:16:41 +0000 (16:16 +0900)]
Fixed 64 bit type format
Change-Id: I6d94f5b508b6a79f22d4a81d51fd1ab0830989dc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 6 Dec 2018 05:19:23 +0000 (14:19 +0900)]
Add a function to find all devices
Change-Id: I7c1a8fa26b18f36955fc89ace5bb6b1d3f5b470c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 5 Dec 2018 04:49:46 +0000 (13:49 +0900)]
Add a function to get all pcap loop
Change-Id: I92fa7de5a45e758a96f3ae98a31683d81aabe66d
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Mon, 3 Dec 2018 06:03:47 +0000 (15:03 +0900)]
Separate firewall function plugin
Change-Id: I9df5a225ac7772b2985e2b9d24e6682b7fd60a2d
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 29 Nov 2018 07:49:41 +0000 (16:49 +0900)]
Separate monitoring function plugin
Change-Id: I9cab1ed4d30e78bd4489ea6a7f1083f7e5aa1326
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 21 Nov 2018 07:48:05 +0000 (16:48 +0900)]
Separate debug log with info config
Change-Id: I87608b9729a8ad5872c8edc69b1a2aac896421af
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 20 Nov 2018 08:44:09 +0000 (17:44 +0900)]
Add packet capture functions
Change-Id: I287425157c7ca377a585e8b11e502a29c7b189b6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Nishant Chaprana [Mon, 26 Nov 2018 13:54:41 +0000 (19:24 +0530)]
[TV Profile] Disabled default connection monitor and procfs monitor.
Change-Id: Ic0ab9a4d5472b1b436f6c33a312d36bbdbe83634
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuktak [Tue, 20 Nov 2018 05:45:04 +0000 (14:45 +0900)]
Remove error log for reading classid from cgroup
Change-Id: Ic8783c8cd385f6932a826664ca7d7c05bfba93cc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Jaehyun Kim [Tue, 20 Nov 2018 05:10:33 +0000 (05:10 +0000)]
Merge "[Fix] Use localtime_r() instead of localtime()" into tizen
Jaehyun Kim [Tue, 20 Nov 2018 04:59:38 +0000 (04:59 +0000)]
Merge "[Fix] Use localtime_r() instead of localtime()" into tizen
Jaehyun Kim [Tue, 20 Nov 2018 04:58:47 +0000 (04:58 +0000)]
Merge "[Fix] Use localtime_r() instead of localtime()" into tizen
Jaehyun Kim [Tue, 20 Nov 2018 04:54:15 +0000 (04:54 +0000)]
Merge "Fix for 4 Svace issues." into tizen
Jaehyun Kim [Tue, 20 Nov 2018 04:21:15 +0000 (04:21 +0000)]
Merge "Added additional test cases for stc-manager firewall dbus methods" into tizen
Jaehyun Kim [Tue, 20 Nov 2018 04:19:53 +0000 (04:19 +0000)]
Merge "Firewall rule is invalid if target >= STC_FW_RULE_TARGET_MAX" into tizen
hyunuktak [Mon, 19 Nov 2018 07:17:35 +0000 (16:17 +0900)]
Remove dereference after null check and dead code
Change-Id: Ie646658cdfb4cb2443161329f48087a0445d559b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Lokesh [Wed, 14 Nov 2018 05:38:41 +0000 (11:08 +0530)]
Fix for 4 Svace issues.
Added /* fall through */ comments, as there was no break statement at the end of case.
Change-Id: I30fa2b77c21853abf1def469a6ba467f8b1e83a7
Signed-off-by: Lokesh <l.kasana@samsung.com>
Milind Murhekar [Tue, 13 Nov 2018 13:30:11 +0000 (19:00 +0530)]
[Fix] Use localtime_r() instead of localtime()
Description: This patch fixes the
DF180802-00046
issue.
Change-Id: Ic2c784e4369deefc8ad74a3616c54da90b289c0f
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
Milind Murhekar [Tue, 13 Nov 2018 11:25:29 +0000 (16:55 +0530)]
[Fix] Use localtime_r() instead of localtime()
Description: This patch fixes the
DF180802-00045
issue.
Change-Id: I78529e672a2f9504168ed98069d8f00b1ededbcc
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
Milind Murhekar [Tue, 13 Nov 2018 11:07:39 +0000 (16:37 +0530)]
[Fix] Use localtime_r() instead of localtime()
Description: This patch fixes the
DF180802-00044
issue.
Change-Id: I0eb1ea1c6da97923993a9a5a6d99b67b2c5e6bde
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
hyunuktak [Fri, 9 Nov 2018 07:12:57 +0000 (16:12 +0900)]
Support to multi connection
Change-Id: I817d87a99a4b24968652c0075ee47a90481c2b38
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 30 Oct 2018 05:35:50 +0000 (14:35 +0900)]
Add a macro for tv profile
Change-Id: I34cecc24a805bc577669d64fa05cf7fbab4460c7
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Fri, 26 Oct 2018 06:35:32 +0000 (15:35 +0900)]
Add some chains to separate monitoring and restriction
Change-Id: I621a21188ce5a03250d6113663848dd1d27b1efb
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Abhishek Sansanwal [Tue, 16 Oct 2018 06:34:16 +0000 (12:04 +0530)]
Added additional test cases for stc-manager firewall dbus methods
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I1e9fa8f54507950f8b0c7f45f688546bed1081d1
hyunuktak [Tue, 16 Oct 2018 06:02:58 +0000 (15:02 +0900)]
Check insert option when iptables commit
Change-Id: Iabf6dfda8008ebe93ce81cf3bab07c2eaef7a99c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 27 Sep 2018 06:13:32 +0000 (15:13 +0900)]
Refactoring structures for monitoring and restrictions
Change-Id: I386f8921ad31d1e9f2ea37e0e70943a9154aca9e
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Abhishek Sansanwal [Mon, 8 Oct 2018 11:04:53 +0000 (16:34 +0530)]
Firewall rule is invalid if target >= STC_FW_RULE_TARGET_MAX
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I6d6b9c9e3ef5410705dc83167cda4cd7c16da7af
hyunuktak [Wed, 19 Sep 2018 01:58:42 +0000 (10:58 +0900)]
Fix build warning for format
Change-Id: I173ee0057395eccb3cf82048428288f572d5fed5
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Tue, 11 Sep 2018 00:44:36 +0000 (09:44 +0900)]
Fix a memory leak
Change-Id: I1a32004a8aaea706156e9e53d304b9f149081a0d
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Jaehyun Kim [Mon, 10 Sep 2018 02:30:07 +0000 (02:30 +0000)]
Merge "Remove logic to place pids to background cgroup procs" into tizen
hyunuktak [Mon, 10 Sep 2018 00:11:37 +0000 (09:11 +0900)]
Fix a coverity for unchecking return value
Change-Id: I5c9290ebeceb806ab1ff64ed6f0127ce09c81873
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Fri, 7 Sep 2018 02:03:03 +0000 (11:03 +0900)]
Modify attr for "/var/lib/stc"
Change-Id: Ieec5d5ee3f217e8b021a9c175636bdcd877203a9
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 6 Sep 2018 01:52:44 +0000 (10:52 +0900)]
Remove logic to place pids to background cgroup procs
Change-Id: I5f491bc202cfd1d660370e7367858e92fe23691c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Jaehyun Kim [Wed, 5 Sep 2018 11:26:19 +0000 (11:26 +0000)]
Merge "Initialize memory for nfacct rule" into tizen
Jaehyun Kim [Wed, 5 Sep 2018 11:25:12 +0000 (11:25 +0000)]
Merge "Fix a bug for using heap after free" into tizen
hyunuktak [Mon, 3 Sep 2018 09:26:09 +0000 (18:26 +0900)]
Initialize memory for nfacct rule
Change-Id: Iadc6d5a531bc14e450970f6af57672b6f2b9fe66
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Mon, 3 Sep 2018 05:01:06 +0000 (14:01 +0900)]
Fix a bug for using heap after free
Change-Id: I7bb7fa02324f919bd7d6aee99a2ceb0f8090a4bc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Milind Murhekar [Wed, 29 Aug 2018 11:03:11 +0000 (16:33 +0530)]
Add tethering client data limitation
This change/feature adds the data limitaion restriction
on each connected tethering clients based on its
mac address, ip address and app id.
Change-Id: I538450a68bb6e099d277bce0a6fe53a80d483332
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
Jaehyun Kim [Tue, 28 Aug 2018 06:20:57 +0000 (06:20 +0000)]
Merge "Add 'ps', 'awk' and 'pgrep' to exception list" into tizen
Jaehyun Kim [Tue, 28 Aug 2018 06:09:16 +0000 (06:09 +0000)]
Merge "[Add] tethering client monitoring" into tizen
Jaehyun Kim [Tue, 28 Aug 2018 06:06:59 +0000 (06:06 +0000)]
Merge "[Add] tether plugin" into tizen
Milind Murhekar [Mon, 20 Aug 2018 11:45:05 +0000 (17:15 +0530)]
[Add] tethering client monitoring
This change adds the feature to monitor
the data usage of connected tethering clients
and saves the stats to the table counters.
Change-Id: I50df631b27ad9fe483f6790877e92308b8ea760a
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
hyunuktak [Thu, 23 Aug 2018 05:44:38 +0000 (14:44 +0900)]
Add to insert firewall rule
Change-Id: I873350bb260bc1ef111b2a1e3f551019c9676273
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 22 Aug 2018 09:26:19 +0000 (18:26 +0900)]
Removed flag for TIZEN_DEBUG_ENABLE
Change-Id: I5589bc07ded2abe496bf8fdfdc10bcc82145e0a1
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 22 Aug 2018 05:07:57 +0000 (14:07 +0900)]
Added new vconf key for VCONFKEY_SETAPPL_DATA_RESTRICTION_INT
Change-Id: I1d869718893ada6c6b2b6ff979b1460672b34524
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Nishant Chaprana [Wed, 22 Aug 2018 04:21:42 +0000 (09:51 +0530)]
Add 'ps', 'awk' and 'pgrep' to exception list
Change-Id: I965daf32489804429b316455071bca3d9a55f40b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Milind Murhekar [Wed, 8 Aug 2018 12:25:21 +0000 (17:55 +0530)]
[Add] tether plugin
This change adds a plugin called "tether"
to support data usage for tethering client stations.
Change-Id: I823c832f42613f0b607b96e0d863e532fe892e63
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
Nishant Chaprana [Thu, 2 Aug 2018 07:28:01 +0000 (12:58 +0530)]
Removed redundant NULL check
Change-Id: Id29b2b3473715d454496c860b46f13ef3070ce0e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
hyunuktak [Fri, 17 Aug 2018 08:03:56 +0000 (17:03 +0900)]
Removed emulator state check
Change-Id: I829ee400b71f86ff10a8d264b5b75aae4457ceb5
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Taesoo Jun [Wed, 1 Aug 2018 09:54:47 +0000 (18:54 +0900)]
Fix week_start_ts into day_start_ts
Change-Id: I1906bf6fba572bec7d1a1f5c29206c4b0ee64114
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
hyunuktak [Fri, 27 Jul 2018 06:26:35 +0000 (15:26 +0900)]
Checked file stat before realpath
Change-Id: Iae4a7b7f97b90389a5c35ccf6144e42b3b525d02
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
yhji [Tue, 24 Jul 2018 09:53:44 +0000 (18:53 +0900)]
Fix Wformat build error
Change-Id: I042b7e02b72dcd5b4e6e2a0d07fed3393aaad6db
Signed-off-by: yhji <yhji.lee@samsung.com>
Jaehyun Kim [Tue, 24 Jul 2018 09:16:30 +0000 (09:16 +0000)]
Merge "Added log and nflog rule for firewall" into tizen
Taesoo Jun [Thu, 19 Jul 2018 01:44:58 +0000 (10:44 +0900)]
Change file mode into 644
Change-Id: Ibc02513b4cca3207d3137ce88b7ffd9735439eeb
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
Taesoo Jun [Thu, 19 Jul 2018 01:40:40 +0000 (10:40 +0900)]
Fix local variable initialization and handle a invalid parameter
Change-Id: Idc99e6b41528f0429882d2bf91e4bbe0c997b05d
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
hyunuktak [Wed, 18 Jul 2018 08:14:28 +0000 (17:14 +0900)]
Added log and nflog rule for firewall
Change-Id: I7361422a530040610eb45328073ebc75f906cfe1
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
taesub kim [Fri, 13 Jul 2018 07:29:00 +0000 (07:29 +0000)]
Merge "Modified to update firewall rule" into tizen
hyunuktak [Fri, 13 Jul 2018 06:46:36 +0000 (15:46 +0900)]
Modified to update firewall rule
Change-Id: I0a452c3e7eea1a33f93f7a39df182d9e77c01ced
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Thu, 12 Jul 2018 05:38:00 +0000 (14:38 +0900)]
Modified to send message to net popup
Change-Id: I0ffbc76a3fc0ecee7eb9ba295a32f32f6f8391c4
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
hyunuktak [Wed, 11 Jul 2018 09:11:42 +0000 (18:11 +0900)]
Added data limits monitoring for daily, weekly and monthly
Change-Id: Ibc94757d36210c9167ebe4ddb7c36053d13f60fd
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>