Hi,
I'm having troubles getting Nessus to run after I have installed it from the FreeBSD ports collection. So here is the course of action:
1) I install Nessus from ports, no special options, except WITHOUT_GNOME=yes, as I only intend to use it from the command line. With the default args, Nessus installs libtool 1.3 (although there is already libtool 1.5 present on the box)
2) I run "nessus-mkcert" and create a certificate with all the default values
3) I run "nessus-adduser" and add a valid user, password authenticated
4) Stating nessusd " #nessusd -a 127.0.0.1 -D", it statrts fine
5) I initiate a batch-mode scan from the added user "$ nessus -q -T html localhost 1241 tie <password> targets result.html"
No matter what address I put inside the "targets" file, the output of the scan is always the same:
> Scan Details
> Hosts which were alive and responding during test 0
> Number of security holes found 0
> Number of security warnings found 0
Here is the output from the nessusd.messages log:
>[Wed Dec 29 13:09:51 2004][13062] connection from 127.0.0.1
>[Wed Dec 29 13:09:51 2004][14179] Client requested protocol version 12.
>[Wed Dec 29 13:09:51 2004][14179] successful login of tie from 127.0.0.1
>[Wed Dec 29 13:09:51 2004][14179] Redirecting debugging output to /usr/local/var/nessus/logs/nessusd.dump
>[Wed Dec 29 13:09:51 2004][14179] user tie starts a new scan. Target(s) : 127.0.0.1, with max_hosts = 20 and max_checks = 4
>[Wed Dec 29 13:09:51 2004][14179] user tie : testing 127.0.0.1 (127.0.0.1) [14180]
>[Wed Dec 29 13:09:51 2004][14180] Finished testing 127.0.0.1. Time : 0.06 secs
>[Wed Dec 29 13:09:52 2004][14179] user tie : test complete
>[Wed Dec 29 13:09:52 2004][14179] user tie : Kept alive connection
>[Wed Dec 29 13:09:52 2004][14179] Communication closed by client
Even if I choose an exteral IP address, the time remains the same (about 0.0X seconds) and there is no actual network traffic to/from the target IP (checked with tcpdump on the external interface). No scanning takes place.
I have then deinstalled Nessus (via pkg_deinstall), as well as nessus-libraries, nessus-libnasl and libtool 1.3. I have modified the Makefiles of all three nessus packages to USE_LIBTOOL_VER=15 and installed nesss again. The result was the same - no host is actually being scanned, although the FreeBSD box has full connectivity to the target host.
It is worth noting that this is the second FreeBSD 5.3 installtion that gives me that problem. I ran out of ideas now , so if anyone could point my errors or advise on how to debug this further, I would be grateful.
Regards, tie _______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
