HI all,
 
I've got an old pc running under linux and equipped with an alcatel speedtouch usb modem that I use as an internet router. I created ntop from the source package v 2.0.0.0, downloaded some time ago from the web site.
 
For the technical record, the system is a basic linux 2.4.10 from a RH 7.2 install (no X), and it runs the opensource version of the speedtouch drivers ( http://speedtouch.sourceforge.net ).
 
Now for the results :
 
* When asked to monitor only eth0 (ntop -P /var/ntop/ -u ntop -i eth0), no problems are visible and ntop seems to run fine.
 
* When asked to monitor only ppp0 (ntop -P /var/ntop/ -u ntop -i ppp0 -t 5), the program seem to run fine but no information is collected !
 
<*> When asked to monitor both interfaces (ntop -P /var/ntop/ -u ntop -i eth0,ppp0 -M -t 5), the program ends in a segfault as soon as I surf on the internet form a LAN computer :
 
ntop -P /var/ntop/ -u ntop -i eth0,ppp0 -M -t 5
Wait please: ntop is coming up...
25/Sep/2002 10:59:56 [initialize.c:53] Initializing IP services...
25/Sep/2002 10:59:56 [initialize.c:448] Initializing GDBM...
25/Sep/2002 10:59:56 [initialize.c:634] Initializing network devices...
25/Sep/2002 10:59:56 [main.c:480] ntop v.2.0.0 MT [i586-pc-linux-gnu] (03/11/02 08:13:30 PM build)
25/Sep/2002 10:59:56 [main.c:500] Listening on [eth0,ppp0]
25/Sep/2002 10:59:56 [main.c:501] Copyright 1998-2001 by Luca Deri <
[EMAIL PROTECTED]>
25/Sep/2002 10:59:56 [main.c:502] Get the freshest ntop from
http://www.ntop.org/
25/Sep/2002 10:59:56 [main.c:503] Initializing...
25/Sep/2002 10:59:56 [plugin.c:321] Loading plugins (if any)...
25/Sep/2002 10:59:56 [plugin.c:339] Searching plugins in /usr/local/lib/ntop/plugins
25/Sep/2002 10:59:56 [icmpPlugin.c:539] Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri.
25/Sep/2002 10:59:56 [lastSeenPlugin.c:414] Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni.
25/Sep/2002 10:59:56 [nfsPlugin.c:342] Welcome to nfsWatchPlugin. (C) 1999 by Luca Deri.
25/Sep/2002 10:59:56 [initialize.c:359] Resetting traffic statistics...
25/Sep/2002 10:59:56 [initialize.c:536] Started thread (1026) for network packet analyser.
25/Sep/2002 10:59:56 [initialize.c:543] Started thread (2051) for host traffic statistics.
25/Sep/2002 10:59:56 [initialize.c:551] Started thread (3076) for throughput update.
25/Sep/2002 10:59:56 [initialize.c:559] Started thread (4101) for idle hosts detection.
25/Sep/2002 10:59:56 [initialize.c:563] Started thread (5126) for idle TCP sessions detection.
25/Sep/2002 10:59:56 [initialize.c:586] Started thread (6151) for DNS address resolution.
25/Sep/2002 10:59:56 [initialize.c:593] Started thread (7176) for address purge.
25/Sep/2002 10:59:56 [plugin.c:408] Initializing plugins (if any)...
25/Sep/2002 10:59:56 [webInterface.c:953] Waiting for HTTP connections on port 3000...
25/Sep/2002 10:59:56 [main.c:572] Sniffying...
25/Sep/2002 10:59:56 [initialize.c:1153] Started thread (9226) for network packet sniffing on eth0.
25/Sep/2002 10:59:56 [initialize.c:1153] Started thread (10251) for network packet sniffing on ppp0.
25/Sep/2002 11:00:06 [pbuf.c:2836] Sanity check failed (2) [Low memory?]
25/Sep/2002 11:00:11 [pbuf.c:851] Sanity check failed (3) [Low memory?]
25/Sep/2002 11:00:11 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:11 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:20 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:24 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:24 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:26 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:27 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:29 [pbuf.c:851] Sanity check failed (3) [Low memory?]
25/Sep/2002 11:00:29 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
25/Sep/2002 11:00:29 [pbuf.c:2250] Sanity check failed (4) [Low memory?]
Segmentation fault
 
Note that I begin to surf at 11:00:06, when the first sanity check warning was output.
 
So I suppose my questions would be :
 
* are there any known incompatibilities between the ntop functionning and the alcatel usb modem (or generally any usb modem)?
* is this segfault in the pbuf.c a known error of this version or could it be related to the usb modem ?
* any suggestions ?
 
Thanks in advance !
 
bb
 
 

Reply via email to