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: [Wireshark-users] Wireshark Lua question.

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


From: "Morita, Bill" <Bill.Morita@xxxxxxxxxx>
Date: Mon, 5 Oct 2009 13:07:01 -0700

Hello,

 

I am new to this mailing list.

 

I am seeking help in how to access the source and destination IP from a

  TCP packet in a LUA dissector of a protocol that uses TCP for transport.

   

Based on the documentation in the Wireshark users guide, I attempted to

  access the information using pinfo.ip_src and pinfo.ip_dst.

Both values came back as nil.

 

Based on these results I am guessing that I need to access the pinfo for TCP

  rather than that for my protocol.

 

I am clueless on how to access the TCP pinfo.

 

Can someone help point me in the correct direction for getting the TCP pinfo ?

 

Thanks in advance.

 

---------------

Bill Morita

Bill.Morita@xxxxxxxxxx

 

  • Follow-Ups:
    • Re: [Wireshark-users] Wireshark Lua question.
      • From: Stig Bjørlykke
  • Prev by Date: Re: [Wireshark-users] Removing [TCP segment of a reassembled PDU] and HTTP Continuation or non-HTTP traffic
  • Next by Date: Re: [Wireshark-users] Wireshark Lua question.
  • Previous by thread: [Wireshark-users] BACnet MS/TP
  • Next by thread: Re: [Wireshark-users] Wireshark Lua question.
  • Index(es):
    • Date
    • Thread

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