Hello Daniel,

it looks to be a bug, i will open an issue.

Regards

Fabrice

Le 20-12-10 à 18 h 20, Daniele a écrit :
Hi Fabrice,
the error is at line 51, not 5.
Excuse me


"pfperl-api: Use of uninitialized value $type in concatenation (.) or string at 
/usr/local/pf/lib/pf/factory/scan.pm  <http://scan.pm>  *line 51*"

Il giorno gio 10 dic 2020 alle ore 11:22 Daniele <[email protected] <mailto:[email protected]>> ha scritto:

    Hi Fabrice,
    this is the scan.conf

    [test-openvas]
    ip=172.31.128.31
    duration=20s
    categories=
    port=9390
    registration=0
    username=openvas-admin
    post_registration=0
    password=xxxxxxx
    pre_registration=0
    oses=
    type=openvas

    There is only the openvas test scan.
    When I try to create rapid7 scan in the gui, it writes nothing in
    the scan.conf file (the gui displays the two errors)
    If I write a rapid7 scan directly in the file, the IP address
    disappears in the gui

    Thanks and regards, Daniele


    Il giorno gio 10 dic 2020 alle ore 03:07 Durand fabrice via
    PacketFence-users <[email protected]
    <mailto:[email protected]>> ha scritto:

        Hello Daniele,

        can you post the scan.conf file ?

        Regards

        Fabrice


        Le 20-12-09 à 14 h 35, Daniele via PacketFence-users a écrit :
        Hi all, I am using the latest version of packetfence, 10.2.0,
        on Centos 7.9. When I try to configure a new rapid7 scan
        engine, I get the following two errors in the gui:
        "Unable to validateconfig/scans"
        "host: Please specify the hostname or IP of the scan engine"
        Simultaneously, I get the following errori in /var/log/messages:
        "pfperl-api: Use of uninitialized value $type in
        concatenation (.) or string at
        /usr/local/pf/lib/pf/factory/scan.pm <http://scan.pm> line 5"
        I've filled all the fields correctly, including "Hostname or
        IP Address". Thanks and regards, Daniele


        _______________________________________________
        PacketFence-users mailing list
        [email protected]  
<mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/packetfence-users
        _______________________________________________
        PacketFence-users mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/packetfence-users

_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to