combine several regexes to single RE

pull/2702/head
sebres 2025-01-29 21:14:56 +01:00
parent e1fc569291
commit d2c60a168f
1 changed files with 1 additions and 4 deletions

View File

@ -9,8 +9,5 @@ before = common.conf
[Definition]
_daemon = ovpn-server\d*
failregex = ^%(__prefix_line)s<HOST>:\d{4,5} TLS Auth Error:
^%(__prefix_line)s<HOST>:\d{4,5} VERIFY ERROR:
^%(__prefix_line)s<HOST>:\d{4,5} TLS Error: TLS handshake failed\b
^%(__prefix_line)s<HOST>:\d{4,5} SIGUSR1\[soft,connection-reset\] received\b
failregex = ^%(__prefix_line)s<HOST>:\d{4,5} (?:TLS Auth Error:|VERIFY ERROR:|TLS Error: TLS handshake failed\b|SIGUSR1\[soft,connection-reset\] received\b)
^%(__prefix_line)sTLS Error: cannot locate HMAC in incoming packet from \[AF_INET\]\s*<HOST>:\d{4,5}