
deri at ntop
May 14, 2011, 12:43 AM
Post #2 of 4
(425 views)
Permalink
|
Archana we can support on PF_RING but not on non-PF_RING apps. Thus if you can boil down this problem to something we can do on the PF_RING size we would be willing to help you Luca On May 14, 2011, at 6:16 AM, Archana N wrote: > Hi, > > I configured justniffer application to be used with pf_ring. However, when I insert the kernel module and run the application, it gets killed: > > xen02:/home/archana/PF_RING-4.6.0/kernel# insmod pf_ring.ko > xen02:/home/archana/PF_RING-4.6.0/kernel# justniffer -i eth0 -l"%connection.time" > Killed > > But when I do: > xen02:/home/archana/PF_RING-4.6.0/kernel# rmmod pf_ring.ko > xen02:/home/archana/PF_RING-4.6.0/kernel# justniffer -i eth0 -l"%connection.time" > 0.000080 > > JUstniffer works well when the pf_ring module is not inserted. I did strace to find out the error. Below is the part of strace which shows the error: > uname({sys="Linux", node="xen02.das3.cs.vu.nl", ...}) = 0 > futex(0xb760da04, FUTEX_WAKE_PRIVATE, 2147483647) = 0 > brk(0) = 0x9af5000 > brk(0x9b16000) = 0x9b16000 > socket(0x1b /* PF_??? */, SOCK_RAW, 768) = 3 > setsockopt(3, SOL_IP, 0x6b /* IP_??? */, [16384], 4) = 0 > bind(3, {sa_family=0x1b /* AF_??? */, sa_data="eth0\0\0\2647x\267\20l\3\0"}, 16) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = -1 EINVAL (Invalid argument) > +++ killed by SIGKILL +++ > Killed > > > > Does anybody have any idea why this happens. > > Regards > Archana > _______________________________________________ > Ntop-misc mailing list > Ntop-misc [at] listgateway > http://listgateway.unipi.it/mailman/listinfo/ntop-misc --- Keep looking, don't settle - Steve Jobs _______________________________________________ Ntop-misc mailing list Ntop-misc [at] listgateway http://listgateway.unipi.it/mailman/listinfo/ntop-misc
|