Commit Graph

1326 Commits

Author SHA1 Message Date
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
Ulf Lamping b05d384d71 add a small section, that code should be warning free
svn path=/trunk/; revision=21291
2007-03-31 15:32:06 +00:00
Sebastien Tandel 0ca67aef30 - new ptvcursor subtrees management functions :
* ptvcursor_push_subtree(), ptvcursor_pop_subtree() for pushing/popping
    subtrees. Multiple levels of subtrees (256 max.), allocation per 8 levels.
  * Two new functions creating an item in the tree and pushing a subtree at the
    same time. These two functions accept an undefined length
    (SUBTREE_UNDEFINED_LENGTH). The length of the item is set at the next pop.
        1) ptvcursor_add_with_subtree
	2) ptvcursor_add_text_with_subtree
- get rid of potential memory leaks with g_new in ptvcursor_new().

- Documentation of the new ptvcursor functions in README.developer


svn path=/trunk/; revision=21276
2007-03-30 00:21:39 +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 6d8d2854c8 From Sake Blok:
Fix for bug #491: Unexpected frame.time_delta behavior

This patch ... fixes bug 491. It does this by changing the
behaviour of the frame.time_delta field so it reflects the delta
time between captured packets (tshark already did this).  To keep
the delta time between displayed packets, the field 
frame.time_delta_displayed is created.


svn path=/trunk/; revision=21154
2007-03-23 18:08:17 +00:00
Jeff Morriss 62596bffb3 Fix bug 552:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=552

by enforcing that header fields have names of length > 0.  This should fix
the display of those fields and also make them filterable (which was the
subject of the bug).  Abbreviations are (still) optional: if they are empty
then the field is not filterable.

Update README.developer with this information.

Add header field names in several dissectors where they were missing.

In packet-arp.c give "packet-storm-detected" a name (as above) but also set it
as _GENERATED.

Also remove trailing white space from all the files checked in.

svn path=/trunk/; revision=21018
2007-03-11 06:16:00 +00:00
Ulf Lamping acefba187a from Sake Blok:
I have changed the patch according to your suggestions and also changed
the doc[book] files accordingly. I tested the patch and it does seem to
work fine on my test-system.

ULFL: In addition, I've added the en-/disabling to the other (already existing) Copy menu items - some just did nothing, some crashed if nothing was selected.
I've also sligthly changed the menu seperators and made both context menus look a bit more identical.

svn path=/trunk/; revision=21005
2007-03-08 23:37:55 +00:00
Jaap Keuter 88a508d407 From Richard van der Hoff:
I've had a good look at the code in packet-tcp.c, and whilst it's
somewhat impenetrable, I've come to the conclusion that it just doesn't
support multiple pdus as described.

That's not entirely unreasonable in itself; my objection is solely to
the fact that README.developer is completely misleading. In fact, even
the example dissect_cstr won't work on the tcp dissector, because if you
set desegment_len=1 the tcp dissector believes that you know what you
are doing and doesn't let you change your mind later.

Furthermore, 2.7.2 says that you can set desegment_len=-1; that doesn't
work either, because the tcp dissector expects
DESEGMENT_ONE_MORE_SEGMENT, which is 0x0fffffff, which is nowhere near -1.

In short, I think the relevant section of README.developer needs a
rewrite. I attach a patch - comments welcome.

svn path=/trunk/; revision=20974
2007-03-05 20:25:54 +00:00
Jaap Keuter a6817744ae Further cleanup of the document
svn path=/trunk/; revision=20855
2007-02-19 06:24:29 +00:00
Stephen Fisher 371179340e Fix a couple of spelling mistakes
svn path=/trunk/; revision=20840
2007-02-19 00:23:58 +00:00
Jörg Mayer b3fcfe4fd4 Version 0.10.12 was still Ethereal, not Wireshark
svn path=/trunk/; revision=20811
2007-02-14 13:25:08 +00:00
Stephen Fisher aa897723ff From Sebastien Tandel:
Here is an updated patch for proto_tree_add_item and the
range_string structure. The new macro RVALS() can be used as the macro
VALS() in the declaration of your hf_register_info with another
structure (range_string).  Be aware that you *have to* ORed the value of
the field display with BASE_RANGE_STRING constant and it can 'only' be
used with FT_(U)INT* types in a header_field_info.


svn path=/trunk/; revision=20805
2007-02-14 00:39:48 +00:00
Stephen Fisher 0ebc01dc03 From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override
the buggy g_strsplit() function when compiling for GTK1.  Include this
work-around function (ws_strsplit) in libwireshark.def.  Add notes on usage
to README.developer.  Include epan/ws_strsplit.h in all files that use
g_strsplit().


svn path=/trunk/; revision=20804
2007-02-13 20:57:22 +00:00
Stephen Fisher a93d280d7a Minor cleanup - spelling fixes, formatting
svn path=/trunk/; revision=20802
2007-02-13 02:06:04 +00:00
Jeff Morriss e166f9c4e6 Explain what 'base' in 'prefs_register_uint_preference()' is: it's used in 'strtoul()'
svn path=/trunk/; revision=20636
2007-01-31 01:59:12 +00:00
Jaap Keuter e4e739a5ca From Graham Bloice:
In the Developers Guide, Section 9.3, Example 9.17. Decompressing data
packets for dissection

The code calls tvb_set_free_cb() for the newly created next_tvb.  This
is unnecessary as the call to tvb_set_child_real_data() adds next_tvb to
the chained list of tvb, thus ensuring that next_tvb is correctly
deleted.  In fact when I had the call in, Visual Studio kept breaking
deep down in ntdll.dll, probably because of a double free every time the
main tvb was deleted.

In README.developer, para 2..2.7 The example conversation code doesn't
assign the result of conversation_new() back into the conversation variable.

svn path=/trunk/; revision=20569
2007-01-26 17:12:00 +00:00
Jaap Keuter 929af1b95b Improve information on building plugins.
svn path=/trunk/; revision=20476
2007-01-18 12:22:21 +00:00
Jaap Keuter f8422ab7db Extending true_false_string support
- Separate tfs.[ch]
- Add larger sample collection
- Properly export DATA

svn path=/trunk/; revision=20373
2007-01-10 07:47:00 +00:00
Guy Harris 44c0624bd9 Add a WIRESHARK_RUN_FROM_BUILD_DIRECTORY environment variable on UN*X;
if set, and if the program isn't running with additional privileges,
it'll treat the directory in which the program is found as the data
directory.

If, on Windows, the version-number subdirectory of {data
directory}\plugins doesn't exist (which is assumed to mean that the
program is being run from the build directory), or if, on UN*X,
WIRESHARK_RUN_FROM_BUILD_DIRECTORY is set, the plugin directory is the
"plugins" subdirectory of the data directory, and all subdirectories of
that directory are scanned for plugins, as the "plugins" subdirectory of
the build directory contains subdirectories for the plugins; this means
that if we're running from the build directory, we'll find the plugins
we built in the build tree.

When generating the wireshark-filter man page, run tshark with
WIRESHARK_RUN_FROM_BUILD_DIRECTORY set, so it uses the plugins from the
build to generate the list of filters.

svn path=/trunk/; revision=20261
2007-01-02 06:49:40 +00:00
Jaap Keuter c0be7a8d28 Updated to describe the current state of plugin development.
svn path=/trunk/; revision=20180
2006-12-20 16:24:19 +00:00
Stephen Fisher 8b8b648ad6 From Stig Bjorlykke:
* Fixed a typo in README.developer


svn path=/trunk/; revision=20132
2006-12-14 00:05:03 +00:00
Stephen Fisher c980cede98 From Francesco Fondelli:
I defined a range_string struct. It's like value_string
but stores range <-> string pairs.
Moreover I wrote rval_to_str(), match_strrval_idx()
match_strrval() which are behaving exactly as
val_to_str(), match_strval_idx() and match_strval().


svn path=/trunk/; revision=20061
2006-12-07 20:29:40 +00:00
Bill Meier e4a99fc4dd Add a few missing /$(MAKEFLAGS)
svn path=/trunk/; revision=20046
2006-12-05 12:36:06 +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
Jeff Morriss 39c6f8bf89 Add documentation of the col_set_fence() and col_prepend_fence_fstr() calls. I *think* I got the description of col_prepend_fence_fstr() right.
svn path=/trunk/; revision=20015
2006-11-29 13:42:16 +00:00
Ronnie Sahlberg 3ea6b058d9 add description of proto_tree_add_bitmask()
svn path=/trunk/; revision=20011
2006-11-28 09:09:58 +00:00
Jeff Morriss 09078377d9 Change to show how to write a 'new style' dissector (that is, one that returns the number of bytes it was able to dissect). I think the Developer's Guide (docbook/) probably needs similar updates but I'm a bit shy about editing XML with good old vi; maybe if I can figure out if I can build the doc in the first place... Also rewrap a few pararaphs that went past 80 columns.
svn path=/trunk/; revision=19989
2006-11-26 14:00:01 +00:00
Guy Harris 9bf2e75f68 If you're doing TCP reassembly by hand rather than with
tcp_dissect_pdus(), pinfo->desegment_len indicates whether your
dissector needs more data from TCP or not - the return value doesn't
indicate that.

Fix typo.

It appears that the Id keyword is one of the case-insensitive ones in
the svn:keywords property, so if you set it to "ID" it still expands
"$Id$"; it also appears not to expand "$ID$".  We use Revision, Date,
and Author in the document to indicate the revision, and don't expand
Id, so that references to "$Id$" get left alone.

Rewrap paragraphs.

svn path=/trunk/; revision=19950
2006-11-21 20:10:10 +00:00
Jaap Keuter 45aa24f1ec Correct comments and examples on get_pdu_len().
svn path=/trunk/; revision=19949
2006-11-21 14:18:46 +00:00
Gerald Combs 50998dea36 Add comments to the indentation style section.
svn path=/trunk/; revision=19910
2006-11-16 18:28:09 +00:00
Guy Harris 8f3f19975d Add Yet Another Portability Recommendation.
svn path=/trunk/; revision=19855
2006-11-07 09:12:30 +00:00
Guy Harris 6c0027f4a9 Mention the 64-bit-integer accessors.
svn path=/trunk/; revision=19703
2006-10-26 10:27:16 +00:00
Ulf Lamping 2117343868 - some more cleanup
- mention the other README files
- encode some @ chars to [AT] in mail addresses

svn path=/trunk/; revision=19551
2006-10-16 03:25:50 +00:00
Ulf Lamping 97f292ce70 fix a typo
svn path=/trunk/; revision=19550
2006-10-16 03:23:43 +00:00
Ulf Lamping 262774ad51 split the display filter engine doc into it's own file
svn path=/trunk/; revision=19549
2006-10-16 02:37:06 +00:00
Ulf Lamping 565d3841b9 add a prerequisites section and some minor changes
svn path=/trunk/; revision=19545
2006-10-15 22:42:22 +00:00
Jaap Keuter aafce04fd4 Update FSF address in code template
svn path=/trunk/; revision=19531
2006-10-14 19:00:31 +00:00
Jaap Keuter a4ed1160e0 Cleanup sample code.
Cleanup some text and headings.
Play trick with keyword so text remains untouched.

svn path=/trunk/; revision=19504
2006-10-12 10:38:24 +00:00
Ulf Lamping 3fa7bc5f0c change the Win32 build environment, so we can create release zip files without the need of an installer - a feature requested from time to time. When this is matured, we might want to add these zip files (of GTK1 and GTK2 versions) to the released files.
config.nmake contains the target INSTALL1_DIR and INSTALL2_DIR. I guess you can retain the previous behaviour by using . for both DIRs, though I never tested this...

svn path=/trunk/; revision=19302
2006-09-23 01:39:07 +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
Gerald Combs 7d95399a0d Use SESSIONNAME instead of CLIENTNAME to try to detect RDP sessions.
Look for a string that starts with "rdp".  This should take care of
cases where a default capture filter is set needlessly.

Update the docs accordingly.

svn path=/trunk/; revision=19236
2006-09-15 21:35:01 +00:00
Ulf Lamping 27b3b45627 from Stephen Fisher:
"I ran doc/README.developer through a spell checker and conservatively 
changed misspelled words.  Attached is a compressed patch with the 
corrections."

svn path=/trunk/; revision=19070
2006-08-29 00:15:09 +00:00
Ulf Lamping 11c289ecc3 fix #1063, some leftover typo's: Etheral -> Wireshark
svn path=/trunk/; revision=19053
2006-08-27 11:46:02 +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
Ronnie Sahlberg 8ce8e719e0 rename some structures and defines from the se_tree to the emem_tree prefix
svn path=/trunk/; revision=18894
2006-08-14 08:29:29 +00:00
Ulf Lamping 3342dab895 "bug" #1013: from Stephen Fisher
add the X --display command line parameter to the documentation

svn path=/trunk/; revision=18889
2006-08-13 00:13:22 +00:00
Jörg Mayer bffc4ab0e5 Stephen Fisher:
This patch fixes two typos in README.developer

svn path=/trunk/; revision=18870
2006-08-10 10:21:44 +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 9045703e2c Add duplicate frame detection (and removal) to editcap. (Some switches
generate duplicate packets when a mirror/SPAN port is misconfigured).

svn path=/trunk/; revision=18800
2006-07-27 17:53:29 +00:00
Gerald Combs 3c31446e09 Fixes and updates.
svn path=/trunk/; revision=18760
2006-07-18 18:48:19 +00:00
Ronnie Sahlberg de71542c98 small typo
svn path=/trunk/; revision=18740
2006-07-15 03:35:54 +00:00
Ronnie Sahlberg 9d1a3b7fdf Add a README that explains how to add request/response tracking to
a protocol



svn path=/trunk/; revision=18739
2006-07-15 03:33:59 +00:00
Jörg Mayer 64078e4bba Add a note how to change headers (od+text2pcap)
svn path=/trunk/; revision=18725
2006-07-13 05:39:27 +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
Jaap Keuter cc1a6ebfa6 Update the ptvcursors chapter.
svn path=/trunk/; revision=18639
2006-07-03 09:26:19 +00:00
Jaap Keuter 257f76d96a Stricter wording for PROTOABBREV
svn path=/trunk/; revision=18535
2006-06-21 19:33:05 +00:00
Jaap Keuter 4b9285a4de Document option to hide the capture info dialog
svn path=/trunk/; revision=18305
2006-06-01 20:40:22 +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
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Ronnie Sahlberg 18ffc28bb1 ethereal->wireshark
svn path=/trunk/; revision=18208
2006-05-22 09:05:24 +00:00
Ronnie Sahlberg 6075ec39fb ethereal->wireshark
svn path=/trunk/; revision=18207
2006-05-22 08:21:22 +00:00
Ronnie Sahlberg f0b33a4789 ethereal->wireshark updates
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Guy Harris 3d69ec4b62 Update Gerald's e-mail address.
svn path=/trunk/; revision=18202
2006-05-21 21:49:19 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Tomas Kukosa d31072a9a2 update with FT_GUID, FT_OID, BASE_DEC_HEX, BASE_HEX_DEC
svn path=/trunk/; revision=18163
2006-05-15 16:28:49 +00:00
Anders Broman 7186c6481c From Martin Mathieson:
Add DCT2000 to the list of supported import file 
types in the Ethereal man page and the user guide

svn path=/trunk/; revision=18130
2006-05-11 05:09:15 +00:00
Gilbert Ramirez e3899ed4a4 Add infrastructure for display filter functions.
Add upper() and lower() display filter functions for string fields.

svn path=/trunk/; revision=18071
2006-05-02 14:26:17 +00:00
Ronnie Sahlberg c8cc76e2e2 SCSI Service Response Time Staistics
svn path=/trunk/; revision=17984
2006-04-24 23:09:34 +00:00
Guy Harris 83a515b966 Update to reflect the way the DOCSIS plugin is done; that's easier (you
only list the files in one place, Makefile.common; make-dissector-reg
will generate the init routines and other boilerplate for you).

svn path=/trunk/; revision=17920
2006-04-20 02:39:04 +00:00
Jaap Keuter 95fc8d3c59 Provide options to work with defaults of text2pcap.
svn path=/trunk/; revision=17682
2006-03-20 11:45:36 +00:00
Luis Ontanon fb41328889 Add -A <start time> and -B <stop time> options to editcap
svn path=/trunk/; revision=17614
2006-03-13 22:20:07 +00:00
Ronnie Sahlberg aba18252db document the char *name parameter to the create tree functions
svn path=/trunk/; revision=17588
2006-03-11 13:21:41 +00:00
Jörg Mayer 6cd888718a propset ...
svn path=/trunk/; revision=17547
2006-03-09 12:05:53 +00:00
Ronnie Sahlberg a0a3f8dda5 add documentation on how to use the binary trees
svn path=/trunk/; revision=17544
2006-03-09 11:06:21 +00:00
Jaap Keuter b812a6b0c5 ethereal-tut.mgp has a few problems:
* Written almost 6 years ago, some of the information is outdated.
* The referenced images are missing, so the presentation won't run.
The author agrees to remove it

svn path=/trunk/; revision=17454
2006-03-03 07:12:51 +00:00
Jörg Mayer c7a3dd2938 Remove references to README.tvbuff. The Makefile.am should fix the
buildbot failure.

svn path=/trunk/; revision=17405
2006-02-25 02:02:36 +00:00
Jaap Keuter 6a8533fbb0 Remove obsolete document README.tvbuff
svn path=/trunk/; revision=17401
2006-02-24 21:54:54 +00:00
Jaap Keuter 060c5da876 Add ep_tvb_memdup() description to documentation
svn path=/trunk/; revision=17381
2006-02-23 16:52:13 +00:00
Gerald Combs 9f9262f3a0 Add a document for creating an Ethereal package.
svn path=/trunk/; revision=17321
2006-02-16 18:08:06 +00:00
Guy Harris 13a8667b08 Document the proto_tree_add_XXX_format_value() routines.
svn path=/trunk/; revision=17318
2006-02-16 11:51:02 +00:00
Ulf Lamping 07173c5578 add dumpcap manual page
svn path=/trunk/; revision=17237
2006-02-09 21:49:02 +00:00
Luis Ontanon b5f22bf8a8 eXtenstion options access to the -X command line options
svn path=/trunk/; revision=17207
2006-02-07 22:08:12 +00:00
Ulf Lamping 23a594c070 minor changes
svn path=/trunk/; revision=17013
2006-01-12 01:31:22 +00:00
Ulf Lamping 9bd96f6cba fix sequence of time stamp ordering: from most to least information content
svn path=/trunk/; revision=17010
2006-01-12 00:10:46 +00:00
Ulf Lamping 57772cd844 add <> to the option parameters
add some minor enhancements

svn path=/trunk/; revision=17007
2006-01-11 21:36:00 +00:00
Ulf Lamping ab1a84d177 note that "-i -" doesn't work on Win32
svn path=/trunk/; revision=17006
2006-01-11 21:34:52 +00:00
Ulf Lamping 6accf60a31 add <>add <> to the option parameters
rephrase some sentences

svn path=/trunk/; revision=17005
2006-01-11 21:00:54 +00:00
Ulf Lamping 351befac24 add <> to the option parameters
svn path=/trunk/; revision=17004
2006-01-11 20:57:29 +00:00
Ulf Lamping 34f4ff7bae instead of repeating the capture file format description over and over again (this list also tends to become outdated), just give a small description and refer to the Ethereal man page
svn path=/trunk/; revision=16997
2006-01-11 01:53:46 +00:00
Ulf Lamping a5c90d377c same command line related changes as recently done with editcap
svn path=/trunk/; revision=16996
2006-01-11 01:38:16 +00:00
Ulf Lamping 41c3bca696 same command line related changes as recently done with editcap
svn path=/trunk/; revision=16994
2006-01-10 23:06:05 +00:00
Ulf Lamping c38f10aec7 added <>: [-c packets per file] -> [-c <packets per file>]
update to my latest command line changes

svn path=/trunk/; revision=16992
2006-01-10 21:39:21 +00:00
Ulf Lamping 37d7d13a80 complete redesign of this manpage
svn path=/trunk/; revision=16982
2006-01-09 21:22:13 +00:00
Jörg Mayer 2241288ab5 Jaap Keuter:
Add the documentation part of the fix for bug 379

svn path=/trunk/; revision=16876
2005-12-22 01:33:56 +00:00
Anders Broman 476059c8b8 From Martin Warnes
Attached a small patch to top level Makefile.am to include the recently 
added diamter data files chargecontrol.xml and TGPPSh.xml

From jaaap Keuter:
I've polished up the README.malloc describing ememified memory management. It's basically the same information, but made a bit more accessable. All this in response to bug 511

svn path=/trunk/; revision=16845
2005-12-18 18:15:24 +00:00
Ulf Lamping 1b1b19458f document latest command line changes:
new: -D to list interfaces
changed: -i will also accept indices (rather than complete names only)

text copied from the tethereal.pod file

svn path=/trunk/; revision=16793
2005-12-14 09:16:30 +00:00
Guy Harris e28c8a0c82 Repeatedly indicate that "-w" is for writing binary packet data, and
that if you want to send text to a file, just redirect the standard
output.  I've seen at least one message on the Ethereal lists from
somebody who didn't realize that, and I think I've seen more.

svn path=/trunk/; revision=16737
2005-12-09 02:59:36 +00:00
Ulf Lamping 7e3a24418c rename pcap-....c/.h files to capture-pcap-....c/.h
this way, the capture prefix will "logically" group the files together and file browsers will also group them

we may want to move the files into a subdir capture later

svn path=/trunk/; revision=16691
2005-12-06 00:07:13 +00:00
Guy Harris 93e66072c1 Add support for the "-B" flag to Tethereal on Windows.
svn path=/trunk/; revision=16542
2005-11-18 06:12:17 +00:00
Guy Harris aa01054c6a Improve the description of "contains" and "matches" a bit.
svn path=/trunk/; revision=16371
2005-10-31 03:45:11 +00:00
Ulf Lamping ec28ace2ff very minor enhancements
svn path=/trunk/; revision=16364
2005-10-30 13:46:40 +00:00
Ulf Lamping 32f715f2e7 simply use 4 spaces for example indentation and formatting
svn path=/trunk/; revision=16330
2005-10-27 08:27:46 +00:00
Ulf Lamping 7c8d9be3c1 Synopsis: don't prepend an optional - before the first record number, it won't work
svn path=/trunk/; revision=16328
2005-10-27 08:09:32 +00:00
Ulf Lamping e43c7d56fe from Jaap Keuter:
The attached patch extends the synopsys and adds an 'Examples' chapter to
the editcap documentation.

I've edited this a bit, without the real knowledge :-(, to make it:

a. look better
b. make more sense (at least to me)

svn path=/trunk/; revision=16325
2005-10-26 21:08:24 +00:00
Gilbert Ramirez 7764c48771 Document ptvcursors.
svn path=/trunk/; revision=16308
2005-10-25 17:10:04 +00:00
Ronnie Sahlberg e9ab01f4e3 add some text to discourage using strcpy and friends and how to do string buffer allocation less rpone to memory leaks and buffer overflows.
svn path=/trunk/; revision=16232
2005-10-15 23:44:28 +00:00
Luis Ontanon 26312023d8 set Id and eol-style
svn path=/trunk/; revision=16168
2005-10-08 12:38:39 +00:00
Luis Ontanon 8cafb43bdd Add some missing descriptions
svn path=/trunk/; revision=16165
2005-10-08 12:15:35 +00:00
Ronnie Sahlberg b09c0237f2 add initial better than nothing ep/se allocation documentation
svn path=/trunk/; revision=16157
2005-10-08 00:52:39 +00:00
Ulf Lamping 4443681a9e fix Ethereal so command line capture parameter will work with kilobytes (again)
remove Byte(s) from the dropdown list of filesizes, this doesn't make sense
replace 1000 with 1024, as all (modern?) file managers are based on 1024 bytes for a kilobyte (the old KB vs. KiB controversy)

svn path=/trunk/; revision=16149
2005-10-07 03:34:27 +00:00
Ulf Lamping e0e6441d5d add missing -E parameter to the Options section
svn path=/trunk/; revision=16138
2005-10-06 01:33:29 +00:00
Guy Harris 266e1a3491 Add "tvb_get_ipv4()" and "tvb_get_ipv6()" addresses, to fetch IPv4 and
IPv6 addresses.  Use "tvb_get_ipv4()" in the WINS Replication dissector,
so that it gets the right answer on little-endian *AND* big-endian
machines.

svn path=/trunk/; revision=15753
2005-09-10 19:43:41 +00:00
Ulf Lamping 933ef6e2c2 (very minor) issue found while working on a new tap
svn path=/trunk/; revision=15731
2005-09-08 21:33:11 +00:00
Gerald Combs 00f087b2f0 In doc/Makefile.nmake, use the "install-deps" target from the root
Makefile.nmake instead of doing our own XCOPYing.  Use the "clean-deps"
target when we're done instead of leaving DLLs lying around.

Normalize the use of underscores vs hyphens in the "clean-deps" target.

svn path=/trunk/; revision=15704
2005-09-06 18:41:25 +00:00
Guy Harris ba2d24a6c0 text2pcap can add fake SCTP headers.
svn path=/trunk/; revision=15670
2005-09-02 16:50:51 +00:00
Ronnie Sahlberg 9599cf9e3b add new function tvb_get_ephemeral_stringz()
svn path=/trunk/; revision=15273
2005-08-10 14:25:59 +00:00
Ronnie Sahlberg b4441e6748 rename ep_tvb_fake_unicode() to tvb_get_ephemeral_faked_unicode() and update the README file.
svn path=/trunk/; revision=15271
2005-08-10 13:56:34 +00:00
Ronnie Sahlberg ec3ab9ec3e rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the documentation in README.developer
svn path=/trunk/; revision=15270
2005-08-10 13:41:13 +00:00
Jörg Mayer 6f4033bc83 Don't initialize variables in their declaration with non-constant
values.

svn path=/trunk/; revision=15211
2005-08-04 21:40:58 +00:00
Ulf Lamping cb62ed9cea from Thomas Boehne: update README's to reflect latest changes
svn path=/trunk/; revision=15059
2005-07-25 18:27:35 +00:00
Ulf Lamping bb847366a3 from Graeme Hewson: "Fixes for ethereal config files"
svn path=/trunk/; revision=15041
2005-07-24 14:35:12 +00:00
Ulf Lamping 47d503303c from Graeme Hewson: "Fixes for ethereal config files"
svn path=/trunk/; revision=14956
2005-07-19 20:44:45 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Ulf Lamping 8549096f37 update text to reflect the current implementation (e.g. we don't have normal/sync mode any longer)
svn path=/trunk/; revision=14762
2005-06-26 09:14:12 +00:00
Guy Harris 75f9e9f5c8 Update URL for omniORB.
svn path=/trunk/; revision=14702
2005-06-19 19:08:37 +00:00
Gerald Combs f97247e3d0 Add a note about fuzz testing.
svn path=/trunk/; revision=14679
2005-06-17 15:03:26 +00:00
Ulf Lamping 8911a5f3e7 add some more details to the files section
svn path=/trunk/; revision=14599
2005-06-09 19:49:56 +00:00
Ulf Lamping a84b47e275 we possibly have global cfilters/dfilters files now
svn path=/trunk/; revision=14596
2005-06-09 08:03:34 +00:00
Anders Broman 46a9c67335 From Mike Duigou
Minor corrections to README.developer and README.tapping

svn path=/trunk/; revision=14593
2005-06-09 05:40:26 +00:00
Ulf Lamping c97555220b update to changes done in the menu
svn path=/trunk/; revision=14548
2005-06-04 04:57:10 +00:00
Ulf Lamping c1292ec68a make a complete redesign of the files section
svn path=/trunk/; revision=14547
2005-06-04 04:14:02 +00:00
Ulf Lamping 66acca7018 update usage output and manual pages for both Ethereal and Tethereal to reflect the latest changes in the command line.
clarifications of some command line parameter descriptions in the manual pages

this also fixes #221

svn path=/trunk/; revision=14545
2005-06-04 01:29:14 +00:00
Anders Broman d656e253db From Mike Duigou:
A few doxygen updates and an improved section on 
writing dissectors that don't use tcp_dissect_pdus().

svn path=/trunk/; revision=14538
2005-06-03 06:36:07 +00:00
Ulf Lamping 87bcb9f8e5 add new command line flag "-g", will go to a given packet, after loading a capture file with -r
svn path=/trunk/; revision=14511
2005-05-31 21:30:40 +00:00
Ulf Lamping ec246cae54 fix #148: (win32 only) use command line parameter -B to set capture buffer size
svn path=/trunk/; revision=14484
2005-05-30 04:46:25 +00:00
Ulf Lamping 047cdd0f2a First part to fix #148: use command line parameter -o not only for preferences but also for recent settings.
This way we can simply remove the GUI related command line parameters -B, -P and -T, which are useless now.

svn path=/trunk/; revision=14483
2005-05-30 04:06:22 +00:00
Guy Harris d22b1f3cbe Update URLs for WinPcap.
svn path=/trunk/; revision=14431
2005-05-25 16:59:59 +00:00
Ronnie Sahlberg fcab322ada Some applications do very naughty things like reusing a port for a different protocol during different stages of an application cycle.
This is very naughty and will cause problems when we have assigned a dissector to a dynamic port using conversation_set_dissector().


To make ethereal handle this case I have changed the try_conversation_dissector() to allow it to fail and return 0,   meaning   yes there is indeed a protocol registered for this conversation but that protocol rejected this packet.
(which only happens for "new" style dissectors, "old" style dissectors will never reject a packet that way)

When this happens  the decode_udp_port() helper will still allow other dissectors to be tried, in the hope that the conversation is now used for some other protocol and thus someone else might be able to decode the packet.


Update SNMP and TFTP dissectors to  check that even if there already is a conversation but that conversation does NOT have snmp/tftp registered as the dissector for it, then create a new conversation anyway and attach the proper dissector.

Since ethereal keeps track of which frame number a conversation started in, this actually works really well.



svn path=/trunk/; revision=14345
2005-05-11 10:40:53 +00:00
Lars Roland 5bb4e926aa add the new target "install-plugins" to nmake makefile
in the plugins subdirectory. This target will copy all plugins to plugins/$(VERSION), thus (t)ethereal will
find and load the plugins when called from within the source tree.

call this target from the main nmake makefile after
installing other dependencies. call it from the nmake makefile
in the doc subdirectory before calling "tethereal -G".
This way "tethereal -G" will recognize the filterable
fields from the plugins, too.


svn path=/trunk/; revision=14284
2005-05-03 01:03:33 +00:00
Lars Roland 2f5fee9c99 Add an install-deps target to the nmake makefiles.
This target will copy all files, mainly dlls, which
are necessary to run (t)ethereal to the source tree.

After copying all necessary dlls to the source tree,
you can run (t)ethereal directly from the source tree.

svn path=/trunk/; revision=14259
2005-05-01 23:03:45 +00:00
Ronnie Sahlberg 4656201984 From Jon R
Update to README.developer for the conversation changes


svn path=/trunk/; revision=14135
2005-04-19 12:05:50 +00:00
Ronnie Sahlberg a5863ec066 From Steve Karg
updates to BACNet


svn path=/trunk/; revision=14075
2005-04-14 09:20:02 +00:00
Gerald Combs c9be421b16 Add a note about testing to the "Robustness" section.
svn path=/trunk/; revision=14050
2005-04-11 01:57:00 +00:00
Ulf Lamping 018cde2a41 add some missing menu items, describe changes in the -b ring buffer command line parameter.
svn path=/trunk/; revision=14049
2005-04-11 00:10:50 +00:00
Gerald Combs c8ff864b00 Add an option to Editcap that adds various types of errors to the capture
file.

svn path=/trunk/; revision=14046
2005-04-10 23:12:48 +00:00
Guy Harris 8881cec2df Make it slightly clearer that the bitwise AND operator evaluates to a
Boolean value that's true if any of the bits in question are set and
false if none of them are, not to an integer or slice value with the
only the bits set in both values set.

svn path=/trunk/; revision=14033
2005-04-10 08:28:08 +00:00
Guy Harris 0f8018692f Edits, update to current "all GTK+ stuff is common" state.
svn path=/trunk/; revision=13992
2005-04-01 08:47:42 +00:00
Guy Harris 8b334b9148 Make it a bit clearer that what "-w" writes is raw binary packet data,
not the result of dissecting that data.

Note that "-F" applies to the output of "-w", that "-S" says "dissect
and print even if you're doing '-w'", and that "-T" applies to the
dissected output, not the "-w" output.

svn path=/trunk/; revision=13975
2005-03-30 01:06:12 +00:00
Guy Harris 6cacd26f20 Add a note about doing checks before subtracting, for example, the
length of a fixed-length header from the length of the item with that
fixed-length header.

svn path=/trunk/; revision=13926
2005-03-26 23:31:35 +00:00
Guy Harris 5a6cf59062 Thou shalt not g_assert() in a dissector.
svn path=/trunk/; revision=13875
2005-03-23 02:48:47 +00:00
Guy Harris d4d1206ad5 Remind people not to use "g_ntoh[ls]()" or "g_hton[ls]()" to convert
big-endian to little-endian - that doesn't work on big-endian machines.

svn path=/trunk/; revision=13874
2005-03-23 02:39:21 +00:00
Luis Ontanon 29e0601544 Hint in README.tapping about the stats_tree.
svn path=/trunk/; revision=13857
2005-03-21 22:23:17 +00:00
Luis Ontanon 7c87fca629 Something is better than nothing, Sooner is better than later.
svn path=/trunk/; revision=13856
2005-03-21 21:48:10 +00:00
Ulf Lamping f1f48a30bd fix a bug and add a forward declaration in the example skeleton code
svn path=/trunk/; revision=13745
2005-03-14 00:43:39 +00:00
Ulf Lamping e378098855 from Micheal Duigou: add some doxygen tags and some changes to README.developer
svn path=/trunk/; revision=13725
2005-03-11 21:14:38 +00:00
Guy Harris 6285418a43 Add one more reason to use "tvb_get_string()", as we've had a recent
vulnerability due to somebody fetching a string into a fixed-length
buffer.

svn path=/trunk/; revision=13708
2005-03-11 02:01:17 +00:00
Guy Harris b5eec8f7a3 More editing.
svn path=/trunk/; revision=13663
2005-03-08 19:31:50 +00:00
Guy Harris 36e7b3067c Editing.
svn path=/trunk/; revision=13662
2005-03-08 19:31:01 +00:00
Ulf Lamping daefaa92b8 from jaap keuter: add info how to update from old to new style plugin registering
svn path=/trunk/; revision=13661
2005-03-08 19:03:09 +00:00
Guy Harris 802859d3fd Call the "new-style init" routine for plugins a "register" routine, as
it serves the same purpose as the register routine in a built-in
dissector, and don't require all dissectors to have one, as they might
just be taps.

Get rid of the stats tree's init routine, as it's just a tap, and as it
doesn't do anything.

Update the idl2eth Python script to generate plugins with register routines.

svn path=/trunk/; revision=13644
2005-03-07 02:44:41 +00:00
Lars Roland 00273300e7 Preparations for dropping the old plugin api.
Introduce a new init routine for plugins, 
which does not take the plugin api table as an 
argument and allows etheral to distinguish 
between plugins using the old and the new api.

Update README.plugins accordingly

Change all g_warnings() in epan/plugins.c to report_failue().
On windows we do not have a log console open while
loading the plugins, because a log console cannot be opened before the prefs have been read. Thus g_warnings()
does not work for reporting problems with plugins.

svn path=/trunk/; revision=13596
2005-03-05 06:28:10 +00:00
Guy Harris 3d5b1d5f13 From Graeme Hewson: rename the global preferences file to "preferences"
(it's now in an "ethereal" directory, so there's no need for it to have
a name that distinguishes it from files for other programs) - if it's
not found as "preferences", try "ethereal.conf" for compatibility - and
update the man pages appropriately.

Fix a typo in the section color filters (the file name is "colorfilters",
not "color filters").

svn path=/trunk/; revision=13559
2005-03-01 00:05:57 +00:00
Jörg Mayer a9b26f409f Didier Gautheron: Fix out of tree compilation
svn path=/trunk/; revision=13497
2005-02-24 09:08:20 +00:00
Ulf Lamping a25fd8d7ca add the number of autostop files to the command line parameters, e.g.:
-a files:20

also added this to the manpage, the user's guide will follow later

svn path=/trunk/; revision=13473
2005-02-22 23:46:54 +00:00
Guy Harris 6616a3770c Make the "maintainer-clean" rules get rid of some additional generated
files.  Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.

Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.

Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files.  In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).

Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.

svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
Jörg Mayer 64e12f7518 Add boolean to the list of non-portable types
svn path=/trunk/; revision=13227
2005-02-01 15:45:03 +00:00
Ulf Lamping db59714331 we can merge more than two files with mergecap
svn path=/trunk/; revision=13112
2005-01-18 20:42:47 +00:00
Gerald Combs fbbfb4aead Remove another GNU cp dependency.
svn path=/trunk/; revision=13033
2005-01-14 16:57:07 +00:00
Guy Harris 5862d6546e Add support for a personal hosts file.
Clean up the description of the global and personal ethers and ipxnets
files.

svn path=/trunk/; revision=13017
2005-01-13 09:09:56 +00:00
Guy Harris 3d06f85155 Grammar and typo fix from Mike Duigou.
svn path=/trunk/; revision=12979
2005-01-07 11:59:05 +00:00
Gerald Combs 65e839d380 Let capinfos print statistics for more than one file. Normalize
capitalization.

svn path=/trunk/; revision=12945
2005-01-03 21:11:53 +00:00
Ulf Lamping 6d161f7dc4 add a more detailed description, how to add a new dissector file
svn path=/trunk/; revision=12847
2004-12-28 00:10:04 +00:00
Guy Harris b2c1c3d0e5 Document the personal capture and display filters list in the FILES
section, as is done for other files.  Just refer to those files in the
section for the "Save" button for the capture and display filter dialog
boxes.

svn path=/trunk/; revision=12398
2004-10-26 23:30:33 +00:00
Guy Harris 43af41483a For the .pod->.html rules, find the ".pod" files in $(srcdir),
just as we do for the .pod->.[1-9] rules.

svn path=/trunk/; revision=12372
2004-10-22 02:09:35 +00:00
Ulf Lamping 0f80fa5c7d renamed capinfo to capinfos, as the former name capinfo was already used in a program called tcprelay, so that might confuse packaging managers and users. Hopefully I got all the places need to be changed.
svn path=/trunk/; revision=12358
2004-10-20 18:50:58 +00:00
Guy Harris 61faabddcd Update the man page to indicate that "-q", when capturing without "-w",
suppresses the printing of packet information.

svn path=/trunk/; revision=12353
2004-10-20 00:06:48 +00:00
Guy Harris 04e39c17f1 Add a rule to make ../AUTHORS-SHORT-FORMAT, as it won't necessarily have
been made by the time this Makefile is used.

svn path=/trunk/; revision=12336
2004-10-18 09:53:06 +00:00
Guy Harris 7e1521119f From Graeme Hewson: make AUTHORS-SHORT not include formatting codes,
with AUTHORS-SHORT-FORMAT containing the formatting codes.

svn path=/trunk/; revision=12334
2004-10-17 23:03:11 +00:00
Guy Harris abd16b297f From Jeff Morriss: PREF_RANGE preference type, for ranges of integers.
svn path=/trunk/; revision=12300
2004-10-14 23:45:09 +00:00
Guy Harris 5a244d166b Note that variadic macros shouldn't be used.
svn path=/trunk/; revision=12224
2004-10-06 17:52:57 +00:00
Guy Harris 017d788da0 From Lars Roland: we need to define _NEED_VAR_IMPORT_ in plugins if we
link the plugins with libethereal, so do so.

svn path=/trunk/; revision=12176
2004-10-01 19:50:03 +00:00
Guy Harris 444119dbcb From Lars Roland: add an option to link plugins with libethereal rather
than using the plugin address table.

svn path=/trunk/; revision=12139
2004-09-29 19:30:10 +00:00
Guy Harris 7baddd7b91 Note that declarations in the middle of a block aren't supported by all
compilers, and thus shouldn't be used.

svn path=/trunk/; revision=12029
2004-09-17 09:32:53 +00:00
Guy Harris 23f5d0fb5f Note that _WIN32, not WIN32, should be used in #ifdefs and #ifs testing
the platform for which we're building (and that both should be avoided
if possible, i.e. write your code so that it works on all platforms).

svn path=/trunk/; revision=11973
2004-09-11 23:10:14 +00:00
Guy Harris 7e98674443 Note that developers should avoid GTK+ 2.x/GLib 2.x-only stuff (and, in
particularly, should disregard all the renaming they did of some
routines, as the old names work Just Fine in 2.x but the new names don't
work in 1.2[.x]).

svn path=/trunk/; revision=11936
2004-09-07 23:59:49 +00:00
Olivier Biot e62727e883 Fix cosmetic errors in the AUTHORS file and in ethereal.pod.
svn path=/trunk/; revision=11907
2004-09-05 15:06:26 +00:00
Ulf Lamping 7b71fe2b17 add HFILL to the skeleton example and documentation of the field registration
svn path=/trunk/; revision=11864
2004-08-31 12:39:25 +00:00
Ulf Lamping 5a9fc6543f corrected paths, where the dissectors and the corresponding Makefile.common can be found, to epan/dissectors
svn path=/trunk/; revision=11858
2004-08-31 09:19:41 +00:00
Guy Harris c68f62210f Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
integers.

Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array
values, to the protocol tree, and add routines to add specified 64-bit
integer values to the protocol tree.

Use those routines in the RSVP dissector.

svn path=/trunk/; revision=11796
2004-08-22 00:31:58 +00:00