Commit Graph

143 Commits

Author SHA1 Message Date
Gerald Combs 09868c5db5 Fix some checkAPIs warnings.
svn path=/trunk/; revision=25617
2008-06-27 16:07:21 +00:00
Anders Broman aa81806094 Update package name from IANA's list.
svn path=/trunk/; revision=24078
2008-01-13 17:03:06 +00:00
Anders Broman de16039c51 Get rid of dissect_ber_boolean_value() and change the signature of
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature.
Regenerate all BER dissectors.

svn path=/trunk/; revision=24015
2008-01-04 16:21:07 +00:00
Anders Broman bf7150a834 Get rid of ber_last_created_item().
svn path=/trunk/; revision=24009
2008-01-04 12:53:29 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Anders Broman f08cd1e5e3 actx in the rest of dissect_ber..()l
svn path=/trunk/; revision=21773
2007-05-15 05:49:43 +00:00
Anders Broman c01f382974 Second step in introducing asn context to BER dissectors just like in PER.
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Luis Ontanon 06a52917ad Have the h248term handle evaluated as late as possible.
svn path=/trunk/; revision=21413
2007-04-13 17:46:54 +00:00
Luis Ontanon 8c6ad121d8 megaco
- replace #pragma for #include
- move register function and remove prototype

h248
- have dissector being called through megaco instead of registering to the same sctp.ppi


svn path=/trunk/; revision=21234
2007-03-27 22:56:07 +00:00
Luis Ontanon 753ac01760 Remove the context tracing from packet-h248.c ( migrated to <epan/gcp.c> )
svn path=/trunk/; revision=21188
2007-03-25 21:39:40 +00:00
Luis Ontanon 7a7e743627 add a tap to h248
svn path=/trunk/; revision=21054
2007-03-18 21:54:07 +00:00
Luis Ontanon 306309b94d make sure curr_info.sig is not-NULL before derreferencing it.
similar to  Bug 1451

svn path=/trunk/; revision=21050
2007-03-18 14:56:58 +00:00
Luis Ontanon 92ad3144da make sure curr_info.evt is not-NULL before derreferencing it.
fixes Bug 1451

svn path=/trunk/; revision=21048
2007-03-18 13:53:07 +00:00
Luis Ontanon bed442b167 dissect H.248 over TPKT over TCP
svn path=/trunk/; revision=21046
2007-03-17 21:43:34 +00:00
Luis Ontanon b874efb47d - have the signal name to be in the right subtree
svn path=/trunk/; revision=20966
2007-03-03 23:33:56 +00:00
Luis Ontanon 76518e6d1b + improve dissection of PkdName
+ complete H.248.1 E.1 Generic Package

svn path=/trunk/; revision=20965
2007-03-03 16:36:19 +00:00
Luis Ontanon 679cf729d3 + some cosmetic changes to package dissection.
+ add more Q.1950 packages and parameters

svn path=/trunk/; revision=20920
2007-02-25 10:13:49 +00:00
Luis Ontanon 4211d0dba2 fix some bugs introduced in the latest releases and add value_strings for param, evt, sig and stat ids s well as "sub-parameters".
svn path=/trunk/; revision=20908
2007-02-23 20:57:22 +00:00
Luis Ontanon da3cc2efa8 + add some more packages from 3GPP TS 29.232
- fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1385


svn path=/trunk/; revision=20885
2007-02-21 00:00:49 +00:00
Anders Broman 5541864c73 Extend the events valuestring with Bearer Modification Support Event.
svn path=/trunk/; revision=20657
2007-01-31 22:59:41 +00:00
Luis Ontanon 5ea201cacf Merge Anders' and my own fixes to some bugs
- most paramaters have data set to NULL, have them added to the tree
- avoid the context tracing mecanism bailing out if a ContextList appears in the packet.
- in q9150 do not attempt to dissect sdp unless we believe it is sdp
    (BTW we need heuristics for sdp and other potential payloads of this parameter..)


svn path=/trunk/; revision=20649
2007-01-31 09:30:08 +00:00
Anders Broman c9ea62712c Fix bug 1328 and related bugs found when examining the trace.
svn path=/trunk/; revision=20634
2007-01-30 22:52:09 +00:00
Anders Broman 695a2bddd6 Update value strings.
svn path=/trunk/; revision=20612
2007-01-29 21:30:06 +00:00
Luis Ontanon 41bf0f37ea the widcards: Choose and All were inverted (again?)
svn path=/trunk/; revision=20314
2007-01-04 22:44:17 +00:00
Bill Meier 444602bf97 Oops: wireshark.com --> wireshark.org
Also: 1 additional Ethereal --> Wireshark

svn path=/trunk/; revision=20272
2007-01-02 17:19:25 +00:00
Bill Meier 739eb43c3a More ethereal --> wireshark
svn path=/trunk/; revision=20270
2007-01-02 14:11:35 +00:00
Guy Harris 04ca66dfb1 Ehtereal[sic] -> Wireshark. :-)
Give a little more detail in the comment in the H.248 dissector about
"MEGACO" vs. "H.248".

svn path=/trunk/; revision=20262
2007-01-02 09:20:27 +00:00
Anders Broman 28e73ca8d2 Sorry that should have been static int. Corrcted now.
svn path=/trunk/; revision=19869
2006-11-08 21:28:03 +00:00
Jörg Mayer c0d26bccb9 Make Wireshark build on my system (gcc 4.1.0) again
svn path=/trunk/; revision=19868
2006-11-08 13:59:46 +00:00
Anders Broman 8d8af34ba4 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1206
MEGACO message cannot be decoded correctly for ServiceChange Command
And decoding of serviceChangeReason.

svn path=/trunk/; revision=19861
2006-11-07 19:25:59 +00:00
Jaap Keuter cf9adce9be Fix bug 1207, simple swap of the two text strings.
svn path=/trunk/; revision=19819
2006-11-06 12:19:26 +00:00
Gerald Combs 28d32a420f Add more paranoid pointer checks. Fixes CID 219.
svn path=/trunk/; revision=19684
2006-10-25 17:00:33 +00:00
Guy Harris 51a426a4ca Clean up some compiler warnings.
svn path=/trunk/; revision=19473
2006-10-10 08:10:42 +00:00
Anders Broman ed0cf1e0bb H248:
Lost a line in last commit.

ISUP Export a value string.

svn path=/trunk/; revision=19454
2006-10-08 20:57:20 +00:00
Anders Broman 1785428d4c Add a few packages and fix dissecton of a_codecs and handle the case when
hf_param = -1.

svn path=/trunk/; revision=19445
2006-10-06 19:48:00 +00:00
Anders Broman 1677b21838 Added the possibillity of Statistic pkg as well.
svn path=/trunk/; revision=19436
2006-10-04 22:43:38 +00:00
Anders Broman 7817c0a610 Put back the bugfixes froim Revision 19190/19356
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1091

"h248_handle was declared localy, udp port was not added at register.

Added a few more packagenames."

svn path=/trunk/; revision=19434
2006-10-04 21:52:35 +00:00
Luis Ontanon c284a7f9ab more cleanup... almost there...
svn path=/trunk/; revision=19426
2006-10-04 15:31:31 +00:00
Luis Ontanon 5d40bae072 MSVCC does not like mixing code and variable declarations
svn path=/trunk/; revision=19409
2006-10-03 18:07:31 +00:00
Luis Ontanon a4d7156808 H.248 packages...
few things to be fixed:
- // comments,
- not every hf_xxx used might be registered

some packages from the current h248 dissector are still missing.



svn path=/trunk/; revision=19407
2006-10-03 17:24:28 +00:00
Anders Broman 216cb9eec0 Add some more package names.
svn path=/trunk/; revision=19356
2006-09-29 05:52:41 +00:00
Anders Broman 96c13a1000 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1091
h248_handle was declared localy, udp port was not added at register.

Added a few more packagenames.

svn path=/trunk/; revision=19190
2006-09-11 20:35:24 +00:00
Guy Harris ee7166aff1 Declare "dissect_h248_Name()" and "dissect_h248_Value()" before they're
used.

svn path=/trunk/; revision=19141
2006-09-04 23:20:52 +00:00
Anders Broman 316453598a From Oleg Kostenko:
This patch will add the following functionality to the H.248
 dissector:

 1. Dissection of properties from Annex C.11 SDP equivalents.

 2. Dissection of EventNames and SignalNames from Annex E Basic
Packages.

 3. Dissection of event and signal parameters from Annex E.9 Analog
 Line Supervision Package.

 4. Dissection of statistics from Annex E.11 Network Package and
 Annex E.12 RTP Package.

svn path=/trunk/; revision=19136
2006-09-04 18:10:14 +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
Anders Broman c72d4e8f2e From Albert Chin:
Fix some C++ comments in C source files and fixes some non-constant initializations.

svn path=/trunk/; revision=18521
2006-06-20 05:57:29 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Anders Broman 9aa7db0042 From LEGO fix "Dissector bug, Protocol H248"
svn path=/trunk/; revision=18093
2006-05-04 18:25:43 +00:00
Ronnie Sahlberg 27de4cfd39 give se_trees names so that it is easier to debug and to log how often certain trees are accessed
svn path=/trunk/; revision=17587
2006-03-11 13:02:41 +00:00
Ronnie Sahlberg 76a2df4a58 dont declare variables in the middle of a code block. many compilers do not like that.
svn path=/trunk/; revision=17573
2006-03-11 00:58:16 +00:00
Luis Ontanon 4e1ca8f2c3 fix coverity CIDs 113 and 114.
while at it change the h248 context analysis to use se_trees instead of GHashTables


svn path=/trunk/; revision=17571
2006-03-10 22:01:10 +00:00
Luis Ontanon a2f7c569e0 H.248 over UDP
svn path=/trunk/; revision=17163
2006-02-05 04:24:51 +00:00
Gerald Combs faef737b31 Before we begin dissection, NULLify some global variables that might
contain ep_alloc()ed data from a previous dissection.  Correctly fixes
bug 651 (the previous fix was incorrect).

svn path=/trunk/; revision=17015
2006-01-12 02:06:34 +00:00
Gerald Combs 20b00dd581 Don't dereference a null pointer. Fixes bug 651. Update the release notes
accordingly.

svn path=/trunk/; revision=16967
2006-01-06 20:03:52 +00:00
Guy Harris 35743cded8 Fix a typo.
svn path=/trunk/; revision=16931
2006-01-02 10:52:50 +00:00
Luis Ontanon be94b45514 - Decode some more annex C fields
- Keep track of terminations (link wildcarded ones to real ones)
- Keep termination info and link aal2 terminations to alcap legs


svn path=/trunk/; revision=16914
2005-12-28 19:46:57 +00:00
Anders Broman 8d05164bec Get rid of duplicted dissector tables for MTP3 Service indicator and SCCP ssn:s
svn path=/trunk/; revision=16815
2005-12-16 07:05:50 +00:00
Luis Ontanon 55d5c5cc66 Avoid dereferencing pointers to the message, context and transaction object if they have not been created.
svn path=/trunk/; revision=16725
2005-12-07 21:08:51 +00:00
Luis Ontanon 94110893b7 It crashed when keep_persistent_data == FALSE
svn path=/trunk/; revision=16705
2005-12-06 19:47:22 +00:00
Luis Ontanon d6c5410b18 - Fix few issues with context analysis
- Add used terminations tree to the context analysis tree

Regenerate Dissector


svn path=/trunk/; revision=16703
2005-12-06 18:52:17 +00:00
Luis Ontanon 906eb93fd7 Analysis starts to work
svn path=/trunk/; revision=16678
2005-12-05 01:46:07 +00:00
Luis Ontanon e622f903f9 Rewrite of the analisys and summary code.
Analysis code is still  not working so it is disabled.


svn path=/trunk/; revision=16658
2005-12-03 11:43:19 +00:00
Luis Ontanon ff20ed3e10 Some cleanup,
- Improve expert info
- Remove the debug tree (one warning unused function, will go)
- Make Sure Pending messages have a cmdmsg (and so a colinfo label)


svn path=/trunk/; revision=16383
2005-11-02 23:01:15 +00:00
Luis Ontanon b10fcd969a - terminate a value_string
- wildcard field subdissector


svn path=/trunk/; revision=16378
2005-11-02 19:46:47 +00:00
Luis Ontanon c5ff846c22 - add a counter for pending messages
- do not use a value string for context ids
- remove the plugin registration as it is not supposedd to be a plugin


svn path=/trunk/; revision=16375
2005-11-01 21:09:28 +00:00
Luis Ontanon f100a33216 - Embryonic Transaction & Context tracing
svn path=/trunk/; revision=16372
2005-11-01 16:28:13 +00:00
Guy Harris c5b0fc27d7 Fix a bunch of places where we were calling "dissect_ber_octet_string()"
with a non-null pointer-to-pointer-to-tvbuff and not checking whether
the returned tvbuff pointer was non-null.

svn path=/trunk/; revision=15948
2005-09-22 00:51:11 +00:00
Ronnie Sahlberg eba5b5b225 sometimes it seems that we have the text based h248/megaco running ontop of
m3ua  and not the binary one.


make the binary dissector check if it is really the text based one to be used and if so
call that dissector instead.



svn path=/trunk/; revision=15862
2005-09-19 08:06:25 +00:00
Guy Harris b7b80d94be Move a pile of protocol-related headers from the top-level source
directory to the epan directory.  Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.

Fix Gerald's e-mail address in files we're moving.

svn path=/trunk/; revision=15844
2005-09-17 00:02:31 +00:00
Luis Ontanon 03c8023311 avoid throwing a malformed packet
svn path=/trunk/; revision=15298
2005-08-11 23:51:35 +00:00
Luis Ontanon 1480f629dc Change a switch into an "if else if else if else" that fixes the "too large for switch" in HP-UX 10.20 .
The generated file has a lot of indentation changes due probably to a change in asn2eth.

The underlying reason for which I added this code (dissect_ber_integer() would not add as a "filterable" field if it is larger than 4 bytes, should be handled in dissect_ber_integer() ) remains there.

Should we change dissect_ber_integer() itself to make sure that a 5 byte unsigned integer which fits in 4 bytes gets added to the tree as "filterable"?


svn path=/trunk/; revision=15294
2005-08-11 18:21:23 +00:00
Jörg Mayer 54861853a8 More char -> const char warning fixes
svn path=/trunk/; revision=15155
2005-07-30 07:13:27 +00:00
Luis Ontanon df4cce353b fix a string
svn path=/trunk/; revision=14915
2005-07-13 23:40:06 +00:00
Luis Ontanon bfa7197fcf if exists call the h248term subdissector.
svn path=/trunk/; revision=14717
2005-06-20 21:21:06 +00:00
Luis Ontanon bc1292ff1d some cosmetic fixes
svn path=/trunk/; revision=14401
2005-05-20 19:38:24 +00:00
Luis Ontanon 1eeda6e946 - make sure contextId and transactionId are added to the tree as filterable fields even if they are larger than 4 octets
- set COL_INFO to something useful


svn path=/trunk/; revision=14361
2005-05-13 11:16:05 +00:00
Luis Ontanon 5535853bf2 - export Audio Codec modes from isup/bicc
- detailed dissection of GSM/UMTS speech code list ETSI 126 103 (3gpp 26.103 v3.0.0)
- use it for H.248


svn path=/trunk/; revision=14343
2005-05-10 21:54:37 +00:00
Anders Broman 0151ea2b76 Add dissection of packet tdmc
svn path=/trunk/; revision=13483
2005-02-23 23:12:07 +00:00
Anders Broman 2b80bfc282 Add dissection of some more packages.
svn path=/trunk/; revision=13264
2005-02-03 21:56:59 +00:00
Ronnie Sahlberg 262d2b36c8 support H.248 BER over SCTP PPID 7
svn path=/trunk/; revision=13213
2005-01-31 03:31:13 +00:00
Ronnie Sahlberg 0e528dc7a1 updates from tomas and anders
create some missing makefiles for autogenerated dissectors

finish the transition to the new ber integer dissetor helper signature
and regenerate all ber dissectors



svn path=/trunk/; revision=12724
2004-12-12 01:14:03 +00:00
Ronnie Sahlberg e9bd26c0d0 update h248 to use the new integer dissector phasing out useage ofg the old dissector so we later can switch over.
svn path=/trunk/; revision=12719
2004-12-12 00:09:05 +00:00
Ronnie Sahlberg 850f13fbff get rid of some more compiler warnings
svn path=/trunk/; revision=12287
2004-10-12 23:56:41 +00:00
Anders Broman 5783cb4609 Pretify EventName and SignalName
svn path=/trunk/; revision=12270
2004-10-12 04:59:25 +00:00
Anders Broman 27697f7852 Handle dissection of some packagees Property ID:s, get rid of h248-package-bcp as there is only one parameter in this package.
svn path=/trunk/; revision=12227
2004-10-07 09:16:13 +00:00
Ronnie Sahlberg eaf5cc19c3 Add example template for how to add h248 extension packages to the megaco dissector
svn path=/trunk/; revision=12206
2004-10-05 11:20:43 +00:00
Ronnie Sahlberg fd08163595 minor update preparations to have a dissector table for property identifiers
svn path=/trunk/; revision=12205
2004-10-05 09:50:19 +00:00
Guy Harris c11306933e Set svn:keywords to Id to expand RCS IDs, and set svn:eol-style to
native to canonicalize line endings.

svn path=/trunk/; revision=12203
2004-10-05 09:18:55 +00:00
Anders Broman 9c3df21ac9 Fix some editing misstakes from this morning
svn path=/trunk/; revision=12197
2004-10-04 20:28:15 +00:00
Anders Broman a1d0c69d8d Updated packetname value string.
svn path=/trunk/; revision=12194
2004-10-04 05:50:55 +00:00
Ronnie Sahlberg 67c3a1084c stub prettification of PackageName
to be filled in by telco people


svn path=/trunk/; revision=12193
2004-10-03 22:04:37 +00:00
Ronnie Sahlberg 0b5f6e439d prettify mtpAddress
svn path=/trunk/; revision=12188
2004-10-03 09:21:35 +00:00
Ronnie Sahlberg 5c372a4410 new protocol : h248 Megaco v2
binary encoding 


svn path=/trunk/; revision=12186
2004-10-03 07:52:53 +00:00