logcheck on FreeBSD-12

James B. Byrne byrnejb at harte-lyne.ca
Fri Nov 8 16:23:40 UTC 2019

I am attempting to get the following message unreported in locgcheck:

Nov  8 07:01:40 <auth.info> vhost04 sshd[63602]: Bad protocol version
identification 'GET /requested.html HTTP/1.1' from
port 37044

I have this rule in

^\w{3} [ :[:digit:]]{11} <auth.info> .*sshd\[.*\]: Bad protocol
version identification.*

I have confirmed that this rule matches the log entry given above:

Nov  8 11:07:46 <auth.info> vhost04 sshd[99149]: Bad protocol version
identification 'GET / HTTP/1.1' from port 42304
parsed file: /var/log/auth.log
used rule: '^\w{3} [ :[:digit:]]{11} <auth.info> .*sshd\[.*\]: Bad
protocol version identification.*'

I have confirmed that the local-sshd file is readable by logcheck:

ll /usr/local/etc/logcheck/violations.ignore.d/local-sshd
-rw-r--r--  1 root  logcheck  866 Nov  6 11:17

Why are these things still being reported?

***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the freebsd-questions mailing list