Disable TCP server role 97/177597/1
authorVeeraj Khokale <veeraj.sk@samsung.com>
Wed, 25 Apr 2018 13:46:53 +0000 (19:16 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 2 May 2018 05:51:29 +0000 (14:51 +0900)
commit6a5a7e2ffcafeab7f97764078914373a908d39f3
tree78c25e10a83a56e0fbf85d2373f1fca11ec019e7
parent0e13eb3c0ae418764cf30e2cbb6c6645e5447fda
Disable TCP server role

TCP server is used only in client role to connect to
cloud server. A critical vulnerability is reported when
ifw-thing process in TV connects to other device via
TCP(D2D) which can compromise the Policy engine. Therefore
disable TCP server role based on build configuration.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/286
(cherry picked from commit fbd41449a05001403bcf60169a3c780d97001e7a)

Change-Id: Iefdd1cf9ef9524cfb6cf48d1219b0b7e3e88bb9a
Signed-off-by: Veeraj Khokale <veeraj.sk@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
15 files changed:
build_common/SConscript
packaging/iotivity.spec
resource/csdk/connectivity/SConscript
resource/csdk/connectivity/build/SConscript
resource/csdk/connectivity/build/tizen/scons/SConscript
resource/csdk/connectivity/src/tcp_adapter/catcpadapter.c
resource/csdk/connectivity/src/tcp_adapter/catcpserver.c
resource/csdk/stack/include/ocpayload.h
resource/csdk/stack/samples/tizen/SimpleClientServer/SConscript
resource/csdk/stack/samples/tizen/build/scons/SConscript
resource/csdk/stack/src/ocpayload.c
resource/csdk/stack/src/ocresource.c
service/easy-setup/sampleapp/enrollee/tizen-sdb/EnrolleeSample/build/SConscript
tools/tizen/iotivity-vd-tv-es-tizen30.spec
tools/tizen/iotivity-vd-tv-tizen30.spec