Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cybermaggedon/cyberprobe
Browse files Browse the repository at this point in the history
  • Loading branch information
cybermaggedon committed Feb 22, 2018
2 parents a5be7b5 + 9b74723 commit fe70ad1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.68])
AC_INIT([cyberprobe], [1.9.4], [[email protected]])
AC_INIT([cyberprobe], [1.9.5], [[email protected]])
AM_INIT_AUTOMAKE([-Wall -Werror])
AC_CONFIG_SRCDIR([src/target.h])
AC_CONFIG_HEADERS([config.h])
Expand Down
31 changes: 16 additions & 15 deletions tests/testsuite.at
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ sort < $abs_srcdir/samples/dns2.pcap.monitor > output2
AT_CHECK([diff output1 output2],,[])
AT_CLEANUP

AT_SETUP([dnstcp.pcap])
cat $abs_srcdir/samples/dnstcp.pcap | \
$abs_top_builddir/src/cybermon -f - -c $abs_top_srcdir/config/monitor.lua | \
sort > output1
sort < $abs_srcdir/samples/dnstcp.pcap.monitor > output2
AT_CHECK([diff -B output1 output2],,[])
AT_CLEANUP
# disabled whilst dns over tcp processing is disabled
#AT_SETUP([dnstcp.pcap])
#cat $abs_srcdir/samples/dnstcp.pcap | \
# $abs_top_builddir/src/cybermon -f - -c $abs_top_srcdir/config/monitor.lua | \
# sort > output1
#sort < $abs_srcdir/samples/dnstcp.pcap.monitor > output2
#AT_CHECK([diff -B output1 output2],,[])
#AT_CLEANUP

AT_SETUP([ether.pcap])
cat $abs_srcdir/samples/ether.pcap | \
Expand Down Expand Up @@ -130,13 +131,14 @@ cat $abs_srcdir/samples/dns2.pcap.model > output2
AT_CHECK([diff output1 output2],,[])
AT_CLEANUP

AT_SETUP([dnstcp.pcap])
cat $abs_srcdir/samples/dnstcp.pcap | \
$abs_top_builddir/src/cybermon -f - -c $abs_top_srcdir/config/json.lua | \
$abs_top_srcdir/tests/summarise_json > output1
cat $abs_srcdir/samples/dnstcp.pcap.model > output2
AT_CHECK([diff output1 output2],,[])
AT_CLEANUP
# disabled whilst dns over tcp processing is disabled
#AT_SETUP([dnstcp.pcap])
#cat $abs_srcdir/samples/dnstcp.pcap | \
# $abs_top_builddir/src/cybermon -f - -c $abs_top_srcdir/config/json.lua | \
# $abs_top_srcdir/tests/summarise_json > output1
#cat $abs_srcdir/samples/dnstcp.pcap.model > output2
#AT_CHECK([diff output1 output2],,[])
#AT_CLEANUP

AT_SETUP([ether.pcap])
cat $abs_srcdir/samples/ether.pcap | \
Expand Down Expand Up @@ -252,4 +254,3 @@ Stop lion resource lioness
Stop tiger resource tiger
])
AT_CLEANUP

0 comments on commit fe70ad1

Please sign in to comment.