-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Unknow tcp option doesnt support reserved options #300
Comments
gaoxingliang
added a commit
to gaoxingliang/pcap4j
that referenced
this issue
Sep 5, 2022
gaoxingliang
added a commit
to gaoxingliang/pcap4j
that referenced
this issue
Sep 5, 2022
gaoxingliang
added a commit
to gaoxingliang/pcap4j
that referenced
this issue
Sep 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
The problem here is if some tcp option number is larger than 128 and then the code will throw an error: (version 1.7.3)
an example code:
in this url https://hpd.gasmi.net/, and paste above content, it will shows:
Root cause of this ticket is
the
length
variable inTcpOption
is byte while in java, byte can only represent -128-127. This will cause an exception if the length is larger than this. in my case it's 181 bytes.and I will fix this.
The text was updated successfully, but these errors were encountered: