aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pres
AgeCommit message (Collapse)AuthorFilesLines
2010-10-29Make the third argument to a UAT copy callback a size_t.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=34695
2010-09-20Put Abort reason in info column.Stig Bjørlykke2-3/+12
svn path=/trunk/; revision=34159
2010-06-29Interpret single-ASN1-type as ASN.1 and not as an OCTET STRING.Graeme Lunt2-2/+1
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-05-02Don't type prune the data_ptr pointer for UAT.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=32629
2010-04-06#include <stdio.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32405
2010-03-04From LEGO via bug 3459:Stig Bjørlykke1-0/+1
Add a callback to UAT to be called after the table has being updated, use it to renew the snmp_ue_cache. svn path=/trunk/; revision=32112
2010-01-20Use correct return value type from dissect_ppdu().Stig Bjørlykke1-4/+4
Fixed a typo. svn path=/trunk/; revision=31590
2010-01-05Split in two asn files.Stig Bjørlykke3-44/+38
svn path=/trunk/; revision=31445
2010-01-04From gonzalocas:Anders Broman3-15/+92
GSSE message dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4370 svn path=/trunk/; revision=31442
2009-10-11Make all proto_* values static.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30516
2009-10-08Remove unused NEED_PACKET_PROTO_H variableKovarththanan Rajaratnam1-1/+0
svn path=/trunk/; revision=30409
2009-10-07Made dissect_pres() static.Stig Bjørlykke2-3/+3
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-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-22More header_field_info cleanup.Stig Bjørlykke1-5/+5
svn path=/trunk/; revision=28802
2009-03-13g_free() is NULL safe, so we don't need check against it.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=27719
2009-03-07Added a users context list to map a presentation context identifier to anStig Bjørlykke2-21/+109
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-11-04Minor cleanup mostly related to proto_reg_handoffBill Meier1-5/+0
Remove code for unused handles; Localize handles (in proto_reg_handoff) which need not be global; Localize (in proto_reg_handoff) "saved prefs"; Use find_dissector instead of create_dissector_handle as appropriate; Use gboolean for "initialized" flag in proto_reg_handoff. svn path=/trunk/; revision=26693
2008-04-13Annotate the presentation context identifier with the presentation context.Graeme Lunt2-0/+9
svn path=/trunk/; revision=24982
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-04Update do use the -X and -T asn2wrs flags.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=23354
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-10-11- Remove -e option if the generated -exp.cnf file isn't used.Jörg Mayer1-1/+1
- Add EXPORT_FILES to all files that still contain -e. svn path=/trunk/; revision=23145
2007-10-10Add missing dependencies and update syntax of existing ones.Jörg Mayer1-1/+5
svn path=/trunk/; revision=23143
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-09Last set of changes to convert Makefiles for todayJörg Mayer4-57/+96
svn path=/trunk/; revision=23119
2007-06-27This patch make PRES context identifiers conversation aware.Graeme Lunt1-6/+23
svn path=/trunk/; revision=22207
2007-06-24This patch adds RTSE reassembly. The reassembly is done whenGraeme Lunt1-3/+18
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-5/+5
svn path=/trunk/; revision=22054
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman2-15/+19
svn path=/trunk/; revision=21753
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-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
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-3/+3
svn path=/trunk/; revision=17387
2005-11-20When registering a context ID and OID, set the OID to NULL if we don'tGuy Harris1-1/+2
have an OID to register. If our table of context identifiers and OIDs is to keep that association on a per-conversation basis, it should use conversations, not address/port, as we aren't necessarily running over TCP or UDP. svn path=/trunk/; revision=16554
2005-11-20if the packet is mangled the oid string might be NULL.Ronnie Sahlberg2-0/+9
dont try to register a NULL oid svn path=/trunk/; revision=16553
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa2-3/+3
- 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 Broman2-0/+10
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-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-06Ftam - Use some mofe FN_PAR:sAnders Broman1-6/+42
PRES Dissect PDU type based on SS-user data from SES(Info from asn1 file). svn path=/trunk/; revision=15703
2005-09-04 From Graeme LuntAnders Broman1-0/+1
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 Broman2-91/+8
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 Broman3-23/+26
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 Broman2-33/+120
based on the code in ACSE. svn path=/trunk/; revision=15643