Hi, the attached patch is needed for compiling with tcpwrappers enabled.
RPMs for 2.0.7 will shortly follow (containing this patch). -- [EMAIL PROTECTED]
--- nessus-2.0.7/nessus-core/nessusd/nessusd.c.tcpd 2003-07-01 23:37:29.000000000
+0200
+++ nessus-2.0.7/nessus-core/nessusd/nessusd.c 2003-07-03 16:02:09.000000000 +0200
@@ -66,6 +66,7 @@
#include "utils.h"
#include "corevers.h"
#include "pluginlaunch.h"
+#include "hosts_gatherer.h"
#ifdef HAVE_SSL
#include <openssl/err.h>
@@ -800,7 +801,7 @@
{
char host_name[1024];
- hg_get_name_from_ip(addr.sin_addr, host_name, sizeof(host_name));
+ hg_get_name_from_ip(address.sin_addr, host_name, sizeof(host_name));
if(!(hosts_ctl("nessusd", host_name, asciiaddr, STRING_UNKNOWN)))
{
shutdown(soc, 2);
pgp00000.pgp
Description: PGP signature
