diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-11-16 07:13:12 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-11-16 07:13:12 +0000 |
commit | c33182b8982742ece2bbfa298977a5aa09f48377 (patch) | |
tree | 0c7664cef1a075c4ecb3ad5ddc8d364055957829 /asn1/rtse | |
parent | 893ad69c74f54fc9bb7ac7b7ffc3c0e28bd4d418 (diff) |
From Graeme Lunt:
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
Diffstat (limited to 'asn1/rtse')
-rw-r--r-- | asn1/rtse/Makefile.nmake | 4 | ||||
-rw-r--r-- | asn1/rtse/packet-rtse-template.c | 1 | ||||
-rw-r--r-- | asn1/rtse/rtse.cnf | 40 |
3 files changed, 36 insertions, 9 deletions
diff --git a/asn1/rtse/Makefile.nmake b/asn1/rtse/Makefile.nmake index 91bb36c1f9..740198a277 100644 --- a/asn1/rtse/Makefile.nmake +++ b/asn1/rtse/Makefile.nmake @@ -37,6 +37,6 @@ fix_eol: generate_dissector del /f packet-$(PROTOCOL_NAME).c.tmp packet-$(PROTOCOL_NAME).h.tmp copy_files: generate_dissector fix_eol - xcopy packet-$(PROTOCOL_NAME).c ..\..\epan\dissectors /d - xcopy packet-$(PROTOCOL_NAME).h ..\..\epan\dissectors /d + xcopy packet-$(PROTOCOL_NAME).c ..\..\epan\dissectors /d /y + xcopy packet-$(PROTOCOL_NAME).h ..\..\epan\dissectors /d /y diff --git a/asn1/rtse/packet-rtse-template.c b/asn1/rtse/packet-rtse-template.c index dbf689682e..27c2b9f6cb 100644 --- a/asn1/rtse/packet-rtse-template.c +++ b/asn1/rtse/packet-rtse-template.c @@ -50,6 +50,7 @@ int proto_rtse = -1; static struct SESSION_DATA_STRUCTURE* session = NULL; static char object_identifier_id[MAX_OID_STR_LEN]; +static gboolean open_request=FALSE; /* indirect_reference, used to pick up the signalling so we know what kind of data is transferred in SES_DATA_TRANSFER_PDUs */ static guint32 indir_ref=0; diff --git a/asn1/rtse/rtse.cnf b/asn1/rtse/rtse.cnf index 37519bc9f0..8ba90ffed0 100644 --- a/asn1/rtse/rtse.cnf +++ b/asn1/rtse/rtse.cnf @@ -38,19 +38,16 @@ EXTERNAL if((session = (struct SESSION_DATA_STRUCTURE*)(pinfo->private_data)) != NULL) session->ros_op = (ROS_OP_BIND | ROS_OP_ARGUMENT); - - offset = dissect_ber_set(implicit_tag, pinfo, tree, tvb, offset, - RTORQapdu_set, hf_index, ett_rtse_RTORQapdu); - + open_request=TRUE; + %(DEFAULT_BODY)s + open_request=FALSE; #.FN_BODY RTOACapdu if((session = (struct SESSION_DATA_STRUCTURE*)(pinfo->private_data)) != NULL) session->ros_op = (ROS_OP_BIND | ROS_OP_RESULT); - offset = dissect_ber_set(implicit_tag, pinfo, tree, tvb, offset, - RTOACapdu_set, hf_index, ett_rtse_RTOACapdu); - + %(DEFAULT_BODY)s #.FN_BODY T_open @@ -135,4 +132,33 @@ EXTERNAL offset = dissect_ber_integer(TRUE, pinfo, tree, tvb, offset, hf_index, &app_proto); +#.FN_BODY SessionConnectionIdentifier + if(open_request && check_col(pinfo->cinfo, COL_INFO)) + col_append_fstr(pinfo->cinfo, COL_INFO, "Recover"); + %(DEFAULT_BODY)s + +#.FN_PARS T61String + VAL_PTR=&string +#.FN_BODY T61String + tvbuff_t *string = NULL; + %(DEFAULT_BODY)s + if(open_request && string && check_col(pinfo->cinfo, COL_INFO)) + col_append_fstr(pinfo->cinfo, COL_INFO, " %%s", tvb_format_text(string, 0, tvb_length(string))); + +#.FN_PARS CommonReference + VAL_PTR=&string +#.FN_BODY CommonReference + tvbuff_t *string = NULL; + %(DEFAULT_BODY)s + if(open_request && string && check_col(pinfo->cinfo, COL_INFO)) + col_append_fstr(pinfo->cinfo, COL_INFO, " %%s", tvb_format_text(string, 0, tvb_length(string))); + +#.FN_PARS OCTET_STRING + VAL_PTR=&string +#.FN_BODY OCTET_STRING + tvbuff_t *string = NULL; + %(DEFAULT_BODY)s + if(open_request && string && check_col(pinfo->cinfo, COL_INFO)) + col_append_fstr(pinfo->cinfo, COL_INFO, " %%s", tvb_format_text(string, 0, tvb_length(string))); + #.END |