Bug 458391 - Review Request: bro - Open-source, Unix-based Network Intrusion Detection System
Summary: Review Request: bro - Open-source, Unix-based Network Intrusion Detection System
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michal Marciniszyn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-07 23:24 UTC by Daniel Kopeček
Modified: 2014-02-10 23:03 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-04 07:31:50 UTC
Type: ---
Embargoed:
mmarcini: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Daniel Kopeček 2008-08-07 23:24:46 UTC
Spec URL: http://mildew.pfy.cz/redhat/bro/bro.spec
SRPM URL: http://mildew.pfy.cz/redhat/bro/bro-1.4-0.1.pre.src.rpm

Description:
Bro is an open-source, Unix-based Network Intrusion Detection System (NIDS)
that passively monitors network traffic and looks for suspicious activity.
Bro detects intrusions by first parsing network traffic to extract is
application-level semantics and then executing event-oriented analyzers that
compare the activity with patterns deemed troublesome. Its analysis includes
detection of specific attacks (including those defined by signatures, but also
those defined in terms of events) and unusual activities (e.g., certain hosts
connecting to certain services, or patterns of failed connection attempts).

Comment 1 Daniel Kopeček 2008-08-08 15:37:05 UTC
(In reply to comment #0)
New SRPM url:
SRPM URL: http://mildew.pfy.cz/redhat/bro/bro-1.4-0.1.pre.fc8.src.rpm

Added disttag and smp flags.

Comment 2 Daniel Kopeček 2008-08-10 10:47:09 UTC
> Miloslav Trmač <mitr> wrote:
>
> This is not a formal review: I didn't go through Packaging/Guidelines,
> and I won't be able to reply during the next week.
>
> rpmlint output:
> bro.i386: E:  
> wrong-script-interpreter /usr/share/bro/capture-events.bro "$Id:"
> bro.i386: E: non-executable-script /usr/share/bro/capture-events.bro  
> 0644
>> bro.i386: E:  
> wrong-script-interpreter /usr/share/bro/capture-state-updates.bro "$Id:"
>> bro.i386: E:  
> non-executable-script /usr/share/bro/capture-state-updates.bro 0644
> The .bro files are not scripts, so this is not a problem.
>> bro.i386: E: zero-length /usr/share/bro/ftp-safe-words.bro  
> Shipped that way, OK.
>> bro.i386: W: log-files-without-logrotate /var/log/bro  
> Have you checked this is OK?

I think this is ok because Bro periodically creates new log files (this can be set in /etc/sysconfig/bro). But it ships some archiving script too that are not installed now - I will fix that after I rewrite this scripts as they are not usable in our environment now.

> bro.i386: W: incoherent-subsys /etc/rc.d/init.d/bro $prog
>> rpmlint can not expand $prog, this is OK.  
>
> * blocker: The Release: field does not follow
> https://fedoraproject.org/wiki/Packaging/NamingGuidelines#Snapshot_packages

Changed to: 0.1.%{snapshot}svn%{?dist}

> * blocker: License: should be "BSD with advertising"
> * Why is the "Requires: perl openssl zlib ncurses" line necessary?
>  - I can't see anything that requires perl
>  - libssl dependency is discovered automatically; nothing uses the
>    command-line utility
>  - libz dependency is discovered automatically
>  - Only "shtool", which is not shipped at all, uses the command-line
>    programs from ncurses.

Fixed. (removed)

> * blocker: bro seems to ship its own copy of libedit.  If it's true, bro
>  needs to be patched to link to the package shipped in the libedit rpm.

Yes, it ships its own libedit but it is not installed nor linked with any installed executables, so this should be ok.

Thanks for review

New SRPM: http://mildew.pfy.cz/redhat/bro/bro-1.4-0.1.20080804svn.fc8.src.rpm
New spec: http://mildew.pfy.cz/redhat/bro/bro.spec

Comment 3 Daniel Kopeček 2008-08-12 12:58:55 UTC
> * blocker: License: should be "BSD with advertising"

See: http://mailman.icsi.berkeley.edu/pipermail/bro/2008-August/003606.html

Comment 4 Daniel Kopeček 2008-08-13 16:28:37 UTC
New SRPM: http://mildew.pfy.cz/redhat/bro/bro-1.4-0.1.20080804svn.fc9.src.rpm

Comment 5 Michal Marciniszyn 2008-08-14 15:25:42 UTC
Latest bro package looks good. Problems reported by rpmlint are more caused due to the presence of #! sequence in the begining of some bro conf files. Bro successfully builds on i386/x86_64 and runs on both of those.

Comment 6 Daniel Kopeček 2008-08-14 15:36:20 UTC
New Package CVS Request
=======================
Package Name: bro
Short Description: Open-source, Unix-based Network Intrusion Detection System
Owners: dkopecek
Branches:
InitialCC: pvrabec
Cvsextras Commits: yes

Comment 7 Kevin Fenzi 2008-08-23 04:23:59 UTC
When reviewing, please remember to assign the bug to the reviewer, and set it to ASSIGNED. 

Please use your FAS name for Owners. 

cvs done.

Comment 8 R P Herrold 2008-09-04 16:55:05 UTC
I find that the .spec file as issued, has a (disabled) option which causes a ./configure to fail on older systems.  This patch fixes that issue:

[herrold@centos-5 bro]$ diff -u bro.spec-ORIG bro.spec
--- bro.spec-ORIG       2008-09-04 12:50:54.000000000 -0400
+++ bro.spec    2008-09-04 12:49:50.000000000 -0400
@@ -43,6 +43,10 @@

 %build
 ./autogen.sh
+# fix up ./configure to elide unsuppoted option
+for i in `find . -name configure `; do
+       sed -i -e 's@^enable_option_checking@# enable_option_checking@g' $i
+done
 %configure --enable-brov6 --disable-broccoli
 %{__make} %{?_smp_mflags} CFLAGS+="-I/usr/include/ncurses"

[herrold@centos-5 bro]$

-- Russ herrold


Note You need to log in before you can comment on or make changes to this bug.