summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/swatch/files/swatchrc')
-rw-r--r--app-admin/swatch/files/swatchrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/swatch/files/swatchrc b/app-admin/swatch/files/swatchrc
new file mode 100644
index 000000000000..92e88ded1ef5
--- /dev/null
+++ b/app-admin/swatch/files/swatchrc
@@ -0,0 +1,10 @@
+#
+# A sample configuration file for swatch.
+#
+# See "man swatch" for details.
+
+# Mails root when invalid remote login attempted.
+watchfor /(.*) (.*) (.*) (.*) (.*):( [iI]nvalid [uU]ser )(.*)( from )(.*)$/
+ threshold track_by=$9,type=limit,count=3,seconds=30
+ mail root,subject="Invalid user"
+