summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-08-07Base Code merged to SPIN 2.4submit/tizen/20150810.034432hyunuktak25-0/+0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com> Change-Id: I84a42375b5c59739e4caca1f726699ea7647ef17
2014-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang7-7/+7
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang23-550/+680
2013-05-31session-test: Add tests for session_policy_localDaniel Wagner1-0/+151
Use the UID as identification.
2013-04-13tools: Rename dnsproxy-unit to dnsproxy-testJukka Rissanen1-0/+0
Rename the dnsproxy file as it is more of a test tool than a unit test.
2013-04-13tools: Make message buffers staticJukka Rissanen1-3/+3
2013-04-05tools: Add unit test for dnsproxyJukka Rissanen1-0/+463
2013-03-25iptables-unit: Add firewall API testsDaniel Wagner1-0/+84
2013-03-25iptables-test: Add insert supportDaniel Wagner1-2/+10
2013-03-19iptables-unit: Check if rules are inserted/removedDaniel Wagner1-1/+107
Optionally use iptables-save to check if the rules are installed or removed on the system instead of relying only on the returned iptables error code. Do notice that running tools/iptables-unit will modify and delete existing iptables firewall rules on your system. Use iptables-unit with caution!
2013-03-18iptables-unit: Add debug optionDaniel Wagner1-1/+40
It is impossible to see the normal unit test output with all DBG() enabled by default.
2013-03-18iptables-test: Use iptables implementation from coreDaniel Wagner1-1811/+83
With the recent changes to iptables.c and the new API iptables-test.c and iptables.c started to diverge and it is not really possible to keep those two files in sync. Instead we start using the new API. Unfortunatly, we need to partially parse argv and concatinate the rest again together. This is ugly but not much we can do about it.
2013-03-18test-session: Move file to tools and rename it to session-testDaniel Wagner5-0/+1586
These tests depens on ConnMan running and therefore not really a unit tests. Let's move it to tools.
2013-03-18test-iptables: Move file to tools and rename it to iptables-unitDaniel Wagner1-0/+327
Unit tests are suppessed to be run during 'make distcheck' but iptables-unit needs to be run with root rights.
2012-08-14tools: Refactor where table should be loadedTomasz Bursztyka1-9/+27
Fixes segfault issues when using a non-builtin target without providing table name. like: -A OUTPUT -j IDLETIMER (...) will crash when: -t filter -A OUTPUT -j IDLETIMER (...) will success
2012-07-15tools: Avoid shadowing buffer variableMarcel Holtmann1-12/+12
2012-05-09wispr: Remove dead assignmentHenrique Dante de Almeida1-1/+1
2012-05-09tools: Remove dead assignments in supplicantHenrique Dante de Almeida1-2/+0
2012-05-09tools: Remove dead assignment in supplicantHenrique Dante de Almeida1-3/+1
2012-05-09tools: Remove dead assignment in iptables-testHenrique Dante de Almeida1-1/+1
2012-04-29tools: Update copyright informationMarcel Holtmann17-17/+17
2012-04-27tools: Add WISPr route request debug printoutsPatrik Flykt2-4/+23
Update g_web_request_get() and add WISPr route request debug printouts.
2012-04-21build: Remove useless alg-test example programMarcel Holtmann1-131/+0
2012-02-13iptables-test: Mask address when parsing ip/prefixlenDaniel Wagner1-0/+1
Netfilter likes to have the address properly masked.
2012-02-13tools: Fix rule insertion in a builtin chain into iptables-testTomasz Bursztyka1-1/+4
2012-02-13iptables-test: Parse also netmask for src/dst addressesDaniel Wagner1-9/+39
2012-02-03test: adding a fonction to compare a rule against the actual onesTomasz Bursztyka1-5/+53
2012-02-03test: refactoring rule finding part into iptables-testTomasz Bursztyka1-13/+41
2011-11-14tools: Initiate defined table before working on it in iptables-testTomasz Bursztyka1-4/+10
2011-10-31tools: Fix xtables API version issues with iptables-testTomasz Bursztyka1-4/+36
2011-10-28tools: Add iptables_test builtin chain policy changesTomasz Bursztyka1-3/+50
2011-10-28tools: Initialize the iptables_test invert flag properlyTomasz Bursztyka1-0/+2
The invert flag is specific to each option so it needs to be initialized after each succesfully handled option.
2011-10-28tools: Disable getopt unknown option display in iptables_testTomasz Bursztyka1-0/+3
2011-10-28tools: Add support for rule matches list to iptables_testTomasz Bursztyka1-21/+23
2011-10-28tools: Finalize matches extensions setup in iptables_testTomasz Bursztyka1-0/+4
2011-10-28tools: Add extensions options parsing for matches to iptables-testTomasz Bursztyka1-2/+24
2011-10-28tools: Finalize target extensions setup in iptables_testTomasz Bursztyka1-0/+3
2011-10-28tools: Add extensions options parsing for target to iptables_testTomasz Bursztyka1-8/+9
2011-10-28tools: Add x6_options matches handling to iptables-testTomasz Bursztyka1-5/+17
2011-10-28tools: Add x6_options target handling to iptables_testTomasz Bursztyka1-2/+12
2011-10-28tools: Target and matches preparation function moves in iptables_testTomasz Bursztyka1-10/+8
2011-10-28tools: Add matches rule list loading support for iptables_testTomasz Bursztyka1-3/+5
2011-10-28tools: Refactor iptables_test matches preparationTomasz Bursztyka1-25/+48
2011-10-28tools: Move iptables_test target options merge in prepare_targetTomasz Bursztyka1-11/+14
2011-10-28tools: Code preparation for iptable-test option handlingTomasz Bursztyka1-24/+24
2011-10-26tools: Fix compilation in MeeGoJukka Rissanen3-0/+3
The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in system header files. The source does not compile without the patch in MeeGo 1.2
2011-10-25tools: Add SOCK_CLOEXEC to socket()Daniel Wagner3-3/+3
Make sure all file descriptor are closed.
2011-10-25tools: Add O_CLOEXEC to open()Daniel Wagner4-4/+5
Make sure all file descriptor are closed.
2011-09-29tools: Fixed double-free error possibility into iptables-testTomasz Bursztyka1-0/+1
2011-09-22tools: Copyright year update in iptables-testTomasz Bursztyka1-1/+1