aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pres/pres.cnf
AgeCommit message (Collapse)AuthorFilesLines
2016-03-13Move /asn1 to /epan/dissectorsJoão Valverde1-101/+0
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9 Reviewed-on: https://code.wireshark.org/review/14388 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
2015-12-10Convert ASN.1 dissectors to remove "new" from "new-style" dissector function ↵Michael Mann1-1/+1
names that were generated from asn2wrs.py This includes: 1. new_create_dissector_handle -> create_dissector_handle 2. new_register_dissector -> register_dissector 3. new_register_ber_oid_dissector -> register_ber_oid_dissector 4. new_register_ber_syntax_dissector -> register_ber_syntax_dissector Also remove PDU_NEW, SYNTAX_NEW and REGISTER_NEW as there is no need for the distinction anymore. Change-Id: I82c7de7c8ffeeab3259d1b55bb4afc5f6a1e0329 Reviewed-on: https://code.wireshark.org/review/12491 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-19Convert OID APIs to use wmem.Michael Mann1-1/+1
There are a few oid functions that are only called in oids_test.c. I'll presume the APIs are used in proprietary dissectors rather than just remove them. Change-Id: I4595e00f93bf9ab8cf2493fe0432b91960f55a3f Reviewed-on: https://code.wireshark.org/review/6592 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-10-13ASN1: Register PDU-dissectors as NEWStig Bjørlykke1-1/+1
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64 Reviewed-on: https://code.wireshark.org/review/4494 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-02-26Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate ↵Bill Meier1-3/+3
dissectors. Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-2/+0
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-11-05In an effort to reduce the use of pinfo->private_data (and some true global ↵Michael Mann1-2/+3
variables), I converted the ASN.1 dissectors that use pinfo->private_data to exchange a SESSION_DATA_STRUCTURE to instead only exchange it in the context of ASN.1. This meant converting dissectors to the "new" style to pass the SESSION_DATA_STRUCTURE as well as providing a pointer to it in asn1_ctx_t.private_data. Yes, it's still "private data", but it's not used by all dissectors like pinfo->private data is. svn path=/trunk/; revision=53090
2013-10-31Add a data parameter to call_ber_oid_callback to be able to pass data to ↵Michael Mann1-2/+2
subdissectors found with dissector_try_string_new. The intention is to aid in the removal of pinfo->private_data use as well as static global variables in a dissector. For now, all calls to call_ber_oid_callback have the data parameter set to NULL. svn path=/trunk/; revision=52994
2013-07-03expert_add_info + proto_tree_add_text = proto_tree_add_expert, where applicableMichael Mann1-4/+4
svn path=/trunk/; revision=50337
2013-06-03Convert ASN.1 dissectors to use filterable expert info.Michael Mann1-2/+2
NOTE: Kerberos ASN.1 template was updated, but not generated to source. svn path=/trunk/; revision=49707
2012-12-21Get rid of unused routines for UDC-type.Guy Harris1-1/+1
svn path=/trunk/; revision=46662
2012-12-12Moved users table lookup to find_oid_by_pres_ctx_id() so otherStig Bjørlykke1-8/+5
dissectors (acse, ros, rtse) can benefit from the configured settings. svn path=/trunk/; revision=46520
2010-09-20Put Abort reason in info column.Stig Bjørlykke1-0/+10
svn path=/trunk/; revision=34159
2010-06-29Interpret single-ASN1-type as ASN.1 and not as an OCTET STRING.Graeme Lunt1-1/+0
svn path=/trunk/; revision=33375
2010-06-02Bug 3597 - implicit octet string that is constructed causes PRES/FTAM ↵Graeme Lunt1-1/+1
dissect failure Introduced some state to remember last dissected Tag/Length so that they can be recalled if an IMPLICIT tag is encountered and stripped. This allows its to be determined if the value has a constructed value - and so can be reassembled. In this case, it is a IMPLICIT constructed OCTET STRING at the presentation layer. Many thanks to Fred Gruman for identifying - and apologies for the delay in commiting. svn path=/trunk/; revision=33048
2010-01-04From gonzalocas:Anders Broman1-0/+2
GSSE message dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4370 svn path=/trunk/; revision=31442
2009-10-07Made dissect_pres() static.Stig Bjørlykke1-2/+2
Added changes from r29446 to .cnf file: Switch a bunch of dissectors over to using tvb_new_subset_remaining() svn path=/trunk/; revision=30385
2009-03-07Added a users context list to map a presentation context identifier to anStig Bjørlykke1-4/+10
object identifier when the capture does not contain a PRES package with a presentation context definition list for the conversation. Added a few expert infos. svn path=/trunk/; revision=27631
2008-04-13Annotate the presentation context identifier with the presentation context.Graeme Lunt1-0/+8
svn path=/trunk/; revision=24982
2007-10-16- Fix svn:ignore for all directoriesJörg Mayer1-1/+1
- 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-06-06use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)Tomas Kukosa1-5/+5
svn path=/trunk/; revision=22054
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-5/+5
svn path=/trunk/; revision=21753
2006-05-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-3/+0
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs svn path=/trunk/; revision=18217
2005-11-20if the packet is mangled the oid string might be NULL.Ronnie Sahlberg1-0/+3
dont try to register a NULL oid svn path=/trunk/; revision=16553
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa1-1/+1
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
2005-10-13A small patch for presentation to:Anders Broman1-0/+7
a) maintain the session presentation context b) support SES_REFUSE svn path=/trunk/; revision=16213
2005-09-09Dissect "nbs-9".Anders Broman1-0/+13
svn path=/trunk/; revision=15742
2005-09-04From Graeme LuntAnders Broman1-0/+3
I attach my RTSE dissector (in tar file) which requires the included ROS dissector, as well as a patch to the latest pres.{cnf,asn}. The ROS dissector uses a new field in the SESSION_DATA_STRUCTURE to pass the ROS operation to the sub-dissector, though this is also set by other dissectors (RTSE uses it in X.410 mode). Note that X.400 P1 in X.410 mode doesn't use ROS, so it is useful not to explicitly include ROS in my X411 dissector. However, the inclusion of a ROS dissector won't effect any dissectors that currently implement their own ROS. I also include dissectors for: X.411 (P1) X.400 OSI Message Transfer Service X.420 (P22) X.400 OSI Information Object STANAG 4406 (P772) STANAG 4406 Military Message Extensions (to P22) These rely on the RTSE and ROS dissectors. svn path=/trunk/; revision=15679
2005-09-04From Graeme Lunt:Anders Broman1-1/+1
Basically the changes are: a) [pres] make the find_oid_by_[pres_]ctx_id (I changed the name to make it more specific) non-static so it can be called from other dissectors (see acse.cnf changes). I also call it from RTSE and ROS dissectors b) [acse] remove (#ifdef NOT_NEEDED) the oid lookup table and any reference to acse_handle - as these are no longer needed c) [acse] register the acse dissector on 2.2.1.0.1 with some modifications: -#ifdef:ed code removed - renamed aco -> pco svn path=/trunk/; revision=15678
2005-08-31Upadte to call Data dissector from PRES based on OID in Presentation Context,Anders Broman1-4/+29
based on the code in ACSE. svn path=/trunk/; revision=15643
2005-08-29MapDialougePDU.cnfAnders Broman1-0/+32
Fix a typo. packet-ber.c packet-acse.c packet-cmip.c - Add OID(s) packet-ses.c Fix export of a value string and change names to the ones used in the protocol spec. Replace PRES dissector with an asn2eth generated one. svn path=/trunk/; revision=15614