Tom please update to the latest SVN revision and try with our pcount application (PF_RING/userland/example/):
./pcount -i eth0 -f <filter> let us know Alfredo On Nov 9, 2011, at 9:33 AM, Tom Carly wrote: > Hi, > > I have program that works fine with normal libpcap. When using the libpcap.a > compiled with pf_ring 5.0 support, I get this error: > > Warning: Kernel filter failed: Socket operation on non-socket > > It seems that the pcap_compile and pcap_setfilter functions are triggering > this error. I’m using simple bpf filters (e.g. ether[45] < 0x16 and > ether[23]==0) > > Any idea what can be the reason for this? > > Thanks, > > Tom > > > > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
