Commit Graph

145 Commits

Author SHA1 Message Date
Tomas Kukosa 1e794fc494 ANSI TCAP regenerated and tested with -T -X asn2wrs options
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior
remove all -T and -X usage

svn path=/trunk/; revision=23823
2007-12-10 08:35:41 +00:00
Anders Broman 325b335505 fixe http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2064 GSM_MAP decodes SendRoutingInfov2 incorrectly
- Add TYPE_ATTR for RoutingInfo ( Fixes the choice problem).
- Dissect ExternalSignalInfo
- Use subtree for AddressStrings

svn path=/trunk/; revision=23776
2007-12-05 21:58:58 +00:00
Anders Broman 437bfb9910 Remove debug code.
svn path=/trunk/; revision=23775
2007-12-05 20:49:46 +00:00
Anders Broman d639aace72 Insert asn1 code for SendRoutingInfov2 and update template
Partly fixes http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2064 GSM_MAP decodes SendRoutingInfov2 incorrectly

svn path=/trunk/; revision=23774
2007-12-05 20:16:02 +00:00
Tomas Kukosa 38a84c5834 removed unnecessary forward class declarations
svn path=/trunk/; revision=23329
2007-11-01 12:36:27 +00:00
Anders Broman 7329ae8ac6 Use oid_add_from_string for adding names.
fix compil of gsmmap and inap.
Note xcopy of gsmmap does not work(rename packet-gsm_map -> packet-gsmmap ?)

svn path=/trunk/; revision=23325
2007-10-31 23:11:15 +00:00
Anders Broman 43700969a6 Use oid_add_from_string for adding names.
(gsmmap and inap does not compile at the moment).

svn path=/trunk/; revision=23324
2007-10-31 21:24:16 +00:00
Anders Broman 1950ffc214 Apply the small performance enhancment patches for:
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace 
- col_append_fstr() with faster  col_append_str() 
- col_add_str() with col_set_str()
when it's safe

svn path=/trunk/; revision=23252
2007-10-23 05:50:00 +00:00
Jörg Mayer c2d0c8fa31 - Fix svn:ignore for all directories
- gsmmap: uncomment -s option in gsmmap.cnf
- Fix cyclic dependencies:
  + Remove EXPORT_CNF from dependencies for cnf files
  + Replace all INCLUDE ...-exp.cnf with IMPORT ...-exp.cnf

svn path=/trunk/; revision=23202
2007-10-16 13:59:40 +00:00
Jörg Mayer 0e0bed500d - Remove -e option if the generated -exp.cnf file isn't used.
- Add EXPORT_FILES to all files that still contain -e.

svn path=/trunk/; revision=23145
2007-10-11 05:27:27 +00:00
Jörg Mayer 61cde0d09e - Change Makefiles to include preinc
- Add missing new directories to asn1/Makefile.nmake

svn path=/trunk/; revision=23141
2007-10-10 19:03:24 +00:00
Jörg Mayer 4a5f7e88a7 Convert some more protocols to new Makefile style.
Renamed the gsmmap template files to not contain an _

svn path=/trunk/; revision=23083
2007-10-07 20:02:30 +00:00
Stig Bjørlykke 41c19432dd Added missing MAP-Errors.asn in unix Makefile.
svn path=/trunk/; revision=22898
2007-09-18 12:33:54 +00:00
Anders Broman b71c2da3e4 OID name fixes.
svn path=/trunk/; revision=22729
2007-08-29 16:10:47 +00:00
Anders Broman f832aaf3b6 Fix up most of the OID names in GSM MAP.
svn path=/trunk/; revision=22723
2007-08-29 06:13:40 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +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
Anders Broman de416e9532 Preparations for updated CAMEL dissector.
svn path=/trunk/; revision=22239
2007-07-04 13:27:44 +00:00
Anders Broman 83ffab00e2 Fix some GSM MAP Warnings.
svn path=/trunk/; revision=22154
2007-06-21 21:38:34 +00:00
Anders Broman 607b0b1048 Add call to the sms dissector for MO-ForwardSM-Arg and MT-ForwardSM-Arg.
Use a separate valuestring for forwardSM and sendRoutingInfoForSM.

svn path=/trunk/; revision=22146
2007-06-20 21:54:40 +00:00
Anders Broman abae311a58 - update the Unix Makefile to use gsmmap.cnf and not gsm_map.cnf.
- the Facility is not bellow the facility itself, but at the end of the tree.
It's not a problem, but it looks strange.. - Fixed

svn path=/trunk/; revision=22141
2007-06-19 22:11:30 +00:00
Anders Broman ac66e18162 Update .cnf file
svn path=/trunk/; revision=22136
2007-06-18 21:03:59 +00:00
Anders Broman 3e2842aa89 Fix to:
For the Cancel Location message, you can replace the
old_CancelLocationArgV2 by the Identity message.
So the old syntax for Cancel Location is not used anymore.

For the message Send Authentication Info Res, there is a typo error. The "item" should not be used.

- one with the decoding of "processUnstructuredSS-Data", the IA5 string 
is not decoded/displayed.

This should go into 0.99.6.

svn path=/trunk/; revision=22135
2007-06-18 20:54:15 +00:00
Anders Broman 8e6ac5494a Change Alcatel Specific extension container
PlmnContainer asn1 code to mach tracing info.

svn path=/trunk/; revision=22108
2007-06-15 17:58:23 +00:00
Anders Broman d3902956dd Correct some typos.
svn path=/trunk/; revision=22106
2007-06-15 16:26:08 +00:00
Anders Broman 49e49c6e64 Update the makefile and a comment in the template file.
svn path=/trunk/; revision=22105
2007-06-15 16:20:35 +00:00
Anders Broman d28046f3b5 Updated GSM MAP to use the latest asn1 original files.
MAP-dalouge and gsm_ss is included in this dissector.

svn path=/trunk/; revision=22069
2007-06-10 19:04:12 +00:00
Anders Broman 34b4318b4c Add more ofthe needed splited ASN1 files.
svn path=/trunk/; revision=22068
2007-06-09 14:58:51 +00:00
Tomas Kukosa 31e45c7a21 not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 types
it makes interconnection between .cnf file and ASN.1 source more readable
(changes for #.FN_BODY will follow)

svn path=/trunk/; revision=22043
2007-06-05 12:00:57 +00:00
Anders Broman 4393bceae5 INAP:
- Use (some) IN CS4 asn1 files Q.1248.1 Q.1248.2 Q.1248.3

BER/asn2wrs:
-  Add basic support for EmbeddedPDVType

svn path=/trunk/; revision=22031
2007-06-03 19:58:59 +00:00
Anders Broman bb904def91 Delete file added by misstake.
svn path=/trunk/; revision=22022
2007-06-01 19:53:46 +00:00
Anders Broman 164d604cb8 Add separate asn1 files that may be used later.
svn path=/trunk/; revision=22008
2007-05-30 19:03:13 +00:00
Anders Broman dca634c4de Prepare for the use of the new -X parameter for BER encoded protocols.
svn path=/trunk/; revision=21889
2007-05-22 16:17:54 +00:00
Anders Broman dac26af515 Add Id.
svn path=/trunk/; revision=21842
2007-05-20 19:56:44 +00:00
Tomas Kukosa 16c1010894 RRLP updated to 3GPP TS 44.031 V7.4.0 (2007-03)
svn path=/trunk/; revision=21825
2007-05-18 12:53:55 +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
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
Anders Broman c0dc340d5d From Florent DROUIN:
I have made some changes to the final patch to have the operation code decoded
as ForwardSM. A change for TCAP is included too, to be sure that the
application context is not overwritten by the User Info OID (this was the case,
when a MAP open dialog was included in the request).
Fix bug:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1498

svn path=/trunk/; revision=21543
2007-04-23 21:26:27 +00:00
Anders Broman cd66fcfe16 Remove a relic from experimental code.
svn path=/trunk/; revision=21539
2007-04-23 20:30:31 +00:00
Anders Broman d07a92f8bc TCAP: Fix up indentation a bit.
GSM MAP: Add returnResultNotLast from TCAP to the included ROS stuff.

svn path=/trunk/; revision=21537
2007-04-23 20:20:46 +00:00
Luis Ontanon 9709011a9b Implement a proposal from Elefterios Gabriel for SCCP:
Add a table of DPCs and SSNs that allow to override the protocol that would be choosen
so that the same SSN can use two different protocols in two different DPCs.

I did not believe it someone could have done it, then I saw the captures...


svn path=/trunk/; revision=21321
2007-04-03 19:08:00 +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
Anders Broman 7725763b35 Add $Id:$
svn path=/trunk/; revision=20939
2007-02-27 07:00:11 +00:00
Ronnie Sahlberg dd7323f981 dont use _U_ when typedeffing a function pointer.
gcc 2.96 does not like _U_ here.



svn path=/trunk/; revision=20882
2007-02-20 20:21:49 +00:00
Anders Broman 564fd0fa57 From Florent Drouin:
This patch provide a new function to decode messages when several ASN1 encoding can be used.
This is the case, for example, when a same message has different encoding according to the MAP version, or in case of ASN1 encoder optimization.
 At the same time, I did remove the configuration variable "old_gsm_map_version", which is taken into account in the patch.
And likewise, for all the messages defined with the ASN1 sequence "[3] SEQUENCE", this function is called for the decoding.

svn path=/trunk/; revision=20878
2007-02-20 19:37:06 +00:00
Anders Broman 7164abe385 Decode some RANAP elements.
svn path=/trunk/; revision=20854
2007-02-19 06:09:33 +00:00
Anders Broman 9288918d6b From Florent Drouin:
A patch to update the gsm map definition up to 3GPP TS 29.002 V7.5.0 (2006-09) Release 7 There is a little impact on the GTP dissector, because I had to change the name of the Local ErrorCode in the gsm map asn1 definition due to a conflict with the Camel dissector.

svn path=/trunk/; revision=20823
2007-02-16 21:02:19 +00:00
Anders Broman d61e373bb4 As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t to static.
svn path=/trunk/; revision=20062
2006-12-07 20:34:08 +00:00
Ulf Lamping 647533a5ef put every python script name into "" so the call won't fail on Win32 native python.
The problem is the slash in e.g.:

 @$(PYTHON) ../../tools/make-dissector-reg.py

is interpreted as an option instead of being part of the path.

I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.

svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +00:00
Anders Broman ad9a9a6a9d From Florent Drouin:
Here are some patches and a new module to introduce the notion of Tcap context for a Tcap transaction. For each Tcap transaction, several parameters, like session identifier, start time or OID, will be saved in a hash table, to keep these informations available for the next messages. This context is then given to the upper layer, and can be used, for example, to generate transaction-associated statistics.

Moreover, the Upper protocol, detected in the Begin of the TCAP transaction ( according to the OID ), is saved in the context, and will be reused for the next messages of the transaction. This help the decoding of SS7 messages, without any SSN configuration in the "wireshark preferences".

You will have too, the possibility to apply a filter to see only the messages related to a TCAP transaction. (tcap.srt.session_id=XXX)

To enable the use of the Tcap context, you have 2 new parameters in the preferences,
- SRT, enable search for a Tcap context for any TCAP messages
- persistentSRT, keep the Tcap context, even after the transaction has been closed. This is mandatory with Wireshark, to have a clean display of the stats.

There is 2 new timers  in the preferences for the statistics, to tune the retransmission timeout, and messages lost timeout.

svn path=/trunk/; revision=19341
2006-09-27 20:06:06 +00:00