Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87408 - Version bump to prelude-* ebuils are needed (to 0.9.0-rc1)
Summary: Version bump to prelude-* ebuils are needed (to 0.9.0-rc1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL: http://www.prelude-ids.org
Whiteboard:
Keywords:
Depends on: 87577 87617 92968
Blocks:
  Show dependency tree
 
Reported: 2005-03-31 05:22 UTC by Carlos Silva (RETIRED)
Modified: 2005-09-24 19:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
snort-2.3.2-r1.ebuild.diff (snort-2.3.2-r1.ebuild.diff,1.70 KB, patch)
2005-04-01 09:54 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Silva (RETIRED) gentoo-dev 2005-03-31 05:22:54 UTC
3 days ago, the prelude team released a rc version of the new prelude software. The new version have much more new features... :) so, i think it's a need.
I anything information is needed from upstream, you can ping me on irc 'cause i talk to the guys everyday :)

Reproducible: Always
Steps to Reproduce:
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-03-31 05:56:12 UTC
tsk tsk you should know better than submitting to bug-wranglers :)
Comment 2 Carlos Silva (RETIRED) gentoo-dev 2005-03-31 07:28:54 UTC
buah :/ sorry.... forgot to change that.... :)

anyway, libprelude and libpreludedb -rc2 will be released tonight so if anyone is working on this bug, that should be taken in atention. (prewikka is already rc2)
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-04-01 08:24:21 UTC
So far I have bumped:

app-admin/prelude-lml
app-admin/prelude-manager
dev-libs/libprelude

TODO:

Look into other packages in the prelude suite
prelude flag for Snort
prelude flag for PAM (will probably open a bug with pam guys)
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2005-04-01 09:54:48 UTC
Created attachment 55047 [details, diff]
snort-2.3.2-r1.ebuild.diff

Can people give their opinions on this modification of the snort ebuild?
Basically, it should drop current prelude patches, and use the snort version
from prelude-ids.org if the USE flag prelude is set.
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2005-04-01 15:02:58 UTC
Added dev-libs/libpreludedb
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2005-04-01 18:46:17 UTC
Prelude suite:

net-analyzer/prewikka is an interesting package to complete prelude's suite.
All other important packages are in Portage, with the exception of prelude-pflogger. I will add the last if there is enough demand.

I think it may also be interesting to create a meta ebuild to pull everything 
prelude-related, a la nessus.
Comment 7 Carlos Silva (RETIRED) gentoo-dev 2005-04-04 03:23:45 UTC
I agree with that :)
Comment 8 Jan Dusek 2005-04-26 04:32:51 UTC
re #6: "I think it may also be interesting to create a meta ebuild to pull everything prelude-related, a la nessus."

I'm not sure this would be a wise idea - what'd you put in such a meta ebuild? preludelib, snort, prelude-manager, prelude-lml, prewikka, ...? Every prelude setup I've made so far had different components intalled (there are different sensor hosts, manager hosts and manager hosts with web interface). I'm not sure that there is some general setup that most people would use (as there is with nessus). Correct me if I'm wrong...
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2005-05-06 18:25:31 UTC
re #8
Makes sense. Maybe it would be just bloat after all.
My current plan is not to do it anymore.
Comment 10 Yoann Vandoorselaere 2005-05-16 04:36:44 UTC
Short note on current prelude-* ebuild:

* prelude-manager:
 - The "ssl" use flag should be dropped: SSL support is not optional.
 
 - The "mysql" and "postgresql" use flag should be dropped, these are obsoleted by libpreludedb.
 
 - a "database" use flags should be added (which should trigger a dependencie on libpreludedb).

 - an "xml" use flag should be added (for optional compilation of the xmlmod plugin).


* libprelude:
 - the "pcre" use flag should be dropped. PCRE support has been dropped due to several PCRE bugs when using libpcre from another library.

Comment 11 Jason Wever (RETIRED) gentoo-dev 2005-05-16 09:21:30 UTC
Please add a new version of prelude-nids as the current ~arch version of prelude-nids (0.8.6) cannot compile against the current ~arch version of libprelude (0.9.0_rc5-r1) on both ~x86 and ~sparc.
Comment 12 Marcelo Goes (RETIRED) gentoo-dev 2005-05-17 12:40:49 UTC
prelude-manager: got it fixed, waiting for ~sparc keyword for libpreludedb
before committing.
libprelude: pcre flag dropped.
prelude-nids: couldn't get a recent snapshot, so I changed DEPEND to
<dev-libs/libprelude-0.9.0_rc1 for now.
Comment 13 Jason Wever (RETIRED) gentoo-dev 2005-05-17 14:36:04 UTC
Added the ~sparc keyword to dev-libs/libpreludedb
Comment 14 Marcelo Goes (RETIRED) gentoo-dev 2005-05-17 14:57:09 UTC
prelude-manager fixed.
Thanks Jason.
Comment 15 Yoann Vandoorselaere 2005-05-19 06:50:46 UTC
Prelude-NIDS is deprecated. Snort is now the 'official' Prelude NIDS sensor. 

We are currently distributing a Snort tarball including Prelude support on the
prelude-ids.org website. Future Snort version (starting at 2.4.0) will officialy
include Prelude support.
Comment 16 Jason Wever (RETIRED) gentoo-dev 2005-05-19 08:05:18 UTC
Then any SPARC box or SPARC64 box running a 32 bit userland will no longer be
able to run the network sensor portion of Prelude.  Snort has a known runtime
crashing issue when being built with gcc in 32 bits on SPARC and SPARC64
architectures that cannot be fixed short of some major reworking of gcc's C
compiler.

You can view bug #29661 for more information if you like.
Comment 17 Yoann Vandoorselaere 2005-05-19 08:36:31 UTC
The Snort Solaris crash has been known for a long time and is even what resulted
in some people switching to Prelude-NIDS (which suffered, at that time from the
same problem - but we were quick to correct it). 

The problem in question, as I remember it, is an alignement issue in header
capture, and AFAICT it is not related to a GCC bug. I'd be interested to read
any paper demonstrating this stuff to be a GCC problem.

Prelude-NIDS will for sure stay deprecated, and won't be ported to version 0.9
of the framework unless someone volunteer to do it. However, I might take some
time to look at that Snort issue (so if you have pointers about this specific
Snort issue, don't hesitate to send them to me).
Comment 18 Yoann Vandoorselaere 2005-05-19 08:45:36 UTC
Just finished reading #29661. This definitly is not a GCC issue. Prelude-NIDS
used to suffer from the exact same problem. You might want to have a look to  

https://trac.prelude-ids.org/file/trunk/libprelude/src/include/prelude-extract.h

One of the reason for this code was to be able to align network data in
Prelude-NIDS. The unaligned access used as an example in #29661 could, for
example, be corrected to use these macro. 
Comment 19 Jason Wever (RETIRED) gentoo-dev 2005-05-19 11:06:49 UTC
OK, I'll take a look at it, thanks for the info.

The INSTALL file from Snort was the one that specifically referenced the problem
I mentioned with regards to GCC.
Comment 20 Marcelo Goes (RETIRED) gentoo-dev 2005-09-24 19:34:19 UTC
Okies, 0.9.0 made it to the tree, might as well close this bug :-).
pam version bump request remains in bug 87577.
Please re-open if necessary.