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-dev: Re: [Wireshark-dev] filter expression required

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


From: "Gilbert Ramirez" <gram@xxxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2007 11:15:55 +0530

You're really using the "contains" keyword? That's for strings and
binary strings.

The spaces in your filter are probably confusing the shell when you
invoke wireshark/tshark from the command-line. Are you running on
Unix? Use single quotes around your filter:

tshark ............ 'udp contains xxx'

--gilbert

On 7/2/07, Amit Paliwal <Amit.Paliwal@xxxxxxxxxxxxxxx> wrote:

I want to set command line filter expression for proprietary protocol that
is registered over UDP by its name. I am able to do it directly in Wireshark
GUI by setting the expression as "UDP contains my_protocol", but I need to
do the same from command line that I am unable to do right now.

Please suggest.

Regards,

______________________________________________________________________

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev



  • Follow-Ups:
    • Re: [Wireshark-dev] filter expression required
      • From: Amit Paliwal
  • References:
    • [Wireshark-dev] filter expression required
      • From: Amit Paliwal
  • Prev by Date: [Wireshark-dev] filter expression required
  • Next by Date: Re: [Wireshark-dev] filter expression required
  • Previous by thread: [Wireshark-dev] filter expression required
  • Next by thread: Re: [Wireshark-dev] filter expression required
  • Index(es):
    • Date
    • Thread

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