-
Notifications
You must be signed in to change notification settings - Fork 83
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
About decodeing the cat30 packets with longer length #92
Comments
Can you send me the minimal data file that causes crash so i can try to reproduce it ? |
Hi,
Here are two files.
Each containing only one cat30 package, and the name with “L” is a longer package.
Best
…------------------ 原始邮件 ------------------
发件人: "Damir Salantic"<notifications@github.com>;
发送时间: 2019年8月28日(星期三) 中午1:28
收件人: "CroatiaControlLtd/asterix"<asterix@noreply.github.com>;
抄送: "邹云开"<zouyunkaicauc@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [CroatiaControlLtd/asterix] About decodeing the cat30 packetswith longer length (#92)
Can you send me the minimal data file that causes crash so i can try to reproduce it ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I don't see files. Can you try to attach them directly on github or send the link where to download it. |
Can you check which version of asterix parser are you using. If you are not using latest version (0.5.9) please upgrade and try again. |
I'm using the latest version(0.5.9), is there no problem testing on your side? |
I couldn't reproduce the problem. 1.pcap 1L.pcap Which OS are you using ? |
I'm using the Linux version 4.13.0-21-generic (buildd@lgw01-amd64-037) (gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3)) |
OK, good that you now have version that doesn't crash. Note that the output from your sample is not complete because there are some errors in CAT30 packets. Unfortunately you can't see errors in Python version, they are only visible in C++ executable. |
OK, thank you for your help! |
Thanks to your sample I managed to reproduce the problem on latest version of python. |
Hi,
You've said”Currently parsing in python does not return error indication if something is wrong with input data or format definition, but it just ignores the error and returns what is available”in a issue.
Does 'something is wrong with input data or format definition' means that the input catxx package itself contains errors, or the module is currently unable to decode all kinds of data item in a catxx package?
…------------------ 原始邮件 ------------------
发件人: "Damir Salantic"<notifications@github.com>;
发送时间: 2019年8月29日(星期四) 晚上6:46
收件人: "CroatiaControlLtd/asterix"<asterix@noreply.github.com>;
抄送: "邹云开"<zouyunkaicauc@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [CroatiaControlLtd/asterix] About decodeing the cat30 packetswith longer length (#92)
Thanks to your sample I managed to reproduce the problem on latest version of python.
It is fixed now and you can use new version of python_decoder v0.5.10
Thank you for your help
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi,
I‘m trying to decode the cat30 packet from pcap file. When decoding a packet of a shorter length(e.g. length=47), there is no problem. But when the length of the package is longer(e.g. length=504), the program is dead directly.
Here is the code.
The text was updated successfully, but these errors were encountered: