Openvas has been broken on PacketFence since version 4 and as far as I can tell
still hasn't been fixed.
There is a 'Dependency issue' between the 'openvas' and 'openvas-cli' libraries
and those required by chunks of PacketFence itself.
You will find that the code calls the OMP command which of course does not
exist on your server and never will.
There was a suggestion of using a PERL based version of OMP but as I am no
programmer I have no idea how to integrate it into PF.
There (Inverse) are supposed to be working on it - Hint Hint!
HTH
Andrew
-----------------------------
Falmouth Exeter Plus
-----------------------------
-----Original Message-----
From: Roberto Lulli via PacketFence-users
<[email protected]>
Sent: 26 October 2018 14:44
To: [email protected]
Cc: Roberto Lulli <[email protected]>
Subject: [PacketFence-users] OpenVAS integration
Hi,
I am trying to integrate, in our test environment (PacketFence 8.1.0), the
OpenVAS scan on registration for the new nodes. We have a separate openvas
server (7.0.2), with a network interface in the registration vlan, and I've
followed the documentation but when I connect e new node to the switch nothing
seems to happen. No login to openvas server or creation of new target and scan.
What am I missing? Is openvas-cli needed on packetfence server?
Regards
Roberto
Oct 26 12:08:52 fence pfdhcp[17411]: t=2018-10-26T12:08:52+0200 lvl=info
msg="DHCPDISCOVER from xxxxxxxxx (ausus-xxxx)" pid=17411 mac=xxxxxxxxxxx Oct 26
12:08:53 fence pfdhcp[17411]: t=2018-10-26T12:08:53+0200 lvl=info
msg="DHCPOFFER on 192.168.23.10 to xxxxxxxxxxx (ausus-xxxx)" pid=17411
mac=xxxxxxxxxxxxx Oct 26 12:08:53 fence pfdhcp[17411]:
t=2018-10-26T12:08:53+0200 lvl=info msg="DHCPREQUEST for 192.168.23.10 from
xxxxxxxxxxx (ausus-xxxx)"
pid=17411 mac=xxxxxxxxxxxxx
Oct 26 12:08:53 fence pfdhcp[17411]: t=2018-10-26T12:08:53+0200 lvl=info
msg="DHCPACK on 192.168.23.10 to xxxxxxxxxxx (ausus-xxxx)" pid=17411
mac=xxxxxxxxxxxx Oct 26 12:08:53 fence pfqueue: pfqueue(9837) INFO:
[mac:xxxxxxxxx] Instantiate profile default
(pf::Connection::ProfileFactory::_from_profile)
Oct 26 12:08:53 fence pfqueue: pfqueue(9837) WARN: [mac:xxxxxxxxx] Use of
uninitialized value $added in numeric eq (==) at /usr/local/pf/lib/pf/api.pm
line 976.
(pf::api::trigger_scan)
Oct 26 12:08:53 fence pfqueue: Use of uninitialized value $added in numeric eq
(==) at /usr/local/pf/lib/pf/api.pm line 976.
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) WARN:
[mac:unknown] ^* matches null string many times in regex; marked by <-- HERE in
m/^* <-- HERE $/ at /usr/local/pf/lib/pf/Portal/Session.pm line 571.
(pf::Portal::Session::getLanguages)
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) WARN:
[mac:unknown] ^* matches null string many times in regex; marked by <-- HERE in
m/^* <-- HERE / at /usr/local/pf/lib/pf/Portal/Session.pm line 203.
(pf::Portal::Session::_initializeI18n)
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) WARN:
[mac:xxxxxxxxxx] ^* matches null string many times in regex; marked by
<-- HERE in m/^* <-- HERE $/ at /usr/local/pf/lib/pf/Portal/Session.pm
line 571.
(pf::Portal::Session::getLanguages)
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) INFO:
[mac:xxxxxxxxxxxx] Instantiate profile default
(pf::Connection::ProfileFactory::_from_profile)
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) WARN:
[mac:xxxxxxxxxxx] ^* matches null string many times in regex; marked by
<-- HERE in m/^* <-- HERE $/ at
/usr/local/pf/lib/captiveportal/PacketFence/Controller/Root.pm line 263.
(captiveportal::PacketFence::Controller::Root::getLanguages)
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) WARN:
[mac:xxxxxxxxxxxxx] ^* matches null string many times in regex; marked by <--
HERE in m/^* <-- HERE / at
/usr/local/pf/lib/captiveportal/PacketFence/Controller/Root.pm line 193.
(captiveportal::PacketFence::Controller::Root::setupLanguage)
Oct 26 12:08:53 fence packetfence_httpd.portal: httpd.portal(3395) INFO:
[mac:xxxxxxxxxx] Replacing destination URL
http://detectportal.firefox.com/success.txt since it is a network detection URL
(captiveportal::PacketFence::DynamicRouting::Application::process_destination_url)
--
System & Network Administrator
Dipartimento di Fisica - Università di Roma Tor Vergata INFN - Sez. di Roma Tor
Vergata
Via della Ricerca Scientifica, 1
00133 - Rome - Italy
Tel.: +39-06-72594527 E-Mail: [email protected]
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users