On 2012/12/18 22:23, Axel Rau wrote: > Under load, I see: > --- > Program received signal SIGSEGV, Segmentation fault. > 0x07dd2fce in memcpy () from /usr/lib/libc.so.65.0 > (gdb) bt > #0 0x07dd2fce in memcpy () from /usr/lib/libc.so.65.0 > #1 0x1c0048a1 in queuePacket () > #2 0x06bc807d in pcap_read (p=0x835f9000, cnt=-1, callback=0x1c004820 > <queuePacket>, user=0x0) > at /usr/src/lib/libpcap/pcap-bpf.c:189 > #3 0x06bc69cd in pcap_dispatch (p=0x835f9000, cnt=-1, callback=0x1c004820 > <queuePacket>, user=0x0) > at /usr/src/lib/libpcap/pcap.c:59 > #4 0x1c003d79 in main () > --- > The problem disappears if built with > ./configure --disable-threads > > Axel > --- > PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius >
I would be all for removing ntop unless somebody would like to update it to a sane version. Packet capture and parsing code from 1999 with neither privilege revocation nor privilege separation does not entirely fill me with confidence. The newer versions were blocked for a long time due to uthreads however it would be worth trying again now with rthreads.
