Mike is right. If you add protocols to /etc/services, you can refer to them by name on the -p parameter (file). Here is the current protocols.list that I run with:
[bstrauss@tigger ntop-current]$ cat /usr/share/ntop/protocol.list ! tFTP=tftp AOL IM=5190 DHCP/BOOTP=bootps|bootpc DNS=domain File Transfer=ftp|ftp-data Mail (POP/IMAP)=pop2|pop3|pop3s|imap|imap3|imaps Mail (SMTP)=25 NetBIOS=netbios|netbios-dgm|netbios-ssn News (nntp)=nntp PPTP=1723 SMB=microsoft-ds SNMP=snmp|snmptrap Secure Shell (sftp)=sftp Secure Shell (ssh)=ssh Time (ntp)=ntp WINS replication=42 Web (NTop)=3000 Web (Squid cache)=3128 Web=http|https So, for example, traffic on port 5190 is reported as "AOL IM" by ntop. If I were to add that to /etc/services as: aol 5190/tcp # AOL IM Then I could use AOL IM=aol -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Baird Sent: Thursday, May 09, 2002 3:33 PM To: [EMAIL PROTECTED] Subject: Re: [Ntop] -S option (was NTOP Configuration Questions) Well, ntop looks at services for naming ports, just add entries in /etc/services for the "odd ports". Regards MIKE _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
