Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP replay not working. #1248

Open
nityanandagohain opened this issue Apr 12, 2024 · 1 comment
Open

TCP replay not working. #1248

nityanandagohain opened this issue Apr 12, 2024 · 1 comment
Labels
bug Something isn't working question Question about GoReplay and how to use it

Comments

@nityanandagohain
Copy link

I am trying to replay requests sent to a TCP server but it doesn't seem to be working.

I have a tcp server running on port 8081.

I use the following command to start gor
sudo gor --input-tcp :8080 --output-tcp localhost:8081

the client sends request to port 8080, but nothing seems to work.

Is it only availble in the pro version ?

Copy link

dosubot bot commented Apr 12, 2024

The issue you're encountering with TCP replay using GoReplay doesn't seem to be related to the version you're using or a limitation of the free version. The command sudo gor --input-tcp :8080 --output-tcp localhost:8081 is correctly structured for capturing and replaying traffic from port 8080 to 8081. Here are a few areas to investigate that might help resolve the issue:

  1. Check GoReplay's output plugin configuration to ensure it's correctly set up to forward traffic to your server on port 8081.
  2. Review network configurations and firewall rules that might be blocking traffic between ports 8080 and 8081.
  3. Look for any error messages or unusual behavior when running the command, as these can provide clues to the underlying issue.

For further troubleshooting, consider consulting the GoReplay documentation or source code, specifically files related to TCP input and output plugins, and command line options (input_tcp.go, settings.go, and version.go).

If the problem persists, providing more details about any errors or the behavior you're observing could be helpful for diagnosing the issue more accurately.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@dosubot dosubot bot added bug Something isn't working question Question about GoReplay and how to use it labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Question about GoReplay and how to use it
Projects
None yet
Development

No branches or pull requests

1 participant