You'll need to include a lot more information than this.  I would also suggest
compiling a PCAP-enabled application (using PF_RING PCAP obviously) to ensure
there is nothing wrong with your 2.4.x kernel.  And if possible you may 
experience some benefits by upgrading to a 2.6 kernel.  But at the least be 
sure to have a working, known and trusted implementation first.

-brad


>  ?
hi ,
    I am  using kernel version 2.4.31.I compiled it with latest PF_RING 
obtained from   www.ntop.org
Then i did insmod ring.o.Every thing is fine till this point,but when i tried 
to call 
       int fd;
       fd = socket(PF_RING,SOCK_RAW,htons(ETH_P_ALL);

it gives me a segmentation fault.I checked the 'dmesg' with ksymoops.The 
problem seems  to be in call 'sock_init_data('.could anyone please help me out? 
My test program just creates a socket nothing else.My ethernet interface is up.
                     Thanking you,
                                     S.lakshmi narasimhan


> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

-- 
Brad Doctor, CISSP
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to