aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-acse.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-05Update to use the -X and -T asn2wrs flags.Anders Broman1-619/+381
svn path=/trunk/; revision=23366
2007-10-31Use oid_add_from_string for adding names.Anders Broman1-2/+2
svn path=/trunk/; revision=23318
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-1/+1
svn path=/trunk/; revision=22651
2007-07-14Dissection of octet-aligned EXTERNALs.Graeme Lunt1-10/+30
svn path=/trunk/; revision=22308
2007-06-12Preparations for updated CMIP dissector:Anders Broman1-13/+13
- Export AE-title from ACSE - Start REAL dissection(unfinished). svn path=/trunk/; revision=22083
2007-05-30- remove unused hf_rnsap_L3_DL_DCCH_Message_PDU from RANAPTomas Kukosa1-18/+0
- dissectors regenerated with fixed asn2wrs svn path=/trunk/; revision=22004
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-105/+105
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-39/+39
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-375/+377
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-103/+103
svn path=/trunk/; revision=21705
2007-05-04Show BER internal fields in external type in ACSE, update a comment in ↵Anders Broman1-10/+9
packet-ber.c. svn path=/trunk/; revision=21685
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-12/+12
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-183/+183
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
2006-08-27An octet string form of the ASO-qualifier used by some systems from the ↵Graeme Lunt1-3/+26
days when it was an ANY. Really just an elaboration of the "...". svn path=/trunk/; revision=19050
2006-08-16ASN.1 dissectors regenerated with new asn2wrs to get updated field blurbTomas Kukosa1-99/+99
svn path=/trunk/; revision=18921
2006-06-28remove functions register_ber_oid_name() and get_ber_oid_name() from ↵Tomas Kukosa1-6/+7
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-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-17/+17
- 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
2005-12-08Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.Guy Harris1-25/+48
svn path=/trunk/; revision=16736
2005-11-16From Graeme Lunt:Anders Broman1-8/+30
Here are a number of small patches for asn1 based dissectors: acse: release request/response column information (many X.400/X.500 unbinds are empty) "standardised" PNAME to "ISO 8650-1 OSI Association Control Service" fix for crash when using EXTERNAL dissector rtse: column information when attempting a resume x509if: generation of LDAP-style DNs from RDNSequences new function x509if_get_last_dn() to get the last DN generated. x509af: DSS parameters certificate extension naming subject naming of certificate x509sat: Guide syntax (as SET now supported) PDU exports. cms: verification of message digest attribute (SHA-1 and MD5) ess: enumerated/restrictive/permissive/informative security categories x411: generation of string encoding of X.400 addresses, trace information and message identifiers. s4406: separate types for primary and copy precedence to allow better filtering (e.g. primary precedence = flash) priority-level-qualifier svn path=/trunk/; revision=16508
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa1-17/+12
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501
2005-10-24From Graeme Lunt:Anders Broman1-4/+4
The ftbp.patch file includes: a) A fix to acse.cnf which works around an asn2eth bug (it is the AE-qualifier EXPORT I want, but asn2eth doesn't generate the appropriate extern for the values). Also a small cosmetic change for EXTERNAL decodings. b) New EXPORTs for the FTAM dissector for use in FTBP. c) A fix to asn2eth to solve the problem if you EXPORT types that include a '-' character in the name (e.g. "AE-qualifier" from acse.cnf, "Date-and-Time-Attribute" from ftam.cnf). The problem is that asn2eth generates the "xxxx-exp.cnf" file using the 'C' name (which has replaced '-' with '_') rather than the original 'ASN' name. The fix just undoes the replacement as I couldn't see the original name being preserved anywhere. There still remains a problem if the type has a '.' in the name - but generally I don't think they do. * Better ROS handling and registration * Simplified RTSE registration * X411 column information, extension naming and use of new RTSE/ROS registration * X420 notification extensions, warnings removal and export of ExtensionsField (missed from recent FTBP patch). * Better highlighting of S4406 protocol. svn path=/trunk/; revision=16296
2005-10-18Don't pass a null value to strcmp(). Fixes bug 540.Gerald Combs1-5/+6
svn path=/trunk/; revision=16262
2005-10-18.FN_BODY text gets printf-style expansion done on it, so format stringsGuy Harris1-1/+1
in the code have to have %'s escaped. Do so. svn path=/trunk/; revision=16260
2005-10-17When dissecting an ACSE APDU make sure our OID isn't for an ACSE APDUGerald Combs1-7/+13
(which would make us recurse until we crashed). svn path=/trunk/; revision=16252
2005-10-15remove some strcpy() callsRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=16228
2005-10-13Show internal errors with REPORT_DISSECTOR_BUG().Guy Harris1-4/+3
svn path=/trunk/; revision=16208
2005-10-13fix for bug 529Ronnie Sahlberg1-3/+4
a CHOICE might not consume any butes in teh encoding if there were no matching choice arms found. make the loop in acse abort with malformed packet if the choice failed to decode anything to prevent an infinite loop in bug 529 svn path=/trunk/; revision=16207
2005-10-03From Graeme LuntAnders Broman1-25/+23
X420 - incorrect ExtendedBodyPart handling ACSE - support for implicitly tagged EXTERNALs and dissection based upon direct-reference RTSE - same change for RTSE EXTERNAL handling as above CMS - support for ContentType, MessageDigest, SigningTime and CounterSignature attributes ESS - support for ESSSecurityLabel and EquivalentLabels attributes svn path=/trunk/; revision=16072
2005-09-05Squelch a compiler warning.Guy Harris1-2/+2
svn path=/trunk/; revision=15695
2005-09-04From Graeme Lunt:Anders Broman1-21/+23
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-09-02Regenerate dissectors with the current asn2eth.Guy Harris1-3/+3
svn path=/trunk/; revision=15664
2005-08-31Upadte to call Data dissector from PRES based on OID in Presentation Context,Anders Broman1-87/+84
based on the code in ACSE. svn path=/trunk/; revision=15643
2005-08-29MapDialougePDU.cnfAnders Broman1-1/+6
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
2005-08-20There's no longer a need to individually remove items fromGuy Harris1-7/+0
acse_ctx_oid_table - destroying the hash table will destroy the hash table items, and the destroy function no longer has any work to do because the OID strings are now allocated with se_strdup() (and thus get freed when the capture is closed). Regenerate packet-acse.c, which also regenerates acse-exp.cnf. svn path=/trunk/; revision=15480
2005-08-19some ememificationLuis Ontanon1-28/+30
svn path=/trunk/; revision=15433
2005-08-13some more gmemchunk -> se_alloc() updatesRonnie Sahlberg1-36/+62
there are only 5 gmemchunks left but they have different litetime for their allocations than the 100+ ones that have been removed. The remaining 5 should be converted some other way. svn path=/trunk/; revision=15328
2005-07-21change the symbol dissect_ber_CHOICE back into dissect_ber_choiceRonnie Sahlberg1-32/+39
svn path=/trunk/; revision=14980
2005-07-09Fix up a bunch of arguments to "dissect_ber_identifier()" to match itsGuy Harris1-4/+7
current signature ("class" is a "gint8 *", not a "guint8 *", and "tag" is a "gint32 *", not a "guint32 *"). Re-generate the dissectors from the ASN.1 and the .cnf files in the cases where the arguments were fixed in a .cnf file. Give some dissectors the right svn:keywords and svn:eol-style settings. svn path=/trunk/; revision=14885
2005-07-03export a few more symbols from acseRonnie Sahlberg1-6/+6
svn path=/trunk/; revision=14835
2005-06-26make dissect_ber_choice take a guint* that will return theRonnie Sahlberg1-20/+20
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-25Make ACSE export the EXTERNAL construct since both CMIP and FTAM rely on it.Ronnie Sahlberg1-1/+1
svn path=/trunk/; revision=14746
2005-06-22only create the ACSE protocol tree if there is an ACSE layer present.Ronnie Sahlberg1-18/+18
do not create it if it is just a SES_DATA_TRANSFER PDU svn path=/trunk/; revision=14726
2005-06-22remove a dissector table we no longer use from ACSERonnie Sahlberg1-27/+22
and also from the CMIP and FTAM dissectors that tried to register against it. Implement a workaround for the asn2eth bug (can not yet handle tagged assignments) to the conformance file and remove the warnings from the template file. Since workaround is implemented in conformance file, make make copy_files install the dissector instead of printing a warning message. svn path=/trunk/; revision=14725
2005-06-21the maximum ASN OID length is 256 bytes and there is a define to control this.Ronnie Sahlberg1-1/+1
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-19New autogenerated ACSE dissector.Ronnie Sahlberg1-1542/+2279
Note that the autogenerated dissector contains two bugs which i belive are asn2eth bugs. This is why make copy_files does not work. The comment at the top of the generated file explains which two changes one has to do manually after autogenerating the dissector, until asn2eth gets fixed. svn path=/trunk/; revision=14699
2005-05-17From Yuriy Sidelnikov:Anders Broman1-30/+2
A perfectly good tvb_bytes_to_str() has been used instead of string_to_hex. svn path=/trunk/; revision=14384
2005-03-29from Sid Ronnie Sahlberg1-60/+5
bugfix for ACSE svn path=/trunk/; revision=13965
2005-03-03From Yuriy Sidelnikov: correctly display User InformationGuy Harris1-0/+3
field in release request/response PDu if the Reason field is absent. svn path=/trunk/; revision=13578
2005-02-09Move the following files from /trunk to /trunk/epan:Lars Roland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. svn path=/trunk/; revision=13366