Commit graph

1216 commits

Author SHA1 Message Date
Bill Meier
c7450a6a89 Update the description & skeleton code for the use of proto_reg_handoff.
svn path=/trunk/; revision=27239
2009-01-15 16:52:15 +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
Balint Reczey
43ac3652a3 Service response time statistics for MEGACO (GUI only).
svn path=/trunk/; revision=27140
2008-12-31 15:26:48 +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
Stephen Fisher
45ef29a0a8 Wrap "USA." in the address of the FSF onto a new line with a * in front of it.
svn path=/trunk/; revision=26801
2008-11-18 05:15:10 +00:00
Jaap Keuter
f1db2a5e83 Update tabsize, re-group bitfield proto_tree functions, extend fieldinfo macro descriptions.
svn path=/trunk/; revision=26667
2008-11-01 14:31:43 +00:00
Bill Meier
6bfb1a0cde Add tvb_bytes_to_str() & tvb_bytes_to_str_punct(); fix a few typos.
svn path=/trunk/; revision=26519
2008-10-23 00:19:58 +00:00
Ronnie Sahlberg
c621fb6a25 document the new -K argument
svn path=/trunk/; revision=26346
2008-10-03 15:59:00 +00:00
Jaap Keuter
00f08adddb Polish up the proto_tree_add_bitmask() description example.
svn path=/trunk/; revision=26249
2008-09-22 22:15:26 +00:00
Jaap Keuter
cc692da997 Fix for bug 2889:
Add description of FT_UINT_BYTES.

svn path=/trunk/; revision=26248
2008-09-22 21:53:44 +00:00
Ulf Lamping
1fd35386be from Christopher.Maynard@GTECH.COM:
Attached is a small patch with minor formatting changes
and a few XXX's filled in with some additional information.

svn path=/trunk/; revision=26170
2008-09-09 21:50:05 +00:00
Ulf Lamping
e8dedf19b4 compile a document about heuristic dissectors, following:
http://www.wireshark.org/lists/wireshark-dev/200808/msg00234.html

svn path=/trunk/; revision=26146
2008-09-06 11:28:58 +00:00
Bill Meier
f2bdbd6a7f Minor rewording; fix a type
svn path=/trunk/; revision=26056
2008-08-22 13:32:25 +00:00
Anders Broman
da85c3dfab From Alexey Neyman :
This patch implements a function for dissecting bitfields with better control
over the resulting representation than the existing proto_tree_add_bitmask()
routine. This function will be used by reworked IPMI/ATCA dissector (bug 2048).

The function is described in README.developer. In short, the differences are as
follows:

- The new function does not require a hf_XXX field for the whole bitmask. When
the bitmask includes several unrelated fields, such hf_XXX field does not make
sense.

- The new function allows better control over the way the sub-item descriptions
are added to the top-level item. For example, proto_tree_add_bitmask() function
does not add non-enumerated integers, does not use true_false_string to display
boolean.

- The new function allows to specify "fallback" text for the top-level item
which is used if no items were added to the top-level item.

svn path=/trunk/; revision=25920
2008-08-04 20:41:43 +00:00
Anders Broman
876e751069 From Alexey Neyman :
Implement BASE_CUSTOM display type

svn path=/trunk/; revision=25870
2008-07-30 12:30:02 +00:00
Anders Broman
2e6f9d0dd1 Add information about
tvb_get_bits proto_tree_add_bits_item and proto_tree_add_bits_item_ret_val.

svn path=/trunk/; revision=25866
2008-07-30 10:03:46 +00:00
Jeff Morriss
acd338f422 Remove the (long deprecated) proto_tree_add_*_hidden() functions
svn path=/trunk/; revision=25820
2008-07-24 15:35:29 +00:00
Guy Harris
8fa5c9aada Hyphenate "per-packet information".
svn path=/trunk/; revision=25767
2008-07-18 23:44:35 +00:00
Guy Harris
e937ed67bb Put the EXTRA_DIST items for the doc directory in doc/Makefile.am (which
doesn't need to be one of those items).

svn path=/trunk/; revision=25660
2008-07-02 05:08:43 +00:00
Jeff Morriss
b54acc9ad7 From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2661 : fix prototypes of tvb_fake_unicode() and tvb_get_ephemeral_faked_unicode()
svn path=/trunk/; revision=25636
2008-06-30 13:46:34 +00:00
Jaap Keuter
4eb851906f Fix for bug 2612:
cleaned up FT_UINT_STRING type description.

svn path=/trunk/; revision=25459
2008-06-16 05:33:08 +00:00
Jaap Keuter
3e0312f184 Fix for bug 2611:
Add -v option to example "od" command line.

svn path=/trunk/; revision=25458
2008-06-16 05:32:19 +00:00
Bill Meier
007f598798 eth_ --> ws_
svn path=/trunk/; revision=25370
2008-05-23 10:43:04 +00:00
Bill Meier
b23ecff0d5 Fix typo
svn path=/trunk/; revision=25346
2008-05-21 19:46:22 +00:00
Bill Meier
cfeb34f62b Only Glib/GTK+ >= 2.4/2.4 supported; checkAPIs.pl should be used to verify code.
svn path=/trunk/; revision=25340
2008-05-21 14:27:31 +00:00
Jaap Keuter
1fb551a7ba Clean up PTV cursor documentation.
svn path=/trunk/; revision=25321
2008-05-20 06:28:12 +00:00
Bill Meier
495beba9a5 Ensure wireshark-filter doc rebuilt when tshark changes; optimize rebuild slightly
svn path=/trunk/; revision=25215
2008-05-02 12:58:15 +00:00
Stig Bjørlykke
16717f3be2 From Andrew Feren (bug 2462):
Patch to print packet rate.

From me:
Document -x option in man page.

svn path=/trunk/; revision=25024
2008-04-14 20:02:45 +00:00
Ulf Lamping
f3cbf25d0d remove GTK1 only preferences description
svn path=/trunk/; revision=24872
2008-04-09 23:04:39 +00:00
Ulf Lamping
22045b4a54 lot's of GTK1 related code cleanup in the Win32 build process
svn path=/trunk/; revision=24854
2008-04-09 03:48:16 +00:00
Stephen Fisher
726a1caaf1 - Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
  g_strsplit code for the no longer supported GLIB1 builds


svn path=/trunk/; revision=24829
2008-04-07 05:22:54 +00:00
Ulf Lamping
11b710e997 add ws.css to clean
svn path=/trunk/; revision=24787
2008-04-05 08:51:08 +00:00
Jaap Keuter
d08a9666b2 From William Pursell:
typos in documentation.

svn path=/trunk/; revision=24719
2008-03-23 09:05:57 +00:00
Stephen Fisher
b906bf1708 Fix bug #2382: Typos in README.developer
svn path=/trunk/; revision=24712
2008-03-21 23:41:04 +00:00
Anders Broman
245d0ea29a From William Pursell:
Minor errors in the documentation, and an Ethereal reference

svn path=/trunk/; revision=24673
2008-03-17 21:26:54 +00:00
Gerald Combs
65a999d337 Updates and fixes.
svn path=/trunk/; revision=24635
2008-03-14 22:06:05 +00:00
Jaap Keuter
0612b830c7 Complete binary tree description with string keys.
Update some entries in developer doc.
Add some preference description in POD.

svn path=/trunk/; revision=24594
2008-03-09 19:48:50 +00:00
Gerald Combs
71d81e88b1 Make some text verbatim.
svn path=/trunk/; revision=24585
2008-03-07 23:44:40 +00:00
Anders Broman
e9eb4ce2c2 from Andrew Feren :
Trivial agreement problem in documentation.

svn path=/trunk/; revision=24568
2008-03-05 20:47:36 +00:00
Gerald Combs
b202480fd8 Expand the setuid text a bit.
svn path=/trunk/; revision=24485
2008-02-27 01:22:51 +00:00
Gerald Combs
45a373d6ae Wrap a line in the INSTALL file and correct some text in README.packaging.
svn path=/trunk/; revision=24481
2008-02-26 20:05:25 +00:00
Gerald Combs
eda2dad6e8 Fix CSS paths.
svn path=/trunk/; revision=24434
2008-02-22 21:28:55 +00:00
Gerald Combs
93ab1abeb6 Fix a target.
svn path=/trunk/; revision=24429
2008-02-22 20:29:57 +00:00
Gerald Combs
4f996bd670 Use the docbook CSS for the man pages (which assumes your version of
pod2html supports the "--css" flag). Package up the CSS file, and add
missing HTML files where needed.

svn path=/trunk/; revision=24428
2008-02-22 20:03:36 +00:00
Bill Meier
150fa49c3c Back out useing $Id$; There's a reason for using Date/Author/etc. (Oops)
svn path=/trunk/; revision=24387
2008-02-19 03:44:10 +00:00
Bill Meier
b1e58cea59 Fix typo
svn path=/trunk/; revision=24381
2008-02-18 21:07:35 +00:00
Bill Meier
2f9f8d7df8 Fix some some properties
svn path=/trunk/; revision=24380
2008-02-18 21:01:11 +00:00
Gerald Combs
87cc9c5090 Remove extra copies of the content.
svn path=/trunk/; revision=24362
2008-02-16 17:29:11 +00:00
Gerald Combs
98bacb3556 Add rawshark, a utility that, when given raw pcap-formatted packets and
a list of fields, prints the field values found in each packet.

Packet data can be specified as a libpcap DLT, e.g. "EN10MB" or an upper-layer protocol, e.g. "http".

svn path=/trunk/; revision=24339
2008-02-15 23:20:32 +00:00
Gerald Combs
6537c76fb6 Extend the UAT and preferences code so that you can use the "-o" flag
to override UAT entries from the command line, e.g.

  -o "uat:user_dlts:\"User 0 (DLT=147)\",\"http\",\"0\",\"\",\"0\",\"\""
  
Fix up white space.

svn path=/trunk/; revision=24338
2008-02-15 22:36:24 +00:00
Stephen Fisher
f877c1a57a Remove mention of tshark being installed setuid root as it now uses dumpcap.
Also realign the following few sentences.


svn path=/trunk/; revision=24318
2008-02-13 05:28:27 +00:00
Stig Bjørlykke
2251da0817 Document the "-o dec" changes.
svn path=/trunk/; revision=24273
2008-02-05 21:40:12 +00:00
Bill Meier
63a40511e8 From J.C. Wren (and Bill Meier): Updates to reflect current makefiles & etc
svn path=/trunk/; revision=24271
2008-02-05 19:23:48 +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
Stig Bjørlykke
a72ab4f48e Added entry for configuration profiles, and updated the statusbar
description.

svn path=/trunk/; revision=24156
2008-01-21 22:27:02 +00:00
Jaap Keuter
cc920a0cbe Update Preferences dialog description.
svn path=/trunk/; revision=24155
2008-01-21 22:08:50 +00:00
Jaap Keuter
042dc7258e Document required changes to top level Makefile.nmake.
svn path=/trunk/; revision=24132
2008-01-18 07:35:01 +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
Stephen Fisher
ccad42bc36 Add CommView to list of supported capture file formats
svn path=/trunk/; revision=23944
2007-12-24 04:09:56 +00:00
Stephen Fisher
c5239888fc From Abhik Sarkar via bug #2130: Mistake in Readme.stats_tree
Me: Remove change of 0 to NULL in call to stats_tree_create_node from patch


svn path=/trunk/; revision=23935
2007-12-21 21:55:10 +00:00
Gilbert Ramirez
e36ade488a Documentation fix. Fix a strangely-worded sentence in README.xml-output
and add some important comments to msnchat.

svn path=/trunk/; revision=23897
2007-12-17 09:42:33 +00:00
Stig Bjørlykke
f4ad6f2ac0 From Marton Nemeth:
- The "showHex" name cannot be the name paramter. Changing it to "show_hex" should be fine.
- There is also a missing ';' at the end of a line in the example.

This fixes bug 2092.

svn path=/trunk/; revision=23840
2007-12-11 18:39:34 +00:00
Stig Bjørlykke
ac3f5f885d From Michael:
Fixed two typos in ReadMe.Developer documentation:
In the example code given, a comment is not properly closed and a semicolon was
missing in variable definition.

This fixes bug 2085.

svn path=/trunk/; revision=23824
2007-12-10 09:22:03 +00:00
Jaap Keuter
73a7469bb1 Update FIELDDESCR with NULL option.
Example code should never show what not to do.

svn path=/trunk/; revision=23779
2007-12-06 08:02:58 +00:00
Sake Blok
9b6f806089 This patch adds (ten) temporary coloring rules which will only live until Wireshark is
quit. Temporary coloring filters can be set by:

- pressing <ctrl>-<digit> will create a conversation coloring filter based on the
  addresses of the currently selected packet (order TCP/UDP/IP/Ethernet)
  This can also be achieved from the "View|Colorize Conversation" menu.

- Rightclicking on a packet in the packet-list will give the option to
  "Colorize Conversation" just as "Conversation Filter" does.

- Rightclicking on an item in the packet-detail-list will give the option to
  "Colorize with filter" which works similar to "Apply as filter"

Temporary filters can be cleared from the same menus or by pressing <ctrl>-<space>.

This patch also adds an item to the above mentioned menu's to add a permanent color filter
in the same way.


The colors for the temporary coloring rules are now hardcoded as I do not know
how to change the color of menu-items and therefore I chose to use icons to
show the actual color of each of the ten temporary coloring rules. Is it at all
possible to have different menu items in different colors?

One other way of solving this is to recreate the icons on the fly after changing
the colors. I will have a look into that once it is clear whether I can use 
different colors within the menu structure.


svn path=/trunk/; revision=23560
2007-11-24 11:38:16 +00:00
Gerald Combs
40fe8e9a1f Update the privileges section.
svn path=/trunk/; revision=23519
2007-11-20 20:26:01 +00:00
Stephen Fisher
849e628334 Introduce a new field type called FT_EBCDIC. This field works the same as
FT_STRING, except that it converts the data from the packet from EBCDIC
to ASCII for display in Wireshark.


svn path=/trunk/; revision=23503
2007-11-19 21:27:01 +00:00
Martin Mathieson
6cac0e9ec2 Fix trivial typo.
svn path=/trunk/; revision=23472
2007-11-16 22:53:18 +00:00
Bill Meier
c74d7d243a From Andrew Feren: Fix an assortment of typos and other minor errors
svn path=/trunk/; revision=23277
2007-10-26 15:26:04 +00:00
Bill Meier
08e7d4c8ce Minor update to reflect recent plugins/Makefile.nmake change to clean/distclean/maintainer-clean
svn path=/trunk/; revision=23231
2007-10-19 15:21:42 +00:00
Jeff Morriss
853e791444 Change more fopen() to eth_fopen() to finish fixing bug 1827:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1827

Update README.developer to tell developers not to use fopen() and friends
directly.

svn path=/trunk/; revision=23206
2007-10-16 15:43:18 +00:00
Sake Blok
6a0b11a1dd Update to README.developer describing the use of conversation timestamps
(which was added in SVN 22966 and 23058)


svn path=/trunk/; revision=23169
2007-10-13 07:33:32 +00:00
Stig Bjørlykke
5a58a1435c From Andrew Feren:
Fix an assortment of typos and other minor errors in various README files

svn path=/trunk/; revision=23166
2007-10-12 19:13:31 +00:00
Jeff Morriss
8ec05eb569 Add a small note saying not to use proto_tree_add_text() in new code unless you have a specific reason (like those given in the next paragraphs).
svn path=/trunk/; revision=23011
2007-09-28 13:39:20 +00:00
Jeff Morriss
7efd1b9a76 Add notes suggesting not to use hidden fields but if you're going to, use PROTO_ITEM_SET_HIDDEN() instead of proto_tree_add_*_hidden(). (I thought that was in here already...) Suggest putting fields-you-want-hidden in subtrees where they can be found by ordinary users.
svn path=/trunk/; revision=23010
2007-09-28 13:33:54 +00:00
Gerald Combs
23af5dbf9a Add the -E (encapsulation) flag.
svn path=/trunk/; revision=22987
2007-09-26 15:48:45 +00:00
Stephen Fisher
5775a1dca8 The dissector packet-dcp.c now fails to compile on MacOS X (gcc 4.0.1/Apple). Change G_INLINE_FUNC back to inline per GLib documentation (also remove recommendation in developer's guide to not use inline):
http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Macros.html#id2571572

G_INLINE_FUNC

#define             G_INLINE_FUNC
This macro is used to export function prototypes so they can be linked with an external version when no inlining is performed. The file which implements the functions should define G_IMPLEMENTS_INLINES before including the headers which contain G_INLINE_FUNC declarations. Since inlining is very compiler-dependent using these macros correctly is very difficult. Their use is strongly discouraged.

This macro is often mistaken for a replacement for the inline keyword; inline is already declared in a portable manner in the glib headers and can be used normally.


svn path=/trunk/; revision=22980
2007-09-26 03:05:42 +00:00
Guy Harris
cd4d203af2 Don't use
case N ... M:

as that's not supported by all compilers.

Say so in the Portability section of README.developer, in the hopes of
discouraging others from using that GCCism.

svn path=/trunk/; revision=22976
2007-09-26 00:41:00 +00:00
Ulf Lamping
35eb028ca4 clarify tshark -B (file format) option
svn path=/trunk/; revision=22968
2007-09-25 21:38:54 +00:00
Bill Meier
c387e3fbc9 When -t option: Use current date or time fields for unspecified fields; Fixes bug #1836.
svn path=/trunk/; revision=22916
2007-09-20 16:12:17 +00:00
Ulf Lamping
1366745e45 start an experiment to provide MS Visual Studio 2005 solution / project files for a lot easier debugging. They still use the underlying Makefile.nmake files for the actual build process.
svn path=/trunk/; revision=22831
2007-09-09 13:59:58 +00:00
Gerald Combs
92802883a6 Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark.  Remove the "DANGEROUS" notices, but leave it
disabled by default.  Whine if the user runs Wireshark or TShark as root.
Add a preference to disable the whining.  Add a "setuid-root" script that
can be used to switch dumpcap and TShark's setuid-ness on and off for
development and testing.  Update the release notes and README.packaging.

svn path=/trunk/; revision=22733
2007-08-30 00:24:40 +00:00
Gerald Combs
a6d76c62a5 Clear out any remaining references to the h223 plugin. Replace the
references to h223 in README.plugins with agentx since it's small and
no one seems to be in a hurry to move it to epan/dissectors. 

svn path=/trunk/; revision=22641
2007-08-24 16:08:31 +00:00
Guy Harris
2305f9e389 Give the full pathname of the wireshark.nsi file, and add information on
what to do for the U3 win32/makefile.nmake file.

svn path=/trunk/; revision=22566
2007-08-21 18:09:33 +00:00
Guy Harris
8ed8be19f3 Add more information on adding a plugin to the NSIS installer.
svn path=/trunk/; revision=22564
2007-08-21 17:59:08 +00:00
Gerald Combs
89a2966ced Add a "-S" flag to dumpcap, which prints out interface statistics. Use
this in the GUI rather than calling pcap_stats() directly. This gets rid
of the last pcap_open_live() call in the GUI code. Update
README.packaging.

svn path=/trunk/; revision=22443
2007-08-02 21:45:27 +00:00
Gerald Combs
c02e0c7b4a Remove the "-I" flag from dumpcap, and add a "-M" flag used to specify
that "-D" and "-L" should produce machine-readable output.  Use this to
move an indirect get_pcap_linktype() call from the GUI to dumpcap.

svn path=/trunk/; revision=22367
2007-07-20 21:43:07 +00:00
Gerald Combs
4285f239f0 Add a note about svnversion.h.
svn path=/trunk/; revision=22325
2007-07-16 18:04:53 +00:00
Jaap Keuter
b989e08afd Added remark on anonymous unions.
svn path=/trunk/; revision=22294
2007-07-13 06:28:44 +00:00
Jeff Morriss
25df9f2133 From Guillem Hernandez: fix decoding of EOSP bit. From Jaap Keuter: fix description of 'value' in proto_tree_add_boolean() that caused the former bug.
svn path=/trunk/; revision=22293
2007-07-12 22:36:35 +00:00
Jaap Keuter
29b56573a0 Add a note on how to handle obsolete preferences
svn path=/trunk/; revision=22279
2007-07-09 16:44:30 +00:00
Stephen Fisher
2329adaf2d Add a simple entry for -z voip,calls to wireshark man page/html file
svn path=/trunk/; revision=22139
2007-06-19 18:09:50 +00:00
Gerald Combs
e9f1a0b692 One more step in privilege separation.
Add a capture_interface_list(), which works similar to
get_interface_list() except that it forks dumpcap instead of calling
the pcap routines directly.  Use it in the GUI.

Add a "-I" flag to dumpcap, which prints out verbose interface
information.

Tested under Windows and Linux.

svn path=/trunk/; revision=22071
2007-06-11 03:58:58 +00:00
Guy Harris
2c1e75d519 Update to reflect the use of G_GINT64_MODIFIER, rather than PRI[douxX],
with GLib routines and the routines that love them.

svn path=/trunk/; revision=21991
2007-05-29 18:59:50 +00:00
Guy Harris
2a5ff70caa Document "-T fields".
svn path=/trunk/; revision=21977
2007-05-29 06:20:03 +00:00
Gerald Combs
f0377b44af Add a note about the recent change in "--disable-wireshark" behavior to
the release notes.

Add a couple of updates to the packaging doc.

svn path=/trunk/; revision=21891
2007-05-22 19:05:27 +00:00
Ulf Lamping
530b2735e9 fix -E path setting doc
svn path=/trunk/; revision=21691
2007-05-05 12:17:19 +00:00
Ulf Lamping
c32b8d992a add command line option -E for path settings - implemented already weeks ago
svn path=/trunk/; revision=21690
2007-05-05 11:33:32 +00:00
Jeff Morriss
a5f4e7b85a Make RX a new style dissector: return 0 if there isn't at least 28 bytes of message or if it receives an unknown Type. Add a check of tvb length to README.developer's cut-n-paste dissector code.
svn path=/trunk/; revision=21300
2007-04-02 08:25:43 +00:00