Commit Graph

1158 Commits

Author SHA1 Message Date
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