Commit Graph

15750 Commits

Author SHA1 Message Date
Anders Broman 8a31ec4d19 From Graeme Lunt
X420 - incorrect ExtendedBodyPart handling
ACSE - support for implicitly tagged EXTERNALs and dissection based upon direct-reference RTSE - same change for RTSE EXTERNAL handling as above CMS  - support for ContentType, MessageDigest, SigningTime and CounterSignature attributes ESS  - support for ESSSecurityLabel and EquivalentLabels attributes


svn path=/trunk/; revision=16071
2005-10-03 05:16:57 +00:00
Anders Broman 00faf71e47 From Graeme Lunt
X420 - incorrect ExtendedBodyPart handling
ACSE - support for implicitly tagged EXTERNALs and dissection based upon direct-reference RTSE - same change for RTSE EXTERNAL handling as above CMS  - support for ContentType, MessageDigest, SigningTime and CounterSignature attributes ESS  - support for ESSSecurityLabel and EquivalentLabels attributes


svn path=/trunk/; revision=16070
2005-10-03 05:14:39 +00:00
Anders Broman 2bac3e70c5 From Graeme Lunt
allows the dissection of ContentInfo based upon it's OID - something that is used for a secure X.400 messages (Protecting Content Type (PCT)).

svn path=/trunk/; revision=16069
2005-10-02 21:14:35 +00:00
Anders Broman 093040a179 From Jeff Snyder
00-iax.diff
 Modifications to the IAX2 dissector so that it offers desegmentation to 
subdissectors using the same API as TCP offers (pinfo->desegment_len etc)

01-amr.diff
 Modifications to the AMR dissector to allow AMR IF2 data to be dissected via 
call_dissector() from packet-h223.c. This patch also causes the AMR dissector 
to append the frame type string to the info column, so that the info column 
shows what protocols an H.223 frame contains.

02-h263-data.diff
 Modifications to packet-h263.c to separate the dissection of h.263 RTP 
encpasulation from the dissection of the actual h.263 data. The data 
dissection functions are added as a second dissector. This data-only 
dissector is used to dissect the video channel in our h.223 streams. As with 
the AMR modification, this makes the H.263 dissector append to the info 
column.

svn path=/trunk/; revision=16068
2005-10-02 20:59:54 +00:00
Ulf Lamping e11c4aac89 enhancements COL_INFO output and make bittorrent protocol filterable
svn path=/trunk/; revision=16067
2005-10-02 15:41:11 +00:00
Ulf Lamping 3b66410f77 add doxygen comments to column-utils.h and do a slight code cleanup
svn path=/trunk/; revision=16066
2005-10-02 14:56:27 +00:00
Luis Ontanon 154d8ae087 one step further...
TPG now uses the ignore feature of tvbparse
 named sub_rules can have cardinality

epan/tvbparse.c:
   do not crash on zero cardinality


svn path=/trunk/; revision=16065
2005-10-01 15:19:36 +00:00
Luis Ontanon 54695fec80 propperly initialize vendor->ett if the vendor is not found while radius_register_avp_dissector().
fixes bug 488.


svn path=/trunk/; revision=16064
2005-10-01 11:16:17 +00:00
Luis Ontanon 99104fe179 match changes to tpg infrastructure.
svn path=/trunk/; revision=16063
2005-10-01 10:41:00 +00:00
Luis Ontanon aef8dd5c4c Some changes in tpg's grammar to avoid constructing elements that cannot be dereferenced
svn path=/trunk/; revision=16062
2005-10-01 10:39:38 +00:00
Luis Ontanon 9860d26c68 emem.[ch]:
Add a simple stack implememtation that uses ep_alloc
Add ep_new() ep_new0() macros

tpg.[ch]:
use the stack in tpg helpers


svn path=/trunk/; revision=16061
2005-10-01 10:36:57 +00:00
Olivier Biot 6f5e84b2d7 Fix bug 492 - the MMSE dissector calls add_content_type() defined in WSP, which
uses proto_item_append_string(). The visibility hack must be present, otherwise
a dissector assert is generated within the MMSE dissector.

svn path=/trunk/; revision=16060
2005-09-30 19:29:21 +00:00
Anders Broman 48c6c3c88e Update AVP:s and error codes.
svn path=/trunk/; revision=16059
2005-09-30 18:20:44 +00:00
Luis Ontanon 5c852882d0 this struct moved to tvbparse.c
svn path=/trunk/; revision=16058
2005-09-29 20:38:41 +00:00
Luis Ontanon 46e293cc16 I needed to cut'n'paste something more...
I did not even try to compile it before check it in, sorry!


svn path=/trunk/; revision=16057
2005-09-29 20:37:05 +00:00
Anders Broman 855e39b91c Update to the latest version of the standard.
svn path=/trunk/; revision=16056
2005-09-29 20:24:02 +00:00
Anders Broman 647742574e make n a guint32 to not wrap around at 65536
svn path=/trunk/; revision=16055
2005-09-29 20:22:55 +00:00
Luis Ontanon e07a98a869 add a debugging function that creates a tree exploding the parsed elements
svn path=/trunk/; revision=16054
2005-09-29 20:07:29 +00:00
Luis Ontanon 8ee088f9cd at this point this makes a good parser for http headers...
svn path=/trunk/; revision=16053
2005-09-29 20:05:24 +00:00
Luis Ontanon 2b57849529 another step closer
svn path=/trunk/; revision=16052
2005-09-29 19:56:21 +00:00
Anders Broman 598dc71801 From Mike Duigou
A patch to allow the JXTA dissector to pass fuzz testing. It 
also removes a couple of unused things and optimizes handling of the raw 
data dissector.

svn path=/trunk/; revision=16051
2005-09-29 05:37:27 +00:00
Guy Harris a275cd2495 Move the Diameter dictionary files to a "diameter" subdirectory, along
the lines of what's done for RADIUS.  That keeps them together (and
separate from other files), and makes the layout of the top-level source
directory closer to the layout of the installation directory, so that if
you run Ethereal or Tethereal from the top-level directory on Windows
it'll pick up the Diameter dictionary files (if it supports loading
them), and can do so on UN*X if we support a mechanism to let it find
its control files in the directory in which the binary resides.

Use the diameter_DATA, dtds_DATA, and radius_DATA macros in the
EXTRA_DIST macro, so you only have to change the lists of Diameter, DTD,
and RADIUS files in one place if you add or remove a file.

svn path=/trunk/; revision=16050
2005-09-29 02:20:29 +00:00
Guy Harris 7aa4b4ffe1 Make "top_tree" static; nobody else uses it, and if they're both not
static, they collide with one another in builds on at least some
platforms.

svn path=/trunk/; revision=16049
2005-09-29 01:31:19 +00:00
Ulf Lamping 9a42ef9536 fix #480: Change defaults for all reassembling settings to ON
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often.

svn path=/trunk/; revision=16048
2005-09-28 22:15:38 +00:00
Luis Ontanon f9a96d8a16 be more flexible in what's a name
svn path=/trunk/; revision=16047
2005-09-28 21:35:14 +00:00
Luis Ontanon 925dd72039 one leak less...
svn path=/trunk/; revision=16046
2005-09-28 21:33:44 +00:00
Luis Ontanon c6ed07b117 tvbparse.[ch]:
- add a tvbparse_handle() (for recursion)
- change tvbparse_until() to allow more control when parsing
- make the wanted control an union so that different types of data can be used

packet-xml.c:
- change the parser definition to match changes to tvbparse_until()


svn path=/trunk/; revision=16045
2005-09-28 21:32:47 +00:00
Anders Broman 84e00aa0f3 Add radius/dictionary.ericsson \
svn path=/trunk/; revision=16044
2005-09-28 20:06:58 +00:00
Anders Broman 399144a591 Handle sigcomp over TCP.
svn path=/trunk/; revision=16043
2005-09-28 19:57:45 +00:00
Jörg Mayer 66596fe354 Updates for foundry addresses/protocols
svn path=/trunk/; revision=16042
2005-09-28 17:16:30 +00:00
Anders Broman 3832c9c86b Add disctionary.ericsson
svn path=/trunk/; revision=16041
2005-09-28 16:39:20 +00:00
Anders Broman 264288023c It's the UDVM_MEMORY_SIZE that should be checked.
svn path=/trunk/; revision=16040
2005-09-28 16:38:40 +00:00
Guy Harris f6ef22c553 Have show_exception() take a "const char *" as its exception message,
and not free the string to which it points.  Pass to
REPORT_DISSECTOR_BUG() strings allocated with ep_strdup_printf(), so
that they're freed automatically.

svn path=/trunk/; revision=16039
2005-09-28 16:16:37 +00:00
Guy Harris e2d774be16 Don't change the Info column if we have an unknown opcode; we've already
set it to a value that should indicate that the opcode is unknown, and
also indicates what the value is.  (Especially don't do it without
calling check_col() to check whether we *should* change the info column,
as we'll dereference a null pointer if we shouldn't; this change should
fix bug 489.)

svn path=/trunk/; revision=16038
2005-09-28 09:31:37 +00:00
Jörg Mayer 16bd74ab0c In case the paths to the tools are wrong, inform the
user about it instead of complaining that no capture files
could be found.


svn path=/trunk/; revision=16037
2005-09-28 08:14:54 +00:00
Guy Harris 322999c545 Note that we should redo the handling of OIDs when
"dissect_ber_object_identifier()" can return the OID in a binary form.

svn path=/trunk/; revision=16036
2005-09-28 08:01:54 +00:00
Olivier Biot 3452023b80 The TRY_TO_FAKE_THIS_ITEM() speed optimization has a side effect in that it
will only process FT_PROTOCOL fields. As a result, proto_item_append_string()
calls may throw a dissector exception, as only a FT_STRING or FT_STRINGZ can be
appended to with this call.

In order to prevent these dissector assertions, silently return from the append
call if the field is a FT_PROTOCOL.

Note that when the tree is visible, the updates of the fields occur normally,
as expected.

svn path=/trunk/; revision=16035
2005-09-28 07:08:57 +00:00
Anders Broman 58534475ef Add dictionarry.ericsson
svn path=/trunk/; revision=16034
2005-09-28 05:16:51 +00:00
Luis Ontanon 02a506e15f make sure we tell tvbparse_until() to include the last token.
svn path=/trunk/; revision=16033
2005-09-28 01:17:45 +00:00
Luis Ontanon 217b73a0b1 update tpg
tvbparse:
     - for tvbparse_until spend the target token even if it isn't included


svn path=/trunk/; revision=16032
2005-09-28 01:06:39 +00:00
Luis Ontanon 95d60cc7ea in tvbparse:
- tvbparse_some now handles 0 items.
  - added accessors for a tt's offset and remaining length.

in packet-xml:
  - min_len=0 for tvbparse_chars() is soon going to mean zero instead of 1 change the 0s to 1s.
  - attribute names can have ':' even if it's namespaces isn't managed yet.
  - split the xml grammar in more elements so It can be actually read by a human being.


svn path=/trunk/; revision=16031
2005-09-27 22:57:07 +00:00
Luis Ontanon ec0f669770 A "working" example of TPG...
svn path=/trunk/; revision=16030
2005-09-27 22:06:36 +00:00
Luis Ontanon 1407da9827 http_dissector_add doesn't belong here!
svn path=/trunk/; revision=16029
2005-09-27 21:56:14 +00:00
Luis Ontanon 230c36d360 now it starts to work...
svn path=/trunk/; revision=16028
2005-09-27 21:54:45 +00:00
Ulf Lamping 347398ee6f code cleanup: use the prefix packet_list_ for every function mentioned in packet_list.h
svn path=/trunk/; revision=16027
2005-09-27 21:51:08 +00:00
Jörg Mayer 74ca6adb4a Op Code 3 (Advertisement) dissection
svn path=/trunk/; revision=16026
2005-09-27 21:50:50 +00:00
Ulf Lamping b9256380e7 mention "http://wiki.ethereal.com/CaptureSetup" in the error dialog, when the capture interface couldn't be opened
svn path=/trunk/; revision=16025
2005-09-27 21:48:17 +00:00
Ulf Lamping cd64e4627b minor bugfix: call cf_callback_invoke() from cf_close() even if the file is already closed. Otherwise the GUI will remain in the wrong state if a capture couldn't be started (e.g. wrong interface).
svn path=/trunk/; revision=16024
2005-09-27 21:46:39 +00:00
Ulf Lamping 041a0ef304 add a new subsection "Code Requirements" and mention fuzz testing there
svn path=/trunk/; revision=16023
2005-09-27 21:44:46 +00:00
Anders Broman b78ff2d761 Add a miniscule ericsson radius dictionary.
svn path=/trunk/; revision=16022
2005-09-27 21:04:59 +00:00