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

Under the same pcap file, gor has various and random outputs. #1157

Open
dramenk opened this issue Jan 18, 2023 · 1 comment
Open

Under the same pcap file, gor has various and random outputs. #1157

dramenk opened this issue Jan 18, 2023 · 1 comment

Comments

@dramenk
Copy link

dramenk commented Jan 18, 2023

testing.pcap.gz contains a POST request and its response.

I execute ./gor --input-raw testing.pcap:80 --input-raw-track-response --input-raw-engine pcap_file --output-stdout several times, but it seems that the outputs are not the same. Most of the time there is no problem, but sometimes (maybe 1/4?) the response will be lost, or both the request and response are lost.

I think this tool is very useful, but this problem really bothers me. Does anyone know the reason?

I use https://github.com/buger/goreplay/releases/download/1.3.3/gor_1.3.3_mac.tar.gz:
2023-01-19 03 51 45

@dramenk dramenk changed the title Under the same pcap file, gor occasionally has various and random outputs. Under the same pcap file, go has various and random outputs. Jan 18, 2023
@dramenk dramenk changed the title Under the same pcap file, go has various and random outputs. Under the same pcap file, gor has various and random outputs. Jan 19, 2023
@dramenk
Copy link
Author

dramenk commented Jan 20, 2023

er.. The reason seems the data message and quit signal (file handles done) arrives in same time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant