Comments (2)
Hey there, @tanismh! Fancy seeing you here again. Hope you're ready to dive back into the world of troubleshooting with me. 🚀
Based on the information you've provided and the context from the GoReplay repository, it seems like you're encountering an issue with the response body getting truncated despite increasing the snaplen value. This issue is not directly related to the size of the MTU (Maximum Transmission Unit), but rather could be due to limitations or specific behaviors in the packet capturing library or the underlying network stack implementation.
The snaplen parameter in packet capturing tools determines the maximum amount of data from each packet that will be captured and stored. However, this does not necessarily mean that larger application-level messages (like HTTP responses) will be captured in their entirety without being truncated. This is because large messages may be fragmented across multiple TCP packets, and the capture process needs to correctly reassemble these packets.
In the context of GoReplay, there's no direct mention of handling or reassembling fragmented packets at the application layer in the capture
package documentation. The focus is on capturing traffic at the IP level and implementing the TCP layer, including flow control but not explicitly mentioning handling of large, fragmented application messages.
To address the issue of truncated response bodies, you might need to look into whether the packet capturing library supports reassembling fragmented TCP segments and if it's correctly handling large messages that span multiple packets. Additionally, it's worth reviewing the configuration and usage of the library to ensure it's set up to capture and reassemble large messages effectively.
Regarding the similar issue you mentioned, can't record POST body data when body is too big(VERSION 1), the suggested solution was to use the --input-raw-override-snaplen
flag to override the capture snaplen to be 64k. However, this solution may not work in all environments, particularly some virtualized ones like OpenStack. In such cases, further investigation into the specific virtualized environment's networking configuration may be necessary.
I hope this information helps. If you have further questions or need more clarification, please let me know.
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.
from goreplay.
@tanismh Hi! I see you closed it. Does it mean you had a success? Thanks!
from goreplay.
Related Issues (20)
- java middleware with kafka out(json-format) miss req_boy
- The transfer fails for POST requests that exceed a certain size. HOT 2
- make build error, ldbus
- [Question]: How do I use the --input-raw-max-wait parameter HOT 1
- Can GoReplay capture HTTPS traffic in port 443?
- how to know the host when replay to multiple env
- is this support mirror traffic audio streaming request?
- [Question]: What does goreplay mean by what it records into the file
- Are PRO and Enterprise Version still available? HOT 1
- –http-original-host parameter does not take effect HOT 2
- could goreplay record SIP (Session initialization Protocol)?
- File format description is outdated HOT 1
- Goreplay was unable to read Solr requests after a certain length. HOT 4
- Request Rewriting not working as expected with regex HOT 2
- I want to stop forwarding of a specific request path HOT 2
- Is there a version that supports REHL5.7 HOT 1
- Goreplay not capturing actual user traffic that’s reaching varnish (port: 8983) HOT 16
- ~25% of Requests are not captured by goreplay when compared with production HOT 6
- TCP replay not working. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goreplay.