Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19673 - Ebuild to install prelude support for nessus
Summary: Ebuild to install prelude support for nessus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-04-20 09:37 UTC by Michael Boman
Modified: 2003-08-26 07:28 UTC (History)
2 users (show)

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


Attachments
Eduild file (nessus-prelude-0.8.ebuild,2.15 KB, text/plain)
2003-04-20 09:37 UTC, Michael Boman
Details
Patch against current nessus-core-2.0.7.ebuild (nessus-core-2.0.7.ebuild.patch,1.32 KB, patch)
2003-08-15 22:46 UTC, Michael Boman (RETIRED)
Details | Diff
The patch that fixes the upstream patch.. (patch_1.nessus-core.2.0.7,787 bytes, patch)
2003-08-15 22:48 UTC, Michael Boman (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Boman 2003-04-20 09:37:24 UTC
This ebuild installs a few perl scripts that helps with intergration of nessus
reports into the prelude framework.
Comment 1 Michael Boman 2003-04-20 09:37:51 UTC
Created attachment 10918 [details]
Eduild file
Comment 2 Michael Boman 2003-04-20 09:39:15 UTC
Althought the scripts doesn't need libprelude itself, it would be nice if libprelude/prelude-manager could be installed the gentoo-way to simplify maintainence.
Comment 3 Michael Boman 2003-06-16 08:59:10 UTC
Stop the press!

Found a bug (or a few) that causes the nessus client to dump core! I am fixing the patch as we speak and will upload a new patch to this bug once the bug has been squashed.

Thanks!
Comment 4 solar (RETIRED) gentoo-dev 2003-07-19 04:32:30 UTC
Its been a month, have you found an update for this yet?
Comment 5 Michael Boman 2003-07-19 05:21:41 UTC
No, the patch is still pending. What I could do is to commit another way to load nessus results, but that one inserts the alerts straight into database without using the prelude API, so it is not a very clean solution. I'll get some time tonight to start investigate this on my own..
Comment 6 Michael Boman 2003-07-22 11:26:31 UTC
A quick update on this issue:

With the help of Yoann (prelude author) the show stopper bug was squashed. However, as insecure coding practices was detected in the patch, Yoann opted for re-writing the patch from scratch (~1000 lines). As soon as Yoann has re-written the patch I'll submit a new ebuild for it.

Comment 7 solar (RETIRED) gentoo-dev 2003-08-11 15:51:04 UTC
Yoann has written the patch for this, but he wanted to wait just a little while before sharing with the world. That was a week or two ago and he might be ready now.
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-13 06:01:54 UTC
Hi Michael,

since the author didn't version is scripts, I just took a snapshot and sent that to distfiles, taking the release date as version number.

The package should be available soon as net-analyzer/prelude-nessus.

Since I don't know prelude at all and therefore don't understand much beyond your comment #1, I'd like to know if you think this bug can be closed now.

Comment 9 solar (RETIRED) gentoo-dev 2003-08-13 08:30:32 UTC
Please dont close this bug yet until mboman has had a chance to confirm that the non exploitable version got commited.
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-13 08:37:35 UTC
Oh, I thought that this patching business was about prelude itself, not about these perl scripts which are 639 lines total - a 1000 lines patch for that?
A bit confusing. Should I mask the just committed package?
Comment 11 Michael Boman (RETIRED) gentoo-dev 2003-08-15 18:12:01 UTC
Comment on attachment 10918 [details]
Eduild file

Sorry for the confusion. This was the ebuild for the perl scripts that loads
the report straight into DB. Will soon (a couple of hours at most) upload new
ebuild and patch file for nessus. I haven't seen Yoann's re-worked patch yet so
I'll use the one that was fixed.
Comment 12 Michael Boman (RETIRED) gentoo-dev 2003-08-15 22:46:32 UTC
Created attachment 16152 [details, diff]
Patch against current nessus-core-2.0.7.ebuild

I opted to supply a patch instead of complete ebuild. Very small changes to the
ebuild actually ;)
Comment 13 Michael Boman (RETIRED) gentoo-dev 2003-08-15 22:48:06 UTC
Created attachment 16153 [details, diff]
The patch that fixes the upstream patch..

This is a patch that fixes the heap corruption / buffer overflow that exists in
the original patch.
Comment 14 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-17 23:59:16 UTC
Sorry, I am a bit confused. Just to make sure I got this right:

- there are some perl scripts which allow nessus scan reports to be put into some DB for prelude (done)
- there are patches for nessus which somehow make nessus usable/better usable with prelude (not done)
- these patches are a bit broken and need to be patched (not done)

Is this correct?
Comment 15 Michael Boman (RETIRED) gentoo-dev 2003-08-18 18:06:11 UTC
> - there are some perl scripts which allow nessus scan reports to be put into
>   some DB for prelude (done)

Yes, but they reqire direct access to the database, instead just a connection to the manager. It does make a differance when it comes to a large distributed envirotment.

> - there are patches for nessus which somehow make nessus usable/better usable
>   with prelude (not done)

These patches are done. Ok, they won't win a beauty contest, and they are broken, but they are there..

> - these patches are a bit broken and need to be patched (not done)

Correct, the upstream patches are broken. The upstream patches are fixed (patched) by attachment 16153 [details, diff] (the "The patch that fixes the upstream patch.." file linked above).

Somehow I have problem compiling nessus 2.0.7 on my development box. If you just rename the patched ebuild to a 2.0.6a-rX release it works fine thought. I think the nessus upstream is borked (less probability), or my development machine is borked (higher probability).

I hope this clear up the confusion. If not please post another bug note ;)
Comment 16 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-26 07:27:21 UTC
Put 2.0.7-r1 into portage - solar, could you please test how it works with prelude? I have no clue of it. Just tried a nessus run, seems to function as usual.
Comment 17 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-26 07:28:32 UTC
Regarding it as fixed - please reopen if there are problems.