Hi, Luca & Alfred I have downloaded PF_RING-5.6.1.tar.gz and run the test according to the README, UsersGuide.pdf and vPF_RING-UsersGuide.pdf.
When I run the test with vPF_RING, there is a segmentation fault shown as followed: ./pfcount -i host@eth0 Segmentation fault (core dumped) Then I use gdb to debug the core.dump generated by `./pfcount -i host:eth0', the error messages: Program terminated with signal 11, Segmentation fault. #0 0x00b2542f in strncpy () from /lib/libc.so.6 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6.i686 (gdb) bt #0 0x00b2542f in strncpy () from /lib/libc.so.6 #1 0x0807b79e in pfring_virtual_open () #2 0x0806bf0b in pfring_open (device_name=0x8e30050 "host:eth0", caplen=128, flags=265) at pfring.c:164 #3 0x0804e371 in main (argc=3, argv=0xbf8c3654) at pfcount.c:708 (gdb) As you see, the fault was caused by the function strncpy() in the function pfring_virtual_open(). Then I found that the function pfring_virtual_open() was defined in the file pfring_mod_virtual.o. Beacause there is no source file pfring_mod_virtual.c, I can not give the workaround. Look forward to your reply. Best regards, Jerry _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
