Configure Error Libpcap Not Found Tcpreplay
Contents |
clean. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose
Tcpreplay Pcap
"Copy Link", then paste here → (This may not be compile tcpreplay possible with some types of ads) More information about our ad policies X You seem checking for libpcap... no to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly
Tcpreplay Install Linux
describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse tcpreplay Mailing Lists tcpreplay edit and replay captured network traffic Brought to you by: aturner, fklassen Summary Files Reviews Support
Tcpreplay Example Pcap
Wiki Mailing Lists External Link ▾ Donate Browse SVN tcpreplay-devel tcpreplay-users Re: [Tcpreplay-users] libpcap not found Re: [Tcpreplay-users] libpcap not found From: Cummings, Charles
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more wireshark replay about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask
Libpcap-dev
Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Cannot install tcpreplay 3.4.4 up vote 2 down vote favorite I'm trying to install https://sourceforge.net/p/tcpreplay/mailman/message/28510486/ Tcpreplay 3.4.4 on my server that is running RHEL 5.6 and has libpcap1.1.1 installed. When I ran "./configure", it stopped at checking for libpcap... /usr/local checking for library containing pcap_close... no configure: error: Unable to link libpcap in /usr/local How to I resolve this? Thank you! installation share|improve this question asked Oct 12 '11 at 7:53 Rayne 2611620 add a comment| 3 Answers 3 active oldest votes up vote 4 down vote Install libnl-devel. There is a hard http://superuser.com/questions/345624/cannot-install-tcpreplay-3-4-4 coded requirement for libnl in the configure file that throws: checking for libpcap... /usr/local checking for library containing pcap_close... no configure: error: Unable to link libpcap in /usr/local Or in my case: checking for libpcap... /usr checking for library containing pcap_close... no configure: error: Unable to link libpcap in /usr share|improve this answer edited Sep 23 '12 at 19:15 Indrek 17.3k116176 answered Sep 5 '12 at 23:46 Karl 412 libnl-1_1-devel on OpenSUSE 12.3 64-bit –L.R. Sep 12 '13 at 5:11 add a comment| up vote 1 down vote Had this issue myself, not on RHEL but on a white box derivative of it, but just worked out a way around it: The problem was an earlier version of libpcap bundled with tcpdump. Do: tcpdump -h And you might see something like: tcpdump version 3.xxx libpcap version 0.9.xxx Which would prove whether that is your issue or not. I guess you downloaded and compiled libpcap1.1.1, so take that back out first: cd libpcap-1.1.1 make uninstall Next take out your existing tcpdump using whatever your package tool is, eg.: yum remove tcpdump rpm -e tcpdump Now put your new libpcap back cd libpcap-1.1.1 ./configure make make install You probably want to get a new tcpdump, so download and untar tcpdump-4.1.1.tar.gz and compile it... tar -zxvf tcpdump-4.1.1.tar.gz cd tcpdump-4.1.1 ./configure make make install Hope that fixes it for you! And finally, go ahead and
manual, tcpreplay, tcpliveplay, tcpprep, tcprewrite, tcpbridge, tcpcapinfo, flowreplay, commonargs, usage, FAQ)? About These wiki pages attempt to document the latest version (currently 3.2.5) of the Tcpreplay suite of tools. Because Tcpreplay changes http://tcpreplay.synfin.net/wiki/manual over time, so must this document. As you might imagine, sometimes the code and these wiki pages get out of sync. For the definative source of configuration http://marc.info/?l=tcpreplay-users&m=132330364008384 options, please see the man pages included with Tcpreplay. Throughout this manual, I use the long formatted options (--long-opt) rather then the short option (-l). Both get configure error the job done, but long options are often clearer and easier to read. The man pages? list both option formats side-by-side for your reference. Important! If you have a 1.x or 2.x version of code, then this manual is completely inaccurate and will only confuse you. In such cases, please see the documentation which came configure error libpcap with the source code or your binary package. Overview Tcpreplay is a suite of utilities for UNIX systems for editing and replaying network traffic which was previously captured by tools like tcpdump and ethereal/wireshark. The goal of tcpreplay is to provide the means for providing reliable and repeatible means for testing a variety of network devices such as switches, router, firewalls, network intrusion detection and prevention systems (IDS and IPS). Tcpreplay provides the ability to classify traffic as client or server, edit packets at layers 2-4 and replay the traffic at arbitrary speeds onto a network for sniffing or through a device. Some of the advantages of using tcpreplay over using exploit code are: Since tcpreplay emulates the victim and the attacker, you generally only need a tcpreplay box and the device under test (DUT) Tests can include background traffic of entire networks without the cost and effort of setting up dozens of hosts or costly emulators No need to have a "v
() exnjmb91 ! nam ! nsroot ! net [Download message RAW] I followed the helpful suggestion below from Jens Kuehnel and installed \ libpcap-devel. Error when I run configure now is "Unable to find matching library \ for header file in /usr". The files from the package were installed as follows - rpm -ql libpcap-devel /usr/include/pcap-bpf.h /usr/include/pcap-namedb.h /usr/include/pcap.h /usr/lib/libpcap.so /usr/share/man/man3/pcap.3.gz I tried using option "-with-libpcap=/usr", "with-libpcap=/usr/lib" and \ "with-libpcap=/usr/include", setting LD_LIBRARY_PATH to include /usr/lib, all to no \ avail. As before, any suggestions greatly appreciated. One difference - this was done with Fedora release 9 (Sulphur), my personal Linux \ workstation where I can install packages as root. Until I installed libpcap-devel I \ was getting the same error on this machine as previously reported. Thanks, Charles Hi Charles, you want to compile (aka. develop) a software that use libpcap. Therefor you need to install libpcap-devel. Greeting Jens _____________________________________________ From: Cummings, Charles [ICG-IT] Sent: Wednesday, December 07, 2011 12:07 PM To: 'tcpreplay-users@lists.sourceforge.net' Subject: libpcap not found Hi - I am unable to get configure to recognize libpcap. Here are the details: * Version of tcpreplay: tcpreplay-3.4.4 * Which compiler and version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46) * libpcap location/version: /usr/lib/libpcap.so.0.9.4 * Red Hat Enterprise Linux Server release 5.4 (Tikanga) (NOTE - am upgrading to \ recommended 6.1 or above) * ./configure arguments: ./configure --with-libpcap=/usr/lib * Contents of config.log: configure:17342: checking for libpcap configure:17380: result: no configure:17382: error: libpcap not found * Output from 'make': N/A * Any additional information you think that would be useful. I created sym link libpcap.so->/usr/lib/libpcap.so.0.9.4 but results were same. It \ looks like libpcap RPM is installed - rpm -q libpcap libpcap-0.9.4-14.el5 Any suggestions welcome! Thanks, Charles [Attachment #3 (text/html)]