aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2002-04-29Dissect MIP extensions if the packet was claimed to have more data in itGuy Harris1-2/+2
than the fixed-length stuff, even if that runs past the end of the captured data, so if it *does* run past the end of the captured data, we report a short frame. svn path=/trunk/; revision=5292
2002-04-29Put back an unused variable, as a reminder that the routine it's inGuy Harris1-1/+3
needs more work. svn path=/trunk/; revision=5291
2002-04-29Un-#if out "dissect_beep_status()", to serve as a reminder to either getGuy Harris1-3/+1
rid of it or use it. svn path=/trunk/; revision=5290
2002-04-29Have separate fields for volume, long file name, short file name, andGuy Harris1-53/+143
Unicode file name offsets. Display the "UNIX privileges" field as a 4-longword structure, as part of the AFP 3.0 spec claims; unfortunately, another part claims it's only 4 bytes, but, unless a "long" is 8 bits, one or the other claim must be false. Completely get rid of the static "afp_handle" variable - it's not necessary. Put the Unicode name offset into the tree, if present, in "parse_file_bitmap()" and "parse_dir_bitmap()". Get rid of some unused variables. Put the newline mask and character into the tree for FPRead. svn path=/trunk/; revision=5289
2002-04-29Removal (or, at least, #ifdeffing out) of unused variables andGuy Harris24-103/+109
functions, from David Frascone. svn path=/trunk/; revision=5288
2002-04-29Move the code to build the balanced tree of fields into "proto_init()",Guy Harris5-127/+90
move the code from "dfilter_lookup_token()" into "proto_registrar_get_byname()", and get rid of "dfilter_lookup_token()" and have its callers call "proto_registrar_get_byname()" instead. svn path=/trunk/; revision=5287
2002-04-29Added LSAAddAccountRights and LSARemoveAccountRightsRonnie Sahlberg1-7/+72
svn path=/trunk/; revision=5286
2002-04-29Added LSAEnumerateAccountRightsRonnie Sahlberg1-5/+49
svn path=/trunk/; revision=5285
2002-04-29From Ronnie Sahlberg: the LSA_REFERENCED_DOMAIN_LIST pointer in aGuy Harris1-3/+3
LsaLookupNames reply appears to be a UNIQUE pointer rather than a REF pointer. svn path=/trunk/; revision=5284
2002-04-29Use "proto_tree_add_item()" to add the URI string to the protocol tree,Guy Harris1-10/+5
rather than extracting a string and adding that explicitly (which runs the risk of leaking memory if the "tvb_get_ptr()" throws an exception). Use "tvb_format_text()" when adding the string to the Info column, so that non-printable characters are displayed as escapes. svn path=/trunk/; revision=5283
2002-04-28Show unknown AFP command codes in decimal in the summary line, as weGuy Harris1-2/+2
show them in decimal in the protocol tree. svn path=/trunk/; revision=5282
2002-04-28Note in a comment that the display filter code has its own mechanism forGuy Harris1-2/+5
looking up filter fields by name. svn path=/trunk/; revision=5281
2002-04-28Use "format_text()" when setting the display representation of stringGuy Harris1-2/+4
values, so that non-printable characters are shown as escapes. svn path=/trunk/; revision=5280
2002-04-28Pass even zero-length DSI and ASP "command" messages to the AFPGuy Harris1-8/+5
dissector, so it can show them as replies. Put the command code into the protocol tree for replies. Fix some additional AFP function names to match the names in the AFP spec. svn path=/trunk/; revision=5279
2002-04-28Mark requests as such in the Info column.Guy Harris1-3/+3
svn path=/trunk/; revision=5278
2002-04-28Put the error code/data offset field into the protocol tree as a dataGuy Harris1-9/+13
offset on requests, and as an error code on replies, regardless of the value. svn path=/trunk/; revision=5277
2002-04-28Set the nanoseconds value of time stamps to 0, rather than usingGuy Harris1-1/+2
whatever random junk was in there. svn path=/trunk/; revision=5276
2002-04-28Pass even zero-length DSI and ASP "command" messages to the AFPGuy Harris2-43/+40
dissector, so it can show them as replies. Put the command code into the protocol tree for replies. Fix some additional AFP function names to match the names in the AFP spec. svn path=/trunk/; revision=5275
2002-04-28Give AFP messages the same names they're given in Apple's documentation.Guy Harris1-55/+55
svn path=/trunk/; revision=5274
2002-04-28Clean up field names and descriptions.Guy Harris1-357/+455
Clean up white space. svn path=/trunk/; revision=5273
2002-04-28Make the AODV dissector a new-style dissector, so it can just reject aGuy Harris1-18/+18
packet it doesn't like and let some other dissector look at it, rather than setting the Protocol and Info columns but not putting anything into the protocol tree. svn path=/trunk/; revision=5272
2002-04-28Decode replies to FPWrite.Guy Harris1-10/+27
svn path=/trunk/; revision=5271
2002-04-28Updates from Didier Gautheron:Guy Harris4-148/+1458
More calls, more fields, and other updates, for AFP. Decode the error code for DSI. Also, have separate fields for the code field in DSI when it's a data offset and when it's an error code. svn path=/trunk/; revision=5270
2002-04-28Added LsaDeleteObject and LSAEnumerateAccountsWithUserRightRonnie Sahlberg1-7/+59
svn path=/trunk/; revision=5269
2002-04-28Added LSAOpenSecret, LSASetSecret and LSAQuerySecretRonnie Sahlberg1-10/+155
svn path=/trunk/; revision=5268
2002-04-28Added LSAQueryInfoTrustedDomain and LSASetInfoTrustedDomain and support ↵Ronnie Sahlberg1-8/+434
functions svn path=/trunk/; revision=5267
2002-04-28LSAOpenAccount added according to lsarpc.idlRonnie Sahlberg1-4/+35
svn path=/trunk/; revision=5266
2002-04-28LSACreateSecret added according to lsarpc.idlRonnie Sahlberg1-5/+36
svn path=/trunk/; revision=5265
2002-04-28Put in a note about the "primary domain" in the Negotiate ProtocolGuy Harris1-1/+7
response if the negotiated dialect is Windows for Workgroups 3.1a. svn path=/trunk/; revision=5264
2002-04-28Update Kari Tiirikainen's e-mail address.Guy Harris2-2/+2
svn path=/trunk/; revision=5263
2002-04-28Changes to display some OCTET STRING values appropriately, and to removeGuy Harris1-169/+214
some old unused code, from Kari Tiirikainen. Clean up white space. svn path=/trunk/; revision=5262
2002-04-28Make the LDP dissectors new-style dissectors, so they can reject packetsGuy Harris1-91/+191
if the version number isn't 1; the LDP port number appears to be popular for ONC RPC protocols, and this lets them be dissected as such, at least if they don't begin with a 2-byte big-endian 1. Do a standard TCP loop, which: handles LDP headers split across TCP segments; gives each LDP PDU in a TCP stream a tvbuff of its own, so we don't run past the end of the PDU; gives each LDP PDU its own tree. svn path=/trunk/; revision=5261
2002-04-28Add routines to create anonymous handles for new-style dissectors (onesGuy Harris2-2/+18
that return an "int", giving either an indication of how much data was dissected, an indication of how much more data is needed from TCP to dissect, or 0, meaning "this isn't one of my packets"). svn path=/trunk/; revision=5260
2002-04-27Fix the test in "dissect_smb_datetime()" for "no date/time specified"Guy Harris1-7/+84
values. Note that in a Negotiate Protocol response, the primary domain won't be present if the negotiated dialect isn't "DOS LANMAN 2.1" or "LANMAN2.1". At least for Info Standard replies for Transaction2 Find First2 requests, if the request had the "return resume keys" flag set, the reply will have a resume key at the beginning of each entry. We assume that to be the case for Info Query EA Size and Info QUery EAs From List; it does *not* appear to be the case for Find File Directory Info, Find File Full Directory Info, or Find File Both Directory Info (they don't have it even if the flag is set, at least in the captures I've seen). The length of the name string in Find First2 entries doesn't include the terminating '\0'; count that as well. svn path=/trunk/; revision=5259
2002-04-27Added LsaLookupNames according to lsarpc.idl hopefully it is correctRonnie Sahlberg1-4/+144
svn path=/trunk/; revision=5258
2002-04-26Use "proto_tree_add_item()" to add strings to the protocol tree; thisGuy Harris1-21/+17
simplifies the code (and makes the name in the protocol tree match the name in the dialog box for constructing filter expressions), and also fixes a bug where the item for the request command contained the entire request, not just the request command. svn path=/trunk/; revision=5257
2002-04-26It's the AppleTalk Session Protocol, not the AppleTalk Stream Protocol.Guy Harris1-49/+72
Show the flag bits in the ATP "Control information" byte as individual Booleans, and show the TRel timeout indicator if the packet is a TReq with XO set. Clean up whitespace. svn path=/trunk/; revision=5256
2002-04-26From Joerg Mayer:Guy Harris1-1/+4
fix a typo; add remark that most Ethereal users may want to skip the options section and start it without options. svn path=/trunk/; revision=5255
2002-04-25ATP, ASP, and AFP support, from Didier Gautheron.Guy Harris7-6/+2432
svn path=/trunk/; revision=5254
2002-04-25AODV dissection support, from Erik Nordstr�m.Guy Harris5-2/+418
svn path=/trunk/; revision=5253
2002-04-25Cast the sum of "ngsniffer->rand.nextout" and "delta" to "size_t" beforeGuy Harris1-2/+2
comparing with the "size_t" value "ngsniffer->rand.nbytes", rather than just casting "ngsniffer->rand.nextout" to "unsigned" - if "unsigned" is shorter than "long", the latter doesn't do what you want. svn path=/trunk/; revision=5252
2002-04-25Put in incomplete definitions of "struct mbuf" and "struct rtentry" toGuy Harris1-1/+6
eliminate compiler warnings on Digital UNIX. svn path=/trunk/; revision=5251
2002-04-25Include <string.h> to declare "strlen()".Guy Harris1-2/+2
svn path=/trunk/; revision=5250
2002-04-25"fragment_add_seq_work()" returns a Boolean value, not a pointer, soGuy Harris1-2/+2
have it return FALSE, not NULL. svn path=/trunk/; revision=5249
2002-04-25Use "%.10g", rather than "%f", for floating-point numbers. That willGuy Harris4-31/+31
display values that would fit in a 32-bit integer as integers, leaving out all trailing zeroes after the decimal point (and leaving out the decimal point if there are no digits left after the decimal point once trailing zeroes are removed), and will use scientific notation for small fractions or large numbers. svn path=/trunk/; revision=5248
2002-04-24From Marco Molteni: fix to say "BSD", not "Linux", when talking about,Guy Harris1-2/+2
well, BSD. svn path=/trunk/; revision=5247
2002-04-24Document the tvbuff accessors for IEEE floating-point numbers.Guy Harris1-3/+15
svn path=/trunk/; revision=5246
2002-04-24Use "gfloat" and "gdouble", rather than "float" and "double", as theGuy Harris2-20/+18
return types of the tvbuff accessors for floating-point types, to more closely match the tvbuff accessors for integral types. Fix an error in the code for fetching doubles on VAXes, and get rid of unused union members on VAXes. svn path=/trunk/; revision=5245
2002-04-24Use the IEEE floating-point tvbuff accessors to get IEEE floating-pointGuy Harris1-86/+9
numbers, rather than doing it ourselves. svn path=/trunk/; revision=5244
2002-04-24Use Ashok's IEEE-float-to-long code as the basis forGuy Harris3-115/+171
IEEE-float-to-native-float code, and use that as the basis for IEEE-double-to-native-double code. Use that code on VAXes. Eliminate "ieee-float.h", as we no longer use it; instead, we use the tvbuff routines for extracting IEEE floating-point numbers. svn path=/trunk/; revision=5243