Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: Re: [Wireshark-users] A Working Lua Tap Example

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 1 Nov 2006 17:42:32 +0100 (CET)

Hi

On Wed, 1 Nov 2006, Leonard Nielsen wrote:

>
> This is my first functional Lua script. Many of the examples on this site
> do not work with the current version so I hope this will help others who
> want to try Lua. This script creates a CSV file with any HTTP or TDS-RPC
> request that takes over x seconds (x is currently set to 20 seconds). I am
> using this to identify which MS-SQL stored procedure is causing which web
> page to time-out.

Cool, put it up the wiki I would say.

> The http tap was fairly straight forward but the tds tap is a real hack.
> tds_type extractor was returning a "userdata" value instead of an integer
> and the TDS dissector does not create fields with the RPC name or
> parameters. I need to find out how to access the reassembled PDU with the
> tvb function instead of the packet data.
>
> One feature I would like see added to Wireshark's Lua is Unicode string
> support. Here is a link to a web page where Lua Unicode support is working
> http://www.workspacewhiz.com/Other/LuaState/LuaState.html
>
> Is anyone working on improving the tds dissector? It seems like freetds.org
> has all of the information needed to decode the parameters.

Is that MSSQL 2005 TDS traffic you're watching? Then see bug 1101. TDS
Version 9 doesn't have a reference (yet).

Thanx,
Jaap



  • References:
    • [Wireshark-users] A Working Lua Tap Example
      • From: Leonard Nielsen
  • Prev by Date: Re: [Wireshark-users] Problem Opening 8M capture in Wireshark V0.99.4
  • Next by Date: Re: [Wireshark-users] R: [Wireshark-announce] Wireshark 0.99.4 is nowavailable
  • Previous by thread: [Wireshark-users] A Working Lua Tap Example
  • Next by thread: [Wireshark-users] Problem Opening 8M capture in Wireshark V0.99.4
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation