jamores / eth-ws-someip Goto Github PK
View Code? Open in Web Editor NEWAutomotive Ethernet SOME/IP-SD Wireshark LUA dissectors (Autosar 4.2)
License: MIT License
Automotive Ethernet SOME/IP-SD Wireshark LUA dissectors (Autosar 4.2)
License: MIT License
Getting the following error when I try to analyze someIP packets: 'Lua Error : PATH\someip.lua:129: bad argument #3 to '__newindex' (string expected, got nil)' . If needed I will uploaded a packet for analysis.
If there are multiple PDUs in a buffer, only the first is parsed. The rest are currently put in the "data" field.
I am writing some code to fix this
Hi,
I am using Wireshark 3.2.1 on Linux 5.4.0-kali3-amd64 and I was receiving this error during startup after following your installation instructions:
Lua: Error during loading:
.local/lib/wireshark/plugins/3.2/eth-ws-someip/someip.lua:13:
bad argument #1 to 'Proto' (Proto_new: there cannot be two protocols with the same name)
stack traceback:
[C]: in function 'Proto'
.local/lib/wireshark/plugins/3.2/eth-ws-someip/someip.lua:13: in main chunk
The fix was to replace line 13 in someip.lua
with the following expression:
p_someip = Proto("someip2","Scalable service-Oriented MiddlewarE over IP")
Then during packet analysis, Wireshark was throwing an error in line 135 in sd_options.lua
which was solved by the following fix:
if o_l4[l4_u8] == "TCP" then
DissectorTable.get("tcp.port"):add(buf(offset,2):uint(),Dissector.get("someip2"))
elseif o_l4[l4_u8] == "UDP" then
DissectorTable.get("udp.port"):add(buf(offset,2):uint(),Dissector.get("someip2"))
end
I cannot recall that I have installed a Wireshark SOME/IP plugin before. So I am a bit confused by the errors.
Cheers,
Arnd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.