Commit graph

145 commits

Author SHA1 Message Date
Anders Broman
93ea6fac36 From Graham Addis:
In dissect_geographical_description the longitude is multiplied by 260 
 and should be by 360(degrees).

 Also it would be good to display to 5 decimal places.

svn path=/trunk/; revision=19260
2006-09-19 20:25:57 +00:00
Anders Broman
3094096ae4 Decode RANAP in LongSignalInfo and RadioResourceInformation.
svn path=/trunk/; revision=18718
2006-07-11 19:46:52 +00:00
Tomas Kukosa
56d7db0c08 remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
use add_oid_str_name() and get_oid_str_name() instead of them

svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Gerald Combs
f7e38bd5e6 Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variable
definition in the Catapult DCT2000 code.

svn path=/trunk/; revision=18524
2006-06-20 18:30:54 +00:00
Anders Broman
e803b5cefa Fix BUG 971 Facility IE dissection error in GSM_DTAP.
svn path=/trunk/; revision=18476
2006-06-15 21:12:47 +00:00
Anders Broman
770777bd17 dissect_geographical_description updates.
svn path=/trunk/; revision=18318
2006-06-02 16:58:22 +00:00
Anders Broman
2143fccee3 Correct dissect_geographical_description.
svn path=/trunk/; revision=18307
2006-06-02 05:02:54 +00:00
Tomas Kukosa
55600fb60a Ethereal -> Wireshark
asn2eth -> asn2wrs

svn path=/trunk/; revision=18214
2006-05-23 15:17:14 +00:00
Tomas Kukosa
62da958bd9 - asn2eth renamed to asn2wrs
- remove obsolete -X option from makefiles
- not generate enumerated map table for BER

dissector will be regenerated later

svn path=/trunk/; revision=18199
2006-05-21 14:36:05 +00:00
Ronnie Sahlberg
89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Anders Broman
86d8177cc1 Decode Ext-GeographicalInformation.
svn path=/trunk/; revision=18182
2006-05-17 20:09:48 +00:00
Anders Broman
0a00782704 Add dissection of country code if number is in international format and Number plan is E164.
svn path=/trunk/; revision=18085
2006-05-03 18:57:32 +00:00
Anders Broman
2670be5859 Fix Bug 916 PurgeMS decoding error in GSM MAP.
Get rid of som unused ASN1 code and some asn2eth warnings. 

svn path=/trunk/; revision=18084
2006-05-03 18:49:37 +00:00
Guy Harris
a6930fe4ae Add distclean and maintainerclean rules.
svn path=/trunk/; revision=17999
2006-04-25 18:45:08 +00:00
Anders Broman
5bf31ac5bd Fix bugs:
883 checkIMEIres dissection Error in GSM MAP - branch needed for v1,v2 on Response as well
884 The "absentSubscriberParam" can not be dissected in gsm-map - missing IMPLICIT.

svn path=/trunk/; revision=17926
2006-04-20 15:23:17 +00:00
Anders Broman
5426b944ee Expand some value strings, get map_error from gsm_map use the added IE's.
svn path=/trunk/; revision=17818
2006-04-05 18:54:43 +00:00
Anders Broman
84fb70ef42 call OID subdissector for private extensiions, fix makefiles.
svn path=/trunk/; revision=17772
2006-03-30 16:46:36 +00:00
Gerald Combs
f87b0f78ae Fix an off-by-one error.
svn path=/trunk/; revision=17771
2006-03-30 16:13:37 +00:00
Anders Broman
2bf7bd3a45 From Jacques, Olivier
Here is a patch for gsm_map dissector that adds USSD string decoding (mainly used in processUnstructuredSS-Request, UnstructuredSS-Request, UnstructuredSS-Notify). For now, it assumes that it will be GSM 7 bits.
It re-use packet-gsm_sms.c "gsm_sms_char_7bit_unpack" and "gsm_sms_char_ascii_decode" functions, as well as packet-smpp.c "smpp_handle_dcs" function.

svn path=/trunk/; revision=17739
2006-03-27 18:48:33 +00:00
Anders Broman
2f9f463ede Fix Bugs
820     gsm-map checkIMEI decoding error  
821     gsm-map sendIMSI decoding error  

svn path=/trunk/; revision=17703
2006-03-23 16:58:50 +00:00
Anders Broman
f935a4f8f6 Fix http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=820
svn path=/trunk/; revision=17695
2006-03-22 17:10:19 +00:00
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
Anders Broman
4b6d39f7af Fix some asn2eth warnings.
svn path=/trunk/; revision=13485
2005-02-23 23:13:57 +00:00
Anders Broman
ba2673a6df Add some of the AnyTime... Operations.
svn path=/trunk/; revision=13417
2005-02-16 22:42:52 +00:00
Guy Harris
bfb29e9e84 Fix some compiler warnings (at least one of which is for a real problem).
svn path=/trunk/; revision=13404
2005-02-14 22:07:26 +00:00
Anders Broman
cba5f271e6 Add some more V3 opcodes
svn path=/trunk/; revision=13397
2005-02-14 16:21:47 +00:00
Anders Broman
cb4faa82b0 From :Tim Endean correct conditions for a while loop.
svn path=/trunk/; revision=13394
2005-02-14 08:20:33 +00:00
Anders Broman
4e77084bf9 Dissect Return error and some more operationcodes.
svn path=/trunk/; revision=13383
2005-02-11 22:43:24 +00:00
Anders Broman
eabb62bced Fix decoding of some opcodes etc.
svn path=/trunk/; revision=13360
2005-02-09 21:54:57 +00:00
Anders Broman
17608107ff Remove g_free.
svn path=/trunk/; revision=13310
2005-02-05 15:51:45 +00:00
Anders Broman
3ff1f03636 Various updates to GSM MAP
svn path=/trunk/; revision=13261
2005-02-03 21:22:09 +00:00
Anders Broman
a5ac048f4b Prepare for handling of different versions of the protocol.
svn path=/trunk/; revision=13219
2005-01-31 21:40:51 +00:00
Anders Broman
84a6808dca Unpack and display digits, Decode SS-status.
svn path=/trunk/; revision=13175
2005-01-26 20:07:35 +00:00
Anders Broman
579ec23c60 Add calling of sms dissector and make ssn number selection preferences.
svn path=/trunk/; revision=13171
2005-01-24 22:33:36 +00:00
Anders Broman
34f8ea13a1 Fix of asn1 code for one opcode to new spec used?
svn path=/trunk/; revision=13160
2005-01-21 22:49:13 +00:00
Lars Roland
13bf5539af When using Cygwin's python asn2eth.py
generates dissectors with mixed EOL! SVN doesn't allow you to commit such files.
Add a target to all nmake makefiles in asn1 subdirectory which will fix these files.

svn path=/trunk/; revision=13077
2005-01-16 23:26:02 +00:00
Guy Harris
f4a0e4c783 Supply Makefile.nmake files.
svn path=/trunk/; revision=13072
2005-01-16 10:38:21 +00:00
Guy Harris
eaf9490e04 Make the Makefile look like the h235 Makefiles, with the new rules.
Get rid of their "executable" property, and set svn:keywords to Id and
svn:eol-style to native if they're not already set.

svn path=/trunk/; revision=13071
2005-01-16 10:19:21 +00:00
Ronnie Sahlberg
8afae320de update of the asn2eth compiler to use the types ber_[choice|sequence]_t instead of ber_[choice|sequence]
regenerated all dissectors


fixed the choice/sequence struct to use unsigned entities for class and tag
(to reduce some compiler warning and because it should be signed quantities)



svn path=/trunk/; revision=12740
2004-12-13 08:15:34 +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
8bb437f0ee update gsmmap to use the new signature for the ber integer dissection helper
svn path=/trunk/; revision=12721
2004-12-12 00:17:15 +00:00
Anders Broman
64bf0afadb Rename some fields to get rid of warnings, will regenerate the files later.
svn path=/trunk/; revision=12498
2004-11-09 07:04:12 +00:00
Guy Harris
723832dbf0 Close a comment, and re-generate the GSM MAP dissector files.
svn path=/trunk/; revision=12473
2004-11-02 01:25:05 +00:00
Guy Harris
f6c3bbdee3 Get rid of CRs, and set svn:eol-style to native.
Set svn:keywords to ID.

Delete the eol-style property (it's svn:eol-style).

svn path=/trunk/; revision=12472
2004-11-02 01:19:23 +00:00
Anders Broman
a2a5fb3e6e Fix a typo
svn path=/trunk/; revision=12469
2004-11-01 22:18:14 +00:00
Anders Broman
daa5505348 Preparations for addition of GSM MAP dissector created by the asn2eth compiler.
svn path=/trunk/; revision=12467
2004-11-01 22:03:57 +00:00