summaryrefslogtreecommitdiff
path: root/fail2ban/tests/files/filter.d/testcase02.conf
diff options
context:
space:
mode:
Diffstat (limited to 'fail2ban/tests/files/filter.d/testcase02.conf')
-rw-r--r--fail2ban/tests/files/filter.d/testcase02.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/fail2ban/tests/files/filter.d/testcase02.conf b/fail2ban/tests/files/filter.d/testcase02.conf
new file mode 100644
index 00000000..99b3bb45
--- /dev/null
+++ b/fail2ban/tests/files/filter.d/testcase02.conf
@@ -0,0 +1,12 @@
+[INCLUDES]
+
+# Read common prefixes. If any customizations available -- read them from
+# common.local
+before = testcase-common.conf
+
+[Definition]
+
+_daemon = sshd
+__prefix_line = %(known/__prefix_line)s(?:\w{14,20}: )?
+
+failregex = %(__prefix_line)s test \ No newline at end of file