aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
AgeCommit message (Collapse)AuthorFilesLines
2005-10-06From Richard van der Hoff:Anders Broman3-3/+390
Extensions to the h.245 dissector to extract H.223 Multiplex Code and Logical Channel setup messages, and pass this information to the H.223 dissector. svn path=/trunk/; revision=16139
2005-10-03Add dissection of some more OID's and use the #.REGISTER function.Anders Broman2-223/+86
svn path=/trunk/; revision=16081
2005-10-03From Graeme LuntAnders Broman8-33/+57
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-10-03From Graeme LuntAnders Broman1-7/+14
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=16070
2005-10-02From Graeme LuntAnders Broman1-0/+1
allows the dissection of ContentInfo based upon it's OID - something that is used for a secure X.400 messages (Protecting Content Type (PCT)). svn path=/trunk/; revision=16069
2005-09-27new option whether tunnelled H.245 and tunnelled protocol are displayed ↵Tomas Kukosa2-4/+16
inside H.225 tree or outside svn path=/trunk/; revision=16020
2005-09-25A loop processing all the bytes in a tvbuff from a given offset to theGuy Harris2-17/+7
end of the data in the tvbuff should stop when the offset is >= the total amount of data in the tvbuff, not when it's > the total amount in the tvbuff following the starting offset. In "unpack_digits()", return a null string, not a null pointer, if there's nothing left in the tvbuff starting at the starting offset, so that the caller doesn't have to check for a null pointer, and return an ep_alloc()ed buffer, so the caller doesn't have to worry about freeing the result. If we see a filler digit, don't advance the offset in the string buffer; we want to put the terminating '\0' right after the character we just put into the string. Fuzzed against some GSM captures. svn path=/trunk/; revision=16002
2005-09-22Call H245 decoding and tunelled protocols decoding at the end of H225 ↵Tomas Kukosa2-9/+80
dissector. I makes less confusion in info column. svn path=/trunk/; revision=15958
2005-09-22Squelch some compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15953
2005-09-22Fix a bunch of places where we were calling "dissect_ber_octet_string()"Guy Harris5-56/+68
with a non-null pointer-to-pointer-to-tvbuff and not checking whether the returned tvbuff pointer was non-null. svn path=/trunk/; revision=15948
2005-09-21Set svn:eol-style properly, and get rid of a bogus proprty. Fix theGuy Harris1-50/+50
line endings. svn path=/trunk/; revision=15947
2005-09-21dissect_ber_octet_string() can return a null tvbuff pointer, if theGuy Harris1-12/+11
putative octet string isn't one; always check before using it to dissect, and don't call the dissector if the tvbuff is null. This should fix bug 472. svn path=/trunk/; revision=15946
2005-09-21OIDs are put into the protocol tree as strings containing a textualGuy Harris1-1/+1
representation of the OID, so the fields for them should be of type FT_STRING. This should fix bug 470. svn path=/trunk/; revision=15945
2005-09-21Some compilers don't allow a static declaration of a function insideGuy Harris2-3/+9
another function, so move the declaration of dissect_spnego_PrincipalSeq() to the top of the file. svn path=/trunk/; revision=15938
2005-09-21An InnerContextToken comes with an OID for the mechanism, which is whatGuy Harris3-131/+225
we use to determine how to interpret the token; don't bother fetching the OID attached to the frame or conversation, as we're not using it. Indent code in the .cnf file to match the code generated by asn2eth. The mechListMIC in a NegTokenInit is sometimes a sequence containing a string; check the header of the mechListMIC and dissect it as such a sequence or as a regular item depending on whether it's a sequence or not. If we see a supportedMech in a NegTokenTarg, save next_level_value for that OID with the conversation. Dissect a responseToken in a NegTokenTarg, and a mechListMIC in a NegTokenTarg, appropriately. Get rid of "gssapi_dissector_handle()", and just use next_level_value->handle - it was never being called if next_level_value was null. When we're dissecting a KRB5 blob, just use get_ber_identifier() to get the header, so we don't report an ASN.1 error if there isn't a BER identifier there; dissect the identifier and length only if we know we have them. svn path=/trunk/; revision=15937
2005-09-21Fix a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15916
2005-09-20Fix bug #404 Decoding of MSISDN on GSM is incomplete. Anders Broman1-2/+4
svn path=/trunk/; revision=15906
2005-09-20get rid of few warningsTomas Kukosa2-4/+4
svn path=/trunk/; revision=15895
2005-09-20asn2eth Tomas Kukosa5-96/+43
- #.FN_BODY accepts parameters too - single line variant of #.FN_PAR is possible - new parameter FN_VARIANT for OBJECT IDENTIFIER packet-per.c - dissect_per_object_identifier() returns value as tvb - new dissect_per_object_identifier_str() function PER dissectors adapted and regenerated svn path=/trunk/; revision=15894
2005-09-19Don't dereference a null pointer. Fixes bug 460.Gerald Combs1-1/+1
svn path=/trunk/; revision=15874
2005-09-19In the SPNEGO dissector, don't call a subdissector if we don't have a TVB.Gerald Combs1-1/+4
Fixes bugs 448, 449, 451, 452, 454, 456, and 461. Add similar TVB checks to the BER dissector. svn path=/trunk/; revision=15869
2005-09-19sometimes it seems that we have the text based h248/megaco running ontop ofRonnie Sahlberg1-0/+16
m3ua and not the binary one. make the binary dissector check if it is really the text based one to be used and if so call that dissector instead. svn path=/trunk/; revision=15862
2005-09-19remove unused parameter 'name' from dissect_per_choice()Tomas Kukosa1-4/+4
svn path=/trunk/; revision=15861
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-15Don't use u_char - not all platforms define it, and even those that doGuy Harris1-2/+2
might require other files to be included to get it. svn path=/trunk/; revision=15828
2005-09-15Add a Makefile.Guy Harris1-0/+17
svn path=/trunk/; revision=15827
2005-09-15Replace the spnego dissector with an asn2eth generated one.Anders Broman5-0/+1359
svn path=/trunk/; revision=15810
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris2-4/+4
and that extract IPv6 addresses into a "struct e_in6_addr", with tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we remove, by using proto_tree_add_item(), rather than replacing. Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct e_in6_addr" (not necessary to declare the tvbuff routines, but including it there means "struct e_in6_addr" is guaranteed to be defined before those declarations, so we don't get compiler complaints if we define it *after* those declarations). svn path=/trunk/; revision=15758
2005-09-09Dissect "nbs-9".Anders Broman3-2/+29
svn path=/trunk/; revision=15742
2005-09-08Fix more problems found by Steve Grubb, along with other changes:Gerald Combs2-7/+11
Camel: Fix an off-by-one error. Don't alloc and free where it's not needed. Remove an unused variable. PPP and K12: Fix memory leaks. svn path=/trunk/; revision=15725
2005-09-07Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in orderGerald Combs41-83/+83
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 Broman2-12/+47
PRES Dissect PDU type based on SS-user data from SES(Info from asn1 file). svn path=/trunk/; revision=15703
2005-09-06Make sure we don't overflow the dialedDigits array.Guy Harris1-1/+4
svn path=/trunk/; revision=15702
2005-09-06get rid of few warningsTomas Kukosa2-10/+12
svn path=/trunk/; revision=15700
2005-09-05Squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15697
2005-09-05Squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15696
2005-09-05Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15695
2005-09-05Use the same string for the protocol's filter name as is used in theGuy Harris1-1/+1
names of its filterable fields. svn path=/trunk/; revision=15693
2005-09-05Add some OID:s as we now use the Presentation context and use FN_PARS.Anders Broman3-13/+23
svn path=/trunk/; revision=15688
2005-09-04 From Graeme LuntAnders Broman7-8/+14
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 Broman36-91/+6108
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 Broman5-43/+48
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-09-02From ouli:Anders Broman2-1/+7
- Add version 2 CancelLocation decoding svn path=/trunk/; revision=15665
2005-09-02Regenerate dissectors with the current asn2eth.Guy Harris8-23/+23
svn path=/trunk/; revision=15664
2005-08-31Upadte to call Data dissector from PRES based on OID in Presentation Context,Anders Broman5-58/+147
based on the code in ACSE. svn path=/trunk/; revision=15643
2005-08-31Add a Makefile.Guy Harris1-0/+16
svn path=/trunk/; revision=15642
2005-08-31Give it an RCS ID.Guy Harris1-0/+2
svn path=/trunk/; revision=15639
2005-08-31- more standard way for FastStart item dissectionTomas Kukosa6-28/+31
- protocol names fixed svn path=/trunk/; revision=15636
2005-08-31Decode CmnInform fixes bug 376.Anders Broman1-2/+17
svn path=/trunk/; revision=15630
2005-08-30propset svn:keywords and svn:eol-styleJörg Mayer1-1/+1
svn path=/trunk/; revision=15629