aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
AgeCommit message (Collapse)AuthorFilesLines
2005-09-23when I've done the last change here, I wasn't expecting to get an fcs_len ↵Ulf Lamping1-1/+3
value of -1, fixed now svn path=/trunk/; revision=15976
2005-09-23remove some compiler warningsRonnie Sahlberg1-10/+10
svn path=/trunk/; revision=15975
2005-09-23remove some compiler warningsRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=15974
2005-09-22fix offset calculation of DataStatus fields if Ethernet FCS (or a similar ↵Ulf Lamping1-3/+4
trailer) is present svn path=/trunk/; revision=15970
2005-09-22bugfix: don't crash, if pinfo->match_string == NULLUlf Lamping1-1/+1
svn path=/trunk/; revision=15969
2005-09-22bugfix: don't crash, if tag_save_literal == NULLUlf Lamping1-2/+2
svn path=/trunk/; revision=15968
2005-09-22bugfix: don't crash, if current_frame->ns == NULLUlf Lamping1-8/+12
svn path=/trunk/; revision=15967
2005-09-22enhance heuristics:Ulf Lamping1-0/+11
some Siemens SIMATIC protocols also use COTP, and shouldn't be misinterpreted as SES. the starter in this case is fixed to 0x32 (SES_MINOR_SYNC_ACK for SES), so if the following parameter type is unknown, it's probably SIMATIC and not SES svn path=/trunk/; revision=15966
2005-09-22change ConnectCR flag item sequence, so the "most significant" bit will come ↵Ulf Lamping1-3/+3
first (as done in the other req/responses) svn path=/trunk/; revision=15964
2005-09-22bugfix: don't simply use length field value from packet data, ensure the ↵Ulf Lamping1-0/+1
bytes really exist svn path=/trunk/; revision=15963
2005-09-22add two more bind reject reasons from the specsUlf Lamping1-0/+4
svn path=/trunk/; revision=15962
2005-09-22in register_dtd() do not leak the elements hashLuis Ontanon1-0/+21
svn path=/trunk/; revision=15959
2005-09-22Call H245 decoding and tunelled protocols decoding at the end of H225 ↵Tomas Kukosa1-9/+80
dissector. I makes less confusion in info column. svn path=/trunk/; revision=15958
2005-09-22Add the cisco url as wellJörg Mayer1-1/+2
svn path=/trunk/; revision=15957
2005-09-22Add a comment on packets with opcode 3Jörg Mayer1-0/+6
svn path=/trunk/; revision=15956
2005-09-22replace match_strval with val_to_str, where the output was used by string ↵Ulf Lamping1-1/+1
output, but not expecting NULL svn path=/trunk/; revision=15954
2005-09-22Squelch some compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15953
2005-09-22prevent output of NULL stringsUlf Lamping1-2/+2
svn path=/trunk/; revision=15950
2005-09-22replace match_strval with val_to_str in several places, where the output was ↵Ulf Lamping1-10/+6
used by string output, but not expecting NULL svn path=/trunk/; revision=15949
2005-09-22Fix a bunch of places where we were calling "dissect_ber_octet_string()"Guy Harris4-66/+69
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-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 Harris2-3/+3
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-21get rid of strcpy in packet-ntp.cRonnie Sahlberg6-55/+61
at the same time change ntp_fmt_ts to return a pointer to ian ep-allocated buffer. remove the redundant buffer parameter in the signature and change all callers. svn path=/trunk/; revision=15939
2005-09-21Some compilers don't allow a static declaration of a function insideGuy Harris1-5/+10
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 Harris1-139/+273
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-21Don't fill in a data structure for the packet while dissecting; we useGuy Harris1-131/+0
almost none of the data - fill in only variables for what we need, and use proto_tree_add_item() in most cases. Move what's left of the packet-winsrepl.h header into packet-winsrepl.c, and get rid of the header. Dissect the name flags field in detail, as per the Samba code. We don't do any checks for whether the packet is a valid WINS replication packet, so don't make the dissector a new-style dissector. svn path=/trunk/; revision=15936
2005-09-21Don't fill in a data structure for the packet while dissecting; we useGuy Harris2-220/+204
almost none of the data - fill in only variables for what we need, and use proto_tree_add_item() in most cases. Move what's left of the packet-winsrepl.h header into packet-winsrepl.c, and get rid of the header. Dissect the name flags field in detail, as per the Samba code. We don't do any checks for whether the packet is a valid WINS replication packet, so don't make the dissector a new-style dissector. svn path=/trunk/; revision=15935
2005-09-21Use a proper length for booleans. If we have a malformed packet, throw anGerald Combs1-14/+14
exception. Fixes bug 468. svn path=/trunk/; revision=15934
2005-09-21remove some strcpy() with g_snprintf()Ronnie Sahlberg1-6/+9
svn path=/trunk/; revision=15931
2005-09-21If pinfo->match_string is null (e.g. when we're called from the JabberGerald Combs1-1/+4
dissector), don't try to look it up in a hash table. Fixes the current Buildbot failure. svn path=/trunk/; revision=15929
2005-09-21fix #372: the bug raised a "division by zero" exception. I've add a check ↵Ulf Lamping1-1/+3
for this and simply replaced the expression with 0 in that case. Don't know if it's correct to do so, but fixes the exception at least :-) svn path=/trunk/; revision=15927
2005-09-21bugfix: break out of an endless loop, if dissect_sip_common() returns 0 or ↵Ulf Lamping1-1/+1
-2, found in a file send to me by david martin in an attempt to fix #372 svn path=/trunk/; revision=15926
2005-09-21manpages are now done automagicallyJörg Mayer1-7/+2
svn path=/trunk/; revision=15925
2005-09-21Use BASE_DEC_HEX for the identifier field; that means we don't have toGuy Harris1-2/+2
use "proto_tree_add_uint_format()", we can just let the Ethereal core format it. svn path=/trunk/; revision=15922
2005-09-21Squelch some compiler wranings, and fix up the creation of a subsetGuy Harris1-18/+18
tvbuff. Fix indentation. svn path=/trunk/; revision=15921
2005-09-21Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15920
2005-09-21Fix a compiler warning.Guy Harris2-3/+3
svn path=/trunk/; revision=15916
2005-09-21Fix a comment.Guy Harris1-2/+4
svn path=/trunk/; revision=15915
2005-09-21Put in some comments based on stuff seen in the Samba codeGuy Harris1-0/+41
(include/nameserv.h, code in wrepld). svn path=/trunk/; revision=15914
2005-09-20Give it an RCS ID.Guy Harris1-3/+3
svn path=/trunk/; revision=15913
2005-09-20Fix the name in the comment.Guy Harris1-1/+4
Give it an RCS ID. svn path=/trunk/; revision=15912
2005-09-20Give them RCS IDs.Guy Harris2-0/+3
svn path=/trunk/; revision=15911
2005-09-20Give them RCS IDs.Guy Harris7-0/+14
svn path=/trunk/; revision=15910
2005-09-20Give it an RCS ID.Guy Harris1-0/+2
svn path=/trunk/; revision=15909
2005-09-20From Hannes Gredler:Anders Broman1-11/+211
patch to support 4 additional juniper DLTs. all those are wrappers for exisiting media types augmented with meta-information which gets also displayed using this patch; svn path=/trunk/; revision=15908
2005-09-20From Kaul:Anders Broman1-6/+6
Jabber traffic is XML, attached patch dissects it as such svn path=/trunk/; revision=15907
2005-09-20Fix bug #404 Decoding of MSISDN on GSM is incomplete. Anders Broman1-4/+5
svn path=/trunk/; revision=15906
2005-09-20from francescoRonnie Sahlberg1-65/+85
update to remove sprintf() svn path=/trunk/; revision=15905
2005-09-20make options field filterableRonnie Sahlberg1-11/+13
remove silly rotating buffers svn path=/trunk/; revision=15904
2005-09-20Don't try to reassemble a zero-length fragment. Add a comment toGerald Combs1-1/+6
reassemble.c about the handling of zero-length fragments. svn path=/trunk/; revision=15899