# Host definition question

**URL:** <https://forum.greenbone.net/t/host-definition-question/22385>\
**Category:** Building from Source and Advanced Topics\
**Created:** [June 26, 2026, 6:52am UTC](https://forum.greenbone.net/t/host-definition-question/22385 "2026-06-26T06:52:47Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreic](https://forum.greenbone.net/letter_avatar/dreic/32/6_449c533f586939b6e5f246632a46421f.png) [@dreic](https://forum.greenbone.net/u/dreic)\
**Post date:** [June 26, 2026, 6:52am UTC](https://forum.greenbone.net/t/host-definition-question/22385/1 "2026-06-26T06:52:48Z")

</div>

I tried adding hosts with following pattern in hosts:

10.10.0.0/24, 10.10.1.0/24 – scans only first subnet  
[host1.fqdn.com](http://host1.fqdn.com), [host2.fqdn.com](http://host2.fqdn.com) - scans only first host

Am I doing something wrong or this is a bug?

---

<div class="post-metadata">

**Author:** ![Eero](https://forum.greenbone.net/letter_avatar/eero/32/6_449c533f586939b6e5f246632a46421f.png) [@Eero](https://forum.greenbone.net/u/Eero)\
**Post date:** [June 26, 2026, 8:46am UTC](https://forum.greenbone.net/t/host-definition-question/22385/2 "2026-06-26T08:46:38Z")

</div>

@dreic

I trust you’ve understood that the hosts will be scanned incrementally, rather than all at the same time.

Eero

---

<div class="post-metadata">

**Author:** ![dreic](https://forum.greenbone.net/letter_avatar/dreic/32/6_449c533f586939b6e5f246632a46421f.png) [@dreic](https://forum.greenbone.net/u/dreic)\
**Post date:** [June 26, 2026, 4:33pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/3 "2026-06-26T16:33:17Z")

</div>

Well the job finishes and report has only 1st defined host. I am in no rush when I trigger the scan but I would expect both defined objects would be processed which is not happening.

---

<div class="post-metadata">

**Author:** ![Eero](https://forum.greenbone.net/letter_avatar/eero/32/6_449c533f586939b6e5f246632a46421f.png) [@Eero](https://forum.greenbone.net/u/Eero)\
**Post date:** [June 26, 2026, 4:39pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/4 "2026-06-26T16:39:31Z")

</div>

@dreic

Yeah, it works pretty well — I’ve been using it for years. Since you’re on RHEL, though, I’d suggest starting with Kali Linux packages and seeing how that goes. RHEL needs so many hacks and workarounds just to compile the thing that I’m not entirely convinced it’ll actually work as expected afterward 😄

Eero

---

<div class="post-metadata">

**Author:** ![Eero](https://forum.greenbone.net/letter_avatar/eero/32/6_449c533f586939b6e5f246632a46421f.png) [@Eero](https://forum.greenbone.net/u/Eero)\
**Post date:** [June 27, 2026, 9:45am UTC](https://forum.greenbone.net/t/host-definition-question/22385/5 "2026-06-27T09:45:12Z")

</div>

@dreic

The issue is most likely caused by buggy libraries in RHEL 9, which is already a fairly old operating system. You can try migrating it to Rocky Linux 10 using my script and see whether the problem still occurs there.

Eero

---

<div class="post-metadata">

**Author:** ![Eero](https://forum.greenbone.net/letter_avatar/eero/32/6_449c533f586939b6e5f246632a46421f.png) [@Eero](https://forum.greenbone.net/u/Eero)\
**Post date:** [June 29, 2026, 3:28pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/6 "2026-06-29T15:28:46Z")

</div>

@dreic

Since there was still time available, I performed an additional validation of OpenVAS on Rocky Linux 9. While I remain somewhat skeptical of this platform choice due to its dependency on older libraries, the testing results were positive. Scan tasks ran successfully using the target parameters `127.0.0.1,127.0.0.2`, confirming that no issues were observed in the scanning functionality. PDF report generation was also verified and worked as expected.

Eero

---

<div class="post-metadata">

**Author:** ![dreic](https://forum.greenbone.net/letter_avatar/dreic/32/6_449c533f586939b6e5f246632a46421f.png) [@dreic](https://forum.greenbone.net/u/dreic)\
**Post date:** [June 29, 2026, 4:03pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/7 "2026-06-29T16:03:15Z")

</div>

Great news! Is there a script to install everything?

---

<div class="post-metadata">

**Author:** ![Eero](https://forum.greenbone.net/letter_avatar/eero/32/6_449c533f586939b6e5f246632a46421f.png) [@Eero](https://forum.greenbone.net/u/Eero)\
**Post date:** [June 29, 2026, 4:53pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/8 "2026-06-29T16:53:02Z")

</div>

@dreic yes:

> <https://pastebin.com/JgewzwBd>

requirement: base rocky 9 image. working sudo. installs everything including working pdf support

Eero

---

<div class="post-metadata">

**Author:** ![dreic](https://forum.greenbone.net/letter_avatar/dreic/32/6_449c533f586939b6e5f246632a46421f.png) [@dreic](https://forum.greenbone.net/u/dreic)\
**Post date:** [June 29, 2026, 5:03pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/9 "2026-06-29T17:03:59Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Eero](https://forum.greenbone.net/letter_avatar/eero/32/6_449c533f586939b6e5f246632a46421f.png) [@Eero](https://forum.greenbone.net/u/Eero)\
**Post date:** [July 2, 2026, 5:04pm UTC](https://forum.greenbone.net/t/host-definition-question/22385/10 "2026-07-02T17:04:03Z")

</div>

@dreic

Additionally, I enabled OpenVAS SMB support. Although this configuration is not officially supported, I was able to make it work by applying extensive modifications to the RHEL platform.

> <https://pastebin.com/N0UpmqVC>

Eero

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [September 24, 2026, 6:53am UTC](https://forum.greenbone.net/t/host-definition-question/22385/11 "2026-09-24T06:53:02Z")

</div>

Closed on September 24, 2026, 6:53am UTC

This topic was automatically closed after 90 days. New replies are no longer allowed.
