Commit Graph
1031 Commits
Author SHA1 Message Date
Arijit Das e9bbc252e0 Fix input raw test and go fmt. 2020-06-11 20:34:09 +05:30
Arijit Das 73e26d48d9 Fix CI comments. 2020-06-11 19:24:38 +05:30
Arijit Das 1c87a339a5 Address comments. 2020-06-11 19:21:31 +05:30
Arijit Das db28858804 Refactor emitter.go and fix test accordingly. 2020-06-06 16:00:43 +05:30
Romanenko AlexeyandGitHub 932c894b6b Merge pull request #767 from slimus/540-clean-code
clean code with #540
2020-06-06 14:15:53 +07:00
Romanenko AlexeyandGitHub 73b1621656 Merge pull request #765 from slimus/fix-flag-settings
Settings parse and some typo fixes
2020-06-06 14:15:31 +07:00
Alexey Romanenko b1ab61f2b2 clean code with #540 2020-06-05 23:05:58 +07:00
Alex Romanenko 080240ca9f add default values for settings 2020-06-05 15:05:26 +07:00
Alex Romanenko b0f3048876 add default setting to emitter_test 2020-06-05 14:16:53 +07:00
Alexey Romanenko 261c592b83 fix parse settings; fix typo 2020-06-04 23:20:23 +07:00
Arijit DasandGitHub 766cb77410 Merge pull request #764 from buger/fix-race-fileinput
Fix race input_file.go while closing the file and remove dead code.
2020-06-04 17:02:15 +05:30
Arijit Das e1bf25682f Minor changes. 2020-06-03 22:41:58 +05:30
Arijit Das 039d7c3f26 Fix race input_file.go while closing the file and remove dead code. 2020-06-03 22:35:47 +05:30
Romanenko AlexeyandGitHub 71387ffc90 Merge pull request #745 from relunctance/master
Fixed Wrong parameters entered by user (#703)
2020-06-03 11:00:59 +07:00
Romanenko AlexeyandGitHub dbead6b428 Update input_raw.go 2020-06-03 10:52:44 +07:00
Romanenko AlexeyandGitHub 2fb9b2054e fix #730 (#763)
libpcap has a bug if timeout more than 1 second. We should use 1 second by default for mac os x before it will fixed
2020-06-02 20:27:48 +03:00
Arijit DasandGitHub 17f7c3c74b Merge pull request #759 from buger/graceful-goroutine-close
Wait for goroutines to close in emitter.go.
2020-06-02 22:57:14 +05:30
Arijit Das 8c1a194a51 Addressed comment. 2020-06-02 22:54:02 +05:30
Romanenko AlexeyandGitHub 857bef93f0 Merge pull request #761 from slimus/update-travis-go-version
Update go version in travis environment
2020-06-02 22:12:50 +07:00
Arijit Das aa1eb9f8b7 Address comment. 2020-06-02 12:20:19 +05:30
Alexey Romanenko 7925dbb0b1 update go version in travis environment 2020-06-01 21:54:50 +07:00
Arijit Das c1f14e8cfb Add comment. 2020-06-01 15:19:32 +05:30
Arijit Das 21e0a2f8c2 Close channel once. 2020-06-01 15:18:13 +05:30
Arijit Das 803257c710 Timeout blocking read call. 2020-06-01 15:07:11 +05:30
Arijit Das 28899ea1e1 Wait for go routine to close in emitter.go. 2020-06-01 01:14:47 +05:30
Romanenko AlexeyandGitHub 263108976a Merge pull request #758 from buger/mod-tidy
mod tidy and higher version of Go
2020-05-29 17:11:28 +07:00
Urban Ishimwe 92a8bfb27c mod tidy and higher version of Go
as Go, is moving towards v1.15 and higher we may
consider starting to compile our application with go1.14 and higher
as go1.14 promises a lot more than g01.12 with a lot of fixes!
2020-05-29 09:22:11 +02:00
Dima GolomozyandGitHub 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 AlexeyandGitHub 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 DasandGitHub 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 AlexeyandGitHub 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 IshimweandGitHub 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 AlexeyandGitHub 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 AlexeyandGitHub 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 BugaevandGitHub 40d57cac36 Create .clabot 2020-05-15 07:03:40 +03:00
Gao.QiLinandGitHub 9cd5ad719b Fixed Wrong parameters entered by user (#703)
Friendly tips can help users avoid this problem
2020-04-16 21:29:30 +08:00
frank-dingandLeonid 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
kleugandLeonid 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 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
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 BugaevandGitHub 107740b57d Update README.md 2019-03-30 21:30:06 +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 BugaevandGitHub 707b311456 Add deleteHttpCookie method (#658)
Version bumped to 1.0, together with upcoming GoReplay release
2019-03-07 22:45:17 +01:00
EhsanKhakiandLeonid Bugaev b37fe727b4 Typos and fixes (#657) 2019-03-07 22:23:50 +01:00
Matt RobenoltandLeonid 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