platform/core/connectivity/stc-iptables.git
3 years agoAdd to add/remove rule list 95/237395/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200630.160559 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115041 submit/tizen_5.5/20200630.071105 submit/tizen_5.5_wearable_hotfix/20201026.184303
hyunuk.tak [Thu, 21 May 2020 07:29:38 +0000 (16:29 +0900)]
Add to add/remove rule list

Change-Id: I2a2aa9339215d95d84fda7086355f274e7e1f978
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
4 years agoRemove duplicate dependency with implicit dependencies at "Type=dbus" 92/211592/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.024717 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084550 accepted/tizen/unified/20190830.110642 submit/tizen/20190816.114951 submit/tizen/20190828.061541 submit/tizen/20190830.060615 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
INSUN PYO [Wed, 7 Aug 2019 03:20:55 +0000 (12:20 +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: I011e11ca3809b1580696d5906c6fc5ccaea718ee

4 years agoMerge "Delete meaningless configuration" into tizen submit/tizen/20190726.063122
Jaehyun Kim [Fri, 26 Jul 2019 06:02:37 +0000 (06:02 +0000)]
Merge "Delete meaningless configuration" into tizen

4 years agoMerge "Add Gtests for iprange extention" into tizen
Jaehyun Kim [Fri, 26 Jul 2019 06:01:10 +0000 (06:01 +0000)]
Merge "Add Gtests for iprange extention" into tizen

4 years agoDelete meaningless configuration 19/209519/1
INSUN PYO [Mon, 8 Jul 2019 11:09:03 +0000 (20:09 +0900)]
Delete meaningless configuration

Change-Id: Id4a549a3b022ef8d75961e45147b9f8cc85bab8e

5 years agoChange to operate in on-demand mode 52/201752/2 accepted/tizen/unified/20190513.082615 submit/tizen/20190509.073354 submit/tizen/20190513.033322
hyunuktak [Tue, 19 Mar 2019 07:19:29 +0000 (16:19 +0900)]
Change to operate in on-demand mode

Change-Id: I4005e4e7c98d234413659dfbebd8ab6077e7d296
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoAdd Gtests for iprange extention 39/189239/3
Milind Murhekar [Fri, 14 Sep 2018 12:50:09 +0000 (18:20 +0530)]
Add Gtests for iprange extention

This patch adds the Global testcases to
to test iprange extention of stc-iptables.

Change-Id: Idecbb0dbec9ca30f63acacea93c91c3822adb2dc
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
5 years agoAdd config and check log mode with inotify 70/188470/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.015607 accepted/tizen/unified/20180910.172050 submit/tizen/20180910.023124 submit/tizen_5.0/20181101.000003
hyunuktak [Wed, 5 Sep 2018 08:24:53 +0000 (17:24 +0900)]
Add config and check log mode with inotify

Change-Id: Ie3d856c5c1ff6870b9d73fb6533b07f218cb7914

5 years agoRemoved fsync 24/188424/1 accepted/tizen/unified/20180907.043147 submit/tizen/20180907.021206
hyunuktak [Wed, 5 Sep 2018 04:30:23 +0000 (13:30 +0900)]
Removed fsync

Change-Id: Ic40d8d2d0d823b385264c62faf237302fd779aab
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoFix module circular dependency 60/188060/1 accepted/tizen/unified/20180905.060822 submit/tizen/20180831.123807 submit/tizen/20180903.055755 submit/tizen/20180904.101926
hyunuktak [Fri, 31 Aug 2018 01:33:02 +0000 (10:33 +0900)]
Fix module circular dependency

Change-Id: I3adf1aa62e2ad88a415766e3913843d20ec18b8a
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoFixed build warning for mismatch 78/187978/1
hyunuktak [Thu, 30 Aug 2018 05:55:48 +0000 (14:55 +0900)]
Fixed build warning for mismatch

Change-Id: Iddb5257b1619c4725a427d40028c1f3c5acb3ed3
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoFixed memory leak for gvariant 66/187966/1 accepted/tizen/unified/20180831.061848 submit/tizen/20180830.132246
hyunuktak [Thu, 30 Aug 2018 05:02:06 +0000 (14:02 +0900)]
Fixed memory leak for gvariant

Change-Id: Ie8d798d00044862237da5d79d9f4b627dc7a934c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoMerge "Change owner and group of /etc/dbus-1/system.d/stc-iptables.conf" into tizen accepted/tizen/unified/20180829.142957 submit/tizen/20180828.063057 submit/tizen/20180829.074020
Jaehyun Kim [Tue, 28 Aug 2018 06:25:52 +0000 (06:25 +0000)]
Merge "Change owner and group of /etc/dbus-1/system.d/stc-iptables.conf" into tizen

5 years agoMerge "Removed redundant NULL check" into tizen
Jaehyun Kim [Tue, 28 Aug 2018 06:24:31 +0000 (06:24 +0000)]
Merge "Removed redundant NULL check" into tizen

5 years agoMerge "Add to insert rule function" into tizen
Jaehyun Kim [Tue, 28 Aug 2018 06:03:48 +0000 (06:03 +0000)]
Merge "Add to insert rule function" into tizen

5 years agoChange owner and group of /etc/dbus-1/system.d/stc-iptables.conf 28/187728/1
INSUN PYO [Tue, 28 Aug 2018 05:44:37 +0000 (14:44 +0900)]
Change owner and group of /etc/dbus-1/system.d/stc-iptables.conf

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I05531cb6edc463dcb29d6b34ca1e2b6f92001cdd

5 years agoAdd to insert rule function 19/187419/2
hyunuktak [Thu, 23 Aug 2018 05:45:44 +0000 (14:45 +0900)]
Add to insert rule function

Change-Id: I933ca377bb7750df1b77d02381e780edb85c76de
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoRemoved flag for TIZEN_DEBUG_ENABLE 69/187369/1
hyunuktak [Wed, 22 Aug 2018 09:25:16 +0000 (18:25 +0900)]
Removed flag for TIZEN_DEBUG_ENABLE

Change-Id: I6ea69ca3584dfabb93c0380385f31189a574ea06
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoRemoved redundant NULL check 66/185766/1
Nishant Chaprana [Thu, 2 Aug 2018 07:20:29 +0000 (12:50 +0530)]
Removed redundant NULL check

Change-Id: I014223000cf92801856d46a00c15f2b8d306bd9f
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
5 years agoAdded revision while adding entry match 61/185261/1 accepted/tizen/unified/20180801.144901 submit/tizen/20180727.073401 submit/tizen/20180731.041744
hyunuktak [Fri, 27 Jul 2018 05:59:16 +0000 (14:59 +0900)]
Added revision while adding entry match

Change-Id: Ifac57182e3c61c3fed7798953bc4587cc4ba3617
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoAdded log and nflog for firewall 86/184486/1 accepted/tizen/unified/20180725.060455 submit/tizen/20180724.092802
hyunuktak [Wed, 18 Jul 2018 08:16:33 +0000 (17:16 +0900)]
Added log and nflog for firewall

Change-Id: I0b0140777c31249c5dd75459a63a096674498c00
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
5 years agoModify license name in spec file 64/180964/1 accepted/tizen/unified/20180611.015544 submit/tizen/20180607.113300
hyunuktak [Thu, 7 Jun 2018 02:06:15 +0000 (11:06 +0900)]
Modify license name in spec file

Change-Id: I4f99e69fedfc01867ae7e69cabdd7f1b22e5df18
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoModify stc_ipt_test logic for ip and port 54/177854/1 accepted/tizen/unified/20180510.134335 submit/tizen/20180510.023945
hyunuktak [Fri, 4 May 2018 05:09:30 +0000 (14:09 +0900)]
Modify stc_ipt_test logic for ip and port

Change-Id: I98e7ddabf5674c9184af17770bfb985cb2c4ef1c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoMerge "Fixed a coverity issue for copy-paste error" into tizen accepted/tizen/unified/20180420.081901 submit/tizen/20180419.131851
Jaehyun Kim [Thu, 19 Apr 2018 05:47:55 +0000 (05:47 +0000)]
Merge "Fixed a coverity issue for copy-paste error" into tizen

6 years agoFixed a coverity issue for copy-paste error 79/176379/1
hyunuktak [Thu, 19 Apr 2018 02:29:30 +0000 (11:29 +0900)]
Fixed a coverity issue for copy-paste error

Change-Id: Id7cd33559fa11420425f55f5502289a559dfd47c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFixed build warning for ignoring return value 88/176288/1
hyunuktak [Wed, 18 Apr 2018 05:41:06 +0000 (14:41 +0900)]
Fixed build warning for ignoring return value

Change-Id: I449b9e501ac7cc8b8d2a7876be75a442f5d69bcc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoFixed dbus/cynara policy 85/176285/2
hyunuktak [Wed, 18 Apr 2018 05:37:10 +0000 (14:37 +0900)]
Fixed dbus/cynara policy

Change-Id: I1d7b3ada82cff09149317ce9902d873b8a63e239
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoNotify licenses to spec file 36/176136/2
hyunuktak [Tue, 17 Apr 2018 04:39:22 +0000 (13:39 +0900)]
Notify licenses to spec file

Change-Id: I1eab07695455e41eb979fa77df175b66348b9e96
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoMigrate root daemon to non-root 19/176119/1 accepted/tizen/unified/20180419.134235 submit/tizen/20180412.081848
hyunuktak [Tue, 17 Apr 2018 01:02:23 +0000 (10:02 +0900)]
Migrate root daemon to non-root

Change-Id: I3e3e6169c7f1020dff572682ac261a065f44f862
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
6 years agoMerge "Added firewall features" into tizen accepted/tizen/unified/20180417.173153 submit/tizen/20180416.224349
taesub kim [Mon, 16 Apr 2018 08:58:20 +0000 (08:58 +0000)]
Merge "Added firewall features" into tizen

6 years agoAdded dbus/cynara policy 70/174470/2
taesub kim [Mon, 2 Apr 2018 08:59:02 +0000 (17:59 +0900)]
Added dbus/cynara policy

Change-Id: Idd95731b034721fadf851b085f8d0c95a45b8f4d
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
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