ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 8091] New: Allow/Create an option to use "capture filter"

Date: Fri, 14 Dec 2012 16:49:35 +0000
Bug ID 8091
Summary Allow/Create an option to use "capture filter" labels defined in wireshark GUI from CLI
Classification Unclassified
Product Wireshark
Version unspecified
Hardware All
OS All
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Common utilities (libwsutil)
Assignee [email protected]
Reporter [email protected]

Build Information:

--
I am trying to launch wireshark from the cli with the following options...

wireshark -k -i eth2 -a filesize:1000000 -f <capture filter=""> The issue I
have is that I want to use a pre-defined wireshark filter... when I run the
above with the actual filter in the cli cmd it works, when I use a pre-defined
one it fails..

Working example:

wireshark -k -i eth2 -a filesize:1000000 -f "host 40.40.41.42" Failure example
(the one I am trying to use):

wireshark -k -i eth2 -a filesize:1000000 -f pre-defined-capture1 Where
pre-defined-capture1 filter does show up under "Capture -> Options -> Capture
Filter" list...

The error i get is that the filter is not valid, I would like to specify the
filter I saved in the capture filters list if thats possible...


You are receiving this mail because:
  • You are watching all bug changes.