Commit Graph

200 Commits

Author SHA1 Message Date
Gerald Combs fcf51fc73b Add initial pcapng name resolution record support. Wireshark has read
support; TShark has read+write support. Additionally TShark can read a
"hosts" file and write those records to a capture file.

This uses "struct addrinfo" in many places and probably won't compile on
some platforms.

svn path=/trunk/; revision=36318
2011-03-24 22:47:57 +00:00
Chris Maynard feb1d468d8 From: http://www.wireshark.org/lists/wireshark-dev/201103/msg00157.html
Change RTT references to SRT.
(tshark.pod could use a description for -z afp,srt and -z camel,srt)

svn path=/trunk/; revision=36297
2011-03-23 20:00:13 +00:00
Stephen Fisher d381b5dea4 From OKANO Takayoshi via bug #5442: Fix typos in documentation
svn path=/trunk/; revision=35038
2010-11-27 16:51:24 +00:00
Chris Maynard fae0f7d74a Fixed typos.
svn path=/trunk/; revision=34815
2010-11-09 02:50:29 +00:00
Jeff Morriss d14bdd492e Add IPFIX_RECORDS_TO_CHECK to the environment variable section.
svn path=/trunk/; revision=34590
2010-10-20 18:00:25 +00:00
Jeff Morriss 7d20440ff0 Introduce 2 new environment variables: WIRESHARK_EP_VERIFY_POINTERS and
WIRESHARK_SE_VERIFY_POINTERS that control whether or not we verify if a given
pointer is ep_ or se_ allocated, respectively.

Turn the behavior off by default for speed reasons (the speed difference isn't
huge, but...).

Turn the behavior on when fuzz testing.

Document these two new variables in the man pages.

svn path=/trunk/; revision=34046
2010-09-02 18:02:06 +00:00
Sake Blok e10147fb73 Add an option to print the first, the last or all occurrences of each field
(when using tshark -T fields)


svn path=/trunk/; revision=33529
2010-07-14 21:53:57 +00:00
Sake Blok 717abac483 Make 'tshark -T fields' print all values for fields with multiple occurences.
svn path=/trunk/; revision=33527
2010-07-14 20:28:34 +00:00
Anders Broman 4e220d29ff From Jim Young:
The attached patch simply documents a long supported but hidden tshark -G
option.

Tshark's print_usage() has been augmented as well as the tshark man page.

svn path=/trunk/; revision=33253
2010-06-18 17:18:00 +00:00
Jeff Morriss 8bfcba07ad Document the maximum number of files in a ring buffer, including a warning about using large numbers of files.
svn path=/trunk/; revision=32999
2010-05-27 19:11:53 +00:00
Guy Harris 547b9e48a2 The default capture buffer size is, in fact, *nominally* 1MB; however,
libpcap/WinPcap and the capture mechanism atop which they run might
either silently limit the buffer size to a smaller value or raise it to
a higher value - that's the part that's platform-dependent.

svn path=/trunk/; revision=32718
2010-05-08 00:39:07 +00:00
Guy Harris 9dde366f2f -B is no longer Windows-only.
svn path=/trunk/; revision=32707
2010-05-07 02:00:46 +00:00
Guy Harris 6ace737ae4 Add monitor mode support to TShark.
svn path=/trunk/; revision=32704
2010-05-07 01:46:38 +00:00
Guy Harris 6b67ce3ce7 In the section on WIRESHARK_ABORT_ON_DISSECTOR_BUG, give the name of the
program the man page describes, and give a bit more detail.

svn path=/trunk/; revision=32458
2010-04-14 00:46:29 +00:00
Jeff Morriss 6baa3f1abe Add an entry to the environment variable section about WIRESHARK_ABORT_ON_DISSECTOR_BUG
svn path=/trunk/; revision=32457
2010-04-13 22:08:56 +00:00
Jeff Morriss a1353706dc Point out that hostname and MAC address resolution in capture filters will not
use any of the Wireshark "personal" files.

This helps to address the complaint in:

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2904

svn path=/trunk/; revision=32452
2010-04-12 21:35:19 +00:00
Jeff Morriss 273a6c9cfc As requested in:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2132

Point to the Wiki's page on capture filter syntax in case neither libpcap's
nor tcpdump's man pages are available (e.g., on Windows).

svn path=/trunk/; revision=32435
2010-04-09 02:09:10 +00:00
Anders Broman e3a0cf1fcb From Andrej Kuehnal:
tap-diameter-avp.patch:
- make diameter.cmd_code configurable rather than hard coded in 
- more fields in the output
- documetation/man pages + usage examples
- switch option parser from stdlib to glib to avoid troubles with M$ c++

diameter-dict.patch
remove strage spaces in the AVP names.

svn path=/trunk/; revision=32294
2010-03-26 20:15:55 +00:00
Jeff Morriss 176ccd6068 Clarify that "-b" with the "files" criterion needs either duration or filesize
to be set.

Clarify that each "-b" criterion needs the "-b" option (see bug 4573).

Fix a couple of typos.

svn path=/trunk/; revision=32245
2010-03-19 19:34:16 +00:00
Jeff Morriss 04920a8fcd Add descriptions of a few more environment variables that affect *shark's operation
svn path=/trunk/; revision=31973
2010-02-24 05:13:27 +00:00
Guy Harris 0d337768a7 Split "willcollect" into its two component words.
Document "-z conv,ipv6" for Wireshark.  Rewrite the descriptions of the
"-z conv,{type}" options a bit.

svn path=/trunk/; revision=31233
2009-12-11 02:31:47 +00:00
Guy Harris c6a5eacc1b As long as we have an IPv6 tap, we might as well add a "conv,ipv6"
statistic to TShark.

svn path=/trunk/; revision=31232
2009-12-11 02:19:41 +00:00
Jeff Morriss 9341d5c8fa Take a stab at adding a section on environment variables that affect *shark's behavior. So far, all the emem variables are included.
svn path=/trunk/; revision=30648
2009-10-20 20:14:23 +00:00
Gerald Combs a25905c840 Add an example for generating CSV output.
svn path=/trunk/; revision=29597
2009-08-28 16:08:27 +00:00
Guy Harris 5e7b2ff6bd Fix one place where we didn't mention "-t dd".
Put the description of the default time format after the description of
all the time formats, i.e. say "the default is relative" after we say
what "relative" is.

svn path=/trunk/; revision=29089
2009-07-13 23:35:26 +00:00
Jaap Keuter 95a687320f From Reinhard Speyerer:
The description of tshark -t dd is missing from tshark.pod.

svn path=/trunk/; revision=29088
2009-07-13 22:46:32 +00:00
Bill Meier cdb6af68a4 Add additional indentation to -z <statistics> swction to improve readability.
Various other minor reformatting and rewording.

svn path=/trunk/; revision=29080
2009-07-13 14:29:13 +00:00
Jörg Mayer 03286fed40 Add mergecap to see also.
svn path=/trunk/; revision=28710
2009-06-12 00:23:34 +00:00
Bill Meier 910c5bd1a0 SYNOPSYS --> SYNOPSIS
svn path=/trunk/; revision=28338
2009-05-12 21:10:38 +00:00
Jaap Keuter 87a7318177 From Reinhard Speyerer:
This patch fixes several misspellings/typos in Wireshark documentation.

svn path=/trunk/; revision=28244
2009-05-02 06:44:13 +00:00
Sake Blok 1aa850f274 Add a note for -z io,stat,<interval>,<filter>,<filter>,... to use "." as
a decimal separator, as the "," will make the command fail.

(of course it would be nice to have this fixed, but for now, it at least
informs the user how to work around the issue)



svn path=/trunk/; revision=28046
2009-04-14 16:38:08 +00:00
Sake Blok cf23f50e1a As suggested on wireshark-users, when using io,stat in tshark, make an
interval of 0 signify "all packets".


svn path=/trunk/; revision=27715
2009-03-12 22:44:58 +00:00
Guy Harris 1514fcff5f Have the minimum snapshot length be 1 byte, and have a snapshot length
of 0 mean 65535, similar to what tcpdump does.

Fixes bug 2731.

svn path=/trunk/; revision=27526
2009-02-23 19:00:30 +00:00
Balint Reczey ae51123939 Service response time statistics for MEGACO (CLI part).
Refactored GUI part to avoid code duplication.

svn path=/trunk/; revision=27143
2008-12-31 17:47:36 +00:00
Gerald Combs 37c36dba55 Describe the "-d" option a little more clearly.
svn path=/trunk/; revision=27055
2008-12-18 23:25:50 +00:00
Ronnie Sahlberg c621fb6a25 document the new -K argument
svn path=/trunk/; revision=26346
2008-10-03 15:59:00 +00:00
Sake Blok c8276a5c91 From Balint Reczey (bug 2233):
The attached patch makes the Statistics -> RTP -> Show All Streams feature of
wireshark accessible via tshark.

I found it helpful in dealing with tons of RTP captures.


svn path=/trunk/; revision=24252
2008-02-03 10:31:55 +00:00
Stig Bjørlykke 0ba5581dd8 Add description of the new option for configuration profile (-C).
svn path=/trunk/; revision=24157
2008-01-21 22:46:43 +00:00
Jörg Mayer 8b1b8b548c The syntax for capture filters has been moved from
tcpdump (in the tcpdump package) into its own manpage
(pcap-filter) in the libpcap package in the CVS HEAD
branch. Reference the new and the old location for that
information.

svn path=/trunk/; revision=24020
2008-01-07 00:12:36 +00:00
Ulf Lamping 35eb028ca4 clarify tshark -B (file format) option
svn path=/trunk/; revision=22968
2007-09-25 21:38:54 +00:00
Guy Harris 2a5ff70caa Document "-T fields".
svn path=/trunk/; revision=21977
2007-05-29 06:20:03 +00:00
Stephen Fisher 509883e3e9 From Doug Pratley:
The purpose of the patch is to provide a new output format (so it is
independent of -V): single line record per-packet with the fields chosen by the
user, with configuration options to control separator, quoting and whether a
header line is printed. It also extends some existing options behaviour (-c and
-a:filesize) so that they affect reading a file as well as writing one, so that
only the first <n> packets or bytes are read).


svn path=/trunk/; revision=21211
2007-03-26 20:17:05 +00:00
Stephen Fisher 75acf34518 From Douglas Pratley with trivial changes and documentation changes
by myself:

Corrected patch; epan/column.c and epan/column_utils.c were not included. This
one has now been properly tested against a clean checkout of today's code.

- New menu option available under view\time display format
- New sub-option (e) to -t switch for both wireshark and tshark
- Extended recent settings code to handle new value
- Did NOT add new explicit epoch time column


svn path=/trunk/; revision=20040
2006-12-05 03:19:51 +00:00
Gerald Combs 9e23f31e5f Add support for reading from stdin under Windows. Based on a patch sent
in last year by Gianluca Varenni.

Add partial support for reading from named pipes (currently disabled).

Move utf_8to16() and utf_16to8() to a separate module (unicode-utils.[ch])
so that we don't have to cut and paste code in dumpcap.c.

Fix up whitespace.

svn path=/trunk/; revision=19291
2006-09-22 21:14:54 +00:00
Guy Harris 8c801e3493 Indicate in the synopsis that you can put the capture filter at the end
of the command line without "-f".

svn path=/trunk/; revision=18990
2006-08-21 23:36:59 +00:00
Jörg Mayer 13fae81007 Add some programs to 'see also'
svn path=/trunk/; revision=18867
2006-08-10 09:19:03 +00:00
Gerald Combs 82fd788f99 Remove the numeric component in man page links.
svn path=/trunk/; revision=18698
2006-07-10 18:55:15 +00:00
Guy Harris d26ea2b24d Use L<> on all links.
Don't use anything on man page references - pod2man handles that.

Don't refer to "the capture file format section" of the Wireshark man
page, as there's no section explicitly labelled as such; just refer to
the beginning of the DESCRIPTION section.

svn path=/trunk/; revision=18694
2006-07-09 22:45:48 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00