Mike , I'm almost crying when reading your posts regarding Solaris.
I had the same Solaris problems before, not just with NTOP but with other free software(NAGIOS,etc). What I did, was installing Debian linux on my Ultra 10 Sparc station. Believe me - life is much easier now for me. Everything is working with almost no special configs and hacking - leave it for programmers ;-)
I hope that it helps.
Igal.



Mike Tremaine wrote:
[Disclaimer]
I have no idea what I'm doing. Ntop is forcing me to learn C (The O'Reilly people just made another 39bucks from me...) [/Disclaimer]


After hacking around for days at pbuf.c I found a way to get it to run on my test box (Solaris 9)

Here it is.....

[EMAIL PROTECTED] ~/ntop_cvs/ntop [123] cvs diff pbuf.c
Index: pbuf.c
===================================================================
RCS file: /export/home/ntop/ntop/pbuf.c,v
retrieving revision 2.122
diff -r2.122 pbuf.c
902c902
<       u_char *tcp_data = (u_char *)((int)tcp + tcp->th_off * 4);
---

u_char *tcp_data = (u_char *)((int)tcp + tp.th_off * 4);



That little change made the start up problems go away. So I have no idea if that was a missed change since I see no other tcp->th_off calls but several tp.th_off 's....


Now that it is running it has a a problem showing the STATS->TRAFFIC page which was the same problem I had back in 2.2 and I hacked around... So I'm going back to gdb and my notes to see If I can bring this page up as well.




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

Reply via email to