Under /proc/net/pf_ring I can see

dev
info
plugins_info

When I cat info,

PF_RING Version     : 4.4.0 ($Revision: 4362$)
Ring slots          : 4096
Slot version        : 12
Capture TX          : Yes [RX+TX]
IP Defragment       : No
Transparent mode    : Yes
Total rings         : 0
Total plugins       : 0

I tried running nprobe again, but cat info doesn't change..

Ed



On Tue, Oct 12, 2010 at 8:53 AM, Yuri Francalacci <[email protected]> wrote:

> Search under /proc/net/pf_ring folder
> Yuri
>
> Sent from my iPhone
>
>
> Il giorno 12/ott/2010, alle ore 00:48, Ed Nabeshin <[email protected]> ha
> scritto:
>
> Thank you for the replies
>
> Yes I am using the e1000e-1.0.15 driver that comes with the pf_ring codes.
>
> # ethtool -g eth6
> Ring parameters for eth6:
> Pre-set maximums:
> RX:             4096
> RX Mini:        0
> RX Jumbo:       0
> TX:             4096
> Current hardware settings:
> RX:             256
> RX Mini:        0
> RX Jumbo:       0
> TX:             256
>
> I was using nprobe v4.0 to test pf_ring. The only thing I did different to
> compile nprobe was adding "-lpfring" to the library flags.
>
> I tried changing transparency mode when loading the module but I am still
> getting the same result.
> Under /proc/filesystems I did not see pf_ring anywhere...
> But "lsmod" shows pf_ring is used by 2 (processes?) when I turn on nprobe
> on the interface that has the modified driver.
>
> Here is a tail of /var/log/messages
>
> [PF_RING] Welcome to PF_RING 4.4.0 ($Revision: 4362$)
> (C) 2004-10 L.Deri < <[email protected]>[email protected]>
> [PF_RING] registered /proc/net/pf_ring/
> NET: Registered protocol family 27
> [PF_RING] Ring slots       4096
> [PF_RING] Slot version     12
> [PF_RING] Capture TX       Yes [RX+TX]
> [PF_RING] Transparent Mode 0
> [PF_RING] IP Defragment    No
> [PF_RING] Initialized correctly
> device eth6 entered promiscuous mode
>
> Any suggestions is much appreciated.
>
> Ed
>
>
> On Mon, Oct 11, 2010 at 8:58 PM, Luca Deri < 
> <[email protected]>[email protected]>wrote:
>
>> Ed
>> Are you using a pf_ring-aware driver as those in the drivers/ directory ?
>> What is your application about?
>>
>> Cheers Luca
>>
>> ---
>> Luca Deri < <[email protected]>[email protected]>
>>
>> Il giorno 11/ott/2010, alle ore 08.47, Yuri Francalacci < <[email protected]>
>> [email protected]> ha scritto:
>>
>> You may have to play with the transparent_mode value while loading the
>> module.
>> furthermore check under the proc filesystem if the program using pf_ring
>> is correctly registered on pf_ring
>> Yuri
>> On Oct 11, 2010, at 6:32 AM, Ed Nabeshin wrote:
>>
>> Hi,
>>
>> I hope this post is in the right spot. Please let me know otherwise.
>> I have been trying to get PF_RING working in CentOS 5.2
>> This is the instructions I followed:
>>
>>
>> <http://gunjan-bansal.blogspot.com/2010/06/installation-guide-for-pfring.html><http://gunjan-bansal.blogspot.com/2010/06/installation-guide-for-pfring.html>
>> http://gunjan-bansal.blogspot.com/2010/06/installation-guide-for-pfring.html
>>
>> Afterwards, I re-compiled nprobe and run it.
>> However, I did not see PF_RING related messages in /var/log/messages
>> It just say "device eth6 entered promiscuous mode" when I turn on nprobe.
>>
>> From looking at other sites, it seems that there should be a message that
>> looks like "RING: succesfully allocated 1024 KB".
>> There seems to be no change in performance either. The number of dropped
>> packets are about the same compared to before installing PF_RING.
>>
>> Are the instructions from the link above correct?
>> If so, any suggestions on where to start looking for where the problem
>> lies is much appreciated.
>>
>> Thank you for your time.
>>
>> Ed
>> _______________________________________________
>> Ntop mailing list
>> <[email protected]> <[email protected]>
>> [email protected]
>>  <http://listgateway.unipi.it/mailman/listinfo/ntop>
>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>
>>
>> _______________________________________________
>> Ntop mailing list
>> <[email protected]>[email protected]
>> <http://listgateway.unipi.it/mailman/listinfo/ntop>
>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>
>>
>> _______________________________________________
>> Ntop mailing list
>>  <[email protected]>[email protected]
>>  <http://listgateway.unipi.it/mailman/listinfo/ntop>
>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>
>>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to