1 include::../attributes.adoc[]
6 :copycss: {css_dir}/{stylesheet}
10 stratoshark - System call and event log analyzer
16 [ *-i* <capture source>|- ]
17 [ *-f* <capture filter> ]
18 [ *-Y* <display filter> ]
33 *Stratoshark* is a GUI system call and log analyzer.
34 It lets you interactively browse system calls and log messages from a live system or from a previously saved capture file.
35 *Stratoshark*'s native capture file format is *scap*, which is used by the sysdig CLI tool and by Falco.
37 // *Stratoshark* can also read / import the following file formats:
39 // * Android Logcat binary and text format logs
41 // * _systemd_ journal files
43 *Stratoshark*'s main window shows 3 views of each event.
44 It shows a summary line, briefly describing what the event is.
45 An event details display is shown, allowing you to drill down to exact field that you interested in.
46 Finally, a hex dump shows you exactly what the event data looks like on disk or over the wire.
48 In addition, *Stratoshark* has some features that make it unique.
49 It can assemble all the syscalls in a file descriptor stream and show you the ASCII (or EBCDIC, or hex) data in that conversation.
50 Display filters in *Stratoshark* are very powerful; more fields are filterable in *Stratoshark* than in other tools, and the syntax you can use to create your filters is richer.
51 As *Stratoshark* progresses, expect more and more fields to be supported.
53 Event capturing is performed by the libscap and libsinsp libraries.
54 The capture filter syntax follows the rules of the libscap.
55 This syntax is different from the display filter syntax.
57 Compressed file support uses (and therefore requires) the zlib library.
58 If the zlib library is not present, *Stratoshark* will compile, but will be unable to read compressed files.
60 The pathname of a capture file to be read can be specified with the
61 *-r* option or can be specified as a command-line argument.
65 *Stratoshark* supports a wide variety of command line options.
66 Most users will want to start it without any options and configure it from the application menus instead.
67 Those users may wish to skip this section.
69 -a|--autostop <capture autostop condition>::
72 Specify a criterion that specifies when *Stratoshark* should stop writing
73 to a capture file. The criterion is of the form __test:value__,
74 where __test__ is one of:
76 *duration*:__value__ Stop writing to a capture file after __value__ seconds have
77 elapsed. Floating point values (e.g. 0.5) are allowed.
79 *files*:__value__ Stop writing to capture files after __value__ number of files
82 *filesize*:__value__ Stop writing to a capture file after it reaches a size of
83 __value__ kB. If this option is used together with the -b option, Stratoshark
84 will stop writing to the current capture file and switch to the next one if
85 filesize is reached. Note that the filesize is limited to a maximum value of
86 2 TB, although you might have problems viewing the file in the GUI before then if
87 the number of events exceeds 2^31^ (2147483648).
89 *events*:__value__ Stop writing to a capture file after it contains __value__ events.
90 Acts the same as *-c*<capture event count>.
93 -b|--ring-buffer <capture ring buffer option>::
96 Cause *Stratoshark* to run in "multiple files" mode. In "multiple files" mode,
97 *Stratoshark* will write to several capture files. When the first capture file
98 fills up, *Stratoshark* will switch writing to the next file and so on.
100 The created filenames are based on the filename given with the *-w* flag,
101 the number of the file and on the creation date and time,
102 e.g. outfile_00001_20250714120117.pcap, outfile_00002_20250714120523.pcap, ...
104 With the __files__ option it's also possible to form a "ring buffer".
105 This will fill up new files until the number of files specified,
106 at which point *Stratoshark* will discard the data in the first file and start
107 writing to that file and so on. If the __files__ option is not set,
108 new files filled up until one of the capture stop conditions match (or
109 until the disk is full).
111 The criterion is of the form __key:value__,
112 where __key__ is one of:
114 *duration*:__value__ switch to the next file after __value__ seconds have
115 elapsed, even if the current file is not completely filled up. Floating
116 point values (e.g. 0.5) are allowed.
118 *files*:__value__ begin again with the first file after __value__ number of
119 files were written (form a ring buffer). This value must be less than 100000.
120 Caution should be used when using large numbers of files: some filesystems do
121 not handle many files in a single directory well. The *files* criterion
122 requires one of the other criteria to be specified to
123 control when to go to the next file. It should be noted that each *-b*
124 parameter takes exactly one criterion; to specify two criteria, each must be
125 preceded by the *-b* option.
127 *filesize*:__value__ switch to the next file after it reaches a size of
128 __value__ kB. Note that the filesize is limited to a maximum value of 2 TB,
129 although you might have problems viewing the file in the GUI before then if
130 the number of events exceeds 2^31^ (2147483648).
132 *interval*:__value__ switch to the next file when the time is an exact
133 multiple of __value__ seconds.
135 *events*:__value__ switch to the next file after it contains __value__ events.
137 Example: *-b filesize:1000 -b files:5* results in a ring buffer of five files
138 of size one megabyte each.
142 -B|--buffer-size <capture buffer size>::
145 Set capture buffer size (in MiB, default is 2 MiB). This is used by
146 the capture driver to buffer packet data until that data can be written
147 to disk. If you encounter packet drops while capturing, try to increase
148 this size. Note that, while *Stratoshark* attempts to set the buffer size
149 to 2 MiB by default, and can be told to set it to a larger value, the
150 system or interface on which you're capturing might silently limit the
151 capture buffer size to a lower value or raise it to a higher value.
153 This is available on UNIX-compatible systems, such as Linux, macOS,
154 \*BSD, Solaris, and AIX, with libpcap 1.0.0 or later, and on Windows.
155 It is not available on UNIX-compatible systems with earlier versions of
158 This option can occur multiple times. If used before the first
159 occurrence of the *-i* option, it sets the default capture buffer size.
160 If used after an *-i* option, it sets the capture buffer size for
161 the interface specified by the last *-i* option occurring before
162 this option. If the capture buffer size is not set specifically,
163 the default capture buffer size is used instead.
167 -c <capture event count>::
168 Set the maximum number of events to read when capturing live
169 data. Acts the same as *-a events:*<capture event count>.
171 -C <configuration profile>::
172 Start with the given configuration profile.
174 --capture-comment <comment>::
177 When performing a capture file from the command line, with the *-k*
178 flag, add a capture comment to the output file, if supported by the
181 This option may be specified multiple times. Note that Stratoshark
182 currently only displays the first comment of a capture file.
185 -D|--list-interfaces::
186 Print a list of the interfaces on which *Stratoshark* can capture, and
187 exit. For each network interface, a number and an interface name,
188 possibly followed by a text description of the interface, is printed.
189 The interface name or the number can be supplied to the *-i* flag to
190 specify an interface on which to capture. The number can be useful on
191 Windows systems, where the interfaces have long names that usually
194 --display <X display to use>::
195 Specifies the X display to use. A hostname and screen (otherhost:0.0)
196 or just a screen (:0.0) can be specified. This option is not available
197 under macOS or Windows.
199 -f <capture filter>::
202 Set the capture filter expression.
204 This option can occur multiple times. If used before the first
205 occurrence of the *-i* option, it sets the default capture filter expression.
206 If used after an *-i* option, it sets the capture filter expression for
207 the interface specified by the last *-i* option occurring before
208 this option. If the capture filter expression is not set specifically,
209 the default capture filter expression is used if provided.
211 Pre-defined capture filter names, as shown in the GUI menu item Capture->Capture Filters,
212 can be used by prefixing the argument with "predef:".
213 Example: *-f "predef:MyPredefinedHostOnlyFilter"*
218 When performing a capture file from the command line, with the *-k* option,
219 set the file format of the output capture file written using the *-w* option.
220 In situations that require the *pcapng* format, such as capturing from
221 multiple interfaces, this option will be overridden. The option *-F*
222 without a value will list the available formats. The default is the
223 *pcapng* format (unless the default has been changed in preferences.)
225 This does not support every format to which Stratoshark can convert a file;
226 this is intentional for security reasons. Capture in a supported format and
227 then save the file in a different format if so desired.
233 Start Stratoshark in full screen mode (kiosk mode). To exit from fullscreen mode,
234 open the View menu and select the Full Screen option. Alternatively, press the
235 F11 key (or Ctrl + Cmd + F for macOS).
239 After reading in a capture file using the *-r* flag, go to the given __event number__.
242 Print the version number and options and exit.
245 Hide the capture info dialog during live capture.
247 -i|--interface <capture source>|-::
250 Set the name of the capture source or pipe to use for live capture.
252 Capture source names should match one of the names or numbers listed in "*stratoshark -D*" (described above).
254 If no source is specified, *Stratoshark* searches the list of interfaces, choosing the first interface.
255 If there are no interfaces at all, *Stratoshark* reports an error and doesn't start the capture.
257 Pipe names should be either the name of a FIFO (named pipe) or "-" to
258 read data from the standard input. On Windows systems, pipe names must be
259 of the form +"\\.\pipe\+*pipename*". Data read from pipes must be in
260 standard scap format.
261 Scap data must have the same endianness as the capturing host.
263 This option can occur multiple times.
270 Put the interface in "monitor mode"; this is supported only on IEEE
271 802.11 Wi-Fi interfaces, and supported only on some operating systems.
273 Note that in monitor mode the adapter might disassociate from the
274 network with which it's associated, so that you will not be able to use
275 any wireless networks with that adapter. This could prevent accessing
276 files on a network server, or resolving host names or network addresses,
277 if you are capturing in monitor mode and are not connected to another
278 network with another adapter.
280 This option can occur multiple times. If used before the first
281 occurrence of the *-i* option, it enables the monitor mode for all interfaces.
282 If used after an *-i* option, it enables the monitor mode for
283 the interface specified by the last *-i* option occurring before
289 Use after *-J* to change the behavior when no exact match is found for
290 the filter. With this option select the first event before.
295 After reading in a capture file using the *-r* flag, jump to the event
296 matching the filter (display filter syntax). If no exact match is found
297 the first event after that is selected.
303 Start the capture session immediately. If the *-i* flag was
304 specified, the capture uses the specified source. Otherwise,
305 *Stratoshark* searches the list of interfaces, the first source.
306 If there are no interfaces, *Stratoshark* reports an error and doesn't start the capture.
310 Turn on automatic scrolling if the event display is being updated
311 automatically as events arrive during a capture (as specified by the
315 -L|--list-data-link-types::
316 List the data link types supported by the interface and exit.
320 --list-time-stamp-types::
321 List time stamp types supported for the interface. If no time stamp type can be
322 set, no time stamp types are listed.
325 -o <preference/recent setting>::
328 Set a preference or recent value, overriding the default value and any value
329 read from a preference/recent file. The argument to the flag is a string of
330 the form __prefname:value__, where __prefname__ is the name of the
331 preference/recent value (which is the same name that would appear in the
332 preference/recent file), and __value__ is the value to which it should be set.
334 If __prefname__ is "uat", you can override settings in various user access
335 tables using the form "uat:__uat filename__:__uat record__". __uat filename__
336 must be the name of a UAT file, e.g. __user_dlts__. __uat_record__ must be in
337 the form of a valid record for that file, including quotes. For instance, to
338 specify a user DLT from the command line, you would use
340 -o "uat:user_dlts:\"User 0 (DLT=147)\",\"cops\",\"0\",\"\",\"0\",\"\""
344 -p|--no-promiscuous-mode::
347 __Don't__ put the interface into promiscuous mode. Note that the
348 interface might be in promiscuous mode for some other reason; hence,
349 *-p* cannot be used to ensure that the only traffic that is captured is
350 traffic sent to or from the machine on which *Stratoshark* is running,
351 broadcast traffic, and multicast traffic to addresses received by that
354 This option can occur multiple times. If used before the first
355 occurrence of the *-i* option, no interface will be put into the
357 If used after an *-i* option, the interface specified by the last *-i*
358 option occurring before this option will not be put into the
366 Special path settings usually detected automatically. This is used for
367 special cases, e.g. starting Stratoshark from a known location on an USB stick.
369 The criterion is of the form __key:path__, where __key__ is one of:
371 *persconf*:__path__ path of personal configuration files, like the
374 *persdata*:__path__ path of personal data files, it's the folder initially
375 opened. After the very first initialization, the recent file will keep the
379 -r|--read-file <infile>::
380 Read event data from __infile__, can be any supported capture file format
381 (including compressed files). It's not possible to use named pipes or stdin
382 here, unlike *TShark*! To capture from a pipe or from stdin use *-i -*.
384 -R|--read-filter <read (display) filter>::
385 When reading a capture file specified with the *-r* flag, causes the
386 specified filter (which uses the syntax of display filters, rather than
387 that of capture filters) to be applied to all events read from the
388 capture file; events not matching the filter are discarded.
390 -s|--snapshot-length <capture snaplen>::
393 Set the default snapshot length to use when capturing live data.
394 No more than __snaplen__ bytes of each network event will be read into
395 memory, or saved to disk. A value of 0 specifies a snapshot length of
396 262144, so that the full event is captured; this is the default.
398 This option can occur multiple times. If used before the first
399 occurrence of the *-i* option, it sets the default snapshot length.
400 If used after an *-i* option, it sets the snapshot length for
401 the interface specified by the last *-i* option occurring before
402 this option. If the snapshot length is not set specifically,
403 the default snapshot length is used if provided.
407 Automatically update the event display as events are coming in.
409 --temp-dir <directory>::
412 Specifies the directory into which temporary files (including capture
413 files) are to be written. The default behavior on UNIX-compatible systems,
414 such as Linux, macOS, \*BSD, Solaris, and AIX, is to use the environment
415 variable __$TMPDIR__ if set, and the system default, typically __/tmp__, if it
416 is not. On Windows, the __%TEMP%__ environment variable is used, which
417 typically defaults to __%USERPROFILE%\AppData\Local\Temp__.
420 --time-stamp-type <type>::
421 Change the interface's timestamp method. See --list-time-stamp-types.
423 --update-interval <interval>::
424 Set the length of time in milliseconds between new event reports during
425 a capture. Also sets the granularity of file duration conditions.
426 The default value is 100ms.
429 Print the full version information and exit.
432 Set the default capture file name, or '-' for standard output.
434 -X <eXtension options>::
437 Specify an option to be passed to an *Stratoshark* module. The eXtension option
438 is in the form __extension_key:value__, where __extension_key__ can be:
440 *lua_script*:__lua_script_filename__ tells *Stratoshark* to load the given script in addition to the
443 **lua_script**__num__:__argument__ tells *Stratoshark* to pass the given argument
444 to the lua script identified by 'num', which is the number indexed order of the 'lua_script' command.
445 For example, if only one script was loaded with '-X lua_script:my.lua', then '-X lua_script1:foo'
446 will pass the string 'foo' to the 'my.lua' script. If two scripts were loaded, such as '-X lua_script:my.lua'
447 and '-X lua_script:other.lua' in that order, then a '-X lua_script2:bar' would pass the string 'bar' to the second lua
448 script, namely 'other.lua'.
451 *read_format*:__file_format__ tells *Stratoshark* to use the given file format to read in the
452 file (the file given in the *-r* command option).
455 *stdin_descr*:__description__ tells *Stratoshark* to use the given description when
456 capturing from standard input (*-i -*).
460 -y|--linktype <capture link type>::
463 If a capture is started from the command line with *-k*, set the data
464 link type to use while capturing events. The values reported by *-L*
465 are the values that can be used.
467 This option can occur multiple times. If used before the first
468 occurrence of the *-i* option, it sets the default capture link type.
469 If used after an *-i* option, it sets the capture link type for
470 the interface specified by the last *-i* option occurring before
471 this option. If the capture link type is not set specifically,
472 the default capture link type is used if provided.
476 -Y|--display-filter <displaY filter>::
477 Start with the given display filter.
482 Get *Stratoshark* to collect various types of statistics and display the result
483 in a window that updates in semi-real time.
485 Some of the currently implemented statistics are:
489 Display all possible values for *-z*.
492 *-z* afp,srt[,__filter__]::
495 Show Apple Filing Protocol service response time statistics.
498 *-z* conv,__type__[,__filter__]::
501 Create a table that lists all conversations that could be seen in the
502 capture. __type__ specifies the conversation endpoint types for which we
503 want to generate the statistics; currently the supported ones are:
505 "eth" Ethernet addresses
506 "fc" Fibre Channel addresses
507 "fddi" FDDI addresses
509 "ipv6" IPv6 addresses
511 "tcp" TCP/IP socket pairs Both IPv4 and IPv6 are supported
512 "tr" Token Ring addresses
513 "udp" UDP/IP socket pairs Both IPv4 and IPv6 are supported
515 If the optional __filter__ is specified, only those events that match the
516 filter will be used in the calculations.
518 The table is presented with one line for each conversation and displays
519 the number of events/bytes in each direction as well as the total
520 number of events/bytes. By default, the table is sorted according to
521 the total number of events.
523 These tables can also be generated at runtime by selecting the appropriate
524 conversation type from the menu "Tools/Statistics/Conversation List/".
527 *-z* dcerpc,srt,__name-or-uuid__,__major__.__minor__[,__filter__]::
530 Collect call/reply SRT (Service Response Time) data for DCERPC interface
531 __name__ or __uuid__, version __major__.__minor__.
532 Data collected is the number of calls for each procedure, MinSRT, MaxSRT
534 Interface __name__ and __uuid__ are case-insensitive.
536 Example: [.nowrap]#*-z dcerpc,srt,12345778-1234-abcd-ef00-0123456789ac,1.0*# will collect data for the CIFS SAMR Interface.
538 This option can be used multiple times on the command line.
540 If the optional __filter__ is provided, the stats will only be calculated
541 on those calls that match that filter.
543 Example: [.nowrap]#*-z dcerpc,srt,12345778-1234-abcd-ef00-0123456789ac,1.0,ip.addr==1.2.3.4*# will collect SAMR
544 SRT statistics for a specific host.
547 *-z* dhcp,stat[,__filter__]::
548 Show DHCP (BOOTP) statistics.
551 Show expert information.
553 *-z* fc,srt[,__filter__]::
556 Collect call/reply SRT (Service Response Time) data for FC. Data collected
557 is the number of calls for each Fibre Channel command, MinSRT, MaxSRT and AvgSRT.
560 will calculate the Service Response Time as the time delta between the
561 First event of the exchange and the Last event of the exchange.
563 The data will be presented as separate tables for all normal FC commands,
564 Only those commands that are seen in the capture will have its stats
567 This option can be used multiple times on the command line.
569 If the optional __filter__ is provided, the stats will only be calculated
570 on those calls that match that filter.
572 Example: *-z "fc,srt,fc.id==01.02.03"* will collect stats only for
573 FC events exchanged by the host at FC address 01.02.03 .
576 *-z* h225,counter[__,filter__]::
579 Count ITU-T H.225 messages and their reasons. In the first column you get a
580 list of H.225 messages and H.225 message reasons which occur in the current
581 capture file. The number of occurrences of each message or reason is displayed
582 in the second column.
584 Example: *-z h225,counter*
586 This option can be used multiple times on the command line.
588 If the optional __filter__ is provided, the stats will only be calculated
589 on those calls that match that filter.
591 Example: *-z "h225,counter,ip.addr==1.2.3.4"* will collect stats only for
592 H.225 events exchanged by the host at IP address 1.2.3.4 .
595 *-z* h225,srt[__,filter__]::
598 Collect request/response SRT (Service Response Time) data for ITU-T H.225 RAS.
599 Data collected is the number of calls of each ITU-T H.225 RAS Message Type,
600 Minimum SRT, Maximum SRT, Average SRT, Minimum in event, and Maximum in event.
601 You will also get the number of Open Requests (Unresponded Requests),
602 Discarded Responses (Responses without matching request) and Duplicate Messages.
604 Example: *-z h225,srt*
606 This option can be used multiple times on the command line.
608 If the optional __filter__ is provided, the stats will only be calculated
609 on those calls that match that filter.
611 Example: *-z "h225,srt,ip.addr==1.2.3.4"* will collect stats only for
612 ITU-T H.225 RAS events exchanged by the host at IP address 1.2.3.4 .
618 Collect event/bytes statistics for the capture in intervals of 1 second.
619 This option will open a window with up to 5 color-coded graphs where
620 number-of-events-per-second or number-of-bytes-per-second statistics
621 can be calculated and displayed.
623 This option can be used multiple times on the command line.
625 This graph window can also be opened from the Analyze:Statistics:Traffic:IO-Stat
629 *-z* ldap,srt[,__filter__]::
632 Collect call/reply SRT (Service Response Time) data for LDAP. Data collected
633 is the number of calls for each implemented LDAP command, MinSRT, MaxSRT and AvgSRT.
635 Example: *-z ldap,srt*
636 will calculate the Service Response Time as the time delta between the
637 Request and the Response.
639 The data will be presented as separate tables for all implemented LDAP commands,
640 Only those commands that are seen in the capture will have its stats
643 This option can be used multiple times on the command line.
645 If the optional __filter__ is provided, the stats will only be calculated
646 on those calls that match that filter.
648 Example: use *-z "ldap,srt,ip.addr==10.1.1.1"* will collect stats only for
649 LDAP events exchanged by the host at IP address 10.1.1.1 .
651 The only LDAP commands that are currently implemented and for which the stats will be available are:
662 *-z* megaco,srt[__,filter__]::
665 Collect request/response SRT (Service Response Time) data for MEGACO.
666 (This is similar to *-z smb,srt*). Data collected is the number of calls
667 for each known MEGACO Command, Minimum SRT, Maximum SRT and Average SRT.
669 Example: *-z megaco,srt*
671 This option can be used multiple times on the command line.
673 If the optional __filter__ is provided, the stats will only be calculated
674 on those calls that match that filter.
676 Example: *-z "megaco,srt,ip.addr==1.2.3.4"* will collect stats only for
677 MEGACO packets exchanged by the host at IP address 1.2.3.4 .
680 *-z* mgcp,srt[__,filter__]::
683 Collect request/response SRT (Service Response Time) data for MGCP.
684 (This is similar to *-z smb,srt*). Data collected is the number of calls
685 for each known MGCP Type, Minimum SRT, Maximum SRT and Average SRT.
687 Example: *-z mgcp,srt*
689 This option can be used multiple times on the command line.
691 If the optional __filter__ is provided, the stats will only be calculated
692 on those calls that match that filter.
694 Example: *-z "mgcp,srt,ip.addr==1.2.3.4"* will collect stats only for
695 MGCP packets exchanged by the host at IP address 1.2.3.4 .
698 *-z* mtp3,msus[,<filter>]::
699 Show MTP3 MSU statistics.
701 *-z* multicast,stat[,<filter>]::
702 Show UDP multicast stream statistics.
707 Collect call/reply SRT data for all known ONC-RPC programs/versions.
708 Data collected is the number of calls for each protocol/version, MinSRT,
712 *-z* rpc,srt,__name-or-number__,__version__[,<filter>]::
715 Collect call/reply SRT (Service Response Time) data for program
716 __name__/__version__ or __number__/__version__.
717 Data collected is the number of calls for each procedure, MinSRT, MaxSRT and
719 Program __name__ is case-insensitive.
721 Example: *-z rpc,srt,100003,3* will collect data for NFS v3.
723 This option can be used multiple times on the command line.
725 If the optional __filter__ is provided, the stats will only be calculated
726 on those calls that match that filter.
728 Example: [.nowrap]#*-z rpc,srt,nfs,3,nfs.fh.hash==0x12345678*# will collect NFS v3
729 SRT statistics for a specific file.
732 *-z* scsi,srt,__cmdset__[,<filter>]::
735 Collect call/reply SRT (Service Response Time) data for SCSI commandset <cmdset>.
737 Commandsets are 0:SBC 1:SSC 5:MMC
740 is the number of calls for each procedure, MinSRT, MaxSRT and AvgSRT.
742 Example: *-z scsi,srt,0* will collect data for SCSI BLOCK COMMANDS (SBC).
744 This option can be used multiple times on the command line.
746 If the optional __filter__ is provided, the stats will only be calculated
747 on those calls that match that filter.
749 Example: *-z scsi,srt,0,ip.addr==1.2.3.4* will collect SCSI SBC
750 SRT statistics for a specific iscsi/ifcp/fcip host.
753 *-z* sip,stat[__,filter__]::
756 This option will activate a counter for SIP messages. You will get the number
757 of occurrences of each SIP Method and of each SIP Status-Code. Additionally you
758 also get the number of resent SIP Messages (only for SIP over UDP).
760 Example: *-z sip,stat*
762 This option can be used multiple times on the command line.
764 If the optional __filter__ is provided, the stats will only be calculated
765 on those calls that match that filter.
767 Example: *-z "sip,stat,ip.addr==1.2.3.4"* will collect stats only for
768 SIP packets exchanged by the host at IP address 1.2.3.4 .
771 *-z* smb,srt[,__filter__]::
774 Collect call/reply SRT (Service Response Time) data for SMB. Data collected
775 is the number of calls for each SMB command, MinSRT, MaxSRT and AvgSRT.
777 Example: *-z smb,srt*
779 The data will be presented as separate tables for all normal SMB commands,
780 all Transaction2 commands and all NT Transaction commands.
781 Only those commands that are seen in the capture will have their stats
783 Only the first command in a xAndX command chain will be used in the
784 calculation. So for common SessionSetupAndX + TreeConnectAndX chains,
785 only the SessionSetupAndX call will be used in the statistics.
786 This is a flaw that might be fixed in the future.
788 This option can be used multiple times on the command line.
790 If the optional __filter__ is provided, the stats will only be calculated
791 on those calls that match that filter.
793 Example: *-z "smb,srt,ip.addr==1.2.3.4"* will collect stats only for
794 SMB packets exchanged by the host at IP address 1.2.3.4 .
800 This option will show a window that shows VoIP calls found in the capture file.
801 This is the same window shown as when you go to the Statistics Menu and choose
804 Example: *-z voip,calls*
807 *-z* wlan,stat[,<filter>]::
808 Show IEEE 802.11 network and station statistics.
810 *-z* wsp,stat[,<filter>]::
811 Show WSP packet counters.
814 include::dissection-options.adoc[tags=**;!tshark]
816 include::diagnostic-options.adoc[]
821 The link:{wireshark-users-guide-url}[Stratoshark User's Guide] contains a description of the user interface. It also may be installed locally along with Stratoshark. Pressing the F1 key will attempt to open the guide locally if present, falling back to the online guide if not.
825 == CAPTURE FILTER SYNTAX
827 See the manual page of xref:https://www.tcpdump.org/manpages/pcap-filter.7.html[pcap-filter](7) or, if that doesn't exist, xref:https://www.tcpdump.org/manpages/tcpdump.1.html[tcpdump](8),
828 or, if that doesn't exist, {wireshark-wiki-url}CaptureFilters.
832 == DISPLAY FILTER SYNTAX
834 For a complete table of protocol and protocol fields that are filterable
835 in *Stratoshark* see the xref:wireshark-filter.html[wireshark-filter](4) manual page.
838 include::files.adoc[]
840 == ENVIRONMENT VARIABLES
842 // Should this be moved to an include file?
844 WIRESHARK_CONFIG_DIR::
847 This environment variable overrides the location of personal
848 configuration files. On UNIX-compatible systems, such as Linux, macOS,
849 \*BSD, Solaris, and AIX, it defaults to __$XDG_CONFIG_HOME/wireshark__
850 (or, if that directory doesn't exist but __$HOME/.wireshark__ does
851 exist, __$HOME/.wireshark__); this is typically
852 __$HOME/.config/wireshark__. On Windows, it defaults to
853 __%APPDATA%\Wireshark__ (or, if %APPDATA% isn't defined,
854 __%USERPROFILE%\Application Data\Wireshark__). Available since
858 WIRESHARK_DEBUG_WMEM_OVERRIDE::
859 Setting this environment variable forces the wmem framework to use the
860 specified allocator backend for *all* allocations, regardless of which
861 backend is normally specified by the code. This is mainly useful to developers
862 when testing or debugging. See __README.wmem__ in the source distribution for
865 WIRESHARK_RUN_FROM_BUILD_DIRECTORY::
866 This environment variable causes the plugins and other data files to be
867 loaded from the build directory (where the program was compiled) rather
868 than from the standard locations. It has no effect when the program in
869 question is running with root (or setuid) permissions on UNIX-compatible
870 systems, such as Linux, macOS, \*BSD, Solaris, and AIX.
873 This environment variable causes the various data files to be loaded from
874 a directory other than the standard locations. It has no effect when the
875 program in question is running with root (or setuid) permissions on
876 UNIX-compatible systems.
878 WIRESHARK_EXTCAP_DIR::
879 This environment variable causes the various extcap programs and scripts
880 to be run from a directory other than the standard locations. It has no
881 effect when the program in question is running with root (or setuid)
882 permissions on UNIX-compatible systems.
884 WIRESHARK_PLUGIN_DIR::
885 This environment variable causes the various plugins to be loaded from
886 a directory other than the standard locations. It has no effect when the
887 program in question is running with root (or setuid) permissions on
888 UNIX-compatible systems.
890 WIRESHARK_ABORT_ON_DISSECTOR_BUG::
891 If this environment variable is set, *Stratoshark* will call abort(3)
892 when a dissector bug is encountered. abort(3) will cause the program to
893 exit abnormally; if you are running *Stratoshark* in a debugger, it
894 should halt in the debugger and allow inspection of the process, and, if
895 you are not running it in a debugger, it will, on some OSes, assuming
896 your environment is configured correctly, generate a core dump file.
897 This can be useful to developers attempting to troubleshoot a problem
898 with a protocol dissector.
900 WIRESHARK_ABORT_ON_TOO_MANY_ITEMS::
901 If this environment variable is set, *Stratoshark* will call abort(3)
902 if a dissector tries to add too many items to a tree (generally this
903 is an indication of the dissector not breaking out of a loop soon enough).
904 abort(3) will cause the program to exit abnormally; if you are running
905 *Stratoshark* in a debugger, it should halt in the debugger and allow
906 inspection of the process, and, if you are not running it in a debugger,
907 it will, on some OSes, assuming your environment is configured correctly,
908 generate a core dump file. This can be useful to developers attempting to
909 troubleshoot a problem with a protocol dissector.
911 WIRESHARK_QUIT_AFTER_CAPTURE::
912 Cause *Stratoshark* to exit after the end of the capture session. This
913 doesn't automatically start a capture; you must still use *-k* to do
914 that. You must also specify an autostop condition, e.g. *-c* or *-a
915 duration:...*. This means that you will not be able to see the results
916 of the capture after it stops; it's primarily useful for testing.
918 WIRESHARK_LOG_LEVEL::
919 This environment variable controls the verbosity of diagnostic messages to
920 the console. From less verbose to most verbose levels can be `critical`,
921 `warning`, `message`, `info`, `debug` or `noisy`. Levels above the
922 current level are also active. Levels `critical` and `error` are always
925 WIRESHARK_LOG_FATAL::
926 Sets the fatal log level. Fatal log levels cause the program to abort.
927 This level can be set to `Error`, `critical` or `warning`. `Error` is
928 always fatal and is the default.
930 WIRESHARK_LOG_DOMAINS::
931 This environment variable selects which log domains are active. The filter is
932 given as a case-insensitive comma separated list. If set only the included
933 domains will be enabled. The default domain is always considered to be enabled.
934 Domain filter lists can be preceded by '!' to invert the sense of the match.
936 WIRESHARK_LOG_DEBUG::
937 List of domains with `debug` log level. This sets the level of the provided
938 log domains and takes precedence over the active domains filter. If preceded
939 by '!' this disables the `debug` level instead.
941 WIRESHARK_LOG_NOISY::
942 Same as above but for `noisy` log level instead.
946 Stratoshark would not be the powerful, featureful application it is without the generous contributions of hundreds of developers.
948 A complete list of authors can be found in the AUTHORS file in Wireshark's source code repository.
952 xref:wireshark-filter.html[wireshark-filter](4), xref:tshark.html[tshark](1), xref:editcap.html[editcap](1), xref:dumpcap.html[dumpcap](1), xref:mergecap.html[mergecap](1)
956 This is the manual page for *Stratoshark* {stratoshark-version}.
957 The latest version of *Stratoshark* can be found at
958 {wireshark-main-url}.
960 HTML versions of the Wireshark project man pages are available at
961 {wireshark-man-page-url}.
964 The Wireshark's User Guide is available at
965 {wireshark-users-guide-url}.