summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjooseong lee <jooseong.lee@samsung.com>2016-12-01 15:30:27 +0900
committerjooseong lee <jooseong.lee@samsung.com>2016-12-01 15:55:52 +0900
commit803258cee1d310d351d6a5becb70e781abfb595a (patch)
tree04607083b62106400f2223bb7d4efffa495990eb
parent4eee0042c064d875e955e571fd97ca185f454beb (diff)
downloadnether-tizen_3.0.m2.tar.gz
nether-tizen_3.0.m2.tar.bz2
nether-tizen_3.0.m2.zip
It is hard to change packet's secmark in specific IP scope to avoid Smack denial. Nether provides access control for input and output packet better than IP management. Change-Id: I7a6da0d53c313a7987217d62fefb16ef2f0b8a0f Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
-rw-r--r--conf/nether.rules3
-rw-r--r--conf/nether_ipv6.rules5
2 files changed, 2 insertions, 6 deletions
diff --git a/conf/nether.rules b/conf/nether.rules
index f5b3c93..71b6464 100644
--- a/conf/nether.rules
+++ b/conf/nether.rules
@@ -23,8 +23,7 @@
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [816152:74580343]
:POSTROUTING ACCEPT [824147:75308906]
-# ipv4 multicase address for "All CoAP Nodes"
--A INPUT -d 224.0.1.187 -j SECMARK --selctx System
+-A INPUT -j SECMARK --selctx System
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -p tcp -m state --state NEW -j NFQUEUE --queue-num 0 --queue-bypass
COMMIT
diff --git a/conf/nether_ipv6.rules b/conf/nether_ipv6.rules
index 57a8900..cee3319 100644
--- a/conf/nether_ipv6.rules
+++ b/conf/nether_ipv6.rules
@@ -23,8 +23,5 @@
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [816152:74580343]
:POSTROUTING ACCEPT [824147:75308906]
-# ipv6 multicase address for "All CoAP Nodes": Link-Local scope
--A INPUT -d ff02::158 -j SECMARK --selctx System
-# TODO: RULE FOR IOTCON PROVISIONING SHOULD BE REMOVED
--A INPUT -d fe80::ae5a:14ff:fe0e:b2c0 -j SECMARK --selctx System
+-A INPUT -j SECMARK --selctx System
COMMIT