aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/tcap
AgeCommit message (Collapse)AuthorFilesLines
2007-01-01Use TransactionId to match ansi map responses to requests and fixAnders Broman2-1/+12
some bugs in the asn2wrs generated ansi map dissector. svn path=/trunk/; revision=20257
2006-12-07Revert some dissector_handle_t to static changes to make it compile again.Anders Broman1-2/+2
svn path=/trunk/; revision=20064
2006-12-07As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t ↵Anders Broman1-2/+2
to static. svn path=/trunk/; revision=20062
2006-10-29put every python script name into "" so the call won't fail on Win32 native ↵Ulf Lamping1-1/+1
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-03From Florent.Drouin@alcatel.fr:Anders Broman1-0/+16
I did improve the OID management in the tcap dissector. Now, when a tcap message is reveived, without upper layer, the ACN is saved in the TCAP context, and can be used for the next messages of the dialogue. It is used only when the upper layer session is opened with Tcap only messages. svn path=/trunk/; revision=19414
2006-09-27From Florent Drouin:Anders Broman3-83/+347
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-06-28remove functions register_ber_oid_name() and get_ber_oid_name() from ↵Tomas Kukosa1-1/+2
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-05-21- asn2eth renamed to asn2wrsTomas Kukosa2-5/+5
- 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-21name changeRonnie Sahlberg2-4/+4
svn path=/trunk/; revision=18197
2006-04-25Add distclean and maintainerclean rules.Guy Harris1-0/+4
svn path=/trunk/; revision=17999
2006-04-06Add two missing *-exp.cnf filesAnders Broman1-26/+26
tcap.asn - whitespace changes svn path=/trunk/; revision=17828
2006-02-23Add parsertab.pyc in clean targetAnders Broman1-1/+1
svn path=/trunk/; revision=17387
2006-01-31Export dissector_handle_t get_itu_tcap_subdissector()Anders Broman2-1/+3
svn path=/trunk/; revision=17136
2005-12-18If we're going to use a handle for the data handle, we need to get aGuy Harris1-1/+2
handle for that dissector. This fixes bug 637. svn path=/trunk/; revision=16842
2005-12-18Update tcap.cnf to generate the current packet-tcap.cGuy Harris1-25/+44
svn path=/trunk/; revision=16841
2005-12-17Have tcap subdissectors registering using functions provided by tcap and ↵Luis Ontanon2-52/+75
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-2/+0
svn path=/trunk/; revision=16815
2005-12-16From Graeme Lunt:Anders Broman1-2/+2
* DOP - This has now been successfully tested and so is now enabled by default and workaround code removed. Also now uses the correct EXPORTs from the other modules/dissectors. * X509SAT - Most of the selected attributes are now supported in addition to the DirectoryString syntax attributes. This includes restoring the correct DirectoryString syntax and also providing the basic syntaxes (e.g. OBJECT IDENTIFIER, PrintableString). The latter requires a sed line in the Makefile which I assume should be OK? Not all the SAT can be defined in x509sat - so some have been included in x509if and x509af - though x509sat.cnf contains the master list and references the other dissectors where appropriate. (I still prefer a syntax registration approach but I don't think that is going to be agreed in the short term.) * X509IF - a mechanism to register some formating, based upon the hf_index, that is used in the cnf file. * A couple of fixes identified by Stig. svn path=/trunk/; revision=16814
2005-12-13Avoid the default sccp.ssn range to overwrite sccp.ssns of other dissectors.Luis Ontanon1-1/+1
svn path=/trunk/; revision=16782
2005-11-26Get rid of unused global variables.Guy Harris1-5/+0
svn path=/trunk/; revision=16601
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa2-15/+9
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
2005-09-07Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in orderGerald Combs1-2/+2
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-08-18From Tim Endean:Anders Broman2-86/+108
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-07-22fix for new asn2ethTomas Kukosa1-2/+2
svn path=/trunk/; revision=14990
2005-07-21change the symbol dissect_ber_CHOICE back into dissect_ber_choiceRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=14980
2005-07-12Fix some more signed vs. unsigned warnings.Guy Harris2-21/+21
svn path=/trunk/; revision=14903
2005-06-26make dissect_ber_choice take a guint* that will return theRonnie Sahlberg1-6/+6
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-0/+4
add register_dissector to packet-tcap.c svn path=/trunk/; revision=14737
2005-06-21the maximum ASN OID length is 256 bytes and there is a define to control this.Ronnie Sahlberg1-2/+2
fix bug251 and all other occurances where an oid string passed to packet_ber_object_identifier() is not defined as foo[MAX_OID_STR_LEN] svn path=/trunk/; revision=14720
2005-06-20move two functions that are not used by tcap and only used by gsm_a and ↵Ronnie Sahlberg2-66/+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 Harris2-69/+68
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-08From Olivier Jacques, Anders Broman2-19/+20
- beautify TCAP decoding without upper dissector associated. With a couple of if (parameter_tvb) trown in to hopfully fix a Buildbot crash output svn path=/trunk/; revision=14591
2005-06-08Cahnge ssn rangeAnders Broman1-1/+1
svn path=/trunk/; revision=14586
2005-06-07Some fixes from Tim EndeanAnders Broman2-11/+54
svn path=/trunk/; revision=14579
2005-06-07From Tim Endean:Anders Broman2-11/+11
- 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=14574
2005-06-06Let the sub dissector use the top tree.Anders Broman2-16/+22
svn path=/trunk/; revision=14571
2005-06-06Add makefile.nmakeAnders Broman1-0/+41
svn path=/trunk/; revision=14564
2005-06-06Add the asn2eth generated TCAP dissector made by Tim Endean to the SVN tree.Anders Broman5-0/+1215
svn path=/trunk/; revision=14561