Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This new version does not work for me - No results in the report #48

Open
Herve-C opened this issue May 10, 2021 · 28 comments
Open

This new version does not work for me - No results in the report #48

Herve-C opened this issue May 10, 2021 · 28 comments

Comments

@Herve-C
Copy link

Herve-C commented May 10, 2021

I tried both version (20 & 21) on Ubuntu 20.04 and both do not return any issue in the report. The report is there but pretty much empty.
On the exact same box and in the exact same environment I went back to a version of install_gvm.sh that we had downloaded in January and the 20 version is working as expected.

@yu210148
Copy link
Owner

Humm, okay, let me see if I can find what I messed up. Would you be able to share both versions of the reports with me so I can see what you're seeing?

kev.

@Herve-C
Copy link
Author

Herve-C commented May 12, 2021 via email

@yu210148
Copy link
Owner

yu210148 commented May 12, 2021 via email

@yu210148
Copy link
Owner

Hi again Herve,

I didn't seem to get the install_gvm_mccoy.sh attachment. Would you mind re-sending it please? It'd be easier than picking through the revision history :)

Thanks in advance.

kev.

@yu210148
Copy link
Owner

Hi Herve,

Humm, this is interesting. I just did two scans of the same host--one with the freshly installed GVM 21 that I did yesterday with the script and a second from an old GVM 20 machine that I found in my archive and fired up. Aside from the first line in the GVM 20 one telling me that the scan engine was outdated the results appear to be the same from both. At least for any results with a severity rating higher than zero.

Here's the output from the GVM 21 scan:
image

And here's the same scan with the older GVM 20:
image

I wonder why you're getting something different....

kev.

@Herve-C
Copy link
Author

Herve-C commented May 13, 2021 via email

@Herve-C
Copy link
Author

Herve-C commented May 13, 2021 via email

@yu210148
Copy link
Owner

yu210148 commented May 13, 2021 via email

@Herve-C
Copy link
Author

Herve-C commented May 13, 2021 via email

@yu210148
Copy link
Owner

Hi Herve,

Okay, just wanted to check that it wasn't a firewall thing before going any further--I've spent hours chasing issues in other projects that ultimately end up being firewall related :)

Unfortunately, the diff output is displaying inline and is horribly garbled as a result. Would it be possible to zip your 'install_gvm_mccoy.sh' file and send it along so I can try again to replicate the trouble?

kev.

@Herve-C
Copy link
Author

Herve-C commented May 17, 2021 via email

@Herve-C
Copy link
Author

Herve-C commented Jun 30, 2021 via email

@lateralraises
Copy link

Hi @yu210148 thanks for your script I have a smooth installation of GVM21, but like @Herve-C the report is empty after I do a scan. There are no firewall blocking on the target machine. Let me know what kind of logs you need so I can provide it. Thank you.

@rephlex
Copy link

rephlex commented Jul 5, 2021

Did you wait 24 hours before starting your first scan? This is important - the installer script will not do an initial feed update. This is done over 24h by cronjobs.

On the results page, there is an error tab, does it have Errors (1)?

@yu210148
Copy link
Owner

yu210148 commented Jul 5, 2021 via email

@lateralraises
Copy link

@rephlex Yes, I did wait 24 hours before starting the initial scan. I started installation by Friday night, check it on Sunday night that it is already done and I did the first scan by Monday morning.

There is no errors on the error tab of the results page.
Screen Shot 2021-07-06 at 9 52 39 AM

@DonvdH
Copy link

DonvdH commented Jul 13, 2021

I had the same issue when installing GVM21 on Ubuntu 20.04.

It turned out to be the same issue/solution as mentioned here: #26 (comment)

However, when attempting to add nmap as a portscanner I ran into this issue:
https://community.greenbone.net/t/error-whole-only-families-must-include-entire-family-and-be-growing/9169

I was then able to resolve it by changing the versions in the script and doing a fresh install on a new Ubuntu 20.04 instance:

elif [ $GVMVERSION = "21" ]; then
    sudo -Hiu gvm git clone -b v21.4.1 https://github.com/greenbone/gvm-libs.git
    sudo -Hiu gvm git clone -b v21.4.0 https://github.com/greenbone/openvas-smb.git
    sudo -Hiu gvm git clone -b v21.4.1 https://github.com/greenbone/openvas.git
    sudo -Hiu gvm git clone -b v21.4.1 https://github.com/greenbone/ospd.git
    sudo -Hiu gvm git clone -b v21.4.1 https://github.com/greenbone/ospd-openvas.git
    sudo -Hiu gvm git clone -b v21.4.2 https://github.com/greenbone/gvmd.git
    sudo -Hiu gvm git clone -b v21.4.1 https://github.com/greenbone/gsa.git
    sudo -Hiu gvm git clone -b v21.6.0 https://github.com/greenbone/python-gvm.git
    sudo -Hiu gvm git clone -b v21.6.1 https://github.com/greenbone/gvm-tools.git
fi

After that I was able to add nmap as a portscanner and GVM functions as expected.

@yu210148
Copy link
Owner

Thanks for doing the legwork on this DonvdH. I've adjusted the versions as described. Could someone test and let me know if it needs any further adjusting?

Thanks in advance.

kev.

@Herve-C
Copy link
Author

Herve-C commented Jul 16, 2021 via email

@yu210148
Copy link
Owner

yu210148 commented Jul 16, 2021 via email

@Herve-C
Copy link
Author

Herve-C commented Jul 17, 2021 via email

@lateralraises
Copy link

I also tried re-installing using the updated script. it seems to be working fine.
Except that, there are no CVEs on the report after the scan.
sample scan:
Screen Shot 2021-07-21 at 11 13 26 AM
Screen Shot 2021-07-21 at 11 14 26 AM
Screen Shot 2021-07-21 at 11 14 51 AM

And upon downloading the report in CVS format, there are no values on the CVEs, BIDs, CERTs, and Other References columns.

@Herve-C
Copy link
Author

Herve-C commented Jul 21, 2021 via email

@lateralraises
Copy link

@Herve-C Thanks! That solves it. I also had to restart the machine.
Still the values on the Other References column doesn't show on the .csv report but it shows on the web UI of GVM.
Screen Shot 2021-07-22 at 2 18 46 PM

Also, I choose the GVM21 version for installation but the version installed is I think GVM20. This is because when I click the question mark button it redirected me to the GOS Version 20.08.10 documentation instead of version 21.04.
Screen Shot 2021-07-22 at 2 31 51 PM

@yu210148
Copy link
Owner

Thanks Herve-C, I should put something in the readme file about adding Nmap to the port scanners.

I'm not sure why the documentation link goest to version 20. It could be that they didn't update the link in the release but I'm not sure. Could you open a separate issue on it and let me know which question mark button you pushed that brought you there?

Thanks in advance.

kev.

@Shpil93
Copy link

Shpil93 commented Jan 12, 2022

Hi. Can I get the last working verion of script for install GVM 21 on Ubuntu 20.04?
Because I have the same problem with scan
Screenshot_1

@yu210148
Copy link
Owner

yu210148 commented Jan 12, 2022 via email

@Shpil93
Copy link

Shpil93 commented Jan 13, 2022

Привет, кажется, я припоминаю что-то подобное раньше. Возможно, это как-то связано с потоком данных gvm. Просмотрите вопросы на GitHub и посмотрите, есть ли там что-то, что может помочь. Извините, я не могу быть более конкретным, но у меня есть новый ребенок, который занимает большую часть моего времени в эти дни. Текущая первичная ветвь — это та, которую я использовал для установки совсем недавно, но потребовалось несколько дней, чтобы этот канал данных gvm обновился правильно. Я считаю, что это связано с чем-то, что они делали на стороне сервера с фидами сообщества. Кев.

On Wed, Jan 12, 2022, 8:37 AM Shpil93 @.> wrote: Hi. Can I get the last working verion of script for install GVM 21 on Ubuntu 20.04? — Reply to this email directly, view it on GitHub <#48 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFY4MVOBAVMY4XP6MQXQLUVV7Z7ANCNFSM44SDXNOQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

Thanks) I will try. I congratulate you on the birth of a new baby!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants