diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-25 03:03:33 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-31 17:32:54 +0200 |
commit | aa7568b25453f75740fa9239185052f152af36d6 (patch) | |
tree | 7c0202934bc462bd0426ab6401dd098ea5d2e616 /tests/conntrackd/cthelper/README | |
parent | b84e7a150daab4c9f488120c9fded984ee3f7ec8 (diff) | |
download | conntrack-tools-aa7568b25453f75740fa9239185052f152af36d6.tar.gz conntrack-tools-aa7568b25453f75740fa9239185052f152af36d6.zip |
tests: conntrackd: add cthelper-test infrastructure
This patch adds the automated testing infrastructure the user-space
helpers. Basically, this adds the `cthelper-test' program that can
be invoked from the command line:
./cthelper-test oracle-tns/oracle-tns-redirect.pcap tns tcp
To test the helper with one PCAP file that contains traces of Oracle TNS
traffic.
This will also allow fuzzy testing of user-space helper, for further
validation, not yet implemented.
To compile this tool, you have to run:
./configure
make check
under the qa/cthelper-test/ directory. I'm doing like this because
this directory is not included in the standalone tarball that
make distcheck generates (I don't want to bloat it with development
tools that can be retrieved from the git repository).
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/conntrackd/cthelper/README')
-rw-r--r-- | tests/conntrackd/cthelper/README | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/conntrackd/cthelper/README b/tests/conntrackd/cthelper/README new file mode 100644 index 0000000..6e8b385 --- /dev/null +++ b/tests/conntrackd/cthelper/README @@ -0,0 +1,2 @@ +This directory contains PCAP files with traffic traces that we can use to test +the user-space helpers. |