Oh man... I've never read a Solaris core file (I had DBAs to do that FOR me <grin />)... And IPv6 - you left that little gem out of the 1st message
Or: I think you're seeing all the strings in the text, not necessarily what's causing the failure. If it is a libpcap/IPV6 issue, you are going to have to go to the libpcap fount, http://www.tcpdump.org, which is pretty thin... A google search (libpcap ipv6) turns up a hits which seem to show it works for people. However, I did read the code in pbuf.c last week and I don't remember ANYTHING internal to ntop related to IPv6. If you have IPv6 traffic, then that may be the ntop issue! NEED TO CONFIRM THIS (YES/NO)... Can you run it under gdb and do the trace when it blows? (The instructions are now posted in the FAQs at http://snapshot.ntop.org) Now, IF YOU WANT TO BE ADVENTUROUS, I have a patch that I've worked up to automatically generate the backtrace. And it has worked once or twice, but I'm not ready to release it yet. However, if you can't run under gdb or a similar debugger - and are willing to be a guinea pig - email me privately and I'll send it along. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of joe Sent: Friday, February 22, 2002 10:03 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Ntop] Ntop on Solaris 2.6 First, thanks for the TCP Wrappers suggestions. I'll look into it once Ntop can run for a few minutes w/o crashing. :) I have generated a core file, here's the last few strings: -- @(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.70 2000/10/28 10:18:40 guy Exp $ (LBL) IPv6 address %s not supported bogus ethernet address %s illegal token: %s illegal char '%c' fatal flex scanner internal error--no action found fatal flex scanner internal error--end of buffer missed fatal error - scanner input buffer overflow input in flex scanner failed out of dynamic memory in yy_create_buffer() out of dynamic memory in yy_scan_buffer() out of dynamic memory in yy_scan_bytes() bad buffer in yy_scan_bytes() @(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.64 2000/10/28 10:18:40 guy Exp $ (LBL) CB?= !"#$%&'()*+,-./0123456789A parser stack overflow 'ip6addr/prefixlen' not supported in this configuration 'ip6addr' not supported in this configuration parse error -- now this would lead me to believe that libpcap wasn't built with ipv6 support. So I tried building both libpcap-0.7.1 and 0.6.2, both of which would not compile with the --enable-ipv6 option: gcc -O2 -I. -DHAVE_CONFIG_H -c ./gencode.c ./gencode.c:144: warning: `struct in6_addr' declared inside parameter list ./gencode.c:144: warning: its scope is only this definition or declaration, which is probably not what you want. ./gencode.c:152: warning: `struct in6_addr' declared inside parameter list ./gencode.c: In function `gen_linktype': ./gencode.c:881: `AF_INET6' undeclared (first use in this function) (...and about 3 more pages of similar errors) I'm running gcc version 2.95.2 on Solaris SPARC 2.6. Any ideas? Thanks again. _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop
