Commit graph

74 commits

Author SHA1 Message Date
Anders Broman
4e13ea2982 Add parsertab.pyc in clean target
svn path=/trunk/; revision=17386
2006-02-23 20:05:05 +00:00
Anders Broman
74dd581db8 Remove c++ style comment.
svn path=/trunk/; revision=17352
2006-02-19 10:17:07 +00:00
Anders Broman
06d6295287 From Florent.Drouin@alcatel.fr
Add the same workaround used in packet-ftam.c for the bad handling of the asn "IMPLICIT SEQUENCE", in the packet-gsm_map-template.c. This patch concerns Map V3 messages, not correctly decoded with the previous workaround "offset=offset+2".

Change a parameter for Provide Roaming Number decoding.

Add a decoding fonction for "Channel needed" parameter to avoid a decoding error for Paging messages
with a change to actually dissct channel needed.

svn path=/trunk/; revision=17350
2006-02-18 23:29:51 +00:00
Anders Broman
25a7d62b92 BSSGP - Translate MCC and make MCC MNC etc vissible filters
GSMMAP - Small bugfix

svn path=/trunk/; revision=17132
2006-01-31 05:46:36 +00:00
Anders Broman
1c5874e2e3 Dissect CellGlobalIdOrServiceAreaIdOrLAI and RAIdentity
svn path=/trunk/; revision=17075
2006-01-22 21:16:33 +00:00
Anders Broman
f194c9eddb Dissect:
- PDPcontext
 - GSN-Address
 - QoS

svn path=/trunk/; revision=17063
2006-01-20 19:41:31 +00:00
Anders Broman
ae3e48d228 Dissect:
- PDPcontext
 - GSN-Address
 - QoS

svn path=/trunk/; revision=17062
2006-01-20 19:39:38 +00:00
Anders Broman
9d6de675a4 ext_qos_subscribed was not correctly decoded in Camel and GSM MAP
Change to use proto_add_item in packet-gsm_a.c for some octets and export value strings.

svn path=/trunk/; revision=17055
2006-01-19 18:20:14 +00:00
Jörg Mayer
f9a57f08d1 Bill Meier:
Spelling fixes.

svn path=/trunk/; revision=16956
2006-01-05 13:01:08 +00:00
Anders Broman
a010425f35 Add dissection of Error parameters hopfully geting rid of some GCC warnings.
svn path=/trunk/; revision=16860
2005-12-19 19:34:52 +00:00
Luis Ontanon
bc84ba5de6 Have tcap subdissectors registering using functions provided by tcap and tcap manage ssn registration.
In packet-sccp.c avoid not having a binding.


svn path=/trunk/; revision=16834
2005-12-17 16:55:45 +00:00
Anders Broman
f082fe8ecf ISUP - Export functions used by INAP and Camel
Gsmmap - Export asn1 structs used by Camel
Camel - Use functions from GSMMAp and ISUP
INAP - Rewrite of the asn1 code to correspond more to CS1 data types
          Let ISUP and Q931 dissect apropriate stuff.

svn path=/trunk/; revision=16624
2005-11-29 17:23:50 +00:00
Anders Broman
b8d097b28b Update the Camel asn1 spec to 3GPP TS 29.078 version 6.4.0 and export needed stuff from gsmmap
svn path=/trunk/; revision=16587
2005-11-25 20:18:36 +00:00
Guy Harris
859ccfa6cb Check in re-generated version from Graeme Lunt's fix to asn2eth.
svn path=/trunk/; revision=16313
2005-10-25 19:39:50 +00:00
Guy Harris
0e17a773b9 A loop processing all the bytes in a tvbuff from a given offset to the
end of the data in the tvbuff should stop when the offset is >= the
total amount of data in the tvbuff, not when it's > the total amount in
the tvbuff following the starting offset.

In "unpack_digits()", return a null string, not a null pointer, if
there's nothing left in the tvbuff starting at the starting offset, so
that the caller doesn't have to check for a null pointer, and return an
ep_alloc()ed buffer, so the caller doesn't have to worry about freeing
the result.

If we see a filler digit, don't advance the offset in the string buffer;
we want to put the terminating '\0' right after the character we just
put into the string.

Fuzzed against some GSM captures.

svn path=/trunk/; revision=16002
2005-09-25 09:32:01 +00:00
Guy Harris
ced076f8d4 OIDs are put into the protocol tree as strings containing a textual
representation of the OID, so the fields for them should be of type
FT_STRING.  This should fix bug 470.

svn path=/trunk/; revision=15945
2005-09-21 23:07:07 +00:00
Anders Broman
1bb6396a93 Fix bug #404 Decoding of MSISDN on GSM is incomplete.
svn path=/trunk/; revision=15906
2005-09-20 20:04:01 +00:00
Gerald Combs
adce5ed6a5 Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in order
to fix compilation under Windows NT.  This should fix bug 403.

The changes were made using "find . -name Makefile.nmake | xargs perl
-pi.bak -e 's: /y::i'".  They appear to work under XP, but if anything
broke I blame Larry Wall.

svn path=/trunk/; revision=15710
2005-09-07 13:26:23 +00:00
Anders Broman
3b949ac5a4 From ouli:
- Add version 2 CancelLocation decoding

svn path=/trunk/; revision=15665
2005-09-02 05:46:10 +00:00
Anders Broman
1f0b3d1d38 Fix decoding of sendIdentificationArg/Res and ProvideSubscriberLocation
svn path=/trunk/; revision=15510
2005-08-22 16:19:31 +00:00
Anders Broman
929bd9dc39 remove sprintf from gsm_a
Do the update for the .cnf file too.

svn path=/trunk/; revision=15497
2005-08-21 13:52:33 +00:00
Anders Broman
206c6edb22 from Tomas Kukosa, remove a redundant g_strdup()
svn path=/trunk/; revision=15387
2005-08-17 09:43:16 +00:00
Anders Broman
7789e73a99 Use the new fn_par functions, fix of a bug and export functions used by gsm_ss.
svn path=/trunk/; revision=15203
2005-08-03 20:51:54 +00:00
Anders Broman
6cec8a40c2 Export
AddressString
ExtensionContainer
SecurityHeader
ProtectedPayload
To be used by MAP_dialouge

svn path=/trunk/; revision=15104
2005-07-26 20:04:16 +00:00
Ronnie Sahlberg
0ca30abe65 change the symbol dissect_ber_CHOICE back into dissect_ber_choice
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +00:00
Anders Broman
d65ca4e2bd Fix an unpack_digits off by one error.
svn path=/trunk/; revision=14953
2005-07-19 19:47:17 +00:00
Anders Broman
842d2f25df Dissect some more fields
svn path=/trunk/; revision=14896
2005-07-11 19:24:30 +00:00
Anders Broman
e46f6e0acc Add some missing IMPLICIT tags, and use FN_PARS directive.
svn path=/trunk/; revision=14877
2005-07-08 19:59:56 +00:00
Anders Broman
de00180fe9 Add dissection of BSS-MAP elements and a fix to dissect Tele and Bearer service again.
svn path=/trunk/; revision=14849
2005-07-04 19:09:38 +00:00
Anders Broman
e824655d63 Fix to SendAuthenticationInfoRes.
svn path=/trunk/; revision=14807
2005-06-28 21:14:09 +00:00
Guy Harris
ab797734dd Get rid of the private "my_match_strval()" routine in many dissectors;
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.

Make those routines, and "val_to_str()", return a "const" pointer. 
Update dissectors as necessary to squelch compiler warnings produced by
that.

Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string.  Clean up some other
"match_strval()"/"val_to_str()" usages.

Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.

Make some global variables in the AFS4INT dissector local.

Make some routines not used outside the module they're in static.

Make some tables "static const".

Clean up white space.

Fix Gerald's address in some files.

svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
Anders Broman
234594dfc0 Add a signal
svn path=/trunk/; revision=14775
2005-06-26 11:01:04 +00:00
Ronnie Sahlberg
3a51ba4293 make dissect_ber_choice take a guint* that will return the
index of the branch taken or -1  to make prettifications easier to implement.


change the signature of dissect_ber_choice and rename it to dissect_ber_CHOICE to catch all
occurences of the use of this function

update asn2eth to use the new name/signature

update all occurences of this function to the new name and new signature.



svn path=/trunk/; revision=14758
2005-06-26 05:48:50 +00:00
Anders Broman
788d843a9d Major rewrite to update to version TS 129 002 V6.9.0
svn path=/trunk/; revision=14748
2005-06-25 17:25:44 +00:00
Anders Broman
fa82445742 Update some OID:s and add some ASN1 code from ETSI TS 129 002 V5.7.0.
Will regenerate later.

svn path=/trunk/; revision=14704
2005-06-19 21:11:52 +00:00
Jörg Mayer
2073fb5b5b No // comments
svn path=/trunk/; revision=14625
2005-06-14 13:35:24 +00:00
Anders Broman
d89f479bbf From Tim Endean:
- I have had to make some changes to packet-ber to allow for PRIVATE and APPLICATION tags.
- Both ANSI and ITU variants supported without configuration.
- Asn.1 dissectors can now register using an OID value as well as an SSN, the oid it tried first.

svn path=/trunk/; revision=14573
2005-06-07 05:49:57 +00:00
Anders Broman
8198cbe9ec From Tim Endean:
Ss-code is Optional in some cases.

svn path=/trunk/; revision=14370
2005-05-15 21:15:53 +00:00
Anders Broman
d87981ccb6 Reinsert Gerards patch (r14342) which was lost.
svn path=/trunk/; revision=14351
2005-05-11 22:19:36 +00:00
Anders Broman
00bd7965b2 pinfo->p2p_dir not set in the new gsm_map dissector causing problems with dissection of SMS messages.
svn path=/trunk/; revision=14348
2005-05-11 21:46:16 +00:00
Anders Broman
01adac2ffe Fix dissection of mt-forwardSM.
svn path=/trunk/; revision=14341
2005-05-10 20:06:04 +00:00
Anders Broman
b782032c1e fix some field rename errors turned up by the latest asn2eth compiler.
svn path=/trunk/; revision=14340
2005-05-10 20:02:14 +00:00
Ronnie Sahlberg
b95490206d from Olivier J
bugfix for IMPLICIT NULL in BER sequences
and gsmmap updates



svn path=/trunk/; revision=14160
2005-04-21 21:37:23 +00:00
Anders Broman
7846adc5ad From Olivier Jacques:
- Add bearerServiceCodes decoding
- Fixed sendRoutingInfoForSM and reportSM-DeliveryStatus invoke decoding (argument mismatch)

svn path=/trunk/; revision=14090
2005-04-15 08:29:50 +00:00
Ronnie Sahlberg
305d4cc151 tiny bugfix for gsmmap
svn path=/trunk/; revision=14000
2005-04-01 11:12:32 +00:00
Anders Broman
c4e25e0599 From Jacques, Olivier: Length of digit_str wrongly calculated.
Free the string, fix dissection of some elements.

svn path=/trunk/; revision=13985
2005-03-31 18:39:45 +00:00
Anders Broman
68af7e99c2 From Jacques, Olivier: Length of digit_str wrongly calculated.
Free the string, fix dissection of some elements.

svn path=/trunk/; revision=13984
2005-03-31 18:34:25 +00:00
Anders Broman
d238f2c65f Update and small bugfix
svn path=/trunk/; revision=13979
2005-03-30 19:08:39 +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
Anders Broman
b2cfe35db3 From Jeff Morriss: use the new range preference type.
svn path=/trunk/; revision=13795
2005-03-17 22:08:09 +00:00