Giter Site home page Giter Site logo

eth-ws-someip's Issues

Lua Error: string expected, got nil

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.

Multiple PDUs

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

Error during loading in someip.lua:13: bad argument #1 to 'Proto' (Proto_new: there cannot be two protocols with the same name)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.