From 233aad93a9f11526559c3c1fdcc07b973a49bd44 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 11 Oct 2024 15:40:18 +0200 Subject: [systemstatus] Filter more spam from lighttpd log --- modules-available/systemstatus/page.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules-available/systemstatus/page.inc.php b/modules-available/systemstatus/page.inc.php index f774c4e0..00f36cbe 100644 --- a/modules-available/systemstatus/page.inc.php +++ b/modules-available/systemstatus/page.inc.php @@ -421,6 +421,10 @@ class Page_SystemStatus extends Page if (strpos($line, ':SSL routines:') === false && strpos($line, ' SSL: -1 5 104 Connection reset by peer') === false && strpos($line, 'GET/HEAD with content-length') === false + && strpos($line, 'connection closed: write failed on fd ') === false + && strpos($line, 'unexpected TLS ClientHello on clear port ') === false + && strpos($line, 'invalid request-line -> sending Status 400 ') === false + && strpos($line, 'SSL (error): 5 -1: Bad message') === false && strpos($line, 'POST-request, but content-length missing') === false) { $ret[] = $line; } -- cgit v1.2.3-55-g7522