Installation of the latest versions didnt go that well. I still ended up with: checking for inet_addr... yes checking for libpcap... configure: error: Unable to find matching library for header file in /usr
I have libpcap-dev installed. After this I tried the tcp-replay dev. version. I had to install some stuff before I could use the cmake but in the end it worked. After that I had to run make but then this happend: In file included from /home/user/tcpreplay-trunk/libopts/libopts.c:2:0: /home/user/tcpreplay-trunk/libopts/compat/compat.h:297:5: error: #error Cannot create a uint32_t type. compilation terminated due to -Wfatal-errors. make[2]: *** [libopts/CMakeFiles/opts.dir/libopts.c.o] Error 1 make[1]: *** [libopts/CMakeFiles/opts.dir/all] Error 2 make: *** [all] Error 2 I'm not a programmer, I'm sorry if I made any mistakes. On Mar 23, 2013, at 8:54 AM, Rawi Ramdhan wrote: > I will try to install the latest and greatest version. > > I have both libpcap headers installed, I've seen posts on the internet that > this was a bug. Hopefully the latest version does not have this issue. > > The machine is dedicated with one purpose , sending packets. Dual cpu > quadcore, 16 GB mem. File in ramdisk and 1 Gbit interfaces. > > > On Mar 23, 2013, at 5:56 AM, Aaron Turner wrote: > >> On Fri, Mar 22, 2013 at 3:49 PM, Rawi Ramdhan <rawi_ramd...@hotmail.com> >> wrote: >>> Thank you for your quick response: >>> >>> I run the 3.4.3-2 version. Installing the latest stable version didnt work. >>> >>> user@Sender:~$ svn co svn://svn.synfin.net/tcpreplay/branches/3.4 >>> tcpreplay-3.4 >>> svn: Can't connect to host 'svn.synfin.net': Connection refused >> >> Sorry about that. Restarted svnserve, so it should work now. >> >> >>> Downloading the tar.gz file and compiling from source didnt work: >>> checking for libpcap... configure: error: Unable to find matching library >>> for header file in /usr >> >> Seems like you've got something going on with libpcap. Make sure you >> have both the library and development headers installed. >> >>> The packets specified and the packets truly sent differ a lot. >>> >>> In the beginning: >>> Next transmit will be at 326 pps at 2013_03_21 00:01:09 >>> Actual: 97800 packets (5868000 bytes) sent in 305.52 seconds >>> Rated: 19206.6 bps, 0.15 Mbps, 320.11 pps >>> >>> After a while: >>> >>> Next transmit will be at 299800 pps at 2013_03_21 03:17:55 >>> Actual: 6826050 packets (409563000 bytes) sent in 138.54 seconds >>> Rated: 2956279.8 bps, 22.55 Mbps, 49271.33 pps >>> Statistics for network device: eth0 >>> Attempted packets: 6826050 >>> Successful packets: 6826050 >>> Failed packets: 0 >>> Retried packets (ENOBUFS): 0 >>> Retried packets (EAGAIN): 0 >>> >>> >>> I send the same ARP broadcast packets. >> >> >> Those numbers are way way off. Any chance you running this under >> VMware or something like that? >> >> >> -- >> Aaron Turner >> http://synfin.net/ Twitter: @synfinatic >> http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & >> Windows >> Those who would give up essential Liberty, to purchase a little temporary >> Safety, deserve neither Liberty nor Safety. >> -- Benjamin Franklin >> "carpe diem quam minimum credula postero" >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_mar >> _______________________________________________ >> Tcpreplay-users mailing list >> Tcpreplay-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > Tcpreplay-users mailing list > Tcpreplay-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support