Up to [local] / src / usr.bin / tcpbench
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 15 09:06:54 2022 UTC (21 months, 3 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
HEAD
Changes since 1.29: +2 -7 lines
Diff to previous 1.29 (colored) to selected 1.1 (colored)
Use TCP_INFO instead of kvm magic to extract information about the tcp streams. Variable names listed by -l change and there is no more need to change kern.allowkmem. To get all possible values tcpbench still needs to be run as root. OK bluhm@ djm@
Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 4 18:46:25 2021 UTC (3 years, 4 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.28: +6 -4 lines
Diff to previous 1.28 (colored) to selected 1.1 (colored)
Implement the nc(1) -D socket debug option also in tcpbench(1). This allows to analyse TCP connections. OK claudio@
Revision 1.28 / (download) - annotate - [select for diffs], Mon May 4 12:13:09 2020 UTC (4 years, 1 month ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.27: +11 -2 lines
Diff to previous 1.27 (colored) to selected 1.1 (colored)
tcpbench: display stats on SIGINFO, not just at exit. ok tb@ procter@ deraadt@
Revision 1.27 / (download) - annotate - [select for diffs], Sat May 2 22:00:29 2020 UTC (4 years, 1 month ago) by procter
Branch: MAIN
Changes since 1.26: +13 -4 lines
Diff to previous 1.26 (colored) to selected 1.1 (colored)
Add ping(1)-like summary statistics. ok djm@ deraadt@
Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 12 14:46:36 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.25: +6 -5 lines
Diff to previous 1.25 (colored) to selected 1.1 (colored)
Standardize argument naming for "sourceaddr" and unify the wording a bit, similar to what deraadt@ recently did in other manual pages.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 28 19:01:52 2018 UTC (5 years, 8 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored) to selected 1.1 (colored)
If tpcbench(8) is startet with -r0 it does not print statistics. But there was still the header line. Make -r0 really quiet and document the feature. OK deraadt@
Revision 1.24 / (download) - annotate - [select for diffs], Wed May 9 11:17:51 2018 UTC (6 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored) to selected 1.1 (colored)
consistent verb form; from nan xiao
Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 25 23:31:50 2016 UTC (7 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.22: +5 -2 lines
Diff to previous 1.22 (colored) to selected 1.1 (colored)
Document the dependency on sysctl kern.allowkmem ok tb
Revision 1.22 / (download) - annotate - [select for diffs], Thu Jul 21 10:42:49 2016 UTC (7 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.1 (colored)
zap trailing whitespace;
Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 21 10:11:11 2016 UTC (7 years, 10 months ago) by claudio
Branch: MAIN
Changes since 1.20: +13 -4 lines
Diff to previous 1.20 (colored) to selected 1.1 (colored)
Add AF_UNIX support to tcpbench and also make it possible to randomize the write size in the client. pledge setup can be made tighter but that will be done in a second step. OK benno@, henning@, markus@ and some man page input by jmc@
Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 19 03:28:53 2014 UTC (9 years, 9 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.19: +12 -4 lines
Diff to previous 1.19 (colored) to selected 1.1 (colored)
add -4 and -6 flags for saying if you want to force ipv4 or ipv6 respectively. tweaks from jmc@ ok djm@
Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 26 20:56:11 2014 UTC (10 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.1 (colored)
Once more, the default routing table id is inherited from the process like for any other process as well. OK by many
Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 16 00:07:52 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored) to selected 1.1 (colored)
use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 26 17:53:53 2012 UTC (12 years, 4 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.16: +7 -2 lines
Diff to previous 1.16 (colored) to selected 1.1 (colored)
add a timer to tcpbench as a command-line option (-t) so that it is possible to stop the tcpbench client after a certain number of seconds. This makes it easier to use tcpbench as part of a script. From: Lawrence Teo <lteo at lteo.net> ok phessler haesbaert and myself
Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 18 01:19:07 2011 UTC (12 years, 5 months ago) by haesbaert
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.1 (colored)
Typo.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 9 00:40:54 2011 UTC (12 years, 9 months ago) by haesbaert
Branch: MAIN
Changes since 1.14: +4 -1 lines
Diff to previous 1.14 (colored) to selected 1.1 (colored)
Add -b option which allows the client side to bind the socket to a numeric address. Requested by mikeb@ in order to test ipsec. ok mcbride mikeb djm jmc
Revision 1.14 / (download) - annotate - [select for diffs], Tue Aug 23 07:02:34 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.1 (colored)
oops! -T snuck into the wrong place...
Revision 1.13 / (download) - annotate - [select for diffs], Tue Aug 23 04:13:37 2011 UTC (12 years, 9 months ago) by haesbaert
Branch: MAIN
Changes since 1.12: +19 -2 lines
Diff to previous 1.12 (colored) to selected 1.1 (colored)
Allow TOS/TCLASS to be set with -T, accept the same keywords as in pf.conf. ok mcbride@ djm@ 'fine from me' jmc@
Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 16 08:06:10 2011 UTC (13 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.11: +22 -20 lines
Diff to previous 1.11 (colored) to selected 1.1 (colored)
various cleanup;
Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 9 18:13:18 2011 UTC (13 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.10: +33 -15 lines
Diff to previous 1.10 (colored) to selected 1.1 (colored)
Implement UDP mode for tcpbench and switch tcpbench to use libevent. In UDP mode the tcpbench client tries to flood the pipe to the maximum and the server will busy read the packets. For TCP mode nothing has changed. All the work was done by Christiano F. Haesbaert (haesbaert(at)haesbaert org). OK myself and a lot of pushing from deraadt@
Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 26 20:26:37 2010 UTC (13 years, 7 months ago) by fkr
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.9: +11 -1 lines
Diff to previous 1.9 (colored) to selected 1.1 (colored)
add HISTORY and AUTHORS sections. ok jmc@, djm@
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 3 07:26:14 2010 UTC (13 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.1 (colored)
put .Os in the right place;
Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 3 04:44:51 2010 UTC (13 years, 11 months ago) by guenther
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored) to selected 1.1 (colored)
Fix the naming of interfaces and variables for rdomains and rtables and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 13 17:38:28 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored) to selected 1.1 (colored)
use Bk/Ek to avoid ugly split in synopsis;
Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 13 14:19:43 2009 UTC (14 years, 10 months ago) by claudio
Branch: MAIN
Changes since 1.5: +7 -2 lines
Diff to previous 1.5 (colored) to selected 1.1 (colored)
Allow tcpbench to bind to a different rdomain. OK sthen, djm and maybe more
Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 26 07:05:56 2008 UTC (15 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored) to selected 1.1 (colored)
some minor improvements from Pierre Riteau; ok djm
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 12 23:00:51 2008 UTC (16 years ago) by jmc
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.1 (colored)
tweak previous;
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 12 20:34:47 2008 UTC (16 years ago) by henning
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored) to selected 1.1 (colored)
allow the tcpbench client side to open more than one tcp connection to the server and use them simultaniously. ok djm ryan
Revision 1.2 / (download) - annotate - [select for diffs], Fri May 9 09:01:23 2008 UTC (16 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.1: +15 -15 lines
Diff to previous 1.1 (colored)
tweak previous; ok djm
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri May 9 00:54:07 2008 UTC (16 years, 1 month ago) by djm
Branch: djm
CVS Tags: djm_20080509
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
import tcpbench, a small TCP benchmarking tool that can also sample relevant kernel variables via kvm(3) ok dlg@ deraadt@
Revision 1.1 / (download) - annotate - [selected], Fri May 9 00:54:07 2008 UTC (16 years, 1 month ago) by djm
Branch: MAIN
Initial revision