Bug 197937 - security/suricata: Eve-log support: Make JSON a default option, package its configuration
Summary: security/suricata: Eve-log support: Make JSON a default option, package its c...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-02-22 22:57 UTC by Antoine Brodin
Modified: 2015-04-27 16:06 UTC (History)
0 users

See Also:
koobs: maintainer-feedback+


Attachments
patch (1.59 KB, patch)
2015-02-22 22:57 UTC, Antoine Brodin
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Brodin freebsd_committer freebsd_triage 2015-02-22 22:57:11 UTC
Created attachment 153340 [details]
patch

When launching suricata,  I have those 2 warnings:

22/2/2015 -- 22:53:11 - <Warning> - [ERRCODE: SC_ERR_FOPEN(44)] - Error opening file: "/usr/local/etc/suricata//threshold.config": No such file or directory

22/2/2015 -- 22:53:11 - <Warning> - [ERRCODE: SC_ERR_NOT_SUPPORTED(225)] - Eve-log support not compiled in. Reconfigure/recompile with libjansson and its development files installed to add eve-log support.

So I believe there are 2 problems:

1) The sample threshold.config is not packaged

2) Eve-log support is enabled in default configuration,  but disabled in default options.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-22 22:57:11 UTC
Auto-assigned to maintainer koobs@FreeBSD.org
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2015-03-10 23:07:26 UTC
timeout???
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2015-03-11 00:02:59 UTC
Not quite, suricata recently released a new version. If you can include that in your patch, I can review and approve
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2015-03-11 06:45:09 UTC
Are you aware of the 2 weeks timeout rule?
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2015-04-27 10:08:54 UTC
I won't be able to get to a suricata update in the coming week. Over to you to commit Antoine, apologies for the delay.
Comment 6 commit-hook freebsd_committer freebsd_triage 2015-04-27 16:06:21 UTC
A commit references this bug:

Author: antoine
Date: Mon Apr 27 16:05:53 UTC 2015
New revision: 384861
URL: https://svnweb.freebsd.org/changeset/ports/384861

Log:
  - Add JSON to OPTIONS_DEFAULT to match default configuration where eve-log
    support is enabled
  - Package threshold.config configuration file

  PR:		197937
  Approved by:	koobs (maintainer)

Changes:
  head/security/suricata/Makefile
  head/security/suricata/pkg-plist
Comment 7 Antoine Brodin freebsd_committer freebsd_triage 2015-04-27 16:06:52 UTC
Committed, thanks.