Scott,
the warnings you mention are not a problem although they should be removed.

I don't have FreeBSD here. A while ago, when i compiled ntop under BSD, the
gethostbyaddr() system call as broken causing ntop to eat up all the CPU
cycles. For this reason there's a patch in the code (only for BSD) that
circumvented the problem. As you have access to FreeBSD, could you please
check this and let me know.

Thanks, Luca

----- Original Message -----
From: "Scott Hanson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 8:41 AM
Subject: [Ntop] Compile warning on FreeBSD 4.4: setkey(3) not present in the
system!


> Hello,
>
> We're trying to get ntop-2.0-pre working under FreeBSD 4.4. However,
> we're getting the warnings below when compiling. We got the warnings
> with ntop-beta3 as well. The crypt libraries are present, and
> according to ldd are linked in.
>
> ntop seems to run, although it's been up for only a day, so we can't
> tell yet if it's really stable. Are these warnings anything to worry
> about?
>
> Thanks,
> Scott Hanson
>
>
> ===================
> gcc -g -O2 -pipe -o .libs/ntop main.o
.libs/libntopreport.so -lcrypt -lm -L/usr/local/src/ntop-2.0-pre/gdchart0.94
c -lgdchart -L/usr/local/src/ntop-2.0-pre/gdchart0.94c/gd-1.8.3 -lgd -L/usr/
local/src/ntop-2.0-pre/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng -L/usr/local
/src/ntop-2.0-pre/gdchart0.94c/zlib-1.1.3 -lz -lssl -lcrypto -lc_r -lcrypt -
lm -lgdchart -lgd -lpng -lz -lssl -lcrypto
.libs/libntop.so -lpcap -lgdbm -lc_r -lcrypt -lm -lgdchart -lgd -lpng -lz -l
ssl -lcrypto -lc_r -lcrypt -lm -L/usr/local/src/ntop-2.0-pre/gdchart0.94c -l
gdchart -L/usr/local/src/ntop-2.0-pre/gdchart0.94c/gd-1.8.3 -lgd -L/usr/loca
l/src/ntop-2.0-pre/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng -L/usr/local/src
/ntop-2.0-pre/gdchart0.94c/zlib-1.1.3 -lz -lssl -lcrypto -Wl,--rpath -Wl,/us
r/local/lib
> /usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
> /usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
> /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using
mkstemp()
> /usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
> /usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
> /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using
mkstemp()
> /usr/lib/libc.so: warning: this program uses f_prealloc(), which is not
recommended.
> /usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
> /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider
using mkstemp()
> creating ntop
>
> --
> Scott Hanson               Webmaster
> Netlife GmbH               Phone:  +49 40 28415 0
> Millerntorplatz 1          Fax:    +49 40 28415 999
> 20359  Hamburg, Germany    http://www.netlife.de
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listmanager.unipi.it/mailman/listinfo/ntop
>

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to