Situation, when tcp protocol doesn't have "len" field #2188
predator89090
started this conversation in
General
Replies: 1 comment
-
|
It's hard for me to help without a concrete example in the protocol you're trying to parse, I'm not sure I fully understand There are lots of ways for Spicy to have Spicy parse "until" certain scenarios, like with or with lookahead: or a fair few other constructs in the parsing section Are those sufficient for this case? It's hard for me to tell without a concrete example. In general, Spicy doesn't need a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some protocols running over a TCP connection don't have a length field.
When we attempting to parse this protocol using spicy, we encounter a problem: spicy needs to know the length of each segment to correctly process packets.
The example is given here
Is there any way we can get the payload length other than the protocol length field, for example via tcp analyzer, or TCP protocol parsers should be implemented on spicy only if the protocol itself provides the length ?
Beta Was this translation helpful? Give feedback.
All reactions