It makes a lot of sense - there was a bug, fixed recently, to prevent ntop
from always adding the default list. The 2nd bug in that area was an abort
if the file didn't exist. Both have been fixed. You don't indicate which
version you're running, but the 12th/13th is safe.
Look in the source (main.c around line 911) for this:
/*
Moved from initialize.c (postCommandLineArgumentsInitialization) so that
we
don't add the defaults if the user has given us at least SOMETHING to
monitor
Fix courtesy of Burton M. Strauss III <[EMAIL PROTECTED]>
*/
if(myGlobals.numIpProtosToMonitor == 0)
addDefaultProtocols();
createPortHash();
-----Burton
-----Original Message-----
From: Damon Sisola [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 2:22 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: question using custom services.list with NTOP
I am using a file to tell ntop which services to report on using the command
line:
ntop -w 5000 -d -q -m 192.168.1.0/24 -p /usr/local/bin/services.list
Ntop is watching and reporting on the ports in the protocol.list file,
however it is also displaying duplicate columns for all of the default
protocols. This means that if I put any of the default protocols such as
'FTP=ftp|ftp_data' in the services.list, then the FTP column shows up twice
in the Web pages, but data is logged only under the second (my added) column
instance. If I do not put the FTP protocol in my services.list file, it
still shows on the Web pages but data is always 0.
Hopefully this makes sense, and the sought after remedy would be to have
nmap show ONLY the protocols in the services.list files, and nothing more.
thanks,
Damon
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop