It's right there in the man file:

 -p | --protocols
        It is used to specify  the  TCP/UDP  protocols  that  ntop  will  monitor.  
The  format  is
        <label>=<protocol  list>  [,  <label>=<protocol list>], where label is used to 
symbolically
        identify the <protocol list>. The format of  <protocol  list>  is  
<protocol>[|<protocol>],
        where  <protocol>  is  either a valid protocol specified inside the 
/etc/services file or a
        numeric port range (e.g. 80, or 6000-6500). If the -p flag is omitted the 
following default
        value     is     used:    
"FTP=ftp|ftp-data,HTTP=http|www|https,DNS=name|domain,Telnet=tel�
        net|login,NBios-IP=netbios-ns|netbios-dgm|netbios-
        ssn,Mail=pop-2|pop-3|kpop|smtp|imap|imap2,SNMP=snmp|snmp-
        trap,NEWS=nntp,NFS=mount|pcnfs|bwnfs|nfs|nfsd-status,X11=6000-6010,SSH=ssh". 
If the <proto�
        col  list>  is  very long you may store in a file (for instance protocol.list) 
the value of
        the <protocol list> and specify the file name instead of  the  <protocol  
list>  (in  above
        example you will invoke 'ntop -p protocol.list').

You can put that string into a file, either on one long line, or broken into multiple 
lines as you want...

FTP=ftp|ftp-data
HTTP=http|www|https
DNS=name|domain
status,X11=6000-6010,SSH=ssh

etc.

-----Burton


---------- Original Message ----------------------------------
From: "Tom Greaser" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 12 Jul 2002 10:08:18 -0400

>could anyone direct me to any information on how to setup a protocol list file..  I 
>read the man pages but i was hopeing for an example of a more detailed list ..
>
>Thanks
>
>
>_______________________________________________
>Ntop mailing list
>[EMAIL PROTECTED]
>http://lists.ntop.org/mailman/listinfo/ntop
>



__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to