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

Invalid protocol state (with squid) #21

Open
kyechou opened this issue Oct 31, 2022 · 3 comments
Open

Invalid protocol state (with squid) #21

kyechou opened this issue Oct 31, 2022 · 3 comments
Assignees
Labels
bug Something isn't working priority

Comments

@kyechou
Copy link
Collaborator

kyechou commented Oct 31, 2022

example 04
Output: https://hastebin.com/xekogugijo

@kyechou kyechou added the bug Something isn't working label Oct 31, 2022
@kyechou kyechou self-assigned this Oct 31, 2022
kyechou added a commit that referenced this issue Oct 31, 2022
Such as middlebox as an endpoint resetting or reconnecting to devices
@kyechou
Copy link
Collaborator Author

kyechou commented Oct 31, 2022

The problem was caused by the proxy trying to re-establish new connections to the server after the proxy has sent out a FIN-ACK packet but before the server replies with FIN-ACK or the previous connection terminates.

@kyechou
Copy link
Collaborator Author

kyechou commented Oct 31, 2022

Potential solution(?):

  • When this kind of error (pkt.proto_state() < model.proto_state()) happens, rewind the emulation again to reset their internal timer.
  • Also, if we can pause and then later resume the emulation, that may also solve the issue.

@kyechou
Copy link
Collaborator Author

kyechou commented Nov 17, 2022

@kyechou kyechou changed the title Invalid protocol state Invalid protocol state (with squid) Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant