aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rtse
AgeCommit message (Collapse)AuthorFilesLines
2008-11-04Move find_dissector (2x) to fcn called by proto_reg_hand_off in other dissectorsBill Meier1-6/+10
svn path=/trunk/; revision=26696
2008-01-16- Removed some unused variables in asn1 dissectorsStig Bjørlykke1-3/+0
- Fixed last parameter to cry_cipher_open() in pkcs12 svn path=/trunk/; revision=24116
2007-12-19asn1/*/Makefile.nmake were not part of the source package.Jörg Mayer1-1/+2
Spotted by Tomas Kukosa. svn path=/trunk/; revision=23921
2007-12-10ANSI TCAP regenerated and tested with -T -X asn2wrs optionsTomas Kukosa1-1/+1
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior remove all -T and -X usage svn path=/trunk/; revision=23823
2007-11-14Changed to use the the packet-ber EXTERNAL decoding (into the ASN1 context).Graeme Lunt3-42/+19
Uses the ber_callback mechanism to call the rtse oid callbacks, rather than the default ber oid callback list. A couple of fixes to packet-ber.c to mark [in]direct references as present and call the ber_callback if it has been specified. svn path=/trunk/; revision=23450
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2007-10-22Update to use the -X and -T flags.Graeme Lunt2-21/+3
Removed some workaround code in the .cnf file. There is still some code for handling an EXTERNAL (EXTERNALt) as the RTSE dissector has its own set of callbacks and consequently can't (currently) use the packet-ber.c functions. svn path=/trunk/; revision=23242
2007-10-11Remove the remaining autogenereated -exp.cnf filesJörg Mayer1-25/+0
svn path=/trunk/; revision=23148
2007-10-11- Remove -e option if the generated -exp.cnf file isn't used.Jörg Mayer1-0/+2
- Add EXPORT_FILES to all files that still contain -e. svn path=/trunk/; revision=23145
2007-10-10- Change Makefiles to include preincJörg Mayer2-1/+3
- Add missing new directories to asn1/Makefile.nmake svn path=/trunk/; revision=23141
2007-10-10More conversions and updates to existing Makefile stuffJörg Mayer5-58/+97
svn path=/trunk/; revision=23127
2007-09-05Check object_identifier_id before use.Stig Bjørlykke1-2/+3
svn path=/trunk/; revision=22794
2007-08-25replace oid_to_str_buf() and oid_to_str()Luis Ontanon2-2/+4
fix a potential buffer overflow due to a very liberal estimate by oid_repr_len() svn path=/trunk/; revision=22659
2007-08-24get_ber_length doesn't need the tree argument, get rid of it.Jörg Mayer2-2/+2
Rebuild asn1 dissectors. svn path=/trunk/; revision=22627
2007-08-13http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1739Anders Broman1-3/+6
Fro Stig Bjørlykke: 1. BER: Added support for empty indef SET 2. RTSE: Added fragment length in COL_INFO 3. IMF: Use correct hf_id for extension value 4. DOP: Fix typo in COL_INFO oid name svn path=/trunk/; revision=22492
2007-06-27This patch adds a check for octet string in RTSE reassembly.Graeme Lunt1-17/+23
If not an octet string the data is handled as ordinary RTSE APDU. svn path=/trunk/; revision=22208
2007-06-24This patch adds RTSE reassembly. The reassembly is done whenGraeme Lunt1-11/+152
receiving a SES MAJOR SYNC POINT, as this indicates the end of the COTP DT Data stream. Previous the RTSE dissector was called when receiving a COTP DT Data fragment with the "last data unit" bit set, but this does not work with messages fragmented in RTSE. Reassembly can be turned off in the preferences. svn path=/trunk/; revision=22176
2007-06-06use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)Tomas Kukosa1-6/+6
svn path=/trunk/; revision=22054
2007-06-05not allow #.FN_HDR/FTR for Wireshark types but only for ASN.1 typesTomas Kukosa1-2/+2
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-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-1/+1
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-3/+3
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman2-23/+26
svn path=/trunk/; revision=21753
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa3-10/+10
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-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
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-05-23Ethereal -> WiresharkTomas Kukosa4-5/+14
asn2eth -> asn2wrs svn path=/trunk/; revision=18214
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-02-23Add parsertab.pyc in clean targetAnders Broman1-1/+1
svn path=/trunk/; revision=17387
2005-12-14From Grame Lunt:Anders Broman1-2/+4
Attached is a patch that updates - * 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. Note the patc for dop did not apply don't regenerate dissectors yet. svn path=/trunk/; revision=16799
2005-11-16From Graeme Lunt:Anders Broman3-9/+36
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-10-25Don't declare "dissect_rtse_EXTERNAL()" in "packet-rtse.c" - let it getGuy Harris1-3/+0
it from "packet-rtse.h" (which, at least on some platforms, doesn't declare it as static, so GCC 4.0, at least, fails because the static and non-static declarations collide). svn path=/trunk/; revision=16312
2005-10-24From Graeme Lunt:Anders Broman3-6/+51
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-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-16fox a static/non-static signature mismatchRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=16239
2005-10-15remove some strcpy() callsRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=16228
2005-10-03From Graeme LuntAnders Broman2-6/+12
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=16071
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-09-05Squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15696
2005-09-04 From Graeme LuntAnders Broman2-2/+6
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. Withs some changes to remove various warnings and errors. svn path=/trunk/; revision=15680
2005-09-04From Graeme LuntAnders Broman7-0/+561
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