Mailing List Archive

ntop -i on Unix and Win32
Hi all,
I have modified the behaviour of the -i flag as under Win NT/2K it is
not easy to specify the interface name as its name is quite weird. So
under Win32 *only*, <interface index> is used to specify the interface.

For instance:

Wait please: ntop is coming up...
29/Aug/2001:13:19:31 Initializing IP services...
29/Aug/2001:13:19:31 Initializing GDBM...
29/Aug/2001:13:19:33 Initializing network devices...
29/Aug/2001:13:19:33 Found interface [index=0] 'PPPMAC'
29/Aug/2001:13:19:33 Found interface [index=1] 'EL59x'
29/Aug/2001:13:19:33 ntop v.2.0 beta MT [Win95/98/ME] (29/08/2001 build)
29/Aug/2001:13:19:33 Listening on [EL59x]
29/Aug/2001:13:19:33 Copyright 1998-2001 by Luca Deri <deri@ntop.org>
29/Aug/2001:13:19:33 Get the freshest ntop from http://www.ntop.org/
29/Aug/2001:13:19:33 Initialising...
29/Aug/2001:13:19:33 Loading plugins (if any)...
29/Aug/2001:13:19:33 Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri.
29/Aug/2001:13:19:33 Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri.
29/Aug/2001:13:19:33 Welcome to WAPPlugin. (C) 2000 by Luca Deri.
29/Aug/2001:13:19:33 Resetting traffic statistics...

you can do "ntop -i 1" for EL59x and "ntop -i 0" for PPPMAC.

For Unix -i still expects an interface name.

Cheers, Luca

--
Luca Deri NETikos S.p.A.
Via Matteucci 34/B 56124 Pisa, Italy.
Ph. +39/050/968.639 Fax. +39/050/968.626
Personal: luca@lucaderi.org Business: luca.deri@netikos.com
WWW: http://www.lucaderi.org/ ICQ: 68183632
One's destination is never a place but rather a new way of
looking at things - Henry Miller