-
Notifications
You must be signed in to change notification settings - Fork 6
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
Expanded plugins #7
Comments
Thanks, I'll gladly include it but first...
|
Hello! |
Have a look at branch https://github.com/kmpm/wireshark-nmea/tree/fix/issue7 . I really like what you started at but my personal dislike with arr-prefixed variables (if using types in variable names then one should be consistent and use it everywhere, and that is really hard to do and in my opinion hard to read) was most of the 'obvious' changes. I also added configurable preferences for which port should be regarded as NMEA. If those changes is OK by you then I'll include it and give you credit in the copyright as well. |
Peter, Hi!
Everything you did was great! Let me test your changes on a real stream
over the weekend. No need to include me in the copyright If you plan to
continue supporting the project. To transmit AIS messages, TCP port 5631,
UDP port 4713 (!BSVDO), TCP ports 3421, 2182 (!AIVDO) are most often used.
That is, there is no fixed port and it will be necessary to make a
postdissector and/or heuristic one. For ease of change, I planned to
extract Talker IDs, Talker Proprietary Codes and possibly Message Types
into separate csv files. What do you think about it?
With best regards, Andrey.
ср, 4 окт. 2023 г., 19:02 Peter Magnusson ***@***.***>:
… Have a look at branch
https://github.com/kmpm/wireshark-nmea/tree/fix/issue7 .
I made some stylistic changes to your (and my) code, added some subtrees
and added a pcapng where some AIS messages are encapsulated sim2.pcapng.
I really like what you started at but my personal dislike with
arr-prefixed variables (if using types in variable names then one should be
consistent and use it everywhere, and that is really hard to do and in my
opinion hard to read) was most of the 'obvious' changes.
Then I reordered segments of the code to at least start to get some
structure of constants, lookup tables, helper functions etc.
I also added configurable preferences for which port should be regarded as
NMEA.
If those changes is OK by you then I'll include it and give you credit in
the copyright as well.
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCS2WMVEQPC3ODBBLAU5RL3X5WCABAVCNFSM6AAAAAA5FANKIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXGIYDKNZWHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Hi!
I'm noob in Lua, but decided to practice with your very useful plugin. Thank you so much for it. I've slightly expanded plugin and would be proud if you posted my version. Work on it continues (ToDo: segmented packets, heuristic dissector).
nmea0183.zip
The text was updated successfully, but these errors were encountered: