summaryrefslogtreecommitdiffstats
path: root/usr.bin/tcpbench (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* oops! -T snuck into the wrong place...jmc2011-08-231-2/+2
|
* Allow TOS/TCLASS to be set with -T, accept the same keywords as in pf.conf.haesbaert2011-08-232-6/+117
| | | | | ok mcbride@ djm@ 'fine from me' jmc@
* event_del() a persistent event; fixes segfault seen on the server when thesthen2011-08-201-0/+1
| | | | | | remote end closes and reopens a connection. From Christiano F. Haesbaert, ok claudio@
* Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudiomikeb2011-06-211-12/+18
|
* various cleanup;jmc2011-03-162-24/+26
|
* add DPADD; from bradderaadt2011-03-151-0/+1
|
* Implement UDP mode for tcpbench and switch tcpbench to use libevent.claudio2011-03-093-443/+495
| | | | | | | | 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@
* add HISTORY and AUTHORS sections.fkr2010-10-261-2/+12
| | | | ok jmc@, djm@
* Add a few more tcpcb and sockbuffer variables that tcpbench can inspect.claudio2010-10-191-0/+12
|
* Make -k work in clientmode by passing the right socket to theclaudio2010-09-281-3/+2
| | | | stats_prepare() function.
* put .Os in the right place;jmc2010-07-031-2/+2
|
* Fix the naming of interfaces and variables for rdomains and rtablesguenther2010-07-032-24/+24
| | | | | | | | | | | | 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
* try not to use size_t in places it does not belong; ok djmderaadt2009-12-111-5/+5
|
* - adjust usage() to fit in 80 columnssthen2009-09-111-5/+4
| | | | | | | - re-order client options in usage() to match server options and the manual, as suggested by jmc. ok jmc@
* Move connect code out ouf clientloop into own function. This code can beclaudio2009-09-081-22/+32
| | | | reused by the upcomming UDP mode. OK henning
* There is no need for two getaddrinfo implementations for client and server.claudio2009-09-081-23/+12
| | | | | Merge them and make the client code look more like the server one. OK henning@
* gcc2 hates claudioderaadt2009-08-291-3/+1
|
* Change the way how the server works. Instead of forking of a child perclaudio2009-08-281-240/+377
| | | | | | | | connection do multiplexing via poll(2). This allows to use more concurrent connections and to specify additional kvm data to fetch. This was all done by Christiano Farina Haesbaert (christiano.fh gmail dot com) plus some input by myself. OK henning@
* use Bk/Ek to avoid ugly split in synopsis;jmc2009-08-131-1/+3
|
* Print a warning when rdomain is used on non-AF_INET sockets. Those areclaudio2009-08-131-2/+4
| | | | currently not supported. Requested by djm sort of.
* Allow tcpbench to bind to a different rdomain.claudio2009-08-132-5/+29
| | | | OK sthen, djm and maybe more
* remove unused variablechl2008-09-181-1/+0
| | | | sure henning@
* only update stats when we actually wrote sth, relevant for -n, ok djmhenning2008-08-141-10/+11
| | | | From: Pierre Riteau <pierre.riteau@gmail.com>
* some minor improvements from Pierre Riteau; ok djmjmc2008-06-263-23/+12
|
* turd polishing (useless chatter removed), ok djmhenning2008-06-151-2/+5
|
* tweak previous;jmc2008-06-121-2/+2
|
* allow the tcpbench client side to open more than one tcp connectionhenning2008-06-122-69/+107
| | | | to the server and use them simultaniously. ok djm ryan
* fix uninitialised variable; from ray@djm2008-05-152-4/+4
|
* tweak previous; ok djmjmc2008-05-091-14/+14
|
* s/bench/tcpbench/ in usage(); spotted by schellekens.dries AT gmail.comdjm2008-05-091-3/+3
|
* import tcpbench, a small TCP benchmarking tool that can also sampledjm2008-05-093-0/+950
relevant kernel variables via kvm(3) ok dlg@ deraadt@