Hi 

I think things are working now :-)

[EMAIL PROTECTED] libpcap-0.8.3]# ./pcount -i eth0
Capturing from eth0
Open RING [fd=3]
RING (eth0): tot_slots=8004/slot_len=131/insertIdx=0/remove_idx=0/dropped=0
RING: numPollCalls=10 [1.0 packets/call]
RING: [tot_pkts=10][tot_read=10][tot_lost=0]
=========================
Packet statistics
10 pkts rcvd/0 pkts dropped
Total Pkts=10/Dropped=0.0 %
=========================
10 pkts [1.0 pkt/sec] - 600 bytes [0.00 Mbit/sec]
=========================
[EMAIL PROTECTED] libpcap-0.8.3]#

Thanks anyway!

Martin

On Fri, 30 Jul 2004 19:25:55 +0100, malinko wrote
> Thanks,
> 
> With 'make menuconfig' found this:
> [*] Network packet filtering (replaces ipchains)  --->
>       IP: Netfilter Configuration  --->
>            <M> IP tables support (required for filtering/masq/NAT)
> 
> Is this what we are talking about ?
> 
> I have compiled the kernel now with this kernel configuration and 
> have compiled and installed libpcap with RING support.  I'm running 
> the ./pcount: [EMAIL PROTECTED] libpcap-0.8.3]# ./pcount Capturing from eth0
> =========================
> Packet statistics
> 2 pkts rcvd/0 pkts dropped
> Total Pkts=2/Dropped=0.0 %
> =========================
> 2 pkts [1.2 pkt/sec] - 120 bytes [0.00 Mbit/sec]
> =========================
> [EMAIL PROTECTED] libpcap-0.8.3]#
> 
> But is the system using the ring buffer ?
> 
> Martin
> 
> On Fri, 30 Jul 2004 09:22:36 -0700, Andrew Davis wrote
> > Socket filtering is in with the iptables packet filtering... look 
> > for "domain" and/or "unix" sockets.
> > 
> > AD
> > 
> > [EMAIL PROTECTED] wrote:
> > > Hi
> > > 
> > > I'm trying to compile kernel 2.6.5 with PF_RING and I'm following the README
> > > text from ring-2.3.tgz. 
> > > I have patched the kernel source with linux-2.6.5-ring-2.3.patch and RTIRQ.
> > > With make menuconfig I'm trying to enable:
> > >    - Enable RTIRQ (if you use it)
> > >    - Enable 'Code maturity level options' 
> > >              -> ' Prompt for development and/or incomplete code/drivers'
> > >    - Enable 'Networking options'
> > >        -> 'Socket Filtering'
> > >        -> 'PF_RING'
> > > 
> > > I can enable everything but 'Socket Filtering'. Where do find that ?
> > > 
> > > 
> > > In my .config file I havethese options with the word 'filter' - if it helps:
> > > [EMAIL PROTECTED] linux-2.6.5]# grep -ni filter .config
> > > 693:CONFIG_NETFILTER=y
> > > 694:# CONFIG_NETFILTER_DEBUG is not set
> > > 695:CONFIG_BRIDGE_NETFILTER=y
> > > 698:# IP: Netfilter Configuration
> > > 726:CONFIG_IP_NF_FILTER=m
> > > 750:CONFIG_IP_NF_ARPFILTER=m
> > > 756:# IPv6: Netfilter Configuration
> > > 773:CONFIG_IP6_NF_FILTER=m
> > > 779:# Bridge: Netfilter Configuration
> > > 783:CONFIG_BRIDGE_EBT_T_FILTER=m
> > > 990:CONFIG_PPP_FILTER=y
> > > 1149:CONFIG_BT_BNEP_MC_FILTER=y
> > > 1150:CONFIG_BT_BNEP_PROTO_FILTER=y
> > > [EMAIL PROTECTED] linux-2.6.5]#
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Ntop mailing list
> > > [EMAIL PROTECTED]
> > > http://listgateway.unipi.it/mailman/listinfo/ntop
> > > 
> > >
> > 
> > -- 
> >    Andrew Davis
> >    North County Computers
> >    http://www.nccomp.com
> > 
> >      Email:     [EMAIL PROTECTED]
> >      Local:     760-525-4689
> >      Toll Free: 877-735-4689
> > 
> >    <a href="http://www.nccomp.com";>North County Computers</a>
> > _______________________________________________
> > 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