cvs-commit | 5 Apr 00:07 2006

New ntop commit (author deri)

Update of /export/home/ntop/PF_RING/kernel/net/ring
In directory unknown:/tmp/cvs-serv16322

Modified Files:
	ring_packet.c 
Log Message:
Added patch for removing the dev_ioctl undefined symbol on the latest Linux
kernels.
Aragon Gouveia | 6 Apr 17:37 2006
Picon

ntop 3.2 crashing

Hi,

I'm running Ntop 3.2 on FreeBSD 5.4.  It seems to run ok until the moment I
access the web interface.  The page loads but Ntop segfaults straight after
the load.  I've attached the debug output below.

Anyone know what is going wrong?

Thanks,
Aragon

# /usr/local/bin/ntop -i rl0 -s -u nobody -w 192.168.5.1:3000 -W 0 -t 5 -K
Thu Apr  6 17:34:20 2006  NOTE: Interface merge enabled by default
Thu Apr  6 17:34:21 2006 [MSGID8469382] Initializing gdbm databases
Thu Apr  6 17:34:21 2006 [MSGID0234024] Opening database '/var/db/ntop/prefsCache.db'
Thu Apr  6 17:34:21 2006 [MSGID0234024] Opening database '/var/db/ntop/ntop_pw.db'
Thu Apr  6 17:34:21 2006 [MSGID9125804] NOTE: Reading preferences file entries
Thu Apr  6 17:34:21 2006 [MSGID9325092] NOTE: Processing parameters (pass2)
Thu Apr  6 17:34:21 2006 [MSGID0271127] **WARNING** -s set so will ATTEMPT to open interface w/o promisc
mode (this will probably fail below)
Thu Apr  6 17:34:21 2006 [MSGID0084835] ntop v.3.2 SourceForge .tgz
Thu Apr  6 17:34:21 2006 [MSGID8997049] Configured on Apr  6 2006 16:12:48, built on Apr  6 2006 16:17:44.
Thu Apr  6 17:34:21 2006 [MSGID0836899] Copyright 1998-2005 by Luca Deri <deri <at> ntop.org>
Thu Apr  6 17:34:21 2006 [MSGID0260707] Get the freshest ntop from http://www.ntop.org/
Thu Apr  6 17:34:21 2006 [MSGID0188699] NOTE: ntop is running from '/usr/local/bin'
Thu Apr  6 17:34:21 2006 [MSGID0846483] NOTE: (but see warning on man page for the --instance parameter)
Thu Apr  6 17:34:21 2006 [MSGID8694107] NOTE: ntop libraries are in '/usr/local/lib'
Thu Apr  6 17:34:21 2006 [MSGID0230749] Initializing ntop
Thu Apr  6 17:34:21 2006 [MSGID9325128] Initializing IP services
Thu Apr  6 17:34:21 2006 [MSGID8679944] Initializing network devices
(Continue reading)

Freamer | 6 Apr 17:59 2006
Picon

Re: ntop 3.2 crashing



2006/4/6, Aragon Gouveia <aragon <at> phat.za.net>:
Hi,

I'm running Ntop 3.2 on FreeBSD 5.4.  It seems to run ok until the moment I
access the web interface.  The page loads but Ntop segfaults straight after
the load.  I've attached the debug output below.

Anyone know what is going wrong?
 
Hello,
Got the same problem , its smthing wrong with rrd graph args as said in my debug logs
Ntop only crashes when i enter specific page
I mailed debug logs to this list , but nothing is fixed ... and even no reaction...
 

_______________________________________________
Ntop-dev mailing list
Ntop-dev <at> unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
Freamer | 6 Apr 18:03 2006
Picon

Re: ntop 3.2 crashing

Here's my log , i think we got the same problem
 
Program received signal SIGSEGV, Segmentation fault.
0x295e7de9 in rrd_graph (argc=35, argv=0xbfaa7a1c, prdata=0x29b9df04, xsize=0xbfa9a748, ysize=0xbfa9a74c) at rrd_graph.c:2862
2862    }
(gdb) bt full
#0  0x295e7de9 in rrd_graph (argc=35, argv=0xbfaa7a1c, prdata=0x29b9df04, xsize=0xbfa9a748, ysize=0xbfa9a74c) at rrd_graph.c:2862
        xsize = (int *) 0x23
        ysize = (int *) 0x23
        im = Error accessing memory address 0xbfa99f1c: Bad address.
(gdb) list
2857            output[outp++] = input[inp];
2858          }
2859        }
2860        output[outp] = '\0';
2861        return inp;
2862    }
2863
2864    int
2865    rrd_graph(int argc, char **argv, char ***prdata, int *xsize, int *ysize)
2866    {
(gdb) info thread
  10 process 71027, thread 10  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  9 process 71027, thread 9  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  8 process 71027, thread 8  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  7 process 71027, thread 7  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  6 process 71027, thread 6  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  5 process 71027, thread 5  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  4 process 71027, thread 4  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  3 process 71027, thread 3  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
  2 process 71027, thread 2  0x2996eef3 in _thread_kern_sched () from /usr/lib/libc_r.so.4
* 1 process 71027, thread 1  0x295e7de9 in rrd_graph (argc=35, argv=0xbfaa7a1c, prdata=0x29b9df04, xsize=0xbfa9a748,
_______________________________________________
Ntop-dev mailing list
Ntop-dev <at> unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
Thomas Kiellerup | 6 Apr 22:05 2006

Problem with NTOP - queue is full [4096 slots]

Hi,
 
I have some troubles with my ntop, because it often crashes. This can be after some minutes or hours. Then I have to zap it, to stop it because it says that the program is already running, but when I visit the site:3000, it returns an error saying that the page does not exist. When I then zap it, and start it again everything is fine until next crash. When I try to stop it instead of zap it, it just returns [!!].
 
It delivers this, in the messages log file:
 
ntop[7315]:   **WARNING** Address resolution queue is full [4096 slots]
ntop[7315]:   Addresses in excess won't be resolved - ntop continues
I have tried posting it on the mailing list, but no solution was found. Do you know what my problem may be? Don't know if it is usefull to know that I don't have a internal DNS, only external.
 
I am very new to linux, so be gentle ;-)
 
And thanks for a great program in NTOP, its very usefull.
 
Cheers from Thomas
_______________________________________________
Ntop-dev mailing list
Ntop-dev <at> unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
cvs-commit | 7 Apr 13:52 2006

New ntop commit (author deri)

Update of /export/home/ntop/PF_RING
In directory unknown:/tmp/cvs-serv21479

Modified Files:
	mkpatch.sh 
Log Message:
Script fixes courtesy of allan_kerr <at> agilent.com

* Change grep regex for patch 2 against netif_rx. Kernel 2.6.16-r1 (and maybe earlier) contains a
netif_rx_n() routine which was being patched. New regex correctly patches netif_rx(). This would only
effect non-NAPI users.

* Change 'mv $KERNEL/* .' to 'mv $KERNEL/* $KERNEL/.[^.]* .' to also move any dot files in kernel source
tree. Necessary to reduce patch file size if using archive of user's current /usr/src/linux which will
contain dot files.

* Change 'tail -1' to 'tail -n 1' to remove legacy warnings
cvs-commit | 7 Apr 14:10 2006

New ntop commit (author deri)

Update of /export/home/ntop/PF_RING/kernel/include/linux
In directory unknown:/tmp/cvs-serv21544/kernel/include/linux

Modified Files:
	ring.h 
Log Message:
Added fixes for linux kernel 2.6.16.X
cvs-commit | 7 Apr 14:10 2006

New ntop commit (author deri)

Update of /export/home/ntop/PF_RING/kernel/net/ring
In directory unknown:/tmp/cvs-serv21544/kernel/net/ring

Modified Files:
	ring_packet.c 
Log Message:
Added fixes for linux kernel 2.6.16.X
Georger Araujo | 10 Apr 13:03 2006
Picon

Re: New ntop commit (author deri)

Hi Luca,
first of all, thanks for your hard work on ntop. It's
much appreciated.
Upon closer inspection of database.c, I noticed that
we insert rows into two tables, FLOWS and SESSIONS,
but NetFlow/ntop_flows.sql only creates FLOWS. Could
you commit the full SQL script to CVS? Regards,

Georger

--- cvs-commit <at> ntop.org escreveu:

> Update of /export/home/ntop/ntop
> In directory unknown:/tmp/cvs-serv6037
> 
> Modified Files:
> 	database.c globals-structtypes.h util.c 
> Log Message:
> Added database support even to NetFlow: now flows
> are saved on MySQL.

	

	
		
_______________________________________________________ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 
Luca Deri | 10 Apr 13:11 2006

Re: New ntop commit (author deri)

Georger,
I'm working at it. I will commit the code soon, stay tuned.

Cheers, Luca

Georger Araujo wrote:

>Hi Luca,
>first of all, thanks for your hard work on ntop. It's
>much appreciated.
>Upon closer inspection of database.c, I noticed that
>we insert rows into two tables, FLOWS and SESSIONS,
>but NetFlow/ntop_flows.sql only creates FLOWS. Could
>you commit the full SQL script to CVS? Regards,
>
>Georger
>
>--- cvs-commit <at> ntop.org escreveu:
>
>  
>
>>Update of /export/home/ntop/ntop
>>In directory unknown:/tmp/cvs-serv6037
>>
>>Modified Files:
>>	database.c globals-structtypes.h util.c 
>>Log Message:
>>Added database support even to NetFlow: now flows
>>are saved on MySQL.
>>    
>>
>
>
>	
>
>
>
>	
>		
>_______________________________________________________ 
>Yahoo! doce lar. Faça do Yahoo! sua homepage. 
>http://br.yahoo.com/homepageset.html 
>
>_______________________________________________
>Ntop-dev mailing list
>Ntop-dev <at> unipi.it
>http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>  
>

--

-- 
Luca Deri <deri <at> ntop.org>	http://luca.ntop.org/
                                skype://lucaderi/
Don't be encumbered by past history. Go off and do
something wonderful - Robert Noyce

Gmane