I've recently been banging my head on compiling nessus
for 64bit solaris. The problem is that in
libpcap-nessus "struct timeval" is based on the OS
word size. So a 64bit compile just doesn't work.

The solution I've nabbed from the currrent release of
libpcap (incidentally, I assume there's a reason that
nessus doesn't use the 'official' distribution of
libpcap).

FWIW if you modify
'nessus-libraries/libpcap-nessus/pcap-dlpi.c' as
follows:
196,197c196
<                 pkthdr.ts.tv_sec =
sbp->sbh_timestamp.tv_sec;
<                 pkthdr.ts.tv_usec =
sbp->sbh_timestamp.tv_usec;
---
>                       pkthdr.ts = sbp->sbh_timestamp;

Then everything seems to work just fine.

Is this something which is worthwhile reporting as a
bug? 

Regards,
Ed Rolison

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

Reply via email to