Hello everyone
Thanks for the answers I received yesterday, but I'm still facing the problems to show only specific protocols on the ntop, here you have my current configuration

/etc/init.d/ntop (fragment)
----------------------------------
DAEMON="/usr/local/bin/ntop"
NAME="ntop"
DESC="network top daemon"
INIT="/etc/default/ntop"
HOMEDIR="/usr/local/var/ntop"
LOGDIR="/var/log/ntop"
USER="ntop"

test -f $DAEMON || exit 0

test -f $INIT || exit 0

. $INIT

case "$1" in
start)
 echo "Starting $DESC:"
 start-stop-daemon --start --quiet --name $NAME --exec $DAEMON -- \
 -d -L -u $USER -P $HOMEDIR --skip-version-check \
 -a /var/log/ntop/access_log -w 0 -W 30000 -p /tmp/ntop_protocols
# -i $INTERFACES -O $LOGDIR $GETOPT
 ;;
stop)



/var/log/syslog
--------------------
Nov 18 10:37:39 localhost ntop[11570]: PROTO_INIT: Processing protocol file: '/tmp/ntop_protocols', size: 179
Nov 18 10:37:39 localhost kernel: device eth0 entered promiscuous mode


(It looks like not problem with the file /tmp/ntop_protocols)

/tmp/ntop_protocols
----------------------------
FTP=ftp|ftp-data
HTTP=www|https
Mail=pop2|pop3|kpop|smtp|imap2
SSH=ssh
Kazaa=kazaa
DirectConnect=0
eDonkey=4661-4665
Messenger=1863|5000|5001|5190-5193

checked against /etc/services according to man.


https://192.168.0.245:3000/sortDataProtos.html (header of the table)
----------------------------------------------
Host Domain Data TCP UDP ICMP ICMPv6 DLC IPX Decnet (R)ARP AppleTalk NetBios OSI IPv6 STP IPSEC OSPF IGMP Other

in this table I need to see only the protocols declared in /tmp/ntop_protocols


Thanks in advance for any help
Regards
Enediel


_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to