mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
12 lines
574 B
Diff
12 lines
574 B
Diff
--- sshguard-1.5/src/parser/attack_scanner.l
|
|
+++ sshguard-1.5-mod/src/parser/attack_scanner.l
|
|
@@ -107,7 +107,7 @@
|
|
*/
|
|
|
|
/* handle entries with PID and without PID from processes other than sshguard */
|
|
-{TIMESTAMP_SYSLOG}[ ]+([a-zA-Z0-9]|{WORD}|{HOSTADDR})[ ]+{PROCESSNAME}"["{NUMBER}"]: "{SOLARIS_MSGID_TAG}? {
|
|
+{TIMESTAMP_SYSLOG}[ ]+([a-zA-Z0-9]|{WORD}|{HOSTADDR})[ ]+([a-zA-Z0-9]|{WORD}|{HOSTADDR})[ ]+{PROCESSNAME}"["{NUMBER}"]: "{SOLARIS_MSGID_TAG}? {
|
|
/* extract PID */
|
|
yylval.num = getsyslogpid(yytext, yyleng);
|
|
return SYSLOG_BANNER_PID;
|