aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcap.h
AgeCommit message (Collapse)AuthorFilesLines
2015-01-19TCAP: support dialogue confirmationLuke Mewburn1-5/+3
TCAP permits the changing of the originating address on the first backwards continue (i.e. the establishment of the dialogue). See ITU-T Q.771 (06/97) clause 3.1.2.2.2.2 Confirmation of the dialogue. In practice, a BEGIN replied to with an END can also exhibit this behaviour. For example, a BEGIN from GT A TID TA -> GT B, and the reply CONTINUE from GT B2 TID TB -> GT A TID TA. To support this, only support a single address hash in tcaphash_begin_info_key_t and tcaphash_end_info_key_t. The match of the first CONTINUE should find the appropriate tcaphash_begin and create the appropriate tcaphash_end entries. Also fix compile warning with DEBUG_TCAPSRT. Bug: 10841 Change-Id: Ibe75e3940e757727357b20be10f9c195c5888fdd Reviewed-on: https://code.wireshark.org/review/6446 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-3/+1
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-30Move tcap and camel "persistent data" functionality to the dissectors ↵Michael Mann1-1/+142
themselves instead of being part of epan directory. svn path=/trunk/; revision=54499
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-26Make the oid memeber a const.Anders Broman1-1/+1
svn path=/trunk/; revision=48558
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-3/+6
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;Bill Meier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. svn path=/trunk/; revision=39427
2011-05-13Regenerate ASN.1 dissectors to update the #line directive.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=37118
2009-03-09Corrected oid names.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=27673
2008-09-14Use the unmodified DialoguePDUs ASN1 file.Anders Broman1-3/+3
svn path=/trunk/; revision=26192
2008-09-13Use original UnidialoguePDUs.Anders Broman1-1/+1
svn path=/trunk/; revision=26188
2008-07-26Get rid of some unused code warnings.Anders Broman1-1/+1
svn path=/trunk/; revision=25843
2008-03-01Rewrote to use g_strlcpy and g_strlcat.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=24525
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-1/+1
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015
2007-11-07Update to use the -X and -T asn2wrs flags.Anders Broman1-2/+2
svn path=/trunk/; revision=23394
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-1/+1
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-08-14Preparations to split the TCAP dissector into ANSI and ITU parts.Anders Broman1-1/+1
svn path=/trunk/; revision=22501
2007-07-27From Florent Drouin:Jeff Morriss1-3/+8
- add support of session management for tcap ANSI. (In fact, this support already exist for ANSI MAP subdissector, but as our simulators can reuse the tcap transaction Id, the decoding of the response may be wrong) - move the code related to asn1 in tcap.cnf, and update tcap.cnf - move the code related to the session management in tcap-persistentdata - add a compilation option to free the entry in the hashtable for a closed transaction. This is used only for tshark statistics generation, with huge file. - cleanup and add some comments Add Id tags to epan/tcap-persistentdata.{c,h} svn path=/trunk/; revision=22415
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-2/+2
svn path=/trunk/; revision=21753
2007-04-21EXPORT DialoguePDU UniDialoguePDU and make them callable by OID.Anders Broman1-0/+11
svn path=/trunk/; revision=21487
2007-04-03Implement a proposal from Elefterios Gabriel for SCCP:Luis Ontanon1-1/+4
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-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-1/+1
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-01-01Use TransactionId to match ansi map responses to requests and fixAnders Broman1-1/+2
some bugs in the asn2wrs generated ansi map dissector. svn path=/trunk/; revision=20257
2006-12-07As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t ↵Anders Broman1-1/+1
to static. svn path=/trunk/; revision=20062
2006-09-27From Florent Drouin:Anders Broman1-2/+12
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-05-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-3/+3
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs svn path=/trunk/; revision=18217
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2006-02-05Update from the current asn1/tcap code.Guy Harris1-0/+2
svn path=/trunk/; revision=17160
2005-12-17Have tcap subdissectors registering using functions provided by tcap and ↵Luis Ontanon1-1/+6
tcap manage ssn registration. In packet-sccp.c avoid not having a binding. svn path=/trunk/; revision=16834
2005-12-16Get rid of duplicted dissector tables for MTP3 Service indicator and SCCP ssn:sAnders Broman1-1/+1
svn path=/trunk/; revision=16815
2005-12-08Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.Guy Harris1-0/+1
svn path=/trunk/; revision=16736
2005-11-26Get rid of unused global variables.Guy Harris1-1/+1
svn path=/trunk/; revision=16601
2005-08-18From Tim Endean:Anders Broman1-1/+1
Small patch to ber.c The tcap dissector has been updated to use this length. I have not tested other asn.1 dissectors to ensure that they correctly use the indefinite encoding flag instead of the length value returning zero. There may also be some problems when re-assembly is needed, but the ability to deal with indefinite length is much more useful. For developers the get_ber_length now returns the length of the pdu including the EOC, where you have dissectors that use packet-ber.c the eoc may need to be dealt with separately. The tcap dissector has had numerous changes to make it less cluttered, and the useful feature of the previous version where a dialogue could be filtered out by selecting either the source or destination transaction ID has been incorporated into this version. svn path=/trunk/; revision=15414
2005-06-26make dissect_ber_choice take a guint* that will return theRonnie Sahlberg1-1/+1
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-23From Valery Vybornov:Anders Broman1-1/+1
add register_dissector to packet-tcap.c svn path=/trunk/; revision=14738
2005-06-20move two functions that are not used by tcap and only used by gsm_a and ↵Ronnie Sahlberg1-6/+0
gsm_ss into gsm_ss. remove the include <epan.asn1.h> from tcap since it no longer needs that file. only 9 dissectors remain that use asn1.h svn path=/trunk/; revision=14710
2005-06-16Clean up white space.Guy Harris1-1/+1
Register "standard" and "lock_info_col" as obsolete preferences, so they're silently ignored rather than triggering warnings. Propagate changes to check for "dissect_ber_octet_string()" supplying a null tvbuff pointer from the checkins to the generated dissector ("Do not modify this file" means "Do not modify this file"!) to the tcap.cnf file, so that they're not lost if the dissector is regenerated. (Don't propagate the checks for "tvb_new_subset()" returning null - it never returns null.) Pass -1 to "tvb_new_subset()" when appropriate. When looping over packet data, check against the reported length, not the captured length, so we indicate a short frame if we get stopped by the snapshot length. Get rid of unused variables. svn path=/trunk/; revision=14658
2005-06-07From Tim Endean:Anders Broman1-14/+24
- 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=14572
2004-12-27fix a freebsd buildbot compile error, caused by myself :-(Ulf Lamping1-1/+1
svn path=/trunk/; revision=12845
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+64
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410