Yes ok I include all the info. I am sure there is traffic in dc1 (the
problem was in dc1) because there is a web server behind it and I
connected it after starting ntop. When I don't have redirection the ntop
is showing the traffic between the server and my machine.

Ntop is installed from the ports collection of FreeBSD,
Here is my uname -a output
FreeBSD joke.ispro.net.tr 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Sat
Sep 14 22:39:03 EEST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JOKE  i386

The rest of the things like log messages etc is attached. The compilation
output, the sh script of FreeBSD and log copies from /var/log/messages
But the thing I realized is that when I put the redirection then I get
this error message in the logs

Sep 21 14:12:03 joke ntop[20812]: Error while reading packets: read: Bad
file descriptor. 

The redirection was >/dev/null 2>&1

Plus I have realized the situation occurs when I only identify 2 ethernet
cards with -i option, only the second one is effected. It doesnt occur
when I identify one ethernet card with -i option.

Thanks
Evren



On Fri, 20 Sep 2002, Burton M. Strauss III wrote:

> Again, see HOWTO ask for help at snapshot.   You've still never given any of
> the general information I ask for.  Until you do so, I will not provide any
> more assistance.
> 
> I have no clue what redirection you keep harping on.  As far as I know the
> only "script" for running ntop is for RedHat Linux in the rpm.  Maybe you
> should post your script and tell us where you got it from.
> 
> There are a lot of startup messages in the log, which are what I was asking
> you to post.  However, running ntop interactively, there are sometimes other
> printf() messages which you don't see in the log.
> 
> Off hand, there's nothing odd about dc2 -- silly ? but are you sure there is
> traffic there?
> 
> -----Burton
> 
> -----Original Message-----
> From: Evren Yurtesen [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 20, 2002 1:37 AM
> To: Burton M. Strauss III
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Ntop] -M option
> 
> 
> Hi, Here is the output of ifconfig. I changed some ip addresses with x,y
> variables. I think I can live with this error since there is a simple fix
> of removing the redirection. I just thought if this is a bug then it could
> be beneficial to fix it.
> 
> Evren
> 
> dc0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet x.x.x.58 netmask 0xffffffe0 broadcast x.x.x.63
>         ether 00:80:ad:88:c0:fc
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> dc1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet x.x.y.30 netmask 0xfffffff8 broadcast x.x.y.31
>         ether 00:80:ad:88:ca:73
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> dc2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.2.254 netmask 0xffffff00 broadcast 192.168.2.255
>         ether 00:80:ad:3c:38:49
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> dc3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255
>         ether 00:80:ad:7b:6a:59
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> ed1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>         inet x.x.x.y.22 netmask 0xfffffff8 broadcast x.x.y.23
>         ether 00:20:18:61:40:1f
> ed2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>         ether 00:20:18:61:40:33
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> 
> 
> 
> On Thu, 19 Sep 2002, Burton M. Strauss III wrote:
> 
> > No clue ... post info ... see HOWTO ask for help @
> http://snapshot.ntop.org
> >
> > I'd be especially interested in the ifconfig output...
> >
> > -----Burton
> >
> > -----Original Message-----
> > From: Evren Yurtesen [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 19, 2002 10:14 AM
> > To: Burton M. Strauss III
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [Ntop] -M option
> >
> >
> > Alright you were right. When I use -M option I am not able to use the
> > change NIC option from admin section of the web interface. Perhaps I
> > remembered wrong about it since I was testing it at 3am =)
> >
> > I have another problem though. when I start ntop like below
> > /usr/local/bin/ntop -d -L -i dc0,dc1,dc2,dc3,ed1 -w 3000 -W 0 -a \
> > /var/log/ntop.access.log -u nobody -E -n -M /dev/null 2>&1
> >
> > I have 5 ethernet cards dc0,dc1,dc2,dc3,ed1 and when I run ntop
> > there is no information about dc1 ever!
> >
> > I could solve the problem by removing the redirection in the ntop.sh
> > script. I used this redirection at prompt to prevent output from ntop.
> >
> >  >/dev/null 2>&1
> >
> > I can still check again when I put the redirection if I lose information
> > collection on dc1
> >
> > Evren
> >
> > On Thu, 19 Sep 2002, Burton M. Strauss III wrote:
> >
> > > No.
> > >
> > > Normally ntop will merge all the data for the interfaces.  With -M, you
> > can
> > > select a single interface and that's what's then reported on.
> > >
> > > -----Burton
> > >
> > > -----Original Message-----
> > > From: Evren Yurtesen [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, September 19, 2002 7:43 AM
> > > To: Burton M. Strauss III
> > > Cc: [EMAIL PROTECTED]
> > > Subject: RE:(2) [Ntop] -M option and a another problem
> > >
> > >
> > > Yes but what kind of change should I expect? Because even though it
> merges
> > > the data I can still switch between network interfaces and see only
> their
> > > usage alone.
> > >
> > > > Sent: Wednesday, September 18, 2002 7:50 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [Ntop] -M option
> > > >
> > > >
> > > > I tried ntop with -M option and without the option,
> > > > I couldnt see any difference, anybody can explain me what should I
> > expect
> > > > to see in the output web pages?
> > > > Thanks
> > > > Evren
> > >
> > >
> >
> >
> >
> >
> >
> 
> 
> 



===>  Extracting for ntop-2.0.99.r2_2

>> Checksum OK for ntop-2.0.99-rc2.tgz.

===>   ntop-2.0.99.r2_2 depends on file: /usr/local/lib/libgdc.a - found

===>   ntop-2.0.99.r2_2 depends on executable: gmake - found

===>   ntop-2.0.99.r2_2 depends on executable: automake14 - found

===>   ntop-2.0.99.r2_2 depends on executable: autoconf213 - found

===>   ntop-2.0.99.r2_2 depends on executable: libtool - found

===>   ntop-2.0.99.r2_2 depends on shared library: gdbm.2 - found

===>  Patching for ntop-2.0.99.r2_2

===>  Applying FreeBSD patches for ntop-2.0.99.r2_2

===>  Configuring for ntop-2.0.99.r2_2



Welcome to ntop, Version 2.0.99

Copyright (c) 1998-2002 Luca Deri <[EMAIL PROTECTED]>



creating cache ./config.cache



checking host system type... i386-portbld-freebsd4.7

checking target system type... i386-portbld-freebsd4.7

checking build system type... i386-portbld-freebsd4.7



checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel

checking whether build environment is sane... yes

checking whether gmake sets ${MAKE}... yes

checking for working aclocal... missing

checking for working autoconf... missing

checking for working automake... missing

checking for working autoheader... missing

checking for working makeinfo... found





Step 1. Looking for required development tools....



checking for ranlib... ranlib

checking for gcc... cc

checking whether the C compiler (cc -Os -pipe -march=pentiumpro ) works... yes

checking whether the C compiler (cc -Os -pipe -march=pentiumpro ) is a 
cross-compiler... no

checking whether we are using GNU C... yes

checking whether cc accepts -g... yes

checking for ld used by GCC... /usr/libexec/elf/ld

checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes

checking for BSD-compatible nm... /usr/bin/nm -B

checking whether ln -s works... yes

updating cache ./config.cache

loading cache ./config.cache within ltconfig

checking for object suffix... o

checking for executable suffix... no

checking for cc option to produce PIC... -fPIC

checking if cc PIC flag -fPIC works... yes

checking if cc supports -c -o file.o... yes

checking if cc supports -c -o file.lo... yes

checking if cc supports -fno-rtti -fno-exceptions ... yes

checking if cc static flag -static works... -static

checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes

checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes

checking command to parse /usr/bin/nm -B output... ok

checking how to hardcode library paths into programs... immediate

checking for /usr/libexec/elf/ld option to reload object files... -r

checking dynamic linker characteristics... freebsd4.7 ld.so

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

checking for objdir... .libs

creating libtool

updating cache ./config.cache

loading cache ./config.cache



checking for cc option to accept ANSI C... none needed

checking how to run the C preprocessor... cc -E

checking whether gmake sets ${MAKE}... (cached) yes

checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel

checking for compilation debug mode... disabled

checking for compilation optimization mode... disabled



Step 2. Processing user options....





Step 3. Checking for special support for platform/compiler....





Step 4. Looking for both required and optional system headers....



checking for ANSI C header files... yes

checking for pwd.h... yes

checking for stdio.h... yes

checking for errno.h... yes

checking for stdlib.h... yes

checking for unistd.h... yes

checking for string.h... yes

checking for signal.h... yes

checking for fcntl.h... yes

checking for sys/types.h... yes

checking for sys/time.h... yes

checking for sys/wait.h... yes

checking for sys/stat.h... yes

checking for sys/ioctl... no

checking for sys/un.h... yes

checking for sys/select.h... yes

checking for sys/ldr.h... no

checking for sys/sockio.h... yes

checking for dl.h... no

checking for dirent.h... yes

checking for dlfcn.h... yes

checking for security/pam_appl.h... yes

checking for shadow.h... no

checking for crypt.h... no

checking for mysql/mysql.h... no

checking for ncurses.h... yes

checking for alloca.h... no

checking for sched.h... yes

checking for sys/sched.h... no

checking for semaphore.h... yes

checking for pthread.h... yes

checking for sys/socket.h... yes

checking for netdb.h... yes

checking for netinet/in.h... yes

checking for arpa/inet.h... yes

checking for net/if.h... yes

checking for netinet/in_systm.h... yes

checking for netinet/ip.h... yes

checking for netinet/ip_icmp.h... yes

checking for netinet/udp.h... yes

checking for netinet/tcp.h... yes

checking for netinet/if_ether.h... yes

checking for arpa/nameser.h... yes

checking for net/ethernet.h... yes

checking for ethertype.h... no

checking for if.h... no

checking for net/bpf.h... yes

checking if ether_header uses ether_addr structs... no

checking for tcpd.h... yes

checking for syslog.h... yes

checking for sys/syslog.h... yes

checking for typedef u_int64_t... yes

checking for typedef uint64_t... yes

checking for typedef u_int32_t... yes

checking for typedef u_int16_t... yes

checking for typedef u_int8_t... yes

checking for typedef int64_t... yes

checking for typedef int32_t... yes

checking for typedef int16_t... yes

checking for typedef int8_t... yes

checking for strtok_r... yes

checking for localtime_r... yes

checking for ctime_r... yes

checking for snprintf... yes

checking for getipnodebyaddr... yes

checking for gethostbyaddr_r... no

checking for gethostbyaddr_r in -lc... no

checking for gethostbyaddr_r in -lnsl... no

checking for strsep... yes



Step 5. Looking for required system libraries....



checking for dlopen in -ldl... no

checking for backtrace in -lc... no

checking for crypt... no

checking for crypt in -lc... no

checking for crypt in -lcrypt... yes

checking for kstat_lookup in -lkstat... no

checking for getopt_long in -lc... no

checking for sin in -lc... no

checking for sin in -lm... yes

checking for gethostname in -lnsl... no

checking for gethostbyname in -lnsl... no

checking for accept in -lsocket... no

checking for inet_aton in -lresolv... no

configure: warning: TCP Wrap support enabled, if available, via command line option!

checking for request_init in -lwrap... yes

checking for initscr in -lncurses... yes

checking for pthread_create in -lpthread... no

checking for pthread_create in -lpthreads... no

checking for pthread_create in -lc_r... yes

checking for readline/readline.h... yes

checking for readline in -lreadline... yes



Step 6. Looking for required GPLed libraries....



checking for LBL Packet Capture Library (required package)... found in standard 
installation

checking for the GNU Database Manager Library gdbm (required package)... found in 
/usr/local



Step 7. Looking for optional GPLed libraries....



checking for re_search in -lc... no

checking for gzopen in -lz... yes

checking for zlib.h... yes

checking for GDchart (optional package)... found in /usr/local

checking for OpenSSL Library by Open SLL Project (optional package)... found in 
/usr/lib/



Step 8. Creating various ntop develpment tools....





Step 9. Semi-Automatic files generation....



updating cache ./config.cache

creating ./config.status

creating Makefile

creating plugins/Makefile

creating intop/Makefile

creating ntop-config

creating config.h

creating version.c





This is your ntop 2.0.99 configuration:



Host System Type  : i386-portbld-freebsd4.7

Compiler (cflags) : cc -g -Os -pipe -march=pentiumpro -DHAVE_CONFIG_H

Include path      :  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl

System Libs       :  -lc_r 

Core Libs         :  -lpcap -L/usr/local/lib -lgdbm

Additional Libs   :  -lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz 
-lssl -lcrypto 

LBL pcap in       : standard installation

GNU gdbm in       : /usr/local

MultiThread mode  : yes

Install path      : /usr/local



Now type 'make' or 'gmake' (GNU make) on *BSD and Solaris

systems to build ntop 2.0.99.







=================================================



If you like ntop, please do not forget to support

its development. See SUPPORT_NTOP.txt for more

information. Thanks for supporting ntop!



=================================================



===>  Building for ntop-2.0.99.r2_2

cd . && /usr/ports/net/ntop/work/RC2/ntop/missing autoheader

WARNING: `autoheader' is missing on your system.  You should only need it if

         you modified `acconfig.h' or `configure.in'.  You might want

         to install the `Autoconf' and `GNU m4' packages.  Grab them

         from any GNU archive site.

gmake  all-recursive

gmake[1]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop'

Making all in .

gmake[2]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop'

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
address.c

mkdir .libs

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c address.c  -fPIC -DPIC -o 
.libs/address.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c address.c -o address.o 
>/dev/null 2>&1

mv -f .libs/address.lo address.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
dataFormat.c

rm -f .libs/dataFormat.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c dataFormat.c  -fPIC -DPIC -o 
.libs/dataFormat.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c dataFormat.c -o dataFormat.o 
>/dev/null 2>&1

mv -f .libs/dataFormat.lo dataFormat.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
globals-core.c

rm -f .libs/globals-core.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c globals-core.c  -fPIC -DPIC 
-o .libs/globals-core.lo

In file included from globals-report.h:27,

                 from globals-core.c:26:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c globals-core.c -o 
globals-core.o >/dev/null 2>&1

mv -f .libs/globals-core.lo globals-core.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
hash.c

rm -f .libs/hash.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c hash.c  -fPIC -DPIC -o 
.libs/hash.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c hash.c -o hash.o >/dev/null 
2>&1

mv -f .libs/hash.lo hash.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
initialize.c

rm -f .libs/initialize.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c initialize.c  -fPIC -DPIC -o 
.libs/initialize.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c initialize.c -o initialize.o 
>/dev/null 2>&1

mv -f .libs/initialize.lo initialize.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
leaks.c

rm -f .libs/leaks.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c leaks.c  -fPIC -DPIC -o 
.libs/leaks.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c leaks.c -o leaks.o >/dev/null 
2>&1

mv -f .libs/leaks.lo leaks.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
mysql.c

rm -f .libs/mysql.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c mysql.c  -fPIC -DPIC -o 
.libs/mysql.lo

In file included from globals-report.h:27,

                 from mysql.c:29:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c mysql.c -o mysql.o >/dev/null 
2>&1

mv -f .libs/mysql.lo mysql.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
netflow.c

rm -f .libs/netflow.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c netflow.c  -fPIC -DPIC -o 
.libs/netflow.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c netflow.c -o netflow.o 
>/dev/null 2>&1

mv -f .libs/netflow.lo netflow.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
ntop.c

rm -f .libs/ntop.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c ntop.c  -fPIC -DPIC -o 
.libs/ntop.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c ntop.c -o ntop.o >/dev/null 
2>&1

mv -f .libs/ntop.lo ntop.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
pbuf.c

rm -f .libs/pbuf.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c pbuf.c  -fPIC -DPIC -o 
.libs/pbuf.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c pbuf.c -o pbuf.o >/dev/null 
2>&1

mv -f .libs/pbuf.lo pbuf.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
protocols.c

rm -f .libs/protocols.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c protocols.c  -fPIC -DPIC -o 
.libs/protocols.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c protocols.c -o protocols.o 
>/dev/null 2>&1

mv -f .libs/protocols.lo protocols.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
plugin.c

rm -f .libs/plugin.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c plugin.c  -fPIC -DPIC -o 
.libs/plugin.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c plugin.c -o plugin.o 
>/dev/null 2>&1

mv -f .libs/plugin.lo plugin.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
qsort.c

rm -f .libs/qsort.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c qsort.c  -fPIC -DPIC -o 
.libs/qsort.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c qsort.c -o qsort.o >/dev/null 
2>&1

mv -f .libs/qsort.lo qsort.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
regex.c

rm -f .libs/regex.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c regex.c  -fPIC -DPIC -o 
.libs/regex.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c regex.c -o regex.o >/dev/null 
2>&1

mv -f .libs/regex.lo regex.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
sql.c

rm -f .libs/sql.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c sql.c  -fPIC -DPIC -o 
.libs/sql.lo

In file included from globals-report.h:27,

                 from sql.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c sql.c -o sql.o >/dev/null 
2>&1

mv -f .libs/sql.lo sql.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
sessions.c

rm -f .libs/sessions.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c sessions.c  -fPIC -DPIC -o 
.libs/sessions.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c sessions.c -o sessions.o 
>/dev/null 2>&1

mv -f .libs/sessions.lo sessions.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
ssl.c

rm -f .libs/ssl.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c ssl.c  -fPIC -DPIC -o 
.libs/ssl.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c ssl.c -o ssl.o >/dev/null 
2>&1

mv -f .libs/ssl.lo ssl.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
term.c

rm -f .libs/term.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c term.c  -fPIC -DPIC -o 
.libs/term.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c term.c -o term.o >/dev/null 
2>&1

mv -f .libs/term.lo term.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
traffic.c

rm -f .libs/traffic.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c traffic.c  -fPIC -DPIC -o 
.libs/traffic.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c traffic.c -o traffic.o 
>/dev/null 2>&1

mv -f .libs/traffic.lo traffic.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
util.c

rm -f .libs/util.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c util.c  -fPIC -DPIC -o 
.libs/util.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c util.c -o util.o >/dev/null 
2>&1

mv -f .libs/util.lo util.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
vendor.c

rm -f .libs/vendor.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c vendor.c  -fPIC -DPIC -o 
.libs/vendor.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c vendor.c -o vendor.o 
>/dev/null 2>&1

mv -f .libs/vendor.lo vendor.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
version.c

rm -f .libs/version.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c version.c  -fPIC -DPIC -o 
.libs/version.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c version.c -o version.o 
>/dev/null 2>&1

mv -f .libs/version.lo version.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
ntop_darwin.c

rm -f .libs/ntop_darwin.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c ntop_darwin.c  -fPIC -DPIC -o 
.libs/ntop_darwin.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c ntop_darwin.c -o 
ntop_darwin.o >/dev/null 2>&1

mv -f .libs/ntop_darwin.lo ntop_darwin.lo

/bin/sh ./libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o libntop.la -rpath 
/usr/local/lib -version-info 99:0:0 -release 2.0 -export-dynamic  address.lo 
dataFormat.lo globals-core.lo hash.lo initialize.lo leaks.lo mysql.lo netflow.lo 
ntop.lo pbuf.lo protocols.lo plugin.lo qsort.lo regex.lo sql.lo sessions.lo ssl.lo 
term.lo traffic.lo util.lo vendor.lo version.lo ntop_darwin.lo -lpcap -L/usr/local/lib 
-lgdbm -lc_r   -lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl 
-lcrypto

rm -fr .libs/libntop.la .libs/libntop.* .libs/libntop-2.0.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  address.lo dataFormat.lo globals-core.lo 
hash.lo initialize.lo leaks.lo mysql.lo netflow.lo ntop.lo pbuf.lo protocols.lo 
plugin.lo qsort.lo regex.lo sql.lo sessions.lo ssl.lo term.lo traffic.lo util.lo 
vendor.lo version.lo ntop_darwin.lo  -lpcap -L/usr/local/lib -lgdbm -lc_r -lcrypt -lm 
-lwrap -lz -lgdc -lgd -lpng -lz -lssl -lcrypto  -Wl,-soname -Wl,libntop-2.0.so.99 -o 
.libs/libntop-2.0.so.99

(cd .libs && rm -f libntop.so && ln -s libntop-2.0.so.99 libntop.so)

ar cru .libs/libntop.a  address.o dataFormat.o globals-core.o hash.o initialize.o 
leaks.o mysql.o netflow.o ntop.o pbuf.o protocols.o plugin.o qsort.o regex.o sql.o 
sessions.o ssl.o term.o traffic.o util.o vendor.o version.o ntop_darwin.o 

ranlib .libs/libntop.a

creating libntop.la

(cd .libs && rm -f libntop.la && ln -s ../libntop.la libntop.la)

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
emitter.c

rm -f .libs/emitter.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c emitter.c  -fPIC -DPIC -o 
.libs/emitter.lo

In file included from globals-report.h:27,

                 from emitter.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c emitter.c -o emitter.o 
>/dev/null 2>&1

mv -f .libs/emitter.lo emitter.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
globals-report.c

rm -f .libs/globals-report.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c globals-report.c  -fPIC -DPIC 
-o .libs/globals-report.lo

In file included from globals-report.h:27,

                 from globals-report.c:24:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c globals-report.c -o 
globals-report.o >/dev/null 2>&1

mv -f .libs/globals-report.lo globals-report.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
graph.c

rm -f .libs/graph.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c graph.c  -fPIC -DPIC -o 
.libs/graph.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c graph.c -o graph.o >/dev/null 
2>&1

mv -f .libs/graph.lo graph.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
http.c

rm -f .libs/http.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c http.c  -fPIC -DPIC -o 
.libs/http.lo

In file included from globals-report.h:27,

                 from http.c:27:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c http.c -o http.o >/dev/null 
2>&1

mv -f .libs/http.lo http.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
report.c

rm -f .libs/report.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c report.c  -fPIC -DPIC -o 
.libs/report.lo

In file included from globals-report.h:27,

                 from report.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c report.c -o report.o 
>/dev/null 2>&1

mv -f .libs/report.lo report.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
reportUtils.c

rm -f .libs/reportUtils.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c reportUtils.c  -fPIC -DPIC -o 
.libs/reportUtils.lo

In file included from globals-report.h:27,

                 from reportUtils.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c reportUtils.c -o 
reportUtils.o >/dev/null 2>&1

mv -f .libs/reportUtils.lo reportUtils.lo

/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include 
-I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c 
webInterface.c

rm -f .libs/webInterface.lo

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c webInterface.c  -fPIC -DPIC 
-o .libs/webInterface.lo

In file included from globals-report.h:27,

                 from webInterface.c:24:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c webInterface.c -o 
webInterface.o >/dev/null 2>&1

mv -f .libs/webInterface.lo webInterface.lo

/bin/sh ./libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o libntopreport.la 
-rpath /usr/local/lib -version-info 99:0:0 -release 2.0 -export-dynamic  emitter.lo 
globals-report.lo graph.lo http.lo report.lo reportUtils.lo webInterface.lo -lcrypt 
-lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto -lc_r   -lcrypt 
-lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto

rm -fr .libs/libntopreport.la .libs/libntopreport.* .libs/libntopreport-2.0.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  emitter.lo globals-report.lo graph.lo 
http.lo report.lo reportUtils.lo webInterface.lo  -lcrypt -lm -lwrap -lz 
-L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto -lc_r -lcrypt -lm -lwrap -lz 
-lgdc -lgd -lpng -lz -lssl -lcrypto  -Wl,-soname -Wl,libntopreport-2.0.so.99 -o 
.libs/libntopreport-2.0.so.99

(cd .libs && rm -f libntopreport.so && ln -s libntopreport-2.0.so.99 libntopreport.so)

ar cru .libs/libntopreport.a  emitter.o globals-report.o graph.o http.o report.o 
reportUtils.o webInterface.o 

ranlib .libs/libntopreport.a

creating libntopreport.la

(cd .libs && rm -f libntopreport.la && ln -s ../libntopreport.la libntopreport.la)

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c main.c

In file included from globals-report.h:27,

                 from main.c:28:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c admin.c

In file included from globals-report.h:27,

                 from admin.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

/bin/sh ./libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o ntop  main.o 
admin.o libntopreport.la libntop.la -lc_r   -lcrypt -lm -lwrap -lz -L/usr/local/lib 
-lgdc -lgd -lpng -lz -lssl -lcrypto

cc -g -Os -pipe -march=pentiumpro -o .libs/ntop main.o admin.o .libs/libntopreport.so 
-lcrypt -lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto -lc_r 
-lcrypt -lm -lwrap -lz -lgdc -lgd -lpng -lz -lssl -lcrypto .libs/libntop.so -lpcap 
-lgdbm -lc_r -lcrypt -lm -lwrap -lz -lgdc -lgd -lpng -lz -lssl -lcrypto -lc_r -lcrypt 
-lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto  -Wl,--rpath 
-Wl,/usr/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

gmake[2]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop'

Making all in plugins

gmake[2]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop/plugins'

Making all in .

gmake[3]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop/plugins'

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  
-I/usr/local/include -I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe 
-march=pentiumpro -c icmpPlugin.c

mkdir .libs

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c icmpPlugin.c  -fPIC -DPIC -o 
.libs/icmpPlugin.lo

In file included from ../globals-report.h:27,

                 from icmpPlugin.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c icmpPlugin.c -o icmpPlugin.o 
>/dev/null 2>&1

mv -f .libs/icmpPlugin.lo icmpPlugin.lo

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o libicmpPlugin.la 
-rpath /usr/local/lib -shared -version-info 99:0:0  icmpPlugin.lo  -lc_r 

rm -fr .libs/libicmpPlugin.la .libs/libicmpPlugin.* .libs/libicmpPlugin.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  icmpPlugin.lo  -lc_r  -Wl,-soname 
-Wl,libicmpPlugin.so.99 -o .libs/libicmpPlugin.so.99

(cd .libs && rm -f libicmpPlugin.so && ln -s libicmpPlugin.so.99 libicmpPlugin.so)

ar cru .libs/libicmpPlugin.a  icmpPlugin.o 

ranlib .libs/libicmpPlugin.a

creating libicmpPlugin.la

(cd .libs && rm -f libicmpPlugin.la && ln -s ../libicmpPlugin.la libicmpPlugin.la)

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  
-I/usr/local/include -I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe 
-march=pentiumpro -c lastSeenPlugin.c

rm -f .libs/lastSeenPlugin.lo

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c lastSeenPlugin.c  -fPIC -DPIC 
-o .libs/lastSeenPlugin.lo

In file included from ../globals-report.h:27,

                 from lastSeenPlugin.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c lastSeenPlugin.c -o 
lastSeenPlugin.o >/dev/null 2>&1

mv -f .libs/lastSeenPlugin.lo lastSeenPlugin.lo

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o 
liblastSeenPlugin.la -rpath /usr/local/lib -shared -version-info 99:0:0  
lastSeenPlugin.lo  -lc_r 

rm -fr .libs/liblastSeenPlugin.la .libs/liblastSeenPlugin.* .libs/liblastSeenPlugin.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  lastSeenPlugin.lo  -lc_r  -Wl,-soname 
-Wl,liblastSeenPlugin.so.99 -o .libs/liblastSeenPlugin.so.99

(cd .libs && rm -f liblastSeenPlugin.so && ln -s liblastSeenPlugin.so.99 
liblastSeenPlugin.so)

ar cru .libs/liblastSeenPlugin.a  lastSeenPlugin.o 

ranlib .libs/liblastSeenPlugin.a

creating liblastSeenPlugin.la

(cd .libs && rm -f liblastSeenPlugin.la && ln -s ../liblastSeenPlugin.la 
liblastSeenPlugin.la)

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  
-I/usr/local/include -I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe 
-march=pentiumpro -c netflowPlugin.c

rm -f .libs/netflowPlugin.lo

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c netflowPlugin.c  -fPIC -DPIC 
-o .libs/netflowPlugin.lo

In file included from ../globals-report.h:27,

                 from netflowPlugin.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c netflowPlugin.c -o 
netflowPlugin.o >/dev/null 2>&1

mv -f .libs/netflowPlugin.lo netflowPlugin.lo

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o 
libnetflowPlugin.la -rpath /usr/local/lib -shared -version-info 99:0:0  
netflowPlugin.lo  -lc_r 

rm -fr .libs/libnetflowPlugin.la .libs/libnetflowPlugin.* .libs/libnetflowPlugin.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  netflowPlugin.lo  -lc_r  -Wl,-soname 
-Wl,libnetflowPlugin.so.99 -o .libs/libnetflowPlugin.so.99

(cd .libs && rm -f libnetflowPlugin.so && ln -s libnetflowPlugin.so.99 
libnetflowPlugin.so)

ar cru .libs/libnetflowPlugin.a  netflowPlugin.o 

ranlib .libs/libnetflowPlugin.a

creating libnetflowPlugin.la

(cd .libs && rm -f libnetflowPlugin.la && ln -s ../libnetflowPlugin.la 
libnetflowPlugin.la)

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  
-I/usr/local/include -I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe 
-march=pentiumpro -c nfsPlugin.c

rm -f .libs/nfsPlugin.lo

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c nfsPlugin.c  -fPIC -DPIC -o 
.libs/nfsPlugin.lo

In file included from ../globals-report.h:27,

                 from nfsPlugin.c:22:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c nfsPlugin.c -o nfsPlugin.o 
>/dev/null 2>&1

mv -f .libs/nfsPlugin.lo nfsPlugin.lo

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o libnfsPlugin.la 
-rpath /usr/local/lib -shared -version-info 99:0:0  nfsPlugin.lo  -lc_r 

rm -fr .libs/libnfsPlugin.la .libs/libnfsPlugin.* .libs/libnfsPlugin.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  nfsPlugin.lo  -lc_r  -Wl,-soname 
-Wl,libnfsPlugin.so.99 -o .libs/libnfsPlugin.so.99

(cd .libs && rm -f libnfsPlugin.so && ln -s libnfsPlugin.so.99 libnfsPlugin.so)

ar cru .libs/libnfsPlugin.a  nfsPlugin.o 

ranlib .libs/libnfsPlugin.a

creating libnfsPlugin.la

(cd .libs && rm -f libnfsPlugin.la && ln -s ../libnfsPlugin.la libnfsPlugin.la)

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  
-I/usr/local/include -I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe 
-march=pentiumpro -c pdaPlugin.c

rm -f .libs/pdaPlugin.lo

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c pdaPlugin.c  -fPIC -DPIC -o 
.libs/pdaPlugin.lo

In file included from ../globals-report.h:27,

                 from pdaPlugin.c:24:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c pdaPlugin.c -o pdaPlugin.o 
>/dev/null 2>&1

mv -f .libs/pdaPlugin.lo pdaPlugin.lo

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o libpdaPlugin.la 
-rpath /usr/local/lib -shared -version-info 99:0:0  pdaPlugin.lo  -lc_r 

rm -fr .libs/libpdaPlugin.la .libs/libpdaPlugin.* .libs/libpdaPlugin.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  pdaPlugin.lo  -lc_r  -Wl,-soname 
-Wl,libpdaPlugin.so.99 -o .libs/libpdaPlugin.so.99

(cd .libs && rm -f libpdaPlugin.so && ln -s libpdaPlugin.so.99 libpdaPlugin.so)

ar cru .libs/libpdaPlugin.a  pdaPlugin.o 

ranlib .libs/libpdaPlugin.a

creating libpdaPlugin.la

(cd .libs && rm -f libpdaPlugin.la && ln -s ../libpdaPlugin.la libpdaPlugin.la)

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  
-I/usr/local/include -I/usr/local/include/gd -I/usr/include/openssl    -g -Os -pipe 
-march=pentiumpro -c sflowPlugin.c

rm -f .libs/sflowPlugin.lo

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c sflowPlugin.c  -fPIC -DPIC -o 
.libs/sflowPlugin.lo

In file included from ../globals-report.h:27,

                 from sflowPlugin.c:98:

/usr/local/include/gdcpie.h:73: warning: `clrallocate' redefined

/usr/local/include/gdchart.h:195: warning: this is the location of the previous 
definition

/usr/local/include/gdcpie.h:74: warning: `clrshdallocate' redefined

/usr/local/include/gdchart.h:196: warning: this is the location of the previous 
definition

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl -g -Os -pipe -march=pentiumpro -c sflowPlugin.c -o 
sflowPlugin.o >/dev/null 2>&1

mv -f .libs/sflowPlugin.lo sflowPlugin.lo

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o 
libsflowPlugin.la -rpath /usr/local/lib -shared -version-info 99:0:0  sflowPlugin.lo  
-lc_r 

rm -fr .libs/libsflowPlugin.la .libs/libsflowPlugin.* .libs/libsflowPlugin.*

cc -shared  -Wl,--rpath -Wl,/usr/local/lib  sflowPlugin.lo  -lc_r  -Wl,-soname 
-Wl,libsflowPlugin.so.99 -o .libs/libsflowPlugin.so.99

(cd .libs && rm -f libsflowPlugin.so && ln -s libsflowPlugin.so.99 libsflowPlugin.so)

ar cru .libs/libsflowPlugin.a  sflowPlugin.o 

ranlib .libs/libsflowPlugin.a

creating libsflowPlugin.la

(cd .libs && rm -f libsflowPlugin.la && ln -s ../libsflowPlugin.la libsflowPlugin.la)

gmake[3]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop/plugins'

gmake[2]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop/plugins'

Making all in intop

gmake[2]: Entering directory `/usr/ports/net/ntop/work/RC2/ntop/intop'

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c argv.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c command.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c getopt.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c gnuline.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c prompt.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c intop.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c init.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c open.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c close.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c filter.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c pcapmore.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c sniff.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c uptime.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c status.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c lsdev.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c nettable.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c info.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c swap.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c hosts.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c arp.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c nbt.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c top.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c bind.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c hash.c

cc -DHAVE_CONFIG_H -I..  -I/usr/local/include -I/usr/local/include/gd 
-I/usr/include/openssl    -g -Os -pipe -march=pentiumpro -c dump.c

/bin/sh ../libtool --mode=link cc  -g -Os -pipe -march=pentiumpro  -o intop  argv.o 
command.o getopt.o gnuline.o prompt.o intop.o init.o open.o close.o filter.o 
pcapmore.o sniff.o uptime.o status.o lsdev.o nettable.o info.o swap.o hosts.o arp.o 
nbt.o top.o bind.o hash.o dump.o ../libntop.la -lreadline  -lncurses -lc_r   -lcrypt 
-lm -lwrap -lz -L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto

mkdir .libs

cc -g -Os -pipe -march=pentiumpro -o .libs/intop argv.o command.o getopt.o gnuline.o 
prompt.o intop.o init.o open.o close.o filter.o pcapmore.o sniff.o uptime.o status.o 
lsdev.o nettable.o info.o swap.o hosts.o arp.o nbt.o top.o bind.o hash.o dump.o 
../.libs/libntop.so -lpcap -L/usr/local/lib -lgdbm -lc_r -lcrypt -lm -lwrap -lz -lgdc 
-lgd -lpng -lz -lssl -lcrypto -lreadline -lncurses -lc_r -lcrypt -lm -lwrap -lz 
-L/usr/local/lib -lgdc -lgd -lpng -lz -lssl -lcrypto  -Wl,--rpath -Wl,/usr/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 intop

gmake[2]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop/intop'

gmake[1]: Leaving directory `/usr/ports/net/ntop/work/RC2/ntop'
startup with;

/usr/local/bin/ntop -d -L -i dc0,dc1,dc2,dc3,ed1 -w 3000 -W 0 -a 
/var/log/ntop.access.log -u nobody -E -n -M >/dev/null 2>&1



in logs;



Sep 21 14:04:25 joke ntop[20774]: Initializing IP services...

Sep 21 14:04:25 joke ntop[20774]: Initializing GDBM...

Sep 21 14:04:25 joke ntop[20777]: Bye bye: I'm becoming a daemon... 

Sep 21 14:04:25 joke ntop[20777]: Initializing network devices...   

Sep 21 14:04:25 joke ntop[20777]: ntop v.2.0.99 MT (SSL) [i386-unknown-freebsd4.7] 
(09/18/02 10:57:38 PM build)

Sep 21 14:04:25 joke ntop[20777]: Listening on [dc0,dc1,dc2,dc3,ed1]

Sep 21 14:04:25 joke ntop[20777]: Copyright 1998-2002 by Luca Deri <[EMAIL PROTECTED]>

Sep 21 14:04:25 joke ntop[20777]: Get the freshest ntop from http://www.ntop.org/

Sep 21 14:04:25 joke ntop[20777]: Initializing...

Sep 21 14:04:25 joke /kernel: dc0: promiscuous mode enabled

Sep 21 14:04:25 joke /kernel: dc1: promiscuous mode enabled

Sep 21 14:04:25 joke /kernel: dc2: promiscuous mode enabled

Sep 21 14:04:25 joke /kernel: dc3: promiscuous mode enabled

Sep 21 14:04:25 joke /kernel: ed1: promiscuous mode enabled

Sep 21 14:04:25 joke ntop[20777]: Loading plugins (if any)...

Sep 21 14:04:25 joke ntop[20777]: Searching plugins in /usr/local/lib/ntop/plugins

Sep 21 14:04:25 joke ntop[20777]: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri.

Sep 21 14:04:25 joke ntop[20777]: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea 
Marangoni.

Sep 21 14:04:25 joke ntop[20777]: Welcome to NetFlow. (C) 2002 by Luca Deri.

Sep 21 14:04:25 joke ntop[20777]: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri.

Sep 21 14:04:25 joke ntop[20777]: Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and 
W.Brock

Sep 21 14:04:25 joke ntop[20777]: Welcome to sFlowPlugin. (C) 2002 by Luca Deri.   

Sep 21 14:04:26 joke ntop[20777]: Resetting traffic statistics...

Sep 21 14:04:27 joke ntop[20777]: Started thread (136816640) for network packet 
analyser.

Sep 21 14:04:27 joke ntop[20777]: Started thread (138579968) for idle hosts detection.

Sep 21 14:04:27 joke ntop[20777]: Initializing plugins (if any)...

Sep 21 14:04:27 joke ntop[20777]: Waiting for HTTP connections on port 3000...     

Sep 21 14:04:27 joke ntop[20777]: Started thread (138580992) for web server.

Sep 21 14:04:27 joke ntop[20777]: Sniffying...

Sep 21 14:04:27 joke ntop[20777]: Started thread (138582016) for network packet 
sniffing on dc0.

Sep 21 14:04:27 joke ntop[20777]: Started thread (138583040) for network packet 
sniffing on dc1.

Sep 21 14:04:27 joke ntop[20777]: Started thread (138588160) for network packet 
sniffing on dc2.

Sep 21 14:04:27 joke ntop[20777]: Started thread (138589184) for network packet 
sniffing on dc3.

Sep 21 14:04:27 joke ntop[20777]: Started thread (138590208) for network packet 
sniffing on ed1.

Sep 21 14:04:27 joke ntop[20777]: Error while reading packets: read: Bad file 
descriptor.



after a killall ntop command;

Sep 21 14:05:27 joke ntop[20777]: ntop caught signal 15

Sep 21 14:05:27 joke ntop[20777]: Cleaning up...

Sep 21 14:05:27 joke ntop[20777]: Waiting until threads terminate...      

Sep 21 14:05:30 joke ntop[20777]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:05:31 joke ntop[20777]: 59 instances freed

Sep 21 14:05:31 joke ntop[20777]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:05:31 joke ntop[20777]: 0 instances freed

Sep 21 14:05:31 joke ntop[20777]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:05:31 joke ntop[20777]: 0 instances freed

Sep 21 14:05:31 joke ntop[20777]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:05:31 joke ntop[20777]: 0 instances freed

Sep 21 14:05:31 joke ntop[20777]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:05:31 joke ntop[20777]: 0 instances freed

Sep 21 14:05:31 joke ntop[20777]: Unloading plugins (if any)...

Sep 21 14:05:31 joke ntop[20777]: Thanks for using PDAWatch...

Sep 21 14:05:31 joke ntop[20777]: Done.

Sep 21 14:05:31 joke ntop[20777]: Thanks for using icmpWatch...

Sep 21 14:05:31 joke ntop[20777]: Done.

Sep 21 14:05:31 joke ntop[20777]: Cisco NetFlow exporter terminated.

Sep 21 14:05:31 joke ntop[20777]: Freeing device dc0 (idx=0)...

Sep 21 14:05:31 joke ntop[20777]: 1,042 packets received by filter on dc0

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by kernel

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by ntop

Sep 21 14:05:31 joke /kernel: dc0: promiscuous mode disabled

Sep 21 14:05:31 joke /kernel: dc1: promiscuous mode disabled

Sep 21 14:05:31 joke ntop[20777]: Freeing device dc1 (idx=1)...

Sep 21 14:05:31 joke ntop[20777]: 590 packets received by filter on dc1

Sep 21 14:05:31 joke ntop[20777]: 384 packets dropped by kernel

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by ntop

Sep 21 14:05:31 joke ntop[20777]: Freeing device dc2 (idx=2)...

Sep 21 14:05:31 joke ntop[20777]: 94 packets received by filter on dc2

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by kernel

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by ntop

Sep 21 14:05:31 joke /kernel: dc2: promiscuous mode disabled

Sep 21 14:05:31 joke ntop[20777]: Freeing device dc3 (idx=3)...

Sep 21 14:05:31 joke ntop[20777]: 217 packets received by filter on dc3

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by kernel

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by ntop

Sep 21 14:05:31 joke /kernel: dc3: promiscuous mode disabled

Sep 21 14:05:31 joke ntop[20777]: Freeing device ed1 (idx=4)...

Sep 21 14:05:31 joke ntop[20777]: 4 packets received by filter on ed1

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by kernel

Sep 21 14:05:31 joke ntop[20777]: 0 packets dropped by ntop

Sep 21 14:05:31 joke /kernel: ed1: promiscuous mode disabled



startup with;

/usr/local/bin/ntop -d -L -i dc0,dc1,dc2,dc3,ed1 -w 3000 -W 0 -a 
/var/log/ntop.access.log -u nobody -E -n -M



at console;



lsof: not found

nmap: not found

Wait please: ntop is coming up...

SSL is present but https is disabled: use -W <https port> for enabling it



in logs;

Sep 21 14:07:33 joke ntop[20793]: Initializing IP services...

Sep 21 14:07:33 joke ntop[20793]: Initializing GDBM...

Sep 21 14:07:33 joke ntop[20796]: Bye bye: I'm becoming a daemon... 

Sep 21 14:07:33 joke ntop[20796]: Initializing network devices...

Sep 21 14:07:33 joke ntop[20796]: ntop v.2.0.99 MT (SSL) [i386-unknown-freebsd4.7] 
(09/18/02 10:57:38 PM build)

Sep 21 14:07:33 joke ntop[20796]: Listening on [dc0,dc1,dc2,dc3,ed1]

Sep 21 14:07:33 joke ntop[20796]: Copyright 1998-2002 by Luca Deri <[EMAIL PROTECTED]>

Sep 21 14:07:33 joke ntop[20796]: Get the freshest ntop from http://www.ntop.org/

Sep 21 14:07:33 joke ntop[20796]: Initializing...   

Sep 21 14:07:33 joke /kernel: dc0: promiscuous mode enabled

Sep 21 14:07:33 joke /kernel: dc1: promiscuous mode enabled

Sep 21 14:07:33 joke /kernel: dc2: promiscuous mode enabled

Sep 21 14:07:33 joke /kernel: dc3: promiscuous mode enabled

Sep 21 14:07:33 joke /kernel: ed1: promiscuous mode enabled

Sep 21 14:07:33 joke ntop[20796]: Loading plugins (if any)... 

Sep 21 14:07:33 joke ntop[20796]: Searching plugins in /usr/local/lib/ntop/plugins

Sep 21 14:07:33 joke ntop[20796]: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri.   
 

Sep 21 14:07:33 joke ntop[20796]: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea 
Marangoni.

Sep 21 14:07:33 joke ntop[20796]: Welcome to NetFlow. (C) 2002 by Luca Deri.

Sep 21 14:07:33 joke ntop[20796]: Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri.

Sep 21 14:07:33 joke ntop[20796]: Welcome to PDAPlugin. (C) 2001-2002 by L.Deri and 
W.Brock

Sep 21 14:07:33 joke ntop[20796]: Welcome to sFlowPlugin. (C) 2002 by Luca Deri.

Sep 21 14:07:33 joke ntop[20796]: Resetting traffic statistics...

Sep 21 14:07:34 joke ntop[20796]: Started thread (136816640) for network packet 
analyser.

Sep 21 14:07:34 joke ntop[20796]: Started thread (138579968) for idle hosts detection.

Sep 21 14:07:34 joke ntop[20796]: Initializing plugins (if any)...

Sep 21 14:07:34 joke ntop[20796]: Waiting for HTTP connections on port 3000...

Sep 21 14:07:34 joke ntop[20796]: Started thread (138580992) for web server.

Sep 21 14:07:34 joke ntop[20796]: Sniffying...

Sep 21 14:07:34 joke ntop[20796]: Started thread (138582016) for network packet 
sniffing on dc0.

Sep 21 14:07:34 joke ntop[20796]: Started thread (138583040) for network packet 
sniffing on dc1.

Sep 21 14:07:34 joke ntop[20796]: Started thread (138588160) for network packet 
sniffing on dc2.

Sep 21 14:07:34 joke ntop[20796]: Started thread (138589184) for network packet 
sniffing on dc3.

Sep 21 14:07:34 joke ntop[20796]: Started thread (138590208) for network packet 
sniffing on ed1.



after a killall ntop command;

at console;

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free

ntop in free(): warning: chunk is already free



in logs;

Sep 21 14:10:06 joke ntop[20803]: ntop caught signal 15

Sep 21 14:10:06 joke ntop[20803]: Cleaning up...

Sep 21 14:10:06 joke ntop[20803]: Waiting until threads terminate...

Sep 21 14:10:09 joke ntop[20803]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:10:10 joke ntop[20803]: 32 instances freed       

Sep 21 14:10:10 joke ntop[20803]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:10:10 joke ntop[20803]: 0 instances freed

Sep 21 14:10:10 joke ntop[20803]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:10:10 joke ntop[20803]: 0 instances freed

Sep 21 14:10:10 joke ntop[20803]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:10:10 joke ntop[20803]: 0 instances freed

Sep 21 14:10:10 joke ntop[20803]: Freeing hash host instances... (5 device(s) to save)

Sep 21 14:10:10 joke ntop[20803]: 0 instances freed

Sep 21 14:10:10 joke ntop[20803]: Unloading plugins (if any)...

Sep 21 14:10:10 joke ntop[20803]: Thanks for using PDAWatch...   

Sep 21 14:10:10 joke ntop[20803]: Done.

Sep 21 14:10:10 joke ntop[20803]: Thanks for using icmpWatch...

Sep 21 14:10:10 joke ntop[20803]: Done.

Sep 21 14:10:10 joke ntop[20803]: Cisco NetFlow exporter terminated.

Sep 21 14:10:10 joke ntop[20803]: Freeing device dc0 (idx=0)...

Sep 21 14:10:10 joke ntop[20803]: 285 packets received by filter on dc0

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by kernel

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by ntop

Sep 21 14:10:10 joke /kernel: dc0: promiscuous mode disabled

Sep 21 14:10:10 joke ntop[20803]: Freeing device dc1 (idx=1)...

Sep 21 14:10:10 joke ntop[20803]: 87 packets received by filter on dc1

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by kernel

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by ntop

Sep 21 14:10:10 joke /kernel: dc1: promiscuous mode disabled

Sep 21 14:10:10 joke ntop[20803]: Freeing device dc2 (idx=2)...

Sep 21 14:10:10 joke ntop[20803]: 4 packets received by filter on dc2

ep 21 14:10:10 joke ntop[20803]: 0 packets dropped by kernel

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by ntop

Sep 21 14:10:10 joke /kernel: dc2: promiscuous mode disabled

Sep 21 14:10:10 joke ntop[20803]: Freeing device dc3 (idx=3)...

Sep 21 14:10:10 joke ntop[20803]: 158 packets received by filter on dc3

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by kernel

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by ntop

Sep 21 14:10:10 joke /kernel: dc3: promiscuous mode disabled

Sep 21 14:10:10 joke /kernel: ed1: promiscuous mode disabled

Sep 21 14:10:10 joke ntop[20803]: Freeing device ed1 (idx=4)...

Sep 21 14:10:10 joke ntop[20803]: 3 packets received by filter on ed1

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by kernel

Sep 21 14:10:10 joke ntop[20803]: 0 packets dropped by ntop

#!/bin/sh



#----------------------------------------------------------------------

# The following variables may be changed

#



# Network interface(s) to be monitored;

# may be blank, or comma-separated list

interfaces='dc0,dc1,dc2,dc3,ed0'



# User to run ntop as; leave blank for root

userid='nobody'



# [IP:]port for serving HTTP; set to '0' to disable

http_port='3000'



# [IP:]port for serving HTTPS; set to '0' to disable

# The certificate is /usr/local/share/ntop/ntop-cert.pem

https_port='0'



# Directory for ntop.access.log

logdir='/var/log'



# Specify any additional arguments here - see ntop(8)

additional_args='-E -M -n'



#

# End of user-configurable variables

#----------------------------------------------------------------------



args='-d -L'



[ ! -z $interfaces ] && args="$args -i $interfaces"

[ ! -z $http_port ] && args="$args -w $http_port"

[ ! -z $https_port ] && args="$args -W $https_port"

[ ! -z $logdir ] && args="$args -a ${logdir}/ntop.access.log"

[ ! -z $userid ] && args="$args -u $userid"

[ ! -z "$additional_args" ] && args="$args $additional_args"



case "$1" in

start)

  [ -d $logdir ] && touch ${logdir}/ntop.access.log \

    && chown $userid ${logdir}/ntop.access.log

  [ -d /usr/local/share/ntop ] && cd /usr/local/share/ntop

  [ -x /usr/local/bin/ntop ] && /usr/local/bin/ntop $args >/dev/null 2>&1 \

    && echo -n ' ntop'

  ;;

stop)

  killall ntop >/dev/null 2>&1 && echo -n ' ntop'

  ;;

*)

  echo "Usage: `basename $0` {start|stop}" >&2

  exit 64

  ;;

esac



exit 0

Reply via email to