jzwinck / redis-wireshark Goto Github PK
View Code? Open in Web Editor NEWRedis protocol dissector for Wireshark
Redis protocol dissector for Wireshark
Hi ,
I encountered in case when ":" was in the middle of buffer (part of segmented packet) and not in start of line , this caused to tshark failure while generating PDML. After I added the check for start of line:
local prefix, text = line:match('^([-+:$*])(.+)')
, tshark succeeded.
What do you think?
Lua plugin from last commit (a6236b2) shows error like this:
Redis Multi-Bulk Reply Lua Error: [string "/home/krzysiek/.config/wireshark/plugins/redis-wireshark.lua"]:38: unrecognized line: SELECT [Expert Info (Error/Undecoded): Lua Error: [string "/home/krzysiek/.config/wireshark/plugins/redis-wireshark.lua"]:38: unrecognized line: SELECT] [Lua Error: [string "/home/krzysiek/.config/wireshark/plugins/redis-wireshark.lua"]:38: unrecognized line: SELECT]
Previous version i used (23842e5) works good.
Redis Multi-Bulk Reply
Redis Bulk Reply
Value: SELECT
Redis Bulk Reply
Value: 10
The lua script stopped working on wireshark v4.0.1, both Windows and macOS. Haven't tried with any Linux disto yet.
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
Lua Error: [string "/Users/jherbst/.wireshark/plugins/redis-wir..."]:78: Range is out of bounds
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.