Commit graph

13662 commits

Author SHA1 Message Date
Gerald Combs
62aa500e15 Make hf_oampdu_info_state_parser "BASE_HEX" instead of "8", so that we don't
throw an assertion in hfinfo_uint_vals_format().

svn path=/trunk/; revision=13950
2005-03-28 02:03:45 +00:00
Ulf Lamping
7e78ef354e major capture engine rework: use two task model for EVERY capture mode
rework of the -b command line parameter (for Ethereal and Tethereal)

svn path=/trunk/; revision=13949
2005-03-28 00:19:02 +00:00
Ronnie Sahlberg
cb859703ca make skinny compile again
svn path=/trunk/; revision=13948
2005-03-27 22:56:32 +00:00
Anders Broman
d0c11490d0 Fix a typo
svn path=/trunk/; revision=13947
2005-03-27 22:11:09 +00:00
Anders Broman
8fc463c3cd Add Jacques, Olivier as the Camel dissector author.
svn path=/trunk/; revision=13946
2005-03-27 21:53:28 +00:00
Anders Broman
12e4f59054 From Jacques, Olivier:
Camel dissector

svn path=/trunk/; revision=13945
2005-03-27 21:44:26 +00:00
Anders Broman
269e2f017d Get rid of an unused variabnle
svn path=/trunk/; revision=13944
2005-03-27 21:40:27 +00:00
Anders Broman
1214d29348 From Jacques, Olivier:
The patch attached fixes it by creating a table of unique files at the
time of file deletion. This way, current asn2eth behaviour is not
modified.
 

svn path=/trunk/; revision=13943
2005-03-27 21:39:38 +00:00
Anders Broman
ec539cbdb3 From Alejandro Vaquero :
Find attached a patch for SDP sessions to:
 - Dissect Dynamic payload types in RTP packets
 - Add the dynamic payload type description in RTP packets
 - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13942
2005-03-27 21:37:05 +00:00
Anders Broman
8e083f4c2e Previous commit failed doing them one by one.
From  Alejandro Vaquero :
 Find attached a patch for SDP sessions to:
 - Dissect Dynamic payload types in RTP packets
 - Add the dynamic payload type description in RTP packets
 - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13941
2005-03-27 21:14:48 +00:00
Anders Broman
b583591455 Previous commit failed doing them one by one.
From  Alejandro Vaquero :
 Find attached a patch for SDP sessions to:
 - Dissect Dynamic payload types in RTP packets
 - Add the dynamic payload type description in RTP packets
 - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13940
2005-03-27 21:14:15 +00:00
Anders Broman
56b7c5fe5b Previous commit failed doing them one by one.
From  Alejandro Vaquero :
 Find attached a patch for SDP sessions to:
 - Dissect Dynamic payload types in RTP packets
 - Add the dynamic payload type description in RTP packets
 - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13939
2005-03-27 21:12:39 +00:00
Anders Broman
dba36256af Previous commit failed doing them one by one.
From  Alejandro Vaquero :
 Find attached a patch for SDP sessions to:
 - Dissect Dynamic payload types in RTP packets
 - Add the dynamic payload type description in RTP packets
 - Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13938
2005-03-27 21:11:48 +00:00
Anders Broman
8750cb2561 Use the new table for dynamic payload types.
svn path=/trunk/; revision=13937
2005-03-27 21:01:21 +00:00
Anders Broman
5386a90485 From Alejandro Vaquero :
Find attached a patch for SDP sessions to:
- Dissect Dynamic payload types in RTP packets
- Add the dynamic payload type description in RTP packets
- Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13936
2005-03-27 20:55:14 +00:00
Anders Broman
0785351d20 From Alejandro Vaquero :
Find attached a patch for SDP sessions to:
- Dissect Dynamic payload types in RTP packets
- Add the dynamic payload type description in RTP packets
- Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13935
2005-03-27 20:54:18 +00:00
Anders Broman
d5e69b92a7 From Alejandro Vaquero :
Find attached a patch for SDP sessions to:
- Dissect Dynamic payload types in RTP packets
- Add the dynamic payload type description in RTP packets
- Add RTP dynamic payload types description in the Voip Calls Graph, in the RTP and SDP.

svn path=/trunk/; revision=13934
2005-03-27 20:53:15 +00:00
Ulf Lamping
9e296ecd6d buildbot bugfix: add another tvb_ensure_bytes_exist()
svn path=/trunk/; revision=13933
2005-03-27 12:28:03 +00:00
Ulf Lamping
fd61b593c0 buildbot bugfix: add another tvb_ensure_bytes_exist()
svn path=/trunk/; revision=13932
2005-03-27 10:53:14 +00:00
Gerald Combs
573c77f51f Add SCTP and MEGACO types, so that we can add SCTP to the "random" test.
svn path=/trunk/; revision=13931
2005-03-27 04:43:49 +00:00
Ulf Lamping
1d3e8ddbd3 bugfix of a bug causing tethereal value output to fail:
value_string's must be terminated with { 0, NULL }!!!

...seems I've missed one place in my last commit!

svn path=/trunk/; revision=13930
2005-03-27 02:40:05 +00:00
Ulf Lamping
729749c5b9 add a new checkitem "Colorize Packet List" into the View menu
keep it's setting in the recent file

svn path=/trunk/; revision=13929
2005-03-27 02:19:51 +00:00
Ulf Lamping
1352cfe808 bugfix of a bug causing tethereal value output to fail:
value_string's must be terminated with { 0, NULL }!!!

svn path=/trunk/; revision=13928
2005-03-27 01:18:06 +00:00
Ulf Lamping
de77acf875 buildbot bugfix: add another tvb_ensure_bytes_exist (tvb,offset,length);
svn path=/trunk/; revision=13927
2005-03-27 01:02:29 +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
Gerald Combs
c1967f8152 Make sure we have enough bytes in our tvbuff to dissect our header.
svn path=/trunk/; revision=13925
2005-03-26 23:02:24 +00:00
Guy Harris
ff24a4ecc8 Update the URL for draft-stewart-sctp-pktdrprep to the -02 draft.
Clean up indentation.

Have the main loop for dissecting chunks check that the chunk size is
large enough for the chunk header, and have it pass the chunk size,
minus the size of the chunk header, to dissectors for particular chunk
types.  Make those dissectors check that value to make sure it's large
enough for any fixed-length portion before subtracting the length of
that portion and using the result as a remaining data length.

svn path=/trunk/; revision=13924
2005-03-26 21:31:13 +00:00
Anders Broman
8bd496faec Fix some typos + decode more IE stuff
svn path=/trunk/; revision=13923
2005-03-26 19:55:46 +00:00
Anders Broman
f5c7049c2e Fix a bug reported by Soi Hon Lo octet 6x and 7 not read from tvb.
svn path=/trunk/; revision=13922
2005-03-26 19:09:05 +00:00
Ulf Lamping
9fe9c6826f buildbot bugfix: another (un-)signed problem and a problem with the offset (fixed by calling tvb_ensure...)
svn path=/trunk/; revision=13921
2005-03-26 12:10:58 +00:00
Ulf Lamping
2b8ac21d60 move some color_filter related things from file.c to color_filters.c
svn path=/trunk/; revision=13920
2005-03-26 11:32:43 +00:00
Guy Harris
ed3ecc443b Add rules to build xml_lexer.c, and to remove it with "make distclean",
modeled after the rules in epan/dfilter/Makefile.nmake.

svn path=/trunk/; revision=13919
2005-03-26 10:48:38 +00:00
Guy Harris
be4b443f10 With the recent change that makes the length field for FT_PROTOCOL and
FT_NONE be, in effect, unsigned, it's no longer necessary to check for a
so-large-it-doesn't-fit-in-a-signed-value length for items of those types.

svn path=/trunk/; revision=13918
2005-03-26 04:04:37 +00:00
Guy Harris
43558fba8a Get rid of boilerplate.
Use "tvb_ensure_bytes_exist()" to check for some invalid lengths.

Add some comments about possible problems in the code.

Get rid of an unnecessary length check (the length is the sum of a small
constant and a value extracted from a single byte, so the sum won't
overflow).

For a FCP_RSP, make the top-level protocol tree item run to the end of
the tvbuff and then set its length when we finish dissecting it (if we
throw an exception and don't get around to setting the length, that
means that we hit the end of the tvbuff before we hit the end of the
item).  Add some checks to catch too-large length fields.


svn path=/trunk/; revision=13917
2005-03-26 03:56:54 +00:00
Guy Harris
afd5ea96b1 xml_lexer.c is generated by Flex; we don't put files generated by Flex
into the SVN tree, we just put the files from which they're generated
into the SVN tree.

svn path=/trunk/; revision=13915
2005-03-26 03:30:08 +00:00
Guy Harris
f3d2a926e2 There's no need to create a directory just because you're about to
remove a file in it - the directory presumably exists already, if you're
about to remove a file in it.

svn path=/trunk/; revision=13914
2005-03-26 03:27:46 +00:00
Guy Harris
48217e0bee For protocol tree items of type FT_NONE and FT_PROTOCOL, treat negative
length values (other than -1) as very large positive values, and for
values larger than the amount of data remaining in the tvbuff, clip the
value to the length of the tvbuff, so that dissectors don't have to
worry about doing that clipping themselves.

svn path=/trunk/; revision=13913
2005-03-26 03:27:22 +00:00
Ulf Lamping
eb1193bfa2 buildbot bugfix: if a length value is below zero, trim it to zero
svn path=/trunk/; revision=13912
2005-03-26 03:03:43 +00:00
Ulf Lamping
63cd52a5ae buildbot bugfix: another (un-)signed one
svn path=/trunk/; revision=13911
2005-03-26 01:23:39 +00:00
Ulf Lamping
ccff84dbdf code cleanup: use common prefix for all functions in color_filters.h
svn path=/trunk/; revision=13910
2005-03-26 01:09:14 +00:00
Guy Harris
5ef0665d34 Create the directory for the preferences files before writing out the
"recent" file.

Have "write_recent()" handle putting up error windows for failed
attempts to write the "recent" file.

svn path=/trunk/; revision=13909
2005-03-26 01:05:29 +00:00
Guy Harris
67c8764353 Add some length checks to the CHAP dissector.
Use %u, not %d, to display unsigned values.

svn path=/trunk/; revision=13908
2005-03-26 00:15:19 +00:00
Ulf Lamping
ad23912341 buildbot bugfix: yet another (un-)signed problem.
Guy, you may have a look to add some "invalid" message to the tree in this case

svn path=/trunk/; revision=13907
2005-03-25 23:44:49 +00:00
Ulf Lamping
29b948e907 buildbot bugfix: and again, a guint16 will never become lower than zero
svn path=/trunk/; revision=13906
2005-03-25 23:12:07 +00:00
Ulf Lamping
008d4b8106 code cleanup: the term filter_list was used with different meanings throughout the code, and the filter_list of the color_filters is "global".
use appropriate prefixes to avoid confusion and bugs

svn path=/trunk/; revision=13905
2005-03-25 22:52:45 +00:00
Ronnie Sahlberg
d46de2e0de jxta updates
svn path=/trunk/; revision=13904
2005-03-25 22:37:58 +00:00
Ronnie Sahlberg
dc38b5cae7 updates to SAMR
from Michael richardson


svn path=/trunk/; revision=13903
2005-03-25 22:27:37 +00:00
Ulf Lamping
bb8006d371 bugfix: prevent a negative length, if ah.ah_len is zero
svn path=/trunk/; revision=13902
2005-03-25 21:19:18 +00:00
Guy Harris
f981bb3341 For the Bandwidth Allocation Protocol Phone Delta option:
the length of a suboption must be at least 2;

	the length of the Unique Digit option must be 3, and its name is
	"Unique Digit", not "Uniq Digit";

	the length of the other suboptions must be at least 3.

svn path=/trunk/; revision=13901
2005-03-25 20:12:27 +00:00
Guy Harris
525396b959 In the cases fixed by the two previous fixes, check to make sure the
items don't run past the length left in the option, and, if they do, put
an indication into the protocol tree that they did.

The length returned by "tvb_strsize()" includes the terminating null
character.

svn path=/trunk/; revision=13900
2005-03-25 19:52:51 +00:00