Bug 157807 - security/sshguard-ipfw fails to work with -b option
Summary: security/sshguard-ipfw fails to work with -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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 01:30 UTC by Dmitry
Modified: 2011-07-24 19:20 UTC (History)
0 users

See Also:


Attachments
file.diff (910 bytes, patch)
2011-06-13 01:30 UTC, Dmitry
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2011-06-13 01:30:09 UTC
security/sshguard-ipfw fails to work with -b option.
If this option is enabled, sshguard fails to work with ipfw:

Assertion failed: (addresses[0] != NULL), function ipfwmod_buildblockcommand, file ipfw.c, line 291.
Abort trap: 6

Fix: http://sourceforge.net/tracker/?func=detail&aid=3252151&group_id=188282&atid=924685

/usr/ports/security/sshguard/files/patch-sshguard.c

Patch attached with submission follows:
How-To-Repeat: # cd /usr/ports/security/sshguard-ipfw && make install clean
# /usr/local/sbin/sshguard -a 4 -b 10:/var/db/blacklist.db
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-13 01:30:20 UTC
Maintainer of security/sshguard-ipfw,

Please note that PR ports/157807 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/157807

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-13 01:30:23 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-07-24 19:16:44 UTC
arved       2011-07-24 18:16:30 UTC

  FreeBSD ports repository

  Modified files:
    security/sshguard    Makefile 
  Added files:
    security/sshguard/files patch-src-sshguard.c 
  Log:
  Fix sshguared-ipfw -b option
  
  PR:             157807
  Submitted by:   Dmitry <smallcms@gmail.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.15      +1 -0      ports/security/sshguard/Makefile
  1.1       +21 -0     ports/security/sshguard/files/patch-src-sshguard.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Tilman Keskinoz freebsd_committer freebsd_triage 2011-07-24 19:17:13 UTC
State Changed
From-To: feedback->closed

Committed thanks