platform/core/connectivity/stc-iptables.git
6 years agoAdded firewall features 28/171028/4
hyunuktak [Mon, 26 Feb 2018 04:34:38 +0000 (13:34 +0900)]
Added firewall features

It's supported some rules using iptables and extension.
Specific IP(and IP range), Protocol, Port.

Change-Id: If4a79d86e771bac586de7fad02a4f27d5a1284cd
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoModified return error to right value 31/169631/1 accepted/tizen/unified/20180222.080219 accepted/tizen/unified/20180305.152642 submit/tizen/20180221.115722 submit/tizen/20180305.084154
hyunuktak [Thu, 8 Feb 2018 05:19:41 +0000 (14:19 +0900)]
Modified return error to right value

Change-Id: I99d2cbef1632e7b5ae3bf4fec4bc17e71dce6df6
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFixed some svace issues 21/169221/2
hyunuktak [Mon, 5 Feb 2018 05:11:06 +0000 (14:11 +0900)]
Fixed some svace issues

WGID : 304870, 304871, 304872, 304873,
304882, 304888, 304889, 304936,304939, 304940

Change-Id: I0be8a2756b7387925543aacc43a71b9226eb4f72
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoAdd initial source codes for gtest 48/168048/1 accepted/tizen/unified/20180130.144322 accepted/tizen/unified/20180222.142207 submit/tizen/20180129.223849 submit/tizen/20180222.121108
hyunuktak [Wed, 24 Jan 2018 00:53:30 +0000 (09:53 +0900)]
Add initial source codes for gtest

Change-Id: Ic71f106ab0e96bf52cf45f40ded9f2faf0147a95
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoUpdated correct return error and target name 98/164098/1 accepted/tizen/unified/20171219.072626 submit/tizen/20171218.085650
hyunuktak [Fri, 15 Dec 2017 08:31:43 +0000 (17:31 +0900)]
Updated correct return error and target name

Change-Id: I562edf8699c41b1c83d14997a84fb7d5524375fb
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoRemoved "RETURN" target name 88/164088/1
hyunuktak [Fri, 15 Dec 2017 07:48:20 +0000 (16:48 +0900)]
Removed "RETURN" target name

Change-Id: Ia3a5ab904042cc654cdc406445398b715943ea97
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoAdded fluch chain for test 79/163879/1
hyunuktak [Thu, 14 Dec 2017 01:03:35 +0000 (10:03 +0900)]
Added fluch chain for test

Change-Id: I10eaf996c70dc90264d55da6fc2e74107e10c709
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoReplaced to single rule from rule list 76/163776/1
hyunuktak [Wed, 13 Dec 2017 09:48:19 +0000 (18:48 +0900)]
Replaced to single rule from rule list

Change-Id: Ie71dedbfd421149cdb3d9ee27f18b8f986ada7cc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoAllow creation of rule when no interface information present 09/163309/2 accepted/tizen/unified/20171211.160341 accepted/tizen/unified/20171212.064714 submit/tizen/20171211.072253 submit/tizen/20171212.025347
Nishant Chaprana [Fri, 8 Dec 2017 10:21:51 +0000 (15:51 +0530)]
Allow creation of rule when no interface information present

Change-Id: Ia5f136da4eb2a9503dd4e7eea914a094027a3d8e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoUpdated __create_entry_data() logic to create rule when nfacct and cgroup details... 96/163296/1
Nishant Chaprana [Fri, 8 Dec 2017 08:57:24 +0000 (14:27 +0530)]
Updated __create_entry_data() logic to create rule when nfacct and cgroup details are not present.

Change-Id: I05779d4fb7612abb06178df6f67b3c7fc02f6287
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoCorrected comments in helper-ip6tables.h 95/163295/1
Nishant Chaprana [Fri, 8 Dec 2017 08:55:30 +0000 (14:25 +0530)]
Corrected comments in helper-ip6tables.h

Change-Id: Ib6c7d6d86f395c3fb8fd5abbbcbcc3acb000fa10
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoAdded dbus methods to flush existing chains. 92/163292/1
Nishant Chaprana [Fri, 8 Dec 2017 08:49:36 +0000 (14:19 +0530)]
Added dbus methods to flush existing chains.

Below methods are added on dbus interface.
i)  IptFlushChain
ii) Ip6tFlushChain

Change-Id: I29361263c8d1badb8785524b6b55ba4c5c28f4a7
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoUsing correct signal name while registering method handle_ip6tables_remove_chain(). 91/163291/1
Nishant Chaprana [Fri, 8 Dec 2017 08:44:15 +0000 (14:14 +0530)]
Using correct signal name while registering method handle_ip6tables_remove_chain().

Change-Id: I35acd8246017b72cb1378233691a1b4184bde356
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoAccepting only single rule entry instead of list 66/163166/1
Nishant Chaprana [Thu, 7 Dec 2017 12:53:27 +0000 (18:23 +0530)]
Accepting only single rule entry instead of list

Change-Id: Ibce3d4db3d0dd9d240effe3c08a4830db43f6f2b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoInitialize smart traffic control iptables package 79/163079/1
Jaehyun Kim [Thu, 7 Dec 2017 05:59:55 +0000 (14:59 +0900)]
Initialize smart traffic control iptables package

Change-Id: I675ed04338b2d59000dbb71b432cc1a02a2f6386
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Wed, 6 Dec 2017 10:19:06 +0000 (10:19 +0000)]
Initial empty repository