Git Product home page Git Product logo

Comments (6)

jzwinck avatar jzwinck commented on September 6, 2024

What version of Lua are you using?
On 27 Mar 2013 14:37, "NanXiao" [email protected] wrote:

Hi, John:

I have used your script, but it seems not work well. There are some erros I have encountered:

Lua Error: d:\Program Files\Wireshark\redis.lua:52: attempt to index local 'submatch' (a nil value)
Lua Error: d:\Program Files\Wireshark\redis.lua:33: attempt to index local 'line' (a nil value).

I am not very familiar with Lua, so I can't find out the root cause. Could you help to check it? Thanks very much in advance!

Best Regards
Nan Xiao


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

from redis-wireshark.

NanXiao avatar NanXiao commented on September 6, 2024

Lua 5.1, thanks!

from redis-wireshark.

NanXiao avatar NanXiao commented on September 6, 2024

Hi, John:

Glad to receive your response!

The attachment are two wireshark capture packages: One is parsed normally while the other is some error occured.
I find if the Redis data in one TCP segment, the dissector can parse normally. While if the Redis data occupies one more TCP segments(such as INFO command response), the dissector can't parse normally.

Could you help to check it? Thanks very much in advance!

Best Regards
Nan Xiao

At 2013-03-27 17:24:39,"John Zwinck" [email protected] wrote:
What version of Lua are you using?
On 27 Mar 2013 14:37, "NanXiao" [email protected] wrote:

Hi, John:

I have used your script, but it seems not work well. There are some erros I have encountered:

Lua Error: d:\Program Files\Wireshark\redis.lua:52: attempt to index local 'submatch' (a nil value)
Lua Error: d:\Program Files\Wireshark\redis.lua:33: attempt to index local 'line' (a nil value).

I am not very familiar with Lua, so I can't find out the root cause. Could you help to check it? Thanks very much in advance!

Best Regards
Nan Xiao

¡ª
Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

¡ª
Reply to this email directly or view it on GitHub.

from redis-wireshark.

jzwinck avatar jzwinck commented on September 6, 2024

This is probably a real issue for exactly the reason you surmise: my code doesn't do anything special for Redis messages fragmented by TCP. Patches welcome.

I'd also like to leave a link to the StackOverflow question you posted about this, just for reference: http://stackoverflow.com/questions/15630725/is-there-any-good-redis-dissector-for-wireshark

from redis-wireshark.

johnzeng avatar johnzeng commented on September 6, 2024

@jzwinck You can also close this issue. It's fixed by my PR #6

from redis-wireshark.

jzwinck avatar jzwinck commented on September 6, 2024

Thanks @johnzeng for #6.

from redis-wireshark.

Related Issues (5)

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.