Commit graph

58 commits

Author SHA1 Message Date
Stig Bjørlykke
b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Stig Bjørlykke
c47e788c94 Regenerate all asn2wrs generated dissectors.
svn path=/trunk/; revision=28379
2009-05-16 22:07:03 +00:00
Guy Harris
d8ea851867 Fix a warning in the RANAP dissector.
There don't seem to be any more RANAP warning, so put it back with the
clean dissectors.

svn path=/trunk/; revision=28132
2009-04-22 19:21:43 +00:00
Anders Broman
3d9c861c60 Use #.OMIT_ASSIGNMENT
svn path=/trunk/; revision=28131
2009-04-22 18:34:22 +00:00
Anders Broman
88fc3fb09b Try to fix unused code warnings.
svn path=/trunk/; revision=28130
2009-04-22 18:13:57 +00:00
Anders Broman
2c8d44d3e6 - Try to get rid of the unused code warnings.
- GTP-TEI as hex and dec.

svn path=/trunk/; revision=28125
2009-04-22 16:10:31 +00:00
Anders Broman
526bc91680 - Reintroduce heuristic dissector
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3426
- Dissect TransportLayerAddress as IPv4 or IPv6 address
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3427
- Use call dissector_try_port_new()
- Update ASN1 descriptions.

svn path=/trunk/; revision=28109
2009-04-21 16:58:13 +00:00
Anders Broman
99bbe55222 Make it possible to check for extension marker in SEQUENCE OF and SET OF.
Fore some reason  the trace in bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3360 does not decode properly
if dissecting the exension marker so leave that code #if 0:ed out for now.

svn path=/trunk/; revision=27848
2009-03-25 22:04:23 +00:00
Anders Broman
254ba09e7a From Neil Piercy:
Embedded RRC messages not dissected.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3300

svn path=/trunk/; revision=27606
2009-03-04 19:59:56 +00:00
Bill Meier
35e5fa9bc1 #include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Anders Broman
9ba4cb60ac Update to the latest spec. V8.0.1 (2008-09)
svn path=/trunk/; revision=26712
2008-11-06 19:42:59 +00:00
Bill Meier
09e139a234 asn2wrs generated files changed as a result of recent asn1 template changes
svn path=/trunk/; revision=26698
2008-11-04 22:28:52 +00:00
Anders Broman
e375c3990a Regenerate all asn2wrs generated dissectors
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Anders Broman
b3e93c1391 Fix typo(s)
svn path=/trunk/; revision=25842
2008-07-26 22:38:53 +00:00
Anders Broman
2894d5c550 Fix unused code warings generated because some IE:s uses the same "value" for different
IE:s depending on message type.
(Thanks to Tomas Kukosa for helping to solve the problem).

svn path=/trunk/; revision=25841
2008-07-26 22:22:08 +00:00
Jeff Morriss
31d0fb16d7 From Neil Piercy via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2637 : Make the RANAP SSN configurable.
svn path=/trunk/; revision=25837
2008-07-26 02:04:19 +00:00
Anders Broman
ece87c88fd Get rid of unused code warnings.
svn path=/trunk/; revision=25817
2008-07-24 10:58:23 +00:00
Anders Broman
4cd09cde05 Get rid of some unused code warnings.
svn path=/trunk/; revision=25647
2008-07-01 19:57:03 +00:00
Anders Broman
3ead3cd279 Update asn1 files to GPP TS 25.413 V7.8.0 (2008-01).
svn path=/trunk/; revision=24250
2008-02-03 09:51:57 +00:00
Tomas Kukosa
84488ec016 asn2wrs
- parameterized object class assignment
 - octet string with extensible size constraint
 - RELATIVE-OID type (still not supported in packet-per/ber)
packet-per
 - octet string with extensible size constraint
more dissect_per_... functions exported from libwireshark.dll
PER dissectors regenerated
add forgotten packet-h323-template.h
fix svn properties for h323 files

svn path=/trunk/; revision=23309
2007-10-29 19:25:37 +00:00
Anders Broman
4e0cf23472 Incorrectly decoded IMSI in RANAP prot./id-CommonID procedure
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1713

svn path=/trunk/; revision=22778
2007-09-03 16:40:51 +00:00
Tomas Kukosa
a8357929c4 RANAP rewritten to use original ASN.1 source and updated to TS 25.413 V7.6.0 (2007-06)
svn path=/trunk/; revision=22726
2007-08-29 11:57:27 +00:00
Jörg Mayer
b312e64f6a get_ber_length doesn't need the tree argument, get rid of it.
Rebuild asn1 dissectors.

svn path=/trunk/; revision=22627
2007-08-24 07:12:04 +00:00
Tomas Kukosa
bbe6caca6b - Q.932: fix warnings
- RNSAP: generate field functions only for necessary types 
- other dissectors regenerated

svn path=/trunk/; revision=21683
2007-05-04 13:33:35 +00:00
Anders Broman
1cf1f16391 Split out common asn1 stuff to asn1.h and include that where needed.
svn path=/trunk/; revision=21635
2007-05-01 22:05:11 +00:00
Luis Ontanon
9dbe9adf50 Another iteration over sctp calls (RANAP/BSSAP) a step towards TCAP/(MAP/IMAP/CAMEL)
- Fix SUA calls (I would need some more traces to test this)


svn path=/trunk/; revision=21235
2007-03-27 23:00:55 +00:00
Luis Ontanon
7f3e4fea48 Mine:
* add SUA to the "VoIP Calls" tap.
* propagate changes to packet-sccp.h to other dissectors

From Neil Piercy:
* add SLR, DLR and CAUSE to COL_INFO

svn path=/trunk/; revision=21126
2007-03-22 22:59:20 +00:00
Ronnie Sahlberg
8920a7e7f2 change the signature that asn2wrs generates for functions to marm all parameters as _U_
to reduce the number of compiler warnings.

update some template and cnf files to use _U_ as well 


svn path=/trunk/; revision=21088
2007-03-21 10:22:22 +00:00
Luis Ontanon
5fa8e75149 packet_info.c and packet.c
add sccp_info to struct _packet_info (Sorry but the way private_data works and the fact that TCAP uses it and BSSAP/RANAP can be tunnelled on GSMMAP over TCAP makes it impossible to avoid)

SCCP
- Have SCCP to have a TAP,
- Fix associations so that every message belongs to the association.
- Export message type values so that they can be used by a tap listener

RANAP
 - Have RANAP information attached to the sccp_info 

BSSAP + GSM_A
- Have DTAP, BSSMAP and BSSAP info attached to the sccp_info

svn path=/trunk/; revision=21076
2007-03-21 00:48:46 +00:00
Anders Broman
7164abe385 Decode some RANAP elements.
svn path=/trunk/; revision=20854
2007-02-19 06:09:33 +00:00
Tomas Kukosa
5cd8c719e6 ASN.1 dissectors regenerated with new asn2wrs to get updated field blurb
svn path=/trunk/; revision=18921
2006-08-16 05:58:39 +00:00
Tomas Kukosa
c333c6b5bd few formal changes in PER dissector (rename asn_* types to asn1_* ones)
svn path=/trunk/; revision=18652
2006-07-04 06:49:53 +00:00
Tomas Kukosa
6ceb7937bc remove name field from per_sequence_t structure, it can be retrieved from field information
svn path=/trunk/; revision=18637
2006-07-03 07:03:57 +00:00
Tomas Kukosa
ba9d5cd625 fix wrong terminator record in per_sequence_t tables
svn path=/trunk/; revision=18621
2006-06-30 10:18:25 +00:00
Anders Broman
18c69d17b0 Add a heuristic table to SUA (SUA and SCCP should share the same table) to heuristically
dissect RANAP ower SUA.

svn path=/trunk/; revision=18616
2006-06-29 20:39:53 +00:00
Tomas Kukosa
9be9eb8e14 use "type function" instead of "field function" in PER CHOICE and SEQUENCE tables
it matches asn2wrs approach and makes generated dissectors source shorter

svn path=/trunk/; revision=18612
2006-06-29 15:26:41 +00:00
Anders Broman
012f0c5f73 RANAP:
Handle the case where length is two octets.

SS-Operations.asn - cosmetict change.

svn path=/trunk/; revision=18466
2006-06-15 05:40:21 +00:00
Anders Broman
581dc56d63 MAke it possible to get a tvb with a BIT STRING, regenerate PER dissectors.
svn path=/trunk/; revision=18395
2006-06-08 06:06:17 +00:00
Anders Broman
c20d559c91 Fix bug 973:
While in 3GPP spec, the last two (Down/up nextPDCP-PDU seq. no.) would be 2 
BYTES. So ethreal could not read the message correctly. We have to modify the 
log to make Ethreal analysis it.

Add disection of TargetID.

svn path=/trunk/; revision=18228
2006-05-27 22:09:07 +00:00
Tomas Kukosa
fbd2a3fe3e - fix bugs in dissect_per_octet_string() introduced with unaligned variant
- step to new ASN.1 API - pass asn_ctx_t* through PER dissectors instead of packet_info*
- PER ALIGNED/UNALIGNED flag moved to asn_ctx_t
- PER created tree item pointer moved to asn_ctx_t
- add nbap into PER dissectors in asn1/Makefile.nmake
- use add_oid_str_name() instead of register_ber_oid_name() in H.225 and H.245
- export asn_ctx_init from library
- PER dissectors regenerated

svn path=/trunk/; revision=18209
2006-05-22 11:49:50 +00:00
Ronnie Sahlberg
feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman
7f033bd485 PER Enumerated is working now.
svn path=/trunk/; revision=18165
2006-05-15 20:21:33 +00:00
Tomas Kukosa
31547dee95 regenerated with new asn2eth
svn path=/trunk/; revision=18158
2006-05-15 06:36:17 +00:00
Anders Broman
102bb4be54 Preparations to be able to handle unaligned PER.
svn path=/trunk/; revision=18119
2006-05-10 05:58:06 +00:00
Tomas Kukosa
3b5ed30a0d better support for ASN.1 Enumerated type in PER decoding
support in asn2eth will follow

svn path=/trunk/; revision=17530
2006-03-08 13:50:04 +00:00
Anders Broman
d19c901b52 Make a new PER function dissect_per_enumerated() and use it for the two places in RANAP where
extensions has been made to enumerations. asn2eth should be updated to use it.

svn path=/trunk/; revision=17474
2006-03-05 20:21:19 +00:00
Anders Broman
65530eb912 Add the abillity to translate MCC.
svn path=/trunk/; revision=17105
2006-01-26 06:54:52 +00:00
Anders Broman
fded8deafc RANAP - Dissect ProtocolExtensionField IE:s
GSM A - Service Request; Mobile identity element is LV type

svn path=/trunk/; revision=17069
2006-01-21 19:12:52 +00:00
Jörg Mayer
f9a57f08d1 Bill Meier:
Spelling fixes.

svn path=/trunk/; revision=16956
2006-01-05 13:01:08 +00:00
Guy Harris
b45d2efe6d Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.
svn path=/trunk/; revision=16736
2005-12-08 23:29:21 +00:00