Commit Graph

13678 Commits

Author SHA1 Message Date
Ronnie Sahlberg e4f2f32fe6 from Sid
updates to FTAM


svn path=/trunk/; revision=13966
2005-03-29 12:36:40 +00:00
Ronnie Sahlberg 86dcf6dbd2 from Sid
bugfix for ACSE


svn path=/trunk/; revision=13965
2005-03-29 12:27:13 +00:00
Ronnie Sahlberg a5415eb2f5 from Lars Ruoff
rtp analysis optimization


svn path=/trunk/; revision=13964
2005-03-29 10:58:08 +00:00
Gerald Combs 731e79432e Add a tvb_ensure_bytes_exist().
svn path=/trunk/; revision=13963
2005-03-28 22:35:35 +00:00
Ulf Lamping e548ddf904 some minor changes
svn path=/trunk/; revision=13962
2005-03-28 21:35:21 +00:00
Ulf Lamping 0b132c9b1d bugfixes: bring non real-time captures back to former behaviour, other minor fixes
svn path=/trunk/; revision=13961
2005-03-28 21:05:53 +00:00
Ashok Narayanan 778c9abaea Minor change to Call-ID dissector to set up object line.
svn path=/trunk/; revision=13960
2005-03-28 19:32:39 +00:00
Gerald Combs a988f8f5cc Pass a NULL instead of an empty string in the value_string/true_false_string
field of hf_rtp_payload_type.  This should fix the "values output" test failures
in the FreeBSD builder.

svn path=/trunk/; revision=13959
2005-03-28 19:19:19 +00:00
Ulf Lamping c475807aab bugfix: don't call tvb_length_remaining() if tvb is NULL
but what to do instead?

svn path=/trunk/; revision=13958
2005-03-28 18:08:31 +00:00
Ulf Lamping 2d1981f08b various (minor) capture code cleanup
svn path=/trunk/; revision=13957
2005-03-28 18:04:09 +00:00
Ulf Lamping b64ebb05c2 fix Solaris build (I've removed O_BINARY)
rename sync_mode to real_time_mode, as we using sync_mode all the time now, so the name is misleading

svn path=/trunk/; revision=13956
2005-03-28 16:14:34 +00:00
Gerald Combs 131ab36a32 In tvb_get_string(), throw an exception if our length is less than zero.
Add a message block length check to the AIM dissector.

svn path=/trunk/; revision=13955
2005-03-28 15:55:47 +00:00
Ulf Lamping 9d6ac60cef remove capture_child flag from capture_opts as it's no longer required
svn path=/trunk/; revision=13954
2005-03-28 15:31:13 +00:00
Ulf Lamping daa67c79ba a lot more capture engine code cleanup
most notably:

- moved opening of safe_file to the capture child (capture_loop.c)
- removed save_file_fd from capture_opts (no longer need to have it global)

svn path=/trunk/; revision=13953
2005-03-28 14:39:31 +00:00
Guy Harris d11694e340 The "cf" field of a "capture_options" structure is a "void *" and, in
practice, it points to a "capture_file" structure; print it with "%p",
not "%s".

svn path=/trunk/; revision=13952
2005-03-28 03:08:29 +00:00
Guy Harris 9385c4b868 The "application_context_version" variables in the CAMEL and GSM MAP
dissectors aren't needed outside the dissectors, and having more than
one of them exported causes build problems, at least on OS X - make them
static.

Fix indentation.

svn path=/trunk/; revision=13951
2005-03-28 02:53:49 +00:00
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