Bug 174018 - Can't disable security/sshguard -b option
Summary: Can't disable security/sshguard -b option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-30 17:30 UTC by wollman
Modified: 2014-11-04 14:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wollman 2012-11-30 17:30:00 UTC
It's not possible to disable the "-b" flag to sshguard, and on our
systems at least, enabling this option causes sshguard to crash.

How-To-Repeat: 
Set sshguard_blacklist="" in rc.conf.  Try to start sshguard.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-30 17:31:33 UTC
Maintainer of security/sshguard,

Please note that PR ports/174018 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174018

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-11-30 17:31:34 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 apmpc 2013-02-01 12:39:21 UTC
You can try to use this patch
http://sshguard.svn.sourceforge.net/viewvc/sshguard/trunk/src/fwalls/ipfw.c?view=patch&r1=226&r2=225&pathrev=226
seems it will helps to blacklist work again
Comment 4 wollman 2013-02-01 18:54:04 UTC
<<On Fri, 01 Feb 2013 14:39:21 +0200, Alex <apmpc@apmpc.dp.ua> said:

> You can try to use this patch
> http://sshguard.svn.sourceforge.net/viewvc/sshguard/trunk/src/fwalls/ipfw.c?view=patch&r1=226&r2=225&pathrev=226
> seems it will helps to blacklist work again

That would be an improvement but it still should be possible to
disable that feature from rc.conf.

-GAWollman
Comment 5 John Marino freebsd_committer freebsd_triage 2014-06-10 11:33:31 UTC
Feld, you get to adopt the PRs with the port. :)
Comment 6 commit-hook freebsd_committer freebsd_triage 2014-11-03 21:57:03 UTC
A commit references this bug:

Author: feld
Date: Mon Nov  3 21:56:19 UTC 2014
New revision: 372126
URL: https://svnweb.freebsd.org/changeset/ports/372126

Log:
  Make it possible to run sshguard without blacklist database by setting
  in rc.conf:

   sshguard_blacklist=""

  This may fix reliability for some users.

  PR:		174018

Changes:
  head/security/sshguard/Makefile
  head/security/sshguard/files/sshguard.in