summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/tcpsndrcv_rcvr.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/tcpsndrcv_rcvr.conf')
-rw-r--r--tests/testsuites/tcpsndrcv_rcvr.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/tcpsndrcv_rcvr.conf b/tests/testsuites/tcpsndrcv_rcvr.conf
new file mode 100644
index 00000000..6bfb97b3
--- /dev/null
+++ b/tests/testsuites/tcpsndrcv_rcvr.conf
@@ -0,0 +1,11 @@
+# see tcpsndrcv.h for details
+# rgerhards, 2009-11-11
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imtcp/.libs/imtcp
+# then SENDER sends to this port (not tcpflood!)
+$InputTCPServerRun 13515
+
+$template outfmt,"%msg:F,58:2%\n"
+$template dynfile,"rsyslog.out.log" # trick to use relative path names!
+:msg, contains, "msgnum:" ?dynfile;outfmt