aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x411.c
AgeCommit message (Collapse)AuthorFilesLines
2007-12-06fix field attributes handling for tagged typesTomas Kukosa1-6/+6
regenerate involved dissectors svn path=/trunk/; revision=23783
2007-11-25Changes suggested/provided by Anders so that fewer changes are required to ↵Graeme Lunt1-56/+57
the ASN modules. Also includes the MSAccessProtocol.asn to generate defines for the operation numbers. svn path=/trunk/; revision=23586
2007-11-19Initialize credentials.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=23490
2007-11-17Basic P7 (X.400 Message Store Access Protocol) dissection after request from ↵Graeme Lunt1-76/+364
the list: http://www.wireshark.org/lists/wireshark-dev/200711/msg00228.html Only a single (private) capture file is currently available which contains only a few of the P7 operations, so testing has been minimal. General attribute types, containing information from the X.400 envelope, are also included. svn path=/trunk/; revision=23479
2007-11-15new x411 dissectorRonnie Sahlberg1-15/+20
svn path=/trunk/; revision=23457
2007-11-06as2wrs now handles EXTERNAL(direct-reference requires no special handling).Anders Broman1-2/+2
svn path=/trunk/; revision=23386
2007-11-01Change:Anders Broman1-2/+2
get_oid_str_name() -> oid_resolved_from_string() get_oid_name() -> oid_resolved_from_encoded() svn path=/trunk/; revision=23331
2007-10-31Use oid_add_from_string for adding names.Anders Broman1-2/+2
(gsmmap and inap does not compile at the moment). svn path=/trunk/; revision=23324
2007-10-22Update to use the -X and -T asn2wrs flags.Graeme Lunt1-2302/+1335
Removed the workaround code from the .cnf file. svn path=/trunk/; revision=23243
2007-10-06- Initialize address_item in MessageIdentifier to avoid a crash in handlingStig Bjørlykke1-22/+29
LocalIdentifier when problems with the GlobalDomainIdentifier. - Initialize global pointers to avoid potential crashes. svn path=/trunk/; revision=23080
2007-08-29- Rewrote handling of extensions to get rid of "funky" oid strings.Stig Bjørlykke1-150/+296
- Added ASN.1 integer values for StandardExtension, ExtensionAttributeType and TokenDataType. - Added expert info for unknown standard-extension, extension-attribute-type and tokendata-type. - Added expert info for unknown built-in content-type. svn path=/trunk/; revision=22730
2007-08-25there's nothing like a MAX_OID_STR_LEN... get rid of a potential stack BOLuis Ontanon1-2/+2
svn path=/trunk/; revision=22657
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-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer1-402/+63
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-06-27This patch will set correct extension_id for ExtensionAttributeTypeGraeme Lunt1-135/+552
(error introduced in r22043), and fix printing of CAP values in oraddress (error introduced in r22054). svn path=/trunk/; revision=22209
2007-06-21New preference to specify the tcp port to use for P1 and fix to include /OU= ↵Graeme Lunt1-38/+87
in dissected X.400 addresses. svn path=/trunk/; revision=22149
2007-06-06use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)Tomas Kukosa1-137/+263
svn path=/trunk/; revision=22054
2007-06-05not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 typesTomas Kukosa1-18/+37
it makes interconnection between .cnf file and ASN.1 source more readable (changes for #.FN_BODY will follow) svn path=/trunk/; revision=22043
2007-05-30- remove unused hf_rnsap_L3_DL_DCCH_Message_PDU from RANAPTomas Kukosa1-3/+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-505/+505
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-80/+80
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-1467/+1610
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-335/+335
svn path=/trunk/; revision=21705
2007-05-06Better column information display for delivery reports.Graeme Lunt1-140/+178
svn path=/trunk/; revision=21700
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-4/+4
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662
2007-03-23Support for X.411 "additional information" field.Graeme Lunt1-46/+60
svn path=/trunk/; revision=21148
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-754/+754
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-02-19dissect_x411_mts_apdu() is an old-style dissector, so it shouldn'tGuy Harris1-2/+2
return any value. svn path=/trunk/; revision=20844
2007-02-08This patch adds support for decoding BER-encoded files as "X.411 Message". Graeme Lunt1-0/+1
http://www.wireshark.org/lists/wireshark-dev/200702/msg00355.html svn path=/trunk/; revision=20745
2007-01-28Fix for per-domain-bilateral-information (bilateral-information field wasn't ↵Graeme Lunt1-6/+40
handled). svn path=/trunk/; revision=20583
2006-12-14From Stig Bjorlykke:Stephen Fisher1-45/+45
I have added a new dissector for DMP (STANAG 4406 Direct Message Profile) as defined in STANAG 4406 Annex E. The DMP protocol has no assigned UDP port number yet, so the default value in this dissector is 0 (I suppose this is som sort of "disabled"?) until we get this registered. The dissector has been tested on OSX Intel/PowerPC and Solaris SPARC. Changes in this patch: * Added DMP dissector * Added a new CRC table and functions in crc16.c * Made NonDeliveryReasonCode and NonDeliveryDiagnosticCode available from X.411 * Made NonReceiptReasonField and DiscardReasonField available from X.420 svn path=/trunk/; revision=20133
2006-08-16ASN.1 dissectors regenerated with new asn2wrs to get updated field blurbTomas Kukosa1-391/+391
svn path=/trunk/; revision=18921
2006-06-28Support for the message-token, proof-of-delivery and recipient-certificate ↵Graeme Lunt1-63/+304
p1 envelope extensions. Patch for unknown built-in content type. svn path=/trunk/; revision=18598
2006-06-28remove functions register_ber_oid_name() and get_ber_oid_name() from ↵Tomas Kukosa1-35/+36
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-06-15- BER_MAX_OID_STR_LEN removed and replaced with MAX_OID_STR_LENTomas Kukosa1-30/+30
- x411 and dop regenerated - dissect_ber_tagged_type() prepared (support in asn2wrs will follow) svn path=/trunk/; revision=18468
2006-05-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-45/+45
- 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-03-29Get rid of an unused variable.Guy Harris1-7/+6
svn path=/trunk/; revision=17764
2006-03-25Support for P1 Strong AuthenticationGraeme Lunt1-58/+385
svn path=/trunk/; revision=17727
2006-03-05ACP133 attribute syntaxes and attribute definitions used by the DAP, DSP and ↵Graeme Lunt1-43/+95
DISP dissectors. Also includes X.402 definitions and OID registrations for object classes. svn path=/trunk/; revision=17471
2005-12-16From Graeme Lunt:Anders Broman1-1/+1
* 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-06Squelch some compiler const vs. non-const warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=16710
2005-12-05From Grame Lunt:Anders Broman1-30/+336
a patch for the X.411, X420 and CMS dissectors to implement the remaining heading extensions and bodyparts. This includes GeneralText BP, forwarded content BP (forwarded p22 and forwarded p772), PKCS#7 BP, and "business class" messaging extensions. The X.411 extensions using the SIGNATURE macro have also been implemented. There is also a fix for a bug in the dissection of integer 22 content type. Graeme svn path=/trunk/; revision=16689
2005-12-02from Stig B:Ronnie Sahlberg1-3/+20
I have made a small change in packet-x411-template.c to make the X. 411 message heading in CDT look like in COTP. svn path=/trunk/; revision=16657
2005-11-23From Stig BjørlykkeAnders Broman1-1/+9
Added a new dissector for CDT (CompressedDataType) as defined in STANAG 4406 Annex E. This dissector is used in P_Mul to decode encapsulated X.411 content. I have added a function in the X.411 dissector to decode a MTS APDU without having a ROS Changes in this patch: * Added CDT dissector * Use CDT dissector in P_Mul * Added function to decode MTS APDU in the X.411 dissector svn path=/trunk/; revision=16567
2005-11-17Squelch some const vs. non-const warnings.Guy Harris1-1/+1
svn path=/trunk/; revision=16525
2005-11-17"dissect_ber_object_identifier_str" expects a "const char **" as itsGuy Harris1-2/+2
last argument; make it so. svn path=/trunk/; revision=16523
2005-11-16 add a simple g_strlcat define in strutil for gtk==1 where this symbol ↵Ronnie Sahlberg1-1/+2
does not exist svn path=/trunk/; revision=16511
2005-11-16From Graeme Lunt:Anders Broman1-45/+281
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-14move the include of emem.h a bit further downRonnie Sahlberg1-2/+2
so it does know what size_t is when emem is included. i needed this change to get it to compile on my box svn path=/trunk/; revision=16504