Is it safe to say that these tool simply cannot work with PF_RING? Is libpcap required for tools to work with PF_RING?
I know of no other options to pass to make or configure. On Thu, Oct 13, 2011 at 9:46 AM, Luca Deri <[email protected]> wrote: > Jon > it looks like iptraf is not using libpcap nor pf_ring and thus this should > be the cause of your problems > > The same applies to the other tools you mentioned. > > Luca > > On Oct 13, 2011, at 3:27 PM, Jon Schipp wrote: > > Hello Luca, > > * I use transparent mode 2, quick mode 0 * > > I've been doing "make CPPFLAGS="-I/usr/local/include" > LDFLAGS="L/usr/local/lib -lpring -lpcap -lpthread" or passing the CPPFLAGS > and LDFLAGS values to configure for all my other apps without problems. FYI: > it's something I grabbed from the web. > > When I apply it to IPTraf, it compiles successfully, but when I do "ldd > /usr/local/bin/iptraf" none of the libraries I added with make/configure are > used: pfring, pcap, pthread. > > When I launch IPTraf, there isn't a resulting /proc/net/pf_ring file, so I > know it's not using PF_RING. > > Since iptraf does not use libpcap, I removed it from my make command above > along with lpthread (is threading support?) and the same thing is > happening. > > The INSTALL file in the iptraf directory says you can do the normal, "make > && make install" to get it working. > There's no configure script in the directory. > > Another thing I was wondering about is on interface bandwidth measuring > tools like slurm, ifstat, bmon, and bwm-ng, I can get them all to compile > with PF_RING and if I use ldd for each tool, it shows the pfring library, > but none of them will see any data. They don't show up in /proc/net/pf_ring. > IPTraf has an interface throughput statistic feature as well, I don't know > if that has anything to do with it. > > Thanks > > On Thu, Oct 13, 2011 at 5:15 AM, Luca Deri <[email protected]> wrote: > >> Jon >> can you please describe the exact problem you experienced? >> >> Luca >> >> On Oct 12, 2011, at 4:10 PM, Jon Schipp wrote: >> >> Update: >> I do have Trashow working with PF_RING, though, I can't get IPTraf to work >> with it. >> >> On Mon, Oct 10, 2011 at 10:18 PM, Jon Schipp <[email protected]> wrote: >> >>> I was just wondering if anyone has gotten IPTraf or Trafshow to compile >>> with the pf_ring libs. >>> These are two apps that I haven't been able to get working. They don't >>> use libpcap, so I'm not sure if it's possible >>> If it's possible and anyone has, could you share your compilation >>> options? >>> >>> http://iptraf.seul.org/ >>> http://soft.risp.ru/trafshow/index_en.shtml >>> >>> Thanks >>> -- >>> - Jon >>> -- >>> ------------------------------------------------------------------ >>> >>> VMB: 812-682-0231 >>> >>> Dubois County Linux User Group - http://www.dclinux.org >>> Southern Indiana Computer Klub - http://sickbits.networklabs.org >>> Bloomington FOOLS - http://www.bloomingtonfools.org/ >>> BloomingLabs - http://www.bloominglabs.org >>> ISSA-Kentuckiana - http://issa-kentuckiana.org >>> >>> GPG Key ID: 810903CB >>> Key fingerprint = 0069 ED69 EABB DF84 5983 AD3C 6C20 BEFD 8109 03CB >>> >>> >> >> >> -- >> - Jon >> -- >> ------------------------------------------------------------------ >> >> VMB: 812-682-0231 >> >> Dubois County Linux User Group - http://www.dclinux.org >> Southern Indiana Computer Klub - http://sickbits.networklabs.org >> Bloomington FOOLS - http://www.bloomingtonfools.org/ >> BloomingLabs - http://www.bloominglabs.org >> ISSA-Kentuckiana - http://issa-kentuckiana.org >> >> GPG Key ID: 810903CB >> Key fingerprint = 0069 ED69 EABB DF84 5983 AD3C 6C20 BEFD 8109 03CB >> >> _______________________________________________ >> 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 >> >> > > > -- > - Jon > -- > ------------------------------------------------------------------ > > VMB: 812-682-0231 > > Dubois County Linux User Group - http://www.dclinux.org > Southern Indiana Computer Klub - http://sickbits.networklabs.org > Bloomington FOOLS - http://www.bloomingtonfools.org/ > BloomingLabs - http://www.bloominglabs.org > ISSA-Kentuckiana - http://issa-kentuckiana.org > > GPG Key ID: 810903CB > Key fingerprint = 0069 ED69 EABB DF84 5983 AD3C 6C20 BEFD 8109 03CB > > _______________________________________________ > 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 > > -- - Jon -- ------------------------------------------------------------------ VMB: 812-682-0231 Dubois County Linux User Group - http://www.dclinux.org Southern Indiana Computer Klub - http://sickbits.networklabs.org Bloomington FOOLS - http://www.bloomingtonfools.org/ BloomingLabs - http://www.bloominglabs.org ISSA-Kentuckiana - http://issa-kentuckiana.org GPG Key ID: 810903CB Key fingerprint = 0069 ED69 EABB DF84 5983 AD3C 6C20 BEFD 8109 03CB
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
