aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h245.c
AgeCommit message (Collapse)AuthorFilesLines
2004-07-18Move dissectors to epan/dissectors directory.gram1-22458/+0
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Set the svn:eol-style property on all text files to "native", so thatguy1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11400 f5534014-38df-0310-8fa8-9805f1628bb7
2004-06-15From Thomas Anders: Navigating from RTP/RTCP packets to setup where it was ↵etxrab1-14/+6
set up git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11154 f5534014-38df-0310-8fa8-9805f1628bb7
2004-05-17rename the NOT_DECODED_YET macros to avoid a name clashsahlberg1-4/+4
for those sources that include both packet-ber.h and packet-per.h git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10912 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-14Update Andreas Sikkema's e-mail address.guy1-3/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10065 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-13From Anders Broman: fix the offsets usd when adding the manufacturer info.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10060 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-10Fix the following type of warings:jmayer1-13/+13
packet-h245.c:13932: warning: invalid storage class for function `dissect_h245_RedundancyEncodingElement' by moving the function declarations outside other functions git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9631 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-09"conversation_new()" takes flags NO_ADDR2 and NO_PORT2, not NO_ADDR_Bguy1-3/+3
and NO_PORT_B - the corresponding flags have the same values, but they don't have the same semantics (a "find_conversation()" call with a missing address or port B will do a wildcard match on *both* addresses or ports, not just the second one). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9604 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-22Change the way signalType is dissected to besahlberg1-2/+19
compatible with and dissect the packets from Martin R and Paul H. I still think ethereal was correct before this patch and that this patch is not compatible with teh standard. Anyway, that doesnt matter much. With this patch ethereal will dissect the packets properly. Time to study x691 again. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9066 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-27From Lars Roland: whitespace cleanups.guy1-952/+952
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8789 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-10From Martin Regner, bugfix for H245.sahlberg1-2/+2
The restricted character string for signalType is 1 character, not 1 to 128 characters. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8666 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-09Prefix the EXTENSION #defines with ASN1_ as well.guy1-1669/+1669
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8653 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-09Prefix OPTIONAL and NOT_OPTIONAL with ASN1_, to avoid collisions withguy1-898/+898
other definitions of OPTIONAL (such as the one in Windows). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8650 f5534014-38df-0310-8fa8-9805f1628bb7
2003-09-26From Tomas Kukosa:guy1-444/+6
1) string tables for t35CountryCode, t35Extension and h221ManufacturerCode were moved into the new file t35.c because they are common for more dissectors 2) the dissect_h245_NonStandardParameter_with_extension_marker() was moved from h245 to h225 and renamed to dissect_h225_NonStandardParameter() because the NonStandardData type is different for H.225.0 and H.245 3) type of the "h245.nsp.object" dissector table was changed from FT_UINT32 to FT_STRING, so it can select a dissector based on an OID rather than the Adler-32 hash of an OID 4) the "h225.nsp.object" and "h225.nsp.h221" dissector tables were created git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8550 f5534014-38df-0310-8fa8-9805f1628bb7
2003-09-06From Martin Regner: fix dissection of non-standard parameters.guy1-5/+71
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8400 f5534014-38df-0310-8fa8-9805f1628bb7
2003-09-04From Anders Broman: display T35 manufacturer codes as strings.guy1-1/+152
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8373 f5534014-38df-0310-8fa8-9805f1628bb7
2003-09-02From Andreas Sikkema: Facility for H.245 to display short message typesguy1-16/+151
instead of long ones (introduces new preference, default is off): OpenLogicalChannel OpenLogicalChannel OpenLogicalChannel OpenLogicalChannel OLC OLC OLC OLC git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8343 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-30Updates and bugfixes from Andreas and Martinsahlberg1-16/+26
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8321 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-28update to h245 to decode the county codessahlberg1-2/+205
from anders broman git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8297 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-26The definition of NonStandardParameter is different between H.225 and H.245sahlberg1-1/+18
Create an alternative NonStandardParameter dissector that matches the definition that H.225 needs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8277 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-21From Tomas Kukosa: allow subdissectors to be registered forguy1-41/+86
NonStandardParameter data in the H.245 dissector. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8206 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-16From Ronnie Sahlberg: patch to set up conversations to use RTP and RTCPguy1-10/+49
based on H.245 information. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8172 f5534014-38df-0310-8fa8-9805f1628bb7
2003-08-01make h225 register detected h245 tcp ports so that h245 dissector is called.sahlberg1-1/+2
it is currently done in a way too crude way, when a h245 endpoint is found, it calls dissector_add("tcp.port",...) and thus registers it globally for this port for ALL ip addresses. if someone knows how to change it to only register it for <ipaddress><tcpport> instead, that would be much better. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8120 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-31Updated some restricted character set alphabets so that the characters are ↵sahlberg1-3/+3
in the correct order. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8112 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-29fix minor bugs in h245 decodingsahlberg1-51/+27
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8092 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-26Updates to the MEGACO plugin so that it will call the H.245 dissector for somesahlberg1-2/+3
instancews where megaco encapsulates h.245 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8087 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-19export T38FaxProfile and DataProtocolCapability since these are user in ↵sahlberg1-3/+3
H.225 as well git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8052 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-16Make h221nonstandard and nonstandardparameter externaly visiblesahlberg1-13/+13
h225 will need them git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8033 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-16Add a new parameter to the constrained integer dissector so that it also handlessahlberg1-217/+204
constrained integers with an extension marker. Update all calls to the constrained integer dissector Add dissection to the rfc_number type which is a constrasined integer with an extension marker Add H245 so that it builds by default in ethereal. It has been tested extensively by a semi-large number of people with a lot of real and synthetic captures and seems to work very well. New protocol added to ethereal git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8032 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-16remove a function that was not used/obsoletesahlberg1-9/+10
fix an instance where the wrong dissector was called instead of RequestMultiplexEntryRejectionDescriptions. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8031 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-16minor updates.sahlberg1-34/+12
make reassembly a preference update comments git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8030 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-16updates bugfix for the NumericString alphabet.sahlberg1-3/+13
Implement some restricted ia5strings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8029 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-13Add decoding of NumericStringsahlberg1-3/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8018 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-12 Break out the PER functions from the alternative h245 dissectorsahlberg1-1197/+3
and put them in their own file. I had to put them im packet-per.c instead of asn1-per.c since othervise i couldnt get it to invoke the register routine from register.c the per dissector is compiled into ethereal by default, but there are no callers in ethereal until the h245 dissector is added. someone that knows the registry stuff better might consider renaming it to asn1-per.c instead of packet-per.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8017 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-10small updatessahlberg1-197/+219
IA5String when tehre are no restriction on the alphabet is actually just an octet string start populating the COL_INFO with request/response commandname COL_INFO will be tricky to get nice. we might needs some hack to pass different values around through the dissect_per layer so can format values from different parts/subdissector functions nicely. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8013 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-09remove one more NOT_DECODED_YET for the subAddress IA5Stringsahlberg1-3/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8010 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-09Some more guesswork applied.sahlberg1-7/+61
It looks like the constrained version of IA5String might be encoded as a constrained integer followed by (byte aligned) a list of ASCII bytes makeing up shte string. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8009 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-09Make ethereal decode normal unconstrained INTEGER types.sahlberg1-9/+41
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8007 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-09fix bug in dissect_per_GeneralString()sahlberg1-2/+5
use proto_tree_add_item() instead of proto_tree_add_string() since there is nothing that says the string will be null terminated. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8006 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-08From Lars Roland: export "dissect_h245_OpenLogicalChannel()" andguy1-3/+3
"dissect_h245_MultimediaSystemControlMessage()" for use in the future by other dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7994 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-08 remove one more redundant decode of the extensions present bit.sahlberg1-2/+19
change the decode of sequence and extensions to assume the lower bound for the number of extensions is 1 and thus 1 have to be added to the encoded value. dont know if this is right or not, the satndard x691 does not mention anything about the lb being 1 and the value being semiconstrained but a note at 18.8 does mention that the number of extensions can not be 0. i think there is a difference between saying a value can not be zero and between saying the lower bound is 1. but hey it is a telco standard. the change might be right or it might be wrong. i think it is wrong or else the standard is wrong. it at least dissects the very few captures i have properly. telco guys, either give feedback or live with the dissector being potentially wrong. its that easy. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7990 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-08fix a small bug in dissect_per_choice where it dissected and displayed a ↵sahlberg1-2/+3
bit for "extensions present" even if that bit was not encoded in the pdu. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7989 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-08when extensions are present to a sequence,sahlberg1-4/+28
for the individualk bits in the bitmap field for whether each extension is present or not, add "(<extension name> [is|is NOT] present)" to the tree item. this makes the dissection of the extension bitmap more meaningful git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7988 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-08When decoding the optional field bitmap for a sequence,sahlberg1-4/+26
for the individual bits, if we know the name of the optional field then put "<field name> [is|is NOT] present" into the tree pane so we can see what each bit in this field refers to. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7987 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-08change the interfae so that dissect_per_boolean() also can return the proto_itemsahlberg1-222/+226
that was created to display the value. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7986 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-07If we dont want the internal per stuff to be displayed,sahlberg1-3/+9
dont put the object identifier length field in the tree. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7970 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-07Attempt to decode GeneralString.sahlberg1-4/+26
RFC2833 is a bit "unclear" but I guess this type is encoded as first a length-determinant followed by the actual ascii data. I belive the length-determinant is byte aligned in aligned-per so the entire field is so. at best, this is pure guesswork but it does decode the single capture i do have containing GeneralString types properly. Anyone interested are welcome to purchase and provide proper h323 standard docs from itu-t and snail-mail them to me. A random asn file from www.packetyzer.com together with the X.691 pdf file is "difficult". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7969 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-06minor updatessahlberg1-53/+91
add a gboolean which controls whether the internal PER fields are to be displayed or not in the tree pane. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7968 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-06Small updates.sahlberg1-27/+62
Replace dissect_h245_TransportAddress() which was the generic decoder for the TransportAddress sequence with several semi-identical routines that matches the name of the field (instead of the type). This makes the presentation easier to read. e.g. Present this ip address as mediaChannel which is the field name instead of as TransportAddress git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7967 f5534014-38df-0310-8fa8-9805f1628bb7
2003-07-04work copy of a h245 dissector and PER dissection helper routines.sahlberg1-0/+23169
read the comment at the top of the file for instructions on how to activate it and what needs to be done. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7963 f5534014-38df-0310-8fa8-9805f1628bb7