Add tests for network protocols 40/125240/5
authorPiotr Sawicki <p.sawicki2@partner.samsung.com>
Thu, 16 Mar 2017 12:20:19 +0000 (13:20 +0100)
committerZofia Abramowska <z.abramowska@samsung.com>
Wed, 26 Apr 2017 14:52:46 +0000 (16:52 +0200)
commitb205d7f8a420f7bca0bb9ac1dd557d12f6e9a4eb
tree3551f4eca9babc64cca1f7e3a41f776f733b655f
parentc0e735919e833efe6a7ee40774ac68238fa3b857
Add tests for network protocols

Several test cases have been implemented to check how Nether deals with UDP,
UDPLite and TCP protocols. Additionally, tests for gethostbyname() function
have been added. It is necessary because this function can create connections
to a local DNS server. Since this local server has 'System' label attached,
it is able to bypass firewall rules and transmit data to the Internet on behalf
of a user application.

Change-Id: I31d114d2e40ef01d200d4b78223ff089b4f43d9c
packaging/security-tests.spec
src/nether-tests/CMakeLists.txt
src/nether-tests/nether_tests.cpp