Dima Golomozy and GitHub
5c5ef3ac15
TCP output with sticky connection ( #746 )
...
An option to send the same request & response to the same output-tcp connection
2020-05-27 21:09:39 +03:00
Romanenko Alexey and GitHub
2d78f195d2
Make plugin not global. Revert last-chunk bytes to correct value ( #755 )
...
Make Plugins variable not global to fix concurrency in test
Revert last-chunk in chunked transfer coding to correct value (https://tools.ietf.org/html/rfc2616#section-3.6.1 ) fyi @bruce34
2020-05-27 21:03:40 +03:00
Arijit Das and GitHub
df14b29e74
Fix race when writing to the file. ( #756 )
...
Reproduce: Run TestInputFileWithGET with -race flag
#755 needs to go before this is merged.
2020-05-27 16:52:48 +03:00
Romanenko Alexey and GitHub
cad7f37c98
Merge pull request #682 from hosamaly/update-dockerfile
...
Update Dockerfile to work with v1.0
2020-05-27 10:58:57 +07:00
Urban Ishimwe and GitHub
7e90a73b81
parse buffer from different bases and data unit: ( #754 )
...
All flags that expect buffer as input i.e. `--output-file-size-limit`, `--output-file-max-size-limit`, `--copy-buffer-size` and `input-raw-buffer-size` can now parse inputs from differents bases and data units like: `10mb`, `10kb`, `100gb`, `18tb`, `11839023`....
data units and bases are case insensitive, the parser accepts only the format of [Go integer literals](https://golang.org/ref/spec#Integer_literals )
2020-05-26 18:05:59 +03:00
Romanenko Alexey and GitHub
1a5ac70c24
check parseURI error for elasticsearch init ( #752 )
...
return error if it occurred when we parse elasticsearch url
2020-05-26 18:04:38 +03:00
Romanenko Alexey and GitHub
11bd20f251
fix tests; fix build for dev ( #751 )
...
* fix golang version in Dockerfile
* remove webupd8team launchpad
* add install default java (jre and jdk)
* fix unit tests
2020-05-21 13:59:46 +03:00
Leonid Bugaev and GitHub
40d57cac36
Create .clabot
2020-05-15 07:03:40 +03:00
Gao.QiLin and GitHub
9cd5ad719b
Fixed Wrong parameters entered by user ( #703 )
...
Friendly tips can help users avoid this problem
2020-04-16 21:29:30 +08:00
Leonid Bugaev
fa56e7644c
More verbose S3 logging
2020-03-06 18:04:16 +03:00
frank-ding and Leonid Bugaev
ffc1a09ca1
fix: specified multi input, but only enable the last one ( #700 )
...
capture traffic on more than one port(e.g. --input-raw :80 --input-raw :81 --input-raw :82), but only listens on the last specified port"
2019-11-01 17:00:47 +03:00
Leonid Bugaev
ae4a6259c2
Improve benchmark
2019-09-16 18:20:49 +03:00
Hosam Aly
71eeef5ced
Update Dockerfile to work with v1.0
2019-07-01 14:14:35 +01:00
kleug and Leonid Bugaev
7ce4fc50ed
Update README ( #677 )
...
very little detail but
at line 7 the argument
>--output-http-track-respose
didn't exist and should be
>--output-http-track-response
2019-06-11 19:10:28 +03:00
Leonid Bugaev
df143cdeec
Update to latest upstream master
2019-05-18 10:36:46 +03:00
Leonid Bugaev
64cf9e5509
Merge remote-tracking branch 'upstream/master'
2019-05-13 20:47:06 +03:00
Leonid Bugaev
daddbb9c42
Merge branch 'swills-gomod'
2019-05-13 20:40:08 +03:00
Leonid Bugaev
34954eb8e8
Use vendoring
2019-05-13 20:38:06 +03:00
Leonid Bugaev
81e8f98ab6
Merge remote-tracking branch 'upstream/master'
2019-05-13 20:20:06 +03:00
Steve Wills
dfae555381
try to fix ci
2019-05-03 10:07:13 -04:00
Steve Wills
f7e01997a2
convert to gomod
2019-05-03 09:49:18 -04:00
Leonid Bugaev
36ca809e4a
Add commands to generate rpm/deb
2019-04-02 10:21:59 +07:00
Leonid Bugaev and GitHub
107740b57d
Update README.md
2019-03-30 21:30:06 +07:00
Leonid Bugaev
7300b83894
Merge remote-tracking branch 'upstream/master'
2019-03-29 22:50:04 +07:00
Leonid Bugaev
c48d07d2c6
Merge remote-tracking branch 'upstream/master'
2019-03-29 22:45:27 +07:00
Leonid Bugaev
a8cfaa7581
Add --output-http-compatibility-mode
...
Add support for using default Go HTTP client
v1.0.0
2019-03-10 10:29:28 +01:00
Leonid Bugaev and GitHub
707b311456
Add deleteHttpCookie method ( #658 )
...
Version bumped to 1.0, together with upcoming GoReplay release
2019-03-07 22:45:17 +01:00
EhsanKhaki and Leonid Bugaev
b37fe727b4
Typos and fixes ( #657 )
2019-03-07 22:23:50 +01:00
Matt Robenolt and Leonid Bugaev
f6b0d5d794
Support for HTTP(S) Proxy ( #655 )
...
Works like with standard Go client
v1.0-rc2
2019-02-23 10:46:53 +01:00
Leonid Bugaev
e3f3348105
Update gopacket
2019-02-16 10:13:03 +01:00
Cole Kettler and Leonid Bugaev
60e150de67
Fix golint URL per https://github.com/golang/lint/issues/415 ( #618 )
2019-02-16 09:55:34 +01:00
igorljubuncic and Leonid Bugaev
c092718ee6
Add support for building snaps ( #625 )
2019-02-16 09:51:54 +01:00
bruce34 and Leonid Bugaev
84e99a8bb0
Fix array out of bounds during using http-set-header ( #627 )
...
Happens for example when payload stops at a '-' and we are searching for
Accept-Encoding.The method has been simplified and now does full case
insensitivity. Performance checking, on x64, it is ever so slightly
faster than the original.
2019-02-16 09:49:29 +01:00
bruce34 and Leonid Bugaev
279aa3fc3f
More robust chunked encoding finished check. ( #628 )
2019-02-16 09:41:10 +01:00
Leonid Bugaev
408f1d0f31
Merge branch 'bruce34-b34-pcap-immediate-mode'
2019-02-16 09:40:18 +01:00
Leonid Bugaev
f57703ee5c
Merge branch 'b34-pcap-immediate-mode' of https://github.com/bruce34/goreplay into bruce34-b34-pcap-immediate-mode
2019-02-16 09:40:02 +01:00
Leonid Bugaev
264d8cf00e
Add more error handling
2019-02-16 09:37:00 +01:00
bruce34 and Leonid Bugaev
6f70a939f4
Add setting for copyBufferSize, defaults to 5 Mbytes ( #630 )
2019-02-16 09:34:53 +01:00
bruce34 and Leonid Bugaev
c693938ef9
Allow a range of output-http-workers with min and max. ( #631 )
...
This provides the ability to have a maximum number of workers, yet still allow scaling down. The scaling down is important to stop timeouts happening with under-utilised workers.
Note, although the code has workers_min, workers_max, the settings option --output-http-workers has remained and becomes the "max" value. I did this to hopefully not break too much for others. The min will default to 1, so users will see dynamic scaling unless they also set min to be the same. This will probably benefit them as they will avoid potential timeouts when the traffic reduces. But something to be aware of.
2019-02-16 09:32:56 +01:00
bruce34 and Leonid Bugaev
267d6d0e2b
Add adjustable output-http-stats-ms ( #633 )
...
This adds an option to log output-http-stats at a period desired.
2019-02-16 09:29:51 +01:00
bruce34 and Leonid Bugaev
e9a5cc19b5
Configurable http_output queue length ( #634 )
...
Makes sense!
2019-02-16 09:27:44 +01:00
bruce34 and Leonid Bugaev
d8cace421e
Configurable override snaplen to 64k for virtualized environments ( #637 )
2019-02-16 09:26:39 +01:00
Miquel B and Leonid Bugaev
bf98a636c4
Using scratch image to execute goreplay ( #619 )
...
We could minimize the docker image final size using scratch image
2019-02-16 09:17:11 +01:00
bruce34 and Leonid Bugaev
476ed808f9
Bugfix index out of bounds (\r\n\r\n split over two packets) ( #632 )
2019-02-16 09:03:17 +01:00
Leonid Bugaev
ec3f104c8c
Add way to dynamically profile
...
Added new `--http-pprof` option, example: "--http-pprof :8181"
It starts web server on given address, and expose special /debug/pprof
endpoint
See https://golang.org/pkg/net/http/pprof/
2019-02-16 08:59:43 +01:00
Leonid Bugaev
85c6070775
File output now case limit by size
...
Added new `output-file-max-size-limit` option
2019-02-16 08:49:31 +01:00
Leonid Bugaev
b4a2c018c1
Fix request filtering issue
...
https://github.com/buger/goreplay/issues/648
2019-01-25 20:00:22 +01:00
Leonid Bugaev
3fa4a8feb7
Merge remote-tracking branch 'upstream/master'
2019-01-24 23:54:26 +01:00
Leonid Bugaev
fb3870d68c
Fix --http-allow-header to filter non existent headers
...
Fix https://github.com/buger/goreplay/issues/604
2019-01-24 23:47:14 +01:00
Leonid Bugaev
6eea02ee86
Add Demo mode
2019-01-24 23:37:53 +01:00