Commit Graph

5322 Commits

Author SHA1 Message Date
Tim Potter 63aaa78222 Use the string in the DCERPC sub-dissector array instead of providing
another one in the COL_INFO field.

svn path=/trunk/; revision=5300
2002-04-30 01:44:35 +00:00
Tim Potter 72942ecf6f Changed COL_INFO string from 'rqst FOO(...)' to 'FOO request' as per
discussion on dev list.

svn path=/trunk/; revision=5299
2002-04-30 01:43:12 +00:00
Guy Harris 775d1a978d Note that pre-0.6 libpcap didn't handle HP-UX as well as 0.6 and later
versions do, so you should use 0.6 or later.

svn path=/trunk/; revision=5298
2002-04-29 23:09:35 +00:00
Guy Harris 3737a46f31 Remove the deja.com URLs for netnews articles with groups.google.com
URLs for those articles.

Note that the patches mentioned in one article might not be the current
ones.

svn path=/trunk/; revision=5297
2002-04-29 22:55:22 +00:00
Guy Harris 1a2bc5ad11 Additional RAP error code for password changes sent to a BDC, from Devin
Heitmueller.

svn path=/trunk/; revision=5296
2002-04-29 22:43:23 +00:00
Guy Harris 7cfa480fdd Un-#if out "samr_dissect_get_alias_membership_response()", to serve as a
reminder to check whether "samr_dissect_get_alias_membership_reply()"
should dissect the uint32 at the end as an NT status.

Un-#if out "samr_dissect_context_handle_SID()", to serve as a reminder
to figure out whether it should be deleted or used.

Get rid of "samr_dissect_get_user_groups_rqst()" - it's identical to
"samr_dissect_get_groups_for_user_rqst()", but isn't being used.

svn path=/trunk/; revision=5295
2002-04-29 10:30:18 +00:00
Guy Harris d61cb7942d There's no need to allocate and fill in an array of sub-authorities and
then later construct the sub-authority string from that array; we can
just construct the string as we fetch the sub-authorities.

Given that we're doing that, use the cleanup handler to free the string,
so that we don't leak memory if we throw an exception when fetching the
RID, for example.

svn path=/trunk/; revision=5294
2002-04-29 10:23:04 +00:00
Guy Harris d773807f4f Get rid of an unused variable.
svn path=/trunk/; revision=5293
2002-04-29 10:06:01 +00:00
Guy Harris 4943a12e1b Dissect MIP extensions if the packet was claimed to have more data in it
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-29 09:57:29 +00:00
Guy Harris ffac667c3b Put back an unused variable, as a reminder that the routine it's in
needs more work.

svn path=/trunk/; revision=5291
2002-04-29 09:41:45 +00:00
Guy Harris 49c728b5d2 Un-#if out "dissect_beep_status()", to serve as a reminder to either get
rid of it or use it.

svn path=/trunk/; revision=5290
2002-04-29 09:40:05 +00:00
Guy Harris 0f18641f5b Have separate fields for volume, long file name, short file name, and
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-29 09:38:34 +00:00
Guy Harris 9a80f0a521 Removal (or, at least, #ifdeffing out) of unused variables and
functions, from David Frascone.

svn path=/trunk/; revision=5288
2002-04-29 08:20:18 +00:00
Guy Harris 30f02bc99c Move the code to build the balanced tree of fields into "proto_init()",
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-29 07:55:32 +00:00
Ronnie Sahlberg 6c553bf998 Added LSAAddAccountRights and LSARemoveAccountRights
svn path=/trunk/; revision=5286
2002-04-29 06:23:03 +00:00
Ronnie Sahlberg 3508d634d9 Added LSAEnumerateAccountRights
svn path=/trunk/; revision=5285
2002-04-29 06:15:31 +00:00
Guy Harris 8729e8b514 From Ronnie Sahlberg: the LSA_REFERENCED_DOMAIN_LIST pointer in a
LsaLookupNames reply appears to be a UNIQUE pointer rather than a REF
pointer.

svn path=/trunk/; revision=5284
2002-04-29 01:25:51 +00:00
Guy Harris 32567ff10f Use "proto_tree_add_item()" to add the URI string to the protocol tree,
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-29 00:33:30 +00:00
Guy Harris fd629d84a8 Show unknown AFP command codes in decimal in the summary line, as we
show them in decimal in the protocol tree.

svn path=/trunk/; revision=5282
2002-04-28 23:47:44 +00:00
Guy Harris dd9f02255d Note in a comment that the display filter code has its own mechanism for
looking up filter fields by name.

svn path=/trunk/; revision=5281
2002-04-28 23:39:58 +00:00
Guy Harris 4fb36a6b1d Use "format_text()" when setting the display representation of string
values, so that non-printable characters are shown as escapes.

svn path=/trunk/; revision=5280
2002-04-28 22:21:09 +00:00
Guy Harris 091e8dde2a Pass even zero-length DSI and ASP "command" messages to the AFP
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-28 22:19:49 +00:00
Guy Harris 6ee5eebf6c Mark requests as such in the Info column.
svn path=/trunk/; revision=5278
2002-04-28 22:16:50 +00:00
Guy Harris 8c7276ba62 Put the error code/data offset field into the protocol tree as a data
offset on requests, and as an error code on replies, regardless of the
value.

svn path=/trunk/; revision=5277
2002-04-28 22:10:00 +00:00
Guy Harris e38d83af1a Set the nanoseconds value of time stamps to 0, rather than using
whatever random junk was in there.

svn path=/trunk/; revision=5276
2002-04-28 22:08:50 +00:00
Guy Harris 640a5e494a Pass even zero-length DSI and ASP "command" messages to the AFP
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-28 21:53:31 +00:00
Guy Harris 04687b1e40 Give AFP messages the same names they're given in Apple's documentation.
svn path=/trunk/; revision=5274
2002-04-28 21:22:20 +00:00
Guy Harris b09a5af611 Clean up field names and descriptions.
Clean up white space.

svn path=/trunk/; revision=5273
2002-04-28 21:04:04 +00:00
Guy Harris 346ddaf5fc Make the AODV dissector a new-style dissector, so it can just reject a
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-28 20:49:51 +00:00
Guy Harris 6db6535a41 Decode replies to FPWrite.
svn path=/trunk/; revision=5271
2002-04-28 19:33:32 +00:00
Guy Harris a8dd5ff42a Updates from Didier Gautheron:
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-28 19:21:39 +00:00
Ronnie Sahlberg 67bb2c4457 Added LsaDeleteObject and LSAEnumerateAccountsWithUserRight
svn path=/trunk/; revision=5269
2002-04-28 10:33:30 +00:00
Ronnie Sahlberg faa2c52f4d Added LSAOpenSecret, LSASetSecret and LSAQuerySecret
svn path=/trunk/; revision=5268
2002-04-28 10:24:40 +00:00
Ronnie Sahlberg a665066485 Added LSAQueryInfoTrustedDomain and LSASetInfoTrustedDomain and support functions
svn path=/trunk/; revision=5267
2002-04-28 10:09:25 +00:00
Ronnie Sahlberg 18e5ef9640 LSAOpenAccount added according to lsarpc.idl
svn path=/trunk/; revision=5266
2002-04-28 07:06:30 +00:00
Ronnie Sahlberg 5937b3db4c LSACreateSecret added according to lsarpc.idl
svn path=/trunk/; revision=5265
2002-04-28 07:00:06 +00:00
Guy Harris 8c5b9c06e8 Put in a note about the "primary domain" in the Negotiate Protocol
response if the negotiated dialect is Windows for Workgroups 3.1a.

svn path=/trunk/; revision=5264
2002-04-28 01:19:27 +00:00
Guy Harris 76a4bb9071 Update Kari Tiirikainen's e-mail address.
svn path=/trunk/; revision=5263
2002-04-28 00:48:02 +00:00
Guy Harris 7b5108dd49 Changes to display some OCTET STRING values appropriately, and to remove
some old unused code, from Kari Tiirikainen.

Clean up white space.

svn path=/trunk/; revision=5262
2002-04-28 00:43:16 +00:00
Guy Harris f643982382 Make the LDP dissectors new-style dissectors, so they can reject packets
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-28 00:18:50 +00:00
Guy Harris db119f15d4 Add routines to create anonymous handles for new-style dissectors (ones
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-28 00:13:05 +00:00
Guy Harris d9d5677510 Fix the test in "dissect_smb_datetime()" for "no date/time specified"
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-27 21:23:48 +00:00
Ronnie Sahlberg a01dfc55b1 Added LsaLookupNames according to lsarpc.idl hopefully it is correct
svn path=/trunk/; revision=5258
2002-04-27 03:54:17 +00:00
Guy Harris 51ce720e55 Use "proto_tree_add_item()" to add strings to the protocol tree; this
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-26 20:59:42 +00:00
Guy Harris 92e90d3fae It's the AppleTalk Session Protocol, not the AppleTalk Stream Protocol.
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-26 07:41:31 +00:00
Guy Harris 3aacb65d9e From Joerg Mayer:
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-26 00:04:23 +00:00
Guy Harris 9469b47866 ATP, ASP, and AFP support, from Didier Gautheron.
svn path=/trunk/; revision=5254
2002-04-25 23:58:02 +00:00
Guy Harris 10c5587bac AODV dissection support, from Erik Nordstr�m.
svn path=/trunk/; revision=5253
2002-04-25 23:35:52 +00:00
Guy Harris 81567fd039 Cast the sum of "ngsniffer->rand.nextout" and "delta" to "size_t" before
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-25 22:05:39 +00:00
Guy Harris 45cffd9f12 Put in incomplete definitions of "struct mbuf" and "struct rtentry" to
eliminate compiler warnings on Digital UNIX.

svn path=/trunk/; revision=5251
2002-04-25 22:03:54 +00:00