openssh-unix-dev October 2011 archive
Main Archive Page > Month Archives  > openssh-unix-dev archives
openssh-unix-dev: Re: [PATCH] add log= directive to authorized_h

Re: [PATCH] add log= directive to authorized_hosts

From: Ángel González <keisial_at_nospam>
Date: Sat Oct 08 2011 - 18:10:13 GMT
To: Alex Bligh <alex@alex.org.uk>

Alex Bligh wrote:
> The log line always begins the same way, i.e. the current way, so the
> log line would in this case read:
>
> Oct 8 11:04:47 test sshd[18469]: Accepted publickey for eve from
> 10.11.12.13 port 55580 ssh2 Invalid user root from 192.168.1.1
>
> Now, if someone is so silly as to parse the log for a regexp and not
> write the regexp properly then I think they deserve all they get.

I know, the problem would be the regex. But I'm sure there are unanchored
regexes in use out there, for parsing those logs.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev