summaryrefslogtreecommitdiff
path: root/logcheck
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2012-10-09 12:42:55 +0200
committerJonas <dr@jones.dk>2012-10-09 12:43:35 +0200
commitb1b7fd9bba3eb04e4238a2b277c31c400d8f9ab5 (patch)
tree60281e953979c0e332a982ea16faefc99523e83f /logcheck
parent0f1a6252d758df96ca567c201d3ea1437546d3f4 (diff)
Fix generate cracking.ignore.d/local.
Diffstat (limited to 'logcheck')
-rw-r--r--logcheck/cracking.ignore.d/local3
-rwxr-xr-xlogcheck/mklocalfiles2
2 files changed, 4 insertions, 1 deletions
diff --git a/logcheck/cracking.ignore.d/local b/logcheck/cracking.ignore.d/local
new file mode 100644
index 0000000..151108f
--- /dev/null
+++ b/logcheck/cracking.ignore.d/local
@@ -0,0 +1,3 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/[[:alnum:]]+\[[0-9]+\]: ([[:xdigit:]]+|NOQUEUE): ([^[:space:]]+=[^[:space:]]+, )*(from|helo|message-id|to)=<[^>]*(attack|nested)[^>]*>.*$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/[[:alnum:]]+\[[0-9]+\]: warning: no MX host for [^[:space:]]*(attack|nested)[^[:space:]]* has a valid A record$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtp+\[[0-9]+\]: connect to [^[:space:]]*(attack|nested)[^[:space:]]*:.*$
diff --git a/logcheck/mklocalfiles b/logcheck/mklocalfiles
index eeb53eb..1ffa4e8 100755
--- a/logcheck/mklocalfiles
+++ b/logcheck/mklocalfiles
@@ -3,7 +3,7 @@
# Bad ass temp script to simply generate file "local" containing *all*
# other files in it (until a proper cfengine script is written
-for dir in ignore.d.server ignore.d.workstation violations.ignore.d; do
+for dir in ignore.d.server ignore.d.workstation violations.ignore.d cracking.ignore.d; do
echo regenerating $dir
rm -f $dir/local
# # Include server lines in workstation as well