Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-22 Thread Sven F.
On Thu, Jul 22, 2021 at 11:22 AM Stuart Henderson wrote: > > On 2021/07/22 10:12, Sven F. wrote: > > On Thu, Jul 22, 2021 at 9:23 AM Stuart Henderson > > wrote: > > > > > > On 2021/07/21 22:55, Sven F. wrote: > > > > I'm not interested in disk file parsing. > > > > I run this on a device without

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-22 Thread Stuart Henderson
On 2021/07/22 10:12, Sven F. wrote: > On Thu, Jul 22, 2021 at 9:23 AM Stuart Henderson wrote: > > > > On 2021/07/21 22:55, Sven F. wrote: > > > I'm not interested in disk file parsing. > > > I run this on a device without storage , hence the use of the project > > > front page, > > > read from std

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-22 Thread Sven F.
On Thu, Jul 22, 2021 at 9:23 AM Stuart Henderson wrote: > > On 2021/07/21 22:55, Sven F. wrote: > > I'm not interested in disk file parsing. > > I run this on a device without storage , hence the use of the project > > front page, > > read from stdin. > > It's not as nice as feeding on stdin, but

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-22 Thread Stuart Henderson
On 2021/07/21 22:55, Sven F. wrote: > I'm not interested in disk file parsing. > I run this on a device without storage , hence the use of the project > front page, > read from stdin. It's not as nice as feeding on stdin, but you can use syslogd's memory buffer feature. Set e.g. :64:authlog instea

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-22 Thread j
Unfortunately this is all misdirected effort. The config file /etc/sshguard.conf should have BACKEND="/usr/local/libexec/sshg-fw-pf" automatically added. And, FILES=/var/log/authlog I think you may have to add that one. WHITELIST_FILE=/etc/sshguard.trustedips or whatever you may choose to

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-21 Thread Sven F.
On Wed, Jul 21, 2021 at 10:47 PM wrote: > > Unfortunately this is all misdirected effort. > > The config file /etc/sshguard.conf should have > > BACKEND="/usr/local/libexec/sshg-fw-pf" > > automatically added. And, > > FILES=/var/log/authlog > > I think you may have to add that one. > > WHITELIST

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-16 Thread Sven F.
On Fri, Jul 16, 2021 at 3:03 PM Kevin Zheng wrote: > > Hi all, > > On 7/16/21 12:41 PM, Sven F. wrote: > > The website first page: > > > > sshguard can read log messages from standard input (suitable for > > piping from syslog) > > > > But since (openbsd 6.8) 2.4.1 > > > > # cat /var/log/authlog |

Re: [SSHGuard-users] Tiny fix to security/sshguard to allow use of daemon_flags

2021-07-16 Thread Kevin Zheng
Hi all, On 7/16/21 12:41 PM, Sven F. wrote: The website first page: sshguard can read log messages from standard input (suitable for piping from syslog) But since (openbsd 6.8) 2.4.1 # cat /var/log/authlog | sshguard sshguard: /etc/sshguard.conf is missing FILES and LOGREADER; please specify