buger / goreplay

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
https://goreplay.org
Other
18.53k stars 13 forks source link

Forwarding to multiple addresses not working #1129

Open Daemon-Targaryen opened 1 year ago

Daemon-Targaryen commented 1 year ago

V1.3.3

Command line : --input-raw :9000 --input-raw-engine "raw_socket" --output-http "end_point_A:31380" --output-http "end_point_B:31380" --http-set-header "Host:some_host" --http-set-header "origin:gor" &

Forward traffic goes only to end_point_B

frostnotfall commented 1 year ago

The same to me. Command line: --input-raw :80 --output-http "http://[IP]" --output-http "http://[IP]"

Daemon-Targaryen commented 1 year ago

Any feedback on this ?

mdzahedhossain commented 1 year ago

I am having the exact same issue. I have two urls that I use using the --output-http and the traffic only gets forwarded to the second url. Any update on this?

tianxiao1988 commented 1 year ago

Any update on this?

matthieulabbe commented 1 month ago

Note: This was fixed in the master branch by https://github.com/buger/goreplay/commit/752b4575015afb518832fb554b7b9ee57e85d4b4