From 25e88f743c1d632d6a12a7d64332e407ae87fbb4 Mon Sep 17 00:00:00 2001 From: Ultra2D Date: Fri, 4 Mar 2016 17:43:05 +0100 Subject: [PATCH] Remove dovecot match because of invalid pattern --- includes/syslog.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/syslog.php b/includes/syslog.php index e56526f59..307f8e0da 100644 --- a/includes/syslog.php +++ b/includes/syslog.php @@ -88,10 +88,6 @@ function process_syslog($entry, $update) { // User_CommonName/123.213.132.231:39872 VERIFY OK: depth=1, /C=PL/ST=Malopolska/O=VLO/CN=v-lo.krakow.pl/emailAddress=root@v-lo.krakow.pl if ($entry['facility'] == 'daemon' and preg_match('#/([0-9]{1,3}\.) {3}[0-9]{1,3}:[0-9]{4,} ([A-Z]([A-Za-z])+( ?)) {2,}:#', $entry['msg'])) { $entry['program'] = 'OpenVPN'; - } //end if - // POP3(username): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=2802 - else if ($entry['facility'] == 'mail' and preg_match('#^(((pop3|imap)\-login)|((POP3|IMAP)\(.*\))):#', $entry['msg'])) { - $entry['program'] = 'Dovecot'; } // pam_krb5(sshd:auth): authentication failure; logname=root uid=0 euid=0 tty=ssh ruser= rhost=123.213.132.231 // pam_krb5[sshd:auth]: authentication failure; logname=root uid=0 euid=0 tty=ssh ruser= rhost=123.213.132.231 else if (preg_match('#^(?P([^(:]+\([^)]+\)|[^\[:]+\[[^\]]+\])) ?: ?(?P.*)$#', $entry['msg'], $matches)) {