Commit Graph

1265 Commits

Author SHA1 Message Date
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
Guy Harris ff3f10e5a5 Note that "G_GINT64_CONSTANT()" should be used for constant values that
don't fit in 32 bits, rather than using "LL" at the end.

Clean up some other 64-bit-integer items.

svn path=/trunk/; revision=11779
2004-08-19 19:44:57 +00:00
Gerald Combs de0e336434 From Graeme Hewson: Keep the list of authors in the Ethereal man page from
wrapping, and fix the title.

svn path=/trunk/; revision=11727
2004-08-12 21:45:12 +00:00
Guy Harris 07658bc75c Disallow "-f" when not doing a live capture, rather than just ignoring
the specified filter.

Note in the manual that you can't use capture filters when reading a
capture file, and that read filters might require too much CPU when
doing a live capture.

svn path=/trunk/; revision=11594
2004-08-03 02:52:48 +00:00
Guy Harris 09876f59d4 Strip out the CR's, set svn:eol-style to native, and get rid of the
svn:executable property.

svn path=/trunk/; revision=11569
2004-07-30 07:20:39 +00:00
Gerald Combs 59303d40ea Clean up the capinfo files, so that we pass "distcheck."
svn path=/trunk/; revision=11567
2004-07-29 15:16:03 +00:00
Gerald Combs 8f9a933ef0 Add capinfo targets.
svn path=/trunk/; revision=11560
2004-07-29 02:01:59 +00:00
Olivier Biot cb6b29786b From Ian Schorr: capinfo - provides capture file information.
svn path=/trunk/; revision=11555
2004-07-28 20:51:29 +00:00
Guy Harris 43b2da02ae Note that you *MUST* make sure "match_strval()" doesn't return null
before using its value, or must check for a null return value and handle
it specially, otherwise you put Ethereal at risk of crashing with bad
packet data.

svn path=/trunk/; revision=11475
2004-07-23 01:37:35 +00:00
Jörg Mayer fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer 56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +00:00
Jörg Mayer 1d645fc8c2 SNPRINTF isn't used any more - remove from sample dissector
and coding guidelines.

svn path=/trunk/; revision=11418
2004-07-18 22:36:55 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Jörg Mayer 42f5540524 From Debian. Likely author: Frederic Peters <fpeters@debian.org>
* Updated omniorb URL (closes: #257512)
 run pod2man with --section=4 for ethereal-filter


svn path=/trunk/; revision=11383
2004-07-16 23:42:38 +00:00
Guy Harris c35b581d8c SUM, like COUNT, MIN, MAX, and AVG, computes the value over the
interval, not over the entire capture (a sum over the entire capture
would yield only one value, which isn't very interesting to plot).

svn path=/trunk/; revision=11359
2004-07-10 02:07:23 +00:00
Guy Harris 28334384ed Clean up some formatting, and fix some typoes.
svn path=/trunk/; revision=11358
2004-07-10 01:01:41 +00:00
Guy Harris a354e21de5 Give more details on the "don't build the protocol tree if you don't
have to", indicating that if it's too much work to explicitly test for a
null protocol tree, you might want to avoid those tests and rely on the
protocol tree routines not to do much work if passed a null protocol
tree pointer.

svn path=/trunk/; revision=11346
2004-07-08 21:16:04 +00:00
Guy Harris b50a28ec89 "Frame" -> "Packet", as per UI and Ethereal man page changes.
svn path=/trunk/; revision=11345
2004-07-08 21:02:18 +00:00
Guy Harris 4556f3b88e Document "-T psml", and give more details in the descriptiion of the
"-T" option.

Talk about packet details rather than the protocol tree, just as we do in
the Ethereal manual page.

Clean up the descriptions of some of the "-z" options.

Fix some typos.

svn path=/trunk/; revision=11344
2004-07-08 20:57:24 +00:00
Michael Tüxen cb00a0a3cd Update to current setup.
svn path=/trunk/; revision=11304
2004-07-03 21:50:05 +00:00
Gerald Combs 73a764777d Add more distclean files.
svn path=/trunk/; revision=11250
2004-06-27 17:56:15 +00:00
Gerald Combs d3a09c73d4 Fixes needed for "make distcheck".
svn path=/trunk/; revision=11247
2004-06-27 00:21:57 +00:00
Jörg Mayer 0195deceae tmpnam() really should not be used for security reasons.
Replace it where used and update README.developer accordingly.

svn path=/trunk/; revision=11235
2004-06-25 07:04:03 +00:00
Gilbert Ramirez 65d13f43cf Add paragraph about freeing tvbuffs.
svn path=/trunk/; revision=11218
2004-06-23 15:15:28 +00:00
Guy Harris fc1023772c Build and install the HTMLized man pages on UN*X.
svn path=/trunk/; revision=11217
2004-06-23 08:39:07 +00:00
Guy Harris 7002776572 Pick up the stuff I did for tcpdump to figure out the right strings to
use to format 64-bit integers.

Fix the RSVP dissector to use that rather than hardcoding "%ll" in.

Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of
64-bit integers - we're too dependent on having them to support
compilers that don't have a 64-bit integral data type.  Do, however,
note that neither "long" nor "long long" are acceptable, and also note
that you shouldn't assume "%ll" does the trick for printing them.

svn path=/trunk/; revision=11182
2004-06-19 00:07:23 +00:00
Guy Harris 0d36a1bf4a From Graeme Hewson:
Remove reference to negative slice lengths.

     Clean and polish.

svn path=/trunk/; revision=11086
2004-06-03 07:37:49 +00:00
Guy Harris 0d1fb8c108 Make "-q" suppress packet printing when you're reading a capture file
and not writing to another capture file, for use with "-z" options.

Note that "-z proto" *doesn't* print statistics at the end - it modifies
the packet summary output.

Note that on at least some BSDs the "status" character is set to "off"
by default, so you have to set it explicitly in order to be able to ^T
an application such as Tethereal.

svn path=/trunk/; revision=11038
2004-05-31 08:41:32 +00:00
Guy Harris 911bad80f0 Have two strings in an enum_val_t - one that's a short string that is
convenient to put into a command line (no capital letters, no spaces to
require quotes), and one that's a detailed description for use in the
UI.  Allow either of them in the preferences file or "-o" option; use
the detailed description in the UI, and also use it when writing the
preferences out, so that the preference will be readable by older
versions of Ethereal (assuming the preference existed in that version).

Update "README.developer" to give more detail about an enum_val_t (and
to put the _t in), and to give a more detailed description of the
"radio_buttons" argument to "prefs_register_enum_preference()".

svn path=/trunk/; revision=10982
2004-05-24 02:25:21 +00:00
Guy Harris adb3fcd645 Add "ethereal-tmp.pod" to the list of files to ignore.
svn path=/trunk/; revision=10969
2004-05-22 22:30:14 +00:00
Guy Harris 99bab7f7d8 "--binary" is not a universal "cat" flag, and shouldn't be necessary on
UN*X and, hopefully, not in Cygwin either.

svn path=/trunk/; revision=10968
2004-05-22 22:29:28 +00:00
Guy Harris 11db4da7a3 Use "/" rather than "\" in UN*X pathnames.
svn path=/trunk/; revision=10967
2004-05-22 21:52:37 +00:00
Ulf Lamping a8635a17e7 remove (duplicated) list of authors from ethereal.pod,
and use ../AUTHORS-SHORT instead to concatenate a tmp file to use

svn path=/trunk/; revision=10963
2004-05-22 17:14:32 +00:00
Ulf Lamping 94b84ca199 some beautifying and
bring the links to live, so the html manpage will jump correctly to it's link targets

svn path=/trunk/; revision=10959
2004-05-22 13:49:01 +00:00
Ulf Lamping 4aab156487 add a target to build the manpages
svn path=/trunk/; revision=10958
2004-05-22 13:45:05 +00:00
Ulf Lamping cedeed9847 update manpage, to reflect recent (and not so recent :-( changes in the GUI,
like some things in the menu and Preferences, and fixed some minor bugs
which caused undesired formatting.

svn path=/trunk/; revision=10957
2004-05-22 12:32:00 +00:00
Guy Harris 407e5be61e From James H. Cloos Jr: update the list of audio and video codecs.
Get rid of no-longer-used AST_FORMAT_MP3.

svn path=/trunk/; revision=10906
2004-05-15 21:26:09 +00:00
Gerald Combs b17c24f450 From Dominic B�chaz: IEEE 1588 (Precision Time Protocol) support.
svn path=/trunk/; revision=10857
2004-05-12 03:37:28 +00:00
Guy Harris 15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00
Guy Harris 8968956aa1 From Rich Coe: DICOM support.
svn path=/trunk/; revision=10818
2004-05-08 08:49:02 +00:00
Guy Harris 7cb69aab55 From Thomas Anders:
- support vendor-specific DHCP option 43 interpretation per CableLabs
   standards (for compliant cable devices, identified by option 60)
- support DHCP option 122 with all suboptions (RFC 3495: CableLabs
   Client Configuration; RFC 3594: PacketCable Security Ticket Control)
- update DHCP options list: add options 117-122
   (see http://www.iana.org/assignments/bootp-dhcp-parameters)
- minor enhancements for DHCP options 2, 82
- minor code cleanup

svn path=/trunk/; revision=10809
2004-05-07 08:02:23 +00:00
Olivier Biot 3189f7d868 From Kendy Kutzner: use the tvb_uncompress() routines instead of the own
SLSK decompression routine.

svn path=/trunk/; revision=10803
2004-05-05 17:28:12 +00:00
Guy Harris a5cc83af87 The GNOME HIG calls the View menu item for the status bar "Statusbar",
not "Status Bar".

svn path=/trunk/; revision=10782
2004-05-03 23:48:00 +00:00
Guy Harris 587d43a73e The "View" menu has items to show or hide the three display panes; it
calls the middle pane the "Packet Details" pane, which is perhaps less
geeky than "Protocol Tree".  Update the man page to call it the "packet
details".

Update the description of the menu items to more closely reflect current
reality.

svn path=/trunk/; revision=10781
2004-05-03 23:37:39 +00:00
Guy Harris 3d3a9c238f From Lars Roland: document the SIP statistics.
svn path=/trunk/; revision=10762
2004-05-01 21:33:44 +00:00
Ulf Lamping 4921174d2c updated to reflect the latest changes of exporting PDML in ethereal
svn path=/trunk/; revision=10741
2004-04-30 07:56:33 +00:00
Olivier Biot 306ac8b994 When building the Ethereal documentation on MSVC++/cygwin the cygwin perl
will not swallow the '\r\n' line end sequence when invoking chomp(), but
instead the '\r' character will remain. For this reason, chomp() cannot
be used and global removal of '\r' and '\n' characters must be used
instead, like in: $_ =~ s/[\r\n]//g;

svn path=/trunk/; revision=10719
2004-04-28 17:50:02 +00:00
Gerald Combs db200f55cc From Carlos Pignataro:
Graceful Restart Mechanism for LDP [RFC3478]
  Fault Tolerance for LDP [RFC3479]
  Update IANA assigned Status codes
  Fixed some typos.

svn path=/trunk/; revision=10718
2004-04-28 15:38:33 +00:00
Guy Harris 251ecc78f5 From Joe Marcus Clarke: force the standard output to be in binary mode
on Windows.

svn path=/trunk/; revision=10717
2004-04-28 05:47:33 +00:00
Olivier Biot 9e77ad2862 From Jerry Talkington:
- Dissect chunked transfer-coded body in HTTP
- Update email address

svn path=/trunk/; revision=10710
2004-04-26 17:10:40 +00:00
Olivier Biot 93751c8e32 Replace the plugin linkage libs into PLUGIN_LIBS which is generated from the
top-level configure.in when running configure.

svn path=/trunk/; revision=10699
2004-04-25 21:10:20 +00:00
Jörg Mayer b03a9d08f3 Typo: It's 'item *' not 'item*'
svn path=/trunk/; revision=10691
2004-04-25 11:22:05 +00:00
Ulf Lamping e3d1a255a1 build a list of the input file formats instead of a floating text,
added program names to HTML titles,
various minor fixes

svn path=/trunk/; revision=10686
2004-04-25 09:02:04 +00:00
Ulf Lamping 8c96276fec seperated the input file formats into list elements, instead of a "floating text"
svn path=/trunk/; revision=10676
2004-04-23 19:53:36 +00:00
Gerald Combs 6ae447604b Update Thierry Pelle's address.
svn path=/trunk/; revision=10650
2004-04-20 13:15:17 +00:00
Guy Harris dbfb8a729d Update Pasi Eronen's e-mail address.
svn path=/trunk/; revision=10640
2004-04-19 08:26:12 +00:00
Guy Harris ad8564846e From Lukas Pokorny: RTPS (Real-Time Publish-Subscribe) support.
svn path=/trunk/; revision=10630
2004-04-17 21:43:32 +00:00
Olivier Biot 4459d9f0a9 Add support for plugin dissectors on cygwin builds, by adding the following
line to every Makefile.am file for a given plugin XXX:

	XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

This way symbols defined in libethereal and GLib are resolved when linking
the plugin dissector modules.

svn path=/trunk/; revision=10601
2004-04-14 22:13:28 +00:00
Guy Harris bb0c29f917 From Clinton Work: dissect Cisco PID 0x010b as STP (it's actually their
own modified Per-VLAN STP, so there's some extra stuff at the end of the
packet that needs to be decoded).

Indicate in a comment in packet-cisco-oui.c what PVSTP is.

svn path=/trunk/; revision=10589
2004-04-13 04:04:56 +00:00
Guy Harris 10b1de8a41 From Jon Oberheide: add a missing hf[] entry for a field.
Fix up AUTHORS and the authors list in the Ethereal man page.

svn path=/trunk/; revision=10581
2004-04-11 20:47:58 +00:00
Ronnie Sahlberg 3ef2019b2c update doc with better description of SUM/COUNT/MIN/MAX/AVG.
svn path=/trunk/; revision=10561
2004-04-08 05:19:38 +00:00
Ulf Lamping cbcacf7e48 from Thomas Palmer: add a preference setting for filter toolbar placement
svn path=/trunk/; revision=10555
2004-04-06 19:02:18 +00:00