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

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


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 5 Oct 2009 14:10:20 -0700


On Oct 5, 2009, at 1:50 PM, Stig Bjørlykke wrote:

You can use two methods to fetch the IP address:

1. The value in the "Source" column can be fetched from pinfo.src.

2. The value in "ip.src" can be fetched using a Field:

I would suggest pinfo.src, as that way you can handle both IPv4 and IPv6 - ip.src doesn't exist if TCP is being carried over IPv6.
  • References:
    • [Wireshark-users] Wireshark Lua question.
      • From: Morita, Bill
    • Re: [Wireshark-users] Wireshark Lua question.
      • From: Stig Bjørlykke
  • Prev by Date: Re: [Wireshark-users] Wireshark Lua question.
  • Next by Date: [Wireshark-users] Spotting HTTPS handshake problem with Wireshark
  • Previous by thread: Re: [Wireshark-users] Wireshark Lua question.
  • Next by thread: [Wireshark-users] Spotting HTTPS handshake problem with Wireshark
  • Index(es):
    • Date
    • Thread

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