look at updateUsedPorts() in session.c, you'll see that only ports below #define MAX_ASSIGNED_IP_PORTS 1024
are being monitored. It might have been better to rename that to MAX_IP_PORT_TO_MONITOR_USAGE or some such... Change it in globals-defines.h and recompile. I'm still confused as to what you would have needed to edit in main.c in the first place... -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marek Dohojda Sent: Tuesday, January 07, 2003 11:48 AM To: '[EMAIL PROTECTED]' Subject: RE: [Ntop] Hello Everyone; protocols Hello Thank you. What confusing me the most is the fact that in the distribution it shows all the new Protocols I put in... and it shows the traffic on them (not much but still traffic). So how come it wouldn't show in the usage? As to compiled, I edited the main.c before I complied. -----Original Message----- From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 5:30 AM To: [EMAIL PROTECTED] Subject: RE: [Ntop] Hello Everyone; protocols If it's not showing up in the sortDataProtos.html page, I'm guessing it's not being read properly... Since you've elided the command line, not posted anything from the log, it's all just guesses. Check the log for error messages. Off hand, it looks ok, although "compile the ntop with additional protocol" makes no sense - there aren't any switches that I'm aware of. The relevant code is in main.c, handleProtocols() and handleProtocolList(). There are some #ifdef DEBUG lines you can enable to see what's happening (just put a #define DEBUG before and a #undef DEBUG after each function). -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marek Dohojda Sent: Monday, January 06, 2003 7:38 PM To: '[EMAIL PROTECTED]' Subject: [Ntop] Hello Everyone; protocols Hello I am new to this list, and I did try to read all the archives. If this question has been answered then I am sorry. Now my problem is that. I can't seem to make a new protocol appear in the "IP Protos" tab under usage. I run my ntop with the following: ntop -p /usr/share/ntop/protocol.list ... (rest of switches) The protocol.list does contain all the protocols I care about, including some added ones (like AIM, and Yahoo IM) I tried to compile the ntop with additional protocol support as well as running it like this:: ntop -p aim=5190,yahoo=5050. Whatever I do it doesn't show up. There is AIM traffic I did tcpdump on it. The AIM does show up under "Distribution" section. Thank you very much for your help Marek _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
