
Eric.Daras at nbb
Jun 15, 2004, 4:54 AM
Post #5 of 7
(724 views)
Permalink
|
I statically linked tcdpump but I have always the same problem... -- Eric Daras National Bank of Belgium Tel: + 32 (2) 221.49.74 > -----Original Message----- > From: Luca Deri [mailto:deri [at] ntop] > Sent: mardi 15 juin 2004 12:28 > To: ntop-misc [at] listgateway > Subject: Re: [Ntop-misc] Problem with PF_Ring 2.3 > > > Eric, > add --static to the flags you pass to the linker/gcc > > Luca > > Daras Eric wrote: > > >Dear Luca, > > > >Thx for you answer. Just one another question (for dummies) > : how can > >I have a statically linked tcpdump ? > > > >-- > > Eric Daras > > National Bank of Belgium > > > > Tel: + 32 (2) 221.49.74 > > > > > > > > > >>-----Original Message----- > >>From: Luca Deri [mailto:deri [at] ntop] > >>Sent: mardi 15 juin 2004 08:19 > >>To: ntop-misc [at] listgateway > >>Subject: Re: [Ntop-misc] Problem with PF_Ring 2.3 > >> > >> > >>Eric, > >>it means that your /usr/local/sbin/tcpdump has probably been linked > >>with the 2.3 version (version 4) but it probably uses a shared pcap > >>library so at runtime it loads the old version. Try to > >>statically link > >>tcpdump to make sure you're using the correct library. > >> > >>Cheers, Luca > >> > >>Daras Eric wrote: > >> > >> > >> > >>>Dear all, > >>> > >>>I 'm trying to use PF_RING for a tcpdump tracing box but I > >>> > >>> > >>always get > >> > >> > >>>this error : > >>> > >>>[root [at] idbpld0 root]# /usr/local/sbin/tcpdump -i eth2 -s 1500 -w > >>>/dev/null Open RING [fd=3] > >>>tcpdump: Wrong RING version: kernel is 4, libpcap was > compiled with 2 > >>> > >>>[root [at] idbpld0 root]# > >>> > >>>I compiled a new kernel (based on fedora core 2 kernel - > >>> > >>> > >>2.6.5), a new > >> > >> > >>>lipcap 0.8.1 and tcpdump 3.8.1 with PF_RING 2.3. What is > >>> > >>> > >>the problem ? > >> > >> > >>>What does "kernel is , libpcap.." mean ? > >>> > >>>Thx > >>> > >>>-- > >>>Eric Daras > >>>National Bank of Belgium > >>> > >>>Tel: + 32 (2) 221.49.74 > >>> > >>>----------------------------------------- > >>>Visit our website! http://www.nbb.be > >>> > >>>"DISCLAIMER: The content of this e-mail message should not > >>> > >>> > >>be construed > >> > >> > >>>as binding on the part of the National Bank of Belgium (NBB) unless > >>>otherwise and previously stated. The opinions expressed in > >>> > >>> > >>this message > >> > >> > >>>are solely those of the author and do not necessarily reflect NBB > >>>viewpoints, particularly when the content of this message, or part > >>>thereof, is private by nature or does not fall within the > >>> > >>> > >>professional > >> > >> > >>>scope of its author." > >>> > >>>_______________________________________________ > >>>Ntop-misc mailin > >>> > >>> > > >Ntop-misc [at] listgateway > > > > > >>>http://listgateway.unipi.it/mailman/listinfo/ntop-misc > >>> > >>> > >>> > >>> > >>-- > >>Luca Deri <deri [at] ntop> http://luca.ntop.org/ > >>Hacker: someone who loves to program and enjoys being > >>clever about it - Richard Stallman > >> > >>_______________________________________________ > >>Ntop-misc mailing list > >>Ntop-misc [at] listgateway > >>http://listgateway.unipi.it/mailman/listinfo/n> top-misc > >> > >> > >> > > > >----------------------------------------- > >Visit our website! http://www.nbb.be > > > >"DISCLAIMER: The content of this e-mail message should not > be construed > >as binding on the part of the National Bank of Belgium (NBB) unless > >otherwise and previously stated. The opinions expressed in > this message > >are solely those of the author and do not necessarily reflect NBB > >viewpoints, particularly when the content of this message, or part > >thereof, is private by nature or does not fall within the > professional > >scope of its author." > > > >_______________________________________________ > >Ntop-misc mailing list > >Ntop-misc [at] listgateway > >http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > > > -- > Luca Deri <deri [at] ntop> http://luca.ntop.org/ > Hacker: someone who loves to program and enjoys being > clever about it - Richard Stallman > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc [at] listgateway > http://listgateway.unipi.it/mailman/listinfo/n> top-misc > ----------------------------------------- Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author."
|