aboutsummaryrefslogtreecommitdiffstats
path: root/security/logcheck/files
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2011-11-24 03:37:24 +0800
committerglarkin <glarkin@FreeBSD.org>2011-11-24 03:37:24 +0800
commit7aef6fead94ab16f055e0bb870fb7191c0d2c095 (patch)
tree6d999213a12717944a6ca53a1f6cbb808c4910a9 /security/logcheck/files
parentf78946b20cedefc1027a666baeb39ddbbcc5c2ed (diff)
downloadfreebsd-ports-gnome-7aef6fead94ab16f055e0bb870fb7191c0d2c095.tar.gz
freebsd-ports-gnome-7aef6fead94ab16f055e0bb870fb7191c0d2c095.tar.zst
freebsd-ports-gnome-7aef6fead94ab16f055e0bb870fb7191c0d2c095.zip
- Updated the PAM ssh rule file to match messages emitted on FreeBSD vs.
the Linux messages contained in the distro rule file - Bumped PORTREVISION PR: ports/162330 Submitted by: Shuichi KITAGUCHI <ki@hh.iij4u.or.jp> Feature safe: yes
Diffstat (limited to 'security/logcheck/files')
-rw-r--r--security/logcheck/files/patch-rulefiles__linux__ignore.d.server__ssh13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/logcheck/files/patch-rulefiles__linux__ignore.d.server__ssh b/security/logcheck/files/patch-rulefiles__linux__ignore.d.server__ssh
new file mode 100644
index 000000000000..c482cb8536ac
--- /dev/null
+++ b/security/logcheck/files/patch-rulefiles__linux__ignore.d.server__ssh
@@ -0,0 +1,13 @@
+--- ./rulefiles/linux/ignore.d.server/ssh.orig 2010-09-03 04:24:30.000000000 -0400
++++ ./rulefiles/linux/ignore.d.server/ssh 2011-11-23 14:25:31.000000000 -0500
+@@ -21,8 +21,8 @@
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: \(pam_unix\) check pass; user unknown$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: \(pam_unix\) bad username \[[^]]+\]$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: error: Could not get shadow information for NOUSER$
+-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: error: PAM: Authentication failure for( illegal user)? [^[:space:]]+ from ([:.[:xdigit:]]+|UNKNOWN|[-_.[:alnum:]]+)$
+-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: error: PAM: User not known to the underlying authentication module for i(llegal|nvalid) user [^[:space:]]+ from ([:.[:xdigit:]]+|UNKNOWN|[-_.[:alnum:]]+)$
++^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: error: PAM: authentication error for( illegal user)? [^[:space:]]+ from ([:.[:xdigit:]]+|UNKNOWN|[-_.[:alnum:]]+)$
++^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: error: PAM: unknown user for i(llegal|nvalid) user [^[:space:]]+ from ([:.[:xdigit:]]+|UNKNOWN|[-_.[:alnum:]]+)$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: error: ssh_msg_send: write$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: fatal: Timeout before authentication for [:[:alnum:].]+$
+ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ sshd\[[[:digit:]]+\]: fatal: Write failed: (Connection (timed out|reset by peer)|Broken pipe)$