Most ND’s are enabled by default. If you want to disable many of them, I don’t think a long command-line is the best way to do that. Instead, you might want
to use the Wireshark GUI initially to disable all protocols you don’t want enabled (Analyze -> Enabled Protocols). That will create/update the “disabled_protos”
file in your Wireshark profile directory, which tshark should also use. This way, you
won’t have to specify such a long list on the command-line. There can also exist a file called “enabled_protos”
that contains a list of dissectors that are normally disabled by default but have been explicitly enabled. The “transum” dissector comes to mind here. If you delete the “enabled_protos”
file, you will restore all dissectors that are disabled by default to their disabled state. For TCP, UDP and DCCP based protocols (and possibly others?), you can also control whether HD’s take precedence over ND’s via each one’s
“Try heuristic sub-dissectors first” preference. Perhaps enabling one or more of these preferences will help you? You can enable the preference in the GUI or by directly modifying the “preferences”
file if you know what you’re doing, or you can specify the option on the
tshark command line, e.g., “tcp.try_heuristic_first:TRUE” - Chris From: Wireshark-users [mailto:wireshark-users-bounces@xxxxxxxxxxxxx]
On Behalf Of Marcin Nawrocki Dear Wireshark community, I would like to dissect my packets independently from the port number for a small subset of protocols. Is this actually possible? Some dissectors seem to add a ND and HD [2], some only a HD [3], others just have a ND [4]. I guess, I need some clarification on the following command lines options and how they interact with ND/HD:
I'll have to work with tshark, a GUI is of no help as I have quite a lot of data and want want to dissect things automatically.
Thanks in advance and regards, Marcin
CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited. |
- Prev by Date: Re: [Wireshark-users] Auto-upgrade to v2.4.3
- Next by Date: [Wireshark-users] Saving time-shifted packet time stamps
- Previous by thread: Re: [Wireshark-users] Auto-upgrade to v2.4.3
- Next by thread: [Wireshark-users] Saving time-shifted packet time stamps
- Index(es):