Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-19 | add -4 and -6 flags for saying if you want to force ipv4 or ipv6 | David Gwynne | |
respectively. tweaks from jmc@ ok djm@ | |||
2014-02-26 | Once more, the default routing table id is inherited from the process | Claudio Jeker | |
like for any other process as well. OK by many | |||
2013-12-25 | final circleq to tailq fix. restore the previous pointer check by reading | Ted Unangst | |
the previous value again and checking prev.next is still next. maybe ok guenther | |||
2013-12-24 | more fixing after circleq conversion. a better fix to check the prev | Ted Unangst | |
pointer is forthcoming. | |||
2013-12-20 | Switch inpt_queue from CIRCLEQ to TAILQ. Thus ending use of CIRCLEQ | Kenneth R Westerback | |
in the base. Ports fixes to follow shortly for the two ports (gkrellm and net-snmp) affected. ok zhuk@ millert@ | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-03-11 | handle ECONNABORTED errors from accept(). In many code blocks they can be | Theo de Raadt | |
ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | |||
2012-10-02 | Simplify rtable assignment and cut some cruft | Christiano F. Haesbaert | |
2012-08-17 | Don't need this anymore, we have them in bsd.own.mk. | Christiano F. Haesbaert | |
2012-06-16 | When the last user disconnects, make sure we display the status line | Christiano F. Haesbaert | |
one more time. ok sthen@ | |||
2012-05-08 | Fix double-free when -n is used with -b. | Christiano F. Haesbaert | |
From Erik Lax, also tested by lteo. | |||
2012-04-13 | Kill "goto again" uppon EINTR and check EWOULDBLOCK in accept(2). | Christiano F. Haesbaert | |
Also make the code more similar to the other daemons. "you can go ahead" deraadt@. | |||
2012-04-07 | Rate-limit accepting of new connections while we are experiencing fd | Christiano F. Haesbaert | |
exaustion for tcpbench. ok deraadt | |||
2012-01-31 | Remove setpgid() call, this is a leftover from when we were forked. | Christiano F. Haesbaert | |
From Erik Lax "commit it" mikeb@ | |||
2012-01-29 | Don't use floating precision while printing PPS in UDP mode. | Christiano F. Haesbaert | |
"go for it" mikeb@ "looks good to me" henning@ | |||
2012-01-26 | add a timer to tcpbench as a command-line option (-t) so | Henning Brauer | |
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 | |||
2011-12-18 | Don't lie the number of estabilished connections. nconns is the number | Christiano F. Haesbaert | |
of requested, not estabilished connections, so use mainstats.nconns. | |||
2011-12-18 | Typo. | Christiano F. Haesbaert | |
2011-12-04 | Fix some warnx() calls which should be fprintf plus KNF. | Christiano F. Haesbaert | |
2011-10-07 | Kill unecessary break in UDP_MODE, simplify code a bit by killing some | Christiano F. Haesbaert | |
conditionals, KNF. No functional changes. ok claudio@ | |||
2011-10-01 | Sort the lines on -l output and match the order on the column output. | Christiano F. Haesbaert | |
Also make the -l output go to stdout as it's easier to grep with it, and set stdout to linebuf. ok djm@ "as long as you add a setlinebuf(stdout) :-)" | |||
2011-09-09 | Add -b option which allows the client side to bind the socket to a | Christiano F. Haesbaert | |
numeric address. Requested by mikeb@ in order to test ipsec. ok mcbride mikeb djm jmc | |||
2011-08-23 | oops! -T snuck into the wrong place... | Jason McIntyre | |
2011-08-23 | Allow TOS/TCLASS to be set with -T, accept the same keywords as in pf.conf. | Christiano F. Haesbaert | |
ok mcbride@ djm@ 'fine from me' jmc@ | |||
2011-08-20 | event_del() a persistent event; fixes segfault seen on the server when the | Stuart Henderson | |
remote end closes and reopens a connection. From Christiano F. Haesbaert, ok claudio@ | |||
2011-06-21 | Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudio | Mike Belopuhov | |
2011-03-16 | various cleanup; | Jason McIntyre | |
2011-03-15 | add DPADD; from brad | Theo de Raadt | |
2011-03-09 | Implement UDP mode for tcpbench and switch tcpbench to use libevent. | Claudio Jeker | |
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@ | |||
2010-10-26 | add HISTORY and AUTHORS sections. | Felix Kronlage | |
ok jmc@, djm@ | |||
2010-10-19 | Add a few more tcpcb and sockbuffer variables that tcpbench can inspect. | Claudio Jeker | |
2010-09-28 | Make -k work in clientmode by passing the right socket to the | Claudio Jeker | |
stats_prepare() function. | |||
2010-07-03 | put .Os in the right place; | Jason McIntyre | |
2010-07-03 | Fix the naming of interfaces and variables for rdomains and rtables | Philip Guenthe | |
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 | |||
2009-12-11 | try not to use size_t in places it does not belong; ok djm | Theo de Raadt | |
2009-09-11 | - adjust usage() to fit in 80 columns | Stuart Henderson | |
- re-order client options in usage() to match server options and the manual, as suggested by jmc. ok jmc@ | |||
2009-09-08 | Move connect code out ouf clientloop into own function. This code can be | Claudio Jeker | |
reused by the upcomming UDP mode. OK henning | |||
2009-09-08 | There is no need for two getaddrinfo implementations for client and server. | Claudio Jeker | |
Merge them and make the client code look more like the server one. OK henning@ | |||
2009-08-29 | gcc2 hates claudio | Theo de Raadt | |
2009-08-28 | Change the way how the server works. Instead of forking of a child per | Claudio Jeker | |
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@ | |||
2009-08-13 | use Bk/Ek to avoid ugly split in synopsis; | Jason McIntyre | |
2009-08-13 | Print a warning when rdomain is used on non-AF_INET sockets. Those are | Claudio Jeker | |
currently not supported. Requested by djm sort of. | |||
2009-08-13 | Allow tcpbench to bind to a different rdomain. | Claudio Jeker | |
OK sthen, djm and maybe more | |||
2008-09-18 | remove unused variable | Charles Longeau | |
sure henning@ | |||
2008-08-14 | only update stats when we actually wrote sth, relevant for -n, ok djm | Henning Brauer | |
From: Pierre Riteau <pierre.riteau@gmail.com> | |||
2008-06-26 | some minor improvements from Pierre Riteau; ok djm | Jason McIntyre | |
2008-06-15 | turd polishing (useless chatter removed), ok djm | Henning Brauer | |
2008-06-12 | tweak previous; | Jason McIntyre | |
2008-06-12 | allow the tcpbench client side to open more than one tcp connection | Henning Brauer | |
to the server and use them simultaniously. ok djm ryan | |||
2008-05-15 | fix uninitialised variable; from ray@ | Damien Miller | |