debian/0000755000000000000000000000000011757465124007202 5ustar debian/iperf.install0000644000000000000000000000013411224347475011672 0ustar doc/dast.gif usr/share/doc/iperf/html doc/*.html usr/share/doc/iperf/html src/iperf usr/bin debian/copyright0000644000000000000000000000614511224347475011140 0ustar This package was debianized by Roberto Lumbreras on Thu, 27 Mar 2003 22:50:46 +0100. It was downloaded from https://sourceforge.net/projects/iperf/ Copyright: Distributed Applications Support Team Iperf Copyright _________________________________________________________________ Copyright (c) 1999,2000,2001,2002,2003,2004,2005 The Board of Trustees of the University of Illinois All Rights Reserved. [1]Iperf performance test Mark Gates Ajay Tirumala Jim Ferguson Jon Dugan Feng Qin Kevin Gibbs John Estabrook National Laboratory for Applied Network Research National Center for Supercomputing Applications University of Illinois at Urbana-Champaign [2]http://www.ncsa.uiuc.edu Permission is hereby granted, free of charge, to any person obtaining a copy of this software (Iperf) and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. * Neither the names of the University of Illinois, NCSA, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. _________________________________________________________________ [3]dast@nlanr.net Last modified: Jan 5, 2004 [4]NLANR || [5]applications support || [6]engineering support || [7]measurement and operations References 1. http://dast.nlanr.net/Projects/Iperf 2. http://www.ncsa.uiuc.edu/ 3. mailto:dast@nlanr.net 4. http://www.nlanr.net/ 5. http://dast.nlanr.net/ 6. http://ncne.nlanr.net/ 7. http://moat.nlanr.net/ debian/iperf.manpages0000644000000000000000000000001411224347475012014 0ustar man/iperf.1 debian/watch0000644000000000000000000000012711224347475010230 0ustar version=3 http://sf.net/iperf/iperf-?_?([\w+\d+\.]+|\d+)(?:\.tar|\.tgz)(?:\.gz|\.bz2|) debian/iperf.docs0000644000000000000000000000000711224347475011153 0ustar README debian/doit.copyright0000644000000000000000000000050411224347475012067 0ustar #!/bin/bash echo -n > debian/copyright cat << END_OF_FILE >> debian/copyright This package was debianized by Roberto Lumbreras on Thu, 27 Mar 2003 22:50:46 +0100. It was downloaded from https://sourceforge.net/projects/iperf/ Copyright: END_OF_FILE lynx -dump doc/ui_license.html >> debian/copyright debian/iperf.doc-base0000644000000000000000000000041311224347475011701 0ustar Document: iperf Title: iperf Manual Author: The Board of Trustees of the University of Illinois Abstract: Internet bandwidth measuring tool Section: Network/Monitoring Format: HTML Index: /usr/share/doc/iperf/html/index.html Files: /usr/share/doc/iperf/html/*.html debian/patches/0000755000000000000000000000000011757464523010633 5ustar debian/patches/008-numofreport.patch0000644000000000000000000000065411224345274014534 0ustar # by Kirby Zhou < kirbyzhou \x40 sohu-rd.com > # increase the queue length to avoid thread racing --- iperf-2.0.4.orig/include/Reporter.h 2008-04-08 04:37:54.000000000 +0200 +++ iperf-2.0.4/include/Reporter.h 2009-07-06 11:53:58.700541554 +0200 @@ -61,7 +61,7 @@ struct server_hdr; #include "Settings.hpp" -#define NUM_REPORT_STRUCTS 700 +#define NUM_REPORT_STRUCTS 5700 #define NUM_MULTI_SLOTS 5 #ifdef __cplusplus debian/patches/001-cast-to-max_size_t-instead-of-int.patch0000644000000000000000000000175611503471705020501 0ustar Description: iperf does not handle right large time values Reported by Eugene Butan When I invoke 'iperf' with '-t 100000000' argument from an ordinary shell prompt it immediately exits displaying incorrect bandwidth. If I supply smaller time value, iperf works as expected. Author: Roberto Lumbreras Bug-Debian: http://bugs.debian.org/346099 Forwarded: https://sourceforge.net/tracker/index.php?func=detail&aid=3140391&group_id=128336&atid=711371 --- iperf-2.0.4.orig/src/Settings.cpp.orig 2008-04-08 04:37:54.000000000 +0200 +++ iperf-2.0.4/src/Settings.cpp 2008-05-07 17:41:03.923942801 +0200 @@ -458,7 +458,7 @@ case 't': // seconds to write for // time mode (instead of amount mode) setModeTime( mExtSettings ); - mExtSettings->mAmount = (int) (atof( optarg ) * 100.0); + mExtSettings->mAmount = (max_size_t) (atof( optarg ) * 100.0); break; case 'u': // UDP instead of TCP debian/patches/009-delayloop.patch0000644000000000000000000000122711224345750014141 0ustar # by Kirby Zhou < kirbyzhou \x40 sohu-rd.com > # using sched_yield to schedule other threads, so multiple iperf can run simultaneously # using usleep with delay-loop between 2 package is long than 1.25ms. --- iperf-2.0.4-4/compat/delay.cpp 2009-07-06 12:02:24.166276642 +0200 +++ iperf-2.0.4/compat/delay.cpp 2009-07-06 12:01:33.858384005 +0200 @@ -69,6 +69,13 @@ void delay_loop( unsigned long usec ) { Timestamp now; while ( now.before( end ) ) { + long diff = end.subUsec(now); + if (diff >= 1250) { + usleep(0); + } + if (diff >= 2) { + sched_yield(); + } now.setnow(); } } debian/patches/007-iperf-reporter-deadlock.patch0000644000000000000000000000535411503473732016667 0ustar Description: deadlock with multiple clients 000-Iperf_Fix-CPU-Usage.diff contains a bug can cause iperf deadlock while it acting as server with multiple clients. For example, in the code below, Condition_Wait is incorrectly used without a Condition_Lock. @@ -396,11 +390,8 @@ void EndReport( ReportHeader *agent ) { if ( agent != NULL ) { int index = agent->reporterindex; - if (threadSleeping) - Condition_Signal( &ReportCond ); - while ( index != -1 ) { - thread_rest(); + Condition_Wait( &ReportDoneCond ); index = agent->reporterindex; } agent->agentindex = -1; . Original patch for iperf 2.0.4 modified by Roberto Lumbreras for new upstream version 2.0.5. Author: Kirby Zhou Bug-Debian: http://bugs.debian.org/533592 --- a/include/Condition.h 2010-12-19 21:00:13.859169268 +0100 +++ b/include/Condition.h 2010-12-19 21:03:26.875321888 +0100 @@ -115,6 +115,11 @@ // sleep this thread, waiting for condition signal #if defined( HAVE_POSIX_THREAD ) #define Condition_Wait( Cond ) pthread_cond_wait( &(Cond)->mCondition, &(Cond)->mMutex ) + #define Condition_Wait_Event( Cond ) do { \ + Mutex_Lock( &(Cond)->mMutex ); \ + pthread_cond_wait( &(Cond)->mCondition, &(Cond)->mMutex ); \ + Mutex_Unlock( &(Cond)->mMutex ); \ + } while ( 0 ) #elif defined( HAVE_WIN32_THREAD ) // atomically release mutex and wait on condition, // then re-acquire the mutex @@ -122,6 +127,10 @@ SignalObjectAndWait( (Cond)->mMutex, (Cond)->mCondition, INFINITE, false ); \ Mutex_Lock( &(Cond)->mMutex ); \ } while ( 0 ) + #define Condition_Wait_Event( Cond ) do { \ + Mutex_Lock( &(Cond)->mMutex ); \ + SignalObjectAndWait( (Cond)->mMutex, (Cond)->mCondition, INFINITE, false ); \ + } while ( 0 ) #else #define Condition_Wait( Cond ) #endif --- a/src/Reporter.c 2010-03-31 01:08:24.000000000 +0200 +++ b/src/Reporter.c 2010-12-19 21:04:41.388496478 +0100 @@ -339,7 +339,7 @@ // item while ( index == 0 ) { Condition_Signal( &ReportCond ); - Condition_Wait( &ReportDoneCond ); + Condition_Wait_Event( &ReportDoneCond ); index = agent->reporterindex; } agent->agentindex = 0; @@ -347,7 +347,7 @@ // Need to make sure that reporter is not about to be "lapped" while ( index - 1 == agent->agentindex ) { Condition_Signal( &ReportCond ); - Condition_Wait( &ReportDoneCond ); + Condition_Wait_Event( &ReportDoneCond ); index = agent->reporterindex; } debian/patches/010-fix-format-security-ftbfs.patch0000644000000000000000000000713011660600300017150 0ustar Description: iperf format string FTBFS with -Werror=format-security Reported by Didier Raboud Author: Simon Paillard Bug-Debian: http://bugs.debian.org/643408 diff -Nur iperf-2.0.5/compat/Thread.c iperf-2.0.5-nmu/compat/Thread.c --- iperf-2.0.5/compat/Thread.c 2010-03-31 01:08:24.000000000 +0200 +++ iperf-2.0.5-nmu/compat/Thread.c 2011-11-15 09:13:32.000000000 +0100 @@ -381,7 +381,7 @@ Condition_Lock( thread_sNum_cond ); thread_sNum -= nonterminating_num; if ( thread_sNum > 1 && nonterminating_num > 0 && interrupt != 0 ) { - fprintf( stderr, wait_server_threads ); + fprintf( stderr, "%s", wait_server_threads ); } nonterminating_num = 0; Condition_Signal( &thread_sNum_cond ); diff -Nur iperf-2.0.5/src/ReportDefault.c iperf-2.0.5-nmu/src/ReportDefault.c --- iperf-2.0.5/src/ReportDefault.c 2010-03-31 00:57:17.000000000 +0200 +++ iperf-2.0.5-nmu/src/ReportDefault.c 2011-11-15 09:16:52.000000000 +0100 @@ -78,7 +78,7 @@ if ( stats->mUDP != (char)kMode_Server ) { // TCP Reporting if( !header_printed ) { - printf( report_bw_header); + printf( "%s", report_bw_header); header_printed = 1; } printf( report_bw_format, stats->transferID, @@ -87,7 +87,7 @@ } else { // UDP Reporting if( !header_printed ) { - printf( report_bw_jitter_loss_header); + printf( "%s", report_bw_jitter_loss_header); header_printed = 1; } printf( report_bw_jitter_loss_format, stats->transferID, @@ -159,7 +159,7 @@ (data->mThreadMode == kMode_Listener ? 0 : 1) ); win_requested = data->mTCPWin; - printf( separator_line ); + printf( "%s", separator_line ); if ( data->mThreadMode == kMode_Listener ) { printf( server_port, (isUDP( data ) ? "UDP" : "TCP"), @@ -198,7 +198,7 @@ printf( warn_window_requested, buffer ); } printf( "\n" ); - printf( separator_line ); + printf( "%s", separator_line ); } /* @@ -286,7 +286,7 @@ } else if ( checkMSS_MTU( inMSS, 576 ) ) { net = "minimum"; mtu = 576; - printf( warn_no_pathmtu ); + printf( "%s", warn_no_pathmtu ); } else { mtu = inMSS + 40; net = "unknown interface"; diff -Nur iperf-2.0.5/src/Reporter.c iperf-2.0.5-nmu/src/Reporter.c --- iperf-2.0.5/src/Reporter.c 2011-11-15 19:44:41.000000000 +0100 +++ iperf-2.0.5-nmu/src/Reporter.c 2011-11-15 09:17:14.000000000 +0100 @@ -896,7 +896,7 @@ } else if ( checkMSS_MTU( inMSS, 576 ) ) { net = "minimum"; mtu = 576; - printf( warn_no_pathmtu ); + printf( "%s", warn_no_pathmtu ); } else { mtu = inMSS + 40; net = "unknown interface"; diff -Nur iperf-2.0.5/src/Settings.cpp iperf-2.0.5-nmu/src/Settings.cpp --- iperf-2.0.5/src/Settings.cpp 2011-11-15 19:44:41.000000000 +0100 +++ iperf-2.0.5-nmu/src/Settings.cpp 2011-11-15 09:18:46.000000000 +0100 @@ -375,8 +375,8 @@ break; case 'h': // print help and exit - fprintf(stderr, usage_long1); - fprintf(stderr, usage_long2); + fprintf(stderr, "%s", usage_long1); + fprintf(stderr, "%s", usage_long2); exit(1); break; @@ -482,7 +482,7 @@ break; case 'v': // print version and exit - fprintf( stderr, version ); + fprintf( stderr, "%s", version ); exit(1); break; debian/patches/003-fix-hyphen-used-as-minus-sign.patch0000644000000000000000000001133211503471057017646 0ustar Description: fix hyphen used as minus sign in manpages Author: Roberto Lumbreras --- iperf-2.0.4.orig/man/iperf.1 2008-08-21 00:21:49.290527643 +0200 +++ iperf-2.0.4/man/iperf.1 2008-08-21 00:35:17.850640445 +0200 @@ -2,21 +2,21 @@ .SH NAME iperf \- perform network throughput tests .SH SYNOPSIS -.B iperf -s [ +.B iperf \-s [ .I options .B ] -.B iperf -c +.B iperf \-c .I server .B [ .I options .B ] -.B iperf -u -s [ +.B iperf \-u \-s [ .I options .B ] -.B iperf -u -c +.B iperf \-u \-c .I server .B [ .I options @@ -28,103 +28,103 @@ traffic). .SH "GENERAL OPTIONS" .TP -.BR -f ", " --format " " +.BR \-f ", " \-\-format " " [kmKM] format to report: Kbits, Mbits, KBytes, MBytes .TP -.BR -h ", " --help " " +.BR \-h ", " \-\-help " " print a help synopsis .TP -.BR -i ", " --interval " \fIn\fR" +.BR \-i ", " \-\-interval " \fIn\fR" pause \fIn\fR seconds between periodic bandwidth reports .TP -.BR -l ", " --len " \fIn\fR[KM]" +.BR \-l ", " \-\-len " \fIn\fR[KM]" set length read/write buffer to \fIn\fR (default 8 KB) .TP -.BR -m ", " --print_mss " " +.BR \-m ", " \-\-print_mss " " print TCP maximum segment size (MTU - TCP/IP header) .TP -.BR -o ", " --output " " +.BR \-o ", " \-\-output " " output the report or error message to this specified file .TP -.BR -p ", " --port " \fIn\fR" +.BR \-p ", " \-\-port " \fIn\fR" set server port to listen on/connect to to \fIn\fR (default 5001) .TP -.BR -u ", " --udp " " +.BR \-u ", " \-\-udp " " use UDP rather than TCP .TP -.BR -w ", " --window " \fIn\fR[KM]" +.BR \-w ", " \-\-window " \fIn\fR[KM]" TCP window size (socket buffer size) .TP -.BR -B ", " --bind " " +.BR \-B ", " \-\-bind " " bind to , an interface or multicast address .TP -.BR -C ", " --compatibility " " +.BR \-C ", " \-\-compatibility " " for use with older versions does not sent extra msgs .TP -.BR -M ", " --mss " \fIn\fR" +.BR \-M ", " \-\-mss " \fIn\fR" set TCP maximum segment size (MTU - 40 bytes) .TP -.BR -N ", " --nodelay " " +.BR \-N ", " \-\-nodelay " " set TCP no delay, disabling Nagle's Algorithm .TP -.BR -v ", " --version " " +.BR \-v ", " \-\-version " " print version information and quit .TP -.BR -V ", " --IPv6Version " " +.BR \-V ", " \-\-IPv6Version " " Set the domain to IPv6 .TP -.BR -x ", " --reportexclude " " +.BR \-x ", " \-\-reportexclude " " [CDMSV] exclude C(connection) D(data) M(multicast) S(settings) V(server) reports .TP -.BR -y ", " --reportstyle " C|c" +.BR \-y ", " \-\-reportstyle " C|c" if set to C or c report results as CSV (comma separated values) .SH "SERVER SPECIFIC OPTIONS" .TP -.BR -s ", " --server " " +.BR \-s ", " \-\-server " " run in server mode .TP -.BR -U ", " --single_udp " " +.BR \-U ", " \-\-single_udp " " run in single threaded UDP mode .TP -.BR -D ", " --daemon " " +.BR \-D ", " \-\-daemon " " run the server as a daemon .SH "CLIENT SPECIFIC OPTIONS" .TP -.BR -b ", " --bandwidth " \fIn\fR[KM]" +.BR \-b ", " \-\-bandwidth " \fIn\fR[KM]" set target bandwidth to \fIn\fR bits/sec (default 1 Mbit/sec). -This setting requires UDP (-u). +This setting requires UDP (\-u). .TP -.BR -c ", " --client " " +.BR \-c ", " \-\-client " " run in client mode, connecting to .TP -.BR -d ", " --dualtest " " +.BR \-d ", " \-\-dualtest " " Do a bidirectional test simultaneously .TP -.BR -n ", " --num " \fIn\fR[KM]" -number of bytes to transmit (instead of -t) +.BR \-n ", " \-\-num " \fIn\fR[KM]" +number of bytes to transmit (instead of \-t) .TP -.BR -r ", " --tradeoff " " +.BR \-r ", " \-\-tradeoff " " Do a bidirectional test individually .TP -.BR -t ", " --time " \fIn\fR" +.BR \-t ", " \-\-time " \fIn\fR" time in seconds to transmit for (default 10 secs) .TP -.BR -F ", " --fileinput " " +.BR \-F ", " \-\-fileinput " " input the data to be transmitted from a file .TP -.BR -I ", " --stdin " " +.BR \-I ", " \-\-stdin " " input the data to be transmitted from stdin .TP -.BR -L ", " --listenport " \fIn\fR" +.BR \-L ", " \-\-listenport " \fIn\fR" port to receive bidirectional tests back on .TP -.BR -P ", " --parallel " \fIn\fR" +.BR \-P ", " \-\-parallel " \fIn\fR" number of parallel client threads to run .TP -.BR -T ", " --ttl " \fIn\fR" +.BR \-T ", " \-\-ttl " \fIn\fR" time-to-live, for multicast (default 1) .TP -.BR -Z ", " --linux-congestion " " +.BR \-Z ", " \-\-linux\-congestion " " set TCP congestion control algorithm (Linux only) .SH ENVIRONMENT .TP @@ -143,6 +143,6 @@ Kevin Gibbs, John Estabrook , Andrew Gallatin , -Stephen Hemminger +Stephen Hemminger .SH "SEE ALSO" http://iperf.sourceforge.net/ debian/patches/series0000644000000000000000000000035611757464536012060 0ustar 001-cast-to-max_size_t-instead-of-int.patch 002-typo-recieve.patch 003-fix-hyphen-used-as-minus-sign.patch 005-iperf-die-on-bind-fail.patch 006-bidirectional-tcp-server.patch 010-fix-format-security-ftbfs.patch 011-ipv6_mcast_check.patch debian/patches/002-typo-recieve.patch0000644000000000000000000000166011503464614014557 0ustar Description: fix receive typo Author: Roberto Lumbreras --- a/man/iperf.1 2010-12-19 21:19:11.871168845 +0100 +++ b/man/iperf.1 2010-12-19 21:19:22.811557617 +0100 @@ -116,7 +116,7 @@ input the data to be transmitted from stdin .TP .BR -L ", " --listenport " \fIn\fR" -port to recieve bidirectional tests back on +port to receive bidirectional tests back on .TP .BR -P ", " --parallel " \fIn\fR" number of parallel client threads to run --- a/src/Reporter.c 2010-12-19 21:18:27.667170232 +0100 +++ b/src/Reporter.c 2010-12-19 21:18:51.969392521 +0100 @@ -681,7 +681,7 @@ data->TotalLen += packet->packetLen; } } else { - // update recieved amount and time + // update received amount and time data->packetTime = packet->packetTime; reporter_condprintstats( &reporthdr->report, reporthdr->multireport, finished ); data->TotalLen += packet->packetLen; debian/patches/006-bidirectional-tcp-server.patch0000644000000000000000000000133611512136554017047 0ustar Description: Fix bidirectional TCP server exiting after the test iperf bidirectional test using parameter -r or -d doesn't work as expected, the server exits after the test, but it should continue listening for new connections. Author: Roberto Lumbreras Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=449796 Forwarded: http://sourceforge.net/tracker/?func=detail&aid=1983829&group_id=128336&atid=711371 --- iperf-2.0.5.orig/src/Client.cpp +++ iperf-2.0.5/src/Client.cpp @@ -212,10 +212,12 @@ void Client::Run( void ) { char* readAt = mBuf; #if HAVE_THREAD + /* if ( !isUDP( mSettings ) ) { RunTCP(); return; } + */ #endif // Indicates if the stream is readable debian/patches/005-iperf-die-on-bind-fail.patch0000644000000000000000000000161611503473701016246 0ustar Description: iperf die on bind fail When iperf encounters a fatal error when binding to a port, such as the port being already in use or lacking permission, it fails to give fatal error, but instead pretends to continue to listen on the port. Author: Deny IP Any Any Bug-Debian: http://bugs.debian.org/517239 Forwarded: https://sourceforge.net/tracker/?func=detail&aid=3140400&group_id=128336&atid=711371 --- iperf-2.0.4/src/Listener.cpp 2009-02-23 16:20:31.000000000 -0500 +++ iperf-2.0.4-fixed/src/Listener.cpp 2009-02-23 16:20:40.000000000 -0500 @@ -333,7 +333,7 @@ #endif { rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, mSettings->size_local ); - WARN_errno( rc == SOCKET_ERROR, "bind" ); + FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings ); } // listen for connections (TCP only). // default backlog traditionally 5 debian/patches/011-ipv6_mcast_check.patch0000644000000000000000000000200611757463163015360 0ustar Description: Fix improper check for IPv6 family when sending multicast This patch fixes the proper behavior of -T (hop-limit setting) when sending IPv6 multicast packets. Due to this bug, it was always fixed to 1. . SetSocketOptions() is called before socket connection, thus sa_family is still set to 0. This is causing the if-branch in the multicast check to always assume a non-IPv6 socket. Checking the remote-peer family works reliably, instead. Author: Luca Bruno Last-Update: 2012-05-24 --- iperf-2.0.5.orig/src/PerfSocket.cpp +++ iperf-2.0.5/src/PerfSocket.cpp @@ -109,7 +109,7 @@ void SetSocketOptions( thread_Settings * if ( isMulticast( inSettings ) && ( inSettings->mTTL > 0 ) ) { int val = inSettings->mTTL; #ifdef HAVE_MULTICAST - if ( !SockAddr_isIPv6( &inSettings->local ) ) { + if ( !SockAddr_isIPv6( &inSettings->peer ) ) { int rc = setsockopt( inSettings->mSock, IPPROTO_IP, IP_MULTICAST_TTL, (const void*) &val, (Socklen_t) sizeof(val)); debian/compat0000644000000000000000000000000211224347475010375 0ustar 7 debian/source/0000755000000000000000000000000011503451206010463 5ustar debian/source/format0000644000000000000000000000001411503451172011673 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000015711503520373010250 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk debian/iperf.dirs0000644000000000000000000000001011224347475011156 0ustar usr/bin debian/control0000644000000000000000000000252511757464631010613 0ustar Source: iperf Section: net Priority: optional Maintainer: Roberto Lumbreras Build-Depends: cdbs, debhelper (>= 7), autotools-dev, patchutils Standards-Version: 3.9.3 Homepage: http://iperf.sourceforge.net/ Package: iperf Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Internet Protocol bandwidth measuring tool Iperf is a modern alternative for measuring TCP and UDP bandwidth performance, allowing the tuning of various parameters and characteristics. . Features: * Measure bandwidth, packet loss, delay jitter * Report MSS/MTU size and observed read sizes. * Support for TCP window size via socket buffers. * Multi-threaded. Client and server can have multiple simultaneous connections. * Client can create UDP streams of specified bandwidth. * Multicast and IPv6 capable. * Options can be specified with K (kilo-) and M (mega-) suffices. * Can run for specified time, rather than a set amount of data to transfer. * Picks the best units for the size of data being reported. * Server handles multiple connections. * Print periodic, intermediate bandwidth, jitter, and loss reports at specified intervals. * Server can be run as a daemon. * Use representative streams to test out how link layer compression affects your achievable bandwidth. debian/changelog0000644000000000000000000001173111757465122011055 0ustar iperf (2.0.5-3) unstable; urgency=low * ACK NMU. * Fix improper check for IPv6 family when sending multicast (Closes: #674288). * Updated standards. -- Roberto Lumbreras Thu, 24 May 2012 19:00:01 +0200 iperf (2.0.5-2.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS -Werror=format-security (Closes: #643408) -- Simon Paillard Tue, 15 Nov 2011 19:42:14 +0100 iperf (2.0.5-2) unstable; urgency=low * Fix server mode exiting after TCP bidirectional test. -- Roberto Lumbreras Sat, 08 Jan 2011 21:24:28 +0100 iperf (2.0.5-1) unstable; urgency=low * New upstream version. * Updated standards. * Deleted patches merged by upstream: 000-Iperf_Fix-CPU-Usage.diff 004-svn-r43-ro.patch 006-iperf-die-on-connect-fail.patch * Dropped probably unnecesary patches: 008-numofreport.patch 009-delayloop.patch * Fix 'recieve' spelling-error-in-binary (lintian). -- Roberto Lumbreras Sun, 26 Dec 2010 16:29:07 +0100 iperf (2.0.4-5) unstable; urgency=low * Fix deadlock while acting as server with multiple clients (thanks Kirby Zhou). Add patches: 007-iperf-reporter-deadlock, 008-numofreport, 009-delayloop, modify 004-svn-r43.patch deleting the nanonsleep() bits. (Closes: #533592) -- Roberto Lumbreras Mon, 06 Jul 2009 12:32:03 +0200 iperf (2.0.4-4) unstable; urgency=low * Die instead of warn on bind/connect fatal errors (thanks to Deny IP Any Any). (closes: #517239, #518033) * Add missing comma after ${shlibs:Depends} in the control file. Add Homepage in control file. (thanks to lintian). -- Roberto Lumbreras Wed, 04 Mar 2009 12:46:12 +0100 iperf (2.0.4-3) unstable; urgency=low * Merged in svn r43 including the following changes: - print report headers only once ==> drop debian/patches/002-*.patch doing the same. - replace costly gettimeofday() with nanosleep() ==> should lower the CPU usage in UDP mode. * Re-added the Ingo Molnar patch changing thread_rest for Condition_Wait. * With these two patches the 100% cpu usage in UDP mode is fixed. (closes: #496865) -- Roberto Lumbreras Thu, 28 Aug 2008 16:17:46 +0200 iperf (2.0.4-2) unstable; urgency=low * Updated standards. Set debhelper compatibility level to 7. * iperf.1: fix minus/hyphen issues. -- Roberto Lumbreras Thu, 21 Aug 2008 00:38:16 +0200 iperf (2.0.4-1) unstable; urgency=low * New upstream version. (closes: #480000) * Deleted performance problem patch, it is now fixed upstream. * Deleted debian specific manpage, the package has one now. Fix several hyphen-used-as-minus-sign in the new manpage. Add lintian overrides as it still thinks there are hyphens used as minus sign but there are not. * Fix bw-header being printed each time. * The following bugs are also fixed now: (closes: #356448, #400662, #353037) -- Roberto Lumbreras Thu, 08 May 2008 00:45:51 +0200 iperf (2.0.2-4) unstable; urgency=low * Reverted patch to fix bug #431366; added proper patch for performance problem with kernels using CFS (>= 2.6.23) (closes: #444277). * debian/rules: using simple-patchsys from cdbs. * Standards 3.7.3 (no changes). * doc-base: changed section to Network/Monitoring section. -- Roberto Lumbreras Tue, 18 Mar 2008 09:12:52 +0100 iperf (2.0.2-3) unstable; urgency=low * Added patch to fix poor performance with >= 2.6.21 kernels (closes: #431666). * Fix -t: cast to max_size_t instead of int (closes: #346099). Updated auto-makefiles and autoconf. * debian/rules: now using cdbs. -- Roberto Lumbreras Tue, 17 Jul 2007 15:16:00 +0200 iperf (2.0.2-2) unstable; urgency=low * Add PTHREAD_LIBS to iperf_LDADD and regenerate configure, hopefully will fix #314383: FTBFS on hurd-i386. * Updated standards (no changes). -- Roberto Lumbreras Fri, 12 May 2006 16:49:36 +0200 iperf (2.0.2-1) unstable; urgency=low * New upstream version (closes: #312300). -- Roberto Lumbreras Tue, 07 Jun 2005 16:42:55 +0200 iperf (2.0.1-1) unstable; urgency=low * New upstream version. * Added watch file. * Updated standards. -- Roberto Lumbreras Fri, 04 Feb 2005 02:38:36 +0100 iperf (1.7.0-1) unstable; urgency=low * New upstream version. * Use config.sub and config.guess symlinks from autotools-dev (closes: #190015, #189673). * Changed short description (closes: #188476). -- Roberto Lumbreras Tue, 22 Apr 2003 01:48:12 +0200 iperf (1.6.5-1) unstable; urgency=low * Initial Release (closes: #186418). * Do not include getopt functions in libdast (they are provided by libc6). * Send --help and --version outputs to stdout and exit success, to make help2man happy (GNU standards, see bug #138752). -- Roberto Lumbreras Fri, 28 Mar 2003 19:07:09 +0100