Commit Graph

7586 Commits

Author SHA1 Message Date
Guy Harris 267b2834bc From Jim McDonough: add names for some additional SAM messages.
svn path=/trunk/; revision=7625
2003-05-01 18:11:20 +00:00
Guy Harris 933fd3b12c From Lars Roland: set "patable.p_asn1_string_decode" to point to
"asn1_string_decode()", not to "asn1_octet_string_decode()".

svn path=/trunk/; revision=7624
2003-05-01 18:05:27 +00:00
Richard Sharpe a077db4aa3 Some more hacking to add NetWkstaTransportEnum recognition and fill in
the two holes with unknowns.

svn path=/trunk/; revision=7623
2003-05-01 17:53:22 +00:00
Gerald Combs c5f6451d30 Bump the version number to 0.9.12. Make NEWS and ChangeLog current.
The next release will likely be tomorrow (May 1).

svn path=/trunk/; revision=7622
2003-05-01 03:09:54 +00:00
Richard Sharpe c9dda2a5ce Added the OS/2 info levels. Now only go a few of the NT ones left. About 15.
svn path=/trunk/; revision=7621
2003-05-01 00:43:37 +00:00
Richard Sharpe d65b1be5bd Add some more info levels to the NetWkstaSetInfo stuff ...
It is actually dissected in common with both GetInfo and SetInfo, but we
should never see many of these info levels with GetInfo.

There are some more levels to do, esp some relevant to OS/2 etc ...

svn path=/trunk/; revision=7620
2003-05-01 00:23:47 +00:00
Richard Sharpe 164ad9ed09 Complete the dissection of NetWkstaSetInfo, wheeee, this is fun, plonk.
There are still some info levels that are not dissected, so I will fill
those in over the next few days, unless someone else gets to it first.

svn path=/trunk/; revision=7619
2003-04-30 23:53:42 +00:00
Guy Harris 0242a26c59 The typedefs in plugins/plugin_table.h must have "addr_" in front of the
function name; make it so.

Eliminate the duplicate entry for "except_throw" and the duplicate code
for it.

svn path=/trunk/; revision=7618
2003-04-30 23:40:43 +00:00
Richard Sharpe 995c9980e7 This is fun, write a small bit of code in VC++, and I get another one
of the WKSSVC RPCs. Here we have NetWkstaSetInfo, but we don't know the
info levels as yet. However, it looks like lmwksta.h has all the info we
need.

svn path=/trunk/; revision=7617
2003-04-30 23:31:51 +00:00
Guy Harris a445b09127 Incorporate the AODV6 dissector into the AODV dissector (AODV6 appears
to just be an extension to AODV - and the dissectors use the same port,
which doesn't work unless there's only one dissector).

svn path=/trunk/; revision=7616
2003-04-30 23:21:19 +00:00
Guy Harris 87f15438a0 Fix up the overlap checks in the fragment_add_seq functions for
fully-reassembled packets.

svn path=/trunk/; revision=7615
2003-04-30 22:13:05 +00:00
Richard Sharpe ceda2ebc32 Cosmetic cleanup of the NetWkstaGetInfo info level 502 reply structure ...
svn path=/trunk/; revision=7614
2003-04-30 22:00:22 +00:00
Richard Sharpe 49d55f2076 Continue decoding info_502 from NetWkstaGetInfo ... still some cosmetic
stuff to do :-)

svn path=/trunk/; revision=7613
2003-04-30 21:29:06 +00:00
Richard Sharpe 3718b5a8ea Dissect part of an info level 502 for a NetWkstaGetInfo request ... rest
later ...

svn path=/trunk/; revision=7612
2003-04-30 20:26:02 +00:00
Guy Harris dcae08c20b From Matthijs Melchior: export the exception mechanism routines to
plugins on platforms on which plugins need to use the table of functions
exported to plugins.

svn path=/trunk/; revision=7611
2003-04-30 19:19:15 +00:00
Guy Harris 9c57931c5d From Kaloian Stoilov: add a subtree for the MSTI flags.
svn path=/trunk/; revision=7610
2003-04-30 18:55:32 +00:00
Richard Sharpe 89d6859d4f Ahhh, that is better. Now I can dissect the request properly.
Why did they code the IDL such that an empty user info structure is sent
over in the request.

svn path=/trunk/; revision=7609
2003-04-30 17:45:04 +00:00
Richard Sharpe a70def961c Complete the dissection of NetWkstaEnumUsers with responses handled now.
However, while I get the info out, there is a problem in that I am not
quite sure that the IDL is correct and that entries read is handled properly.

svn path=/trunk/; revision=7608
2003-04-30 17:32:07 +00:00
Gerald Combs 0b9bbbbdb6 Modify tvb_get_nstringz*() to behave more like snprintf(). Make changes
where necessary to reflect the new behavior.

svn path=/trunk/; revision=7607
2003-04-30 02:35:28 +00:00
Jörg Mayer 5174f6075e Tiny update
svn path=/trunk/; revision=7606
2003-04-29 23:58:00 +00:00
Richard Sharpe da09c4bc1c This fixes up the decode at the expense of adding some junk fields ...
I can send a capture to anyone who wants ...

svn path=/trunk/; revision=7605
2003-04-29 23:28:36 +00:00
Richard Sharpe 083c37d912 Start dissecting, but the IDL looks wrong. It looks like a couple of the
out parameters were included, like maybe the bufptr, and one of the other
fields that is a LPDWORD got included ... and prefmaxlen is further down ...

svn path=/trunk/; revision=7604
2003-04-29 23:14:46 +00:00
Guy Harris 1025817e84 Add a "proto_item_set_end()" routine that sets the length of an item
given a tvbuff/offset pair referring to the byte past the end of the
item.  Use it in one place in the SMB dissector (there are plenty of
other places where it could be used as well).

svn path=/trunk/; revision=7603
2003-04-29 21:27:19 +00:00
Richard Sharpe 925a9396fb Confirm a simple theory. Write small VC++ program to call NetWkstaEnumUsers
and watch for the RPC to be sent. Grab RPC OpNum from trace, and increase
our knowledge of these RPCs.

Next to code up the dissectors, and then on to NetWkstaSetInfo etc. MSDN has
lots of info ...

svn path=/trunk/; revision=7602
2003-04-29 21:06:27 +00:00
Guy Harris daeac95d4a Don't export "osinl_subdissector_table" or "ppp_subdissector_table" -
have other dissectors that use them fetch them with
"find_dissector_table()".

svn path=/trunk/; revision=7601
2003-04-29 17:56:49 +00:00
Guy Harris 74e3d695fc Don't export "ip_dissector_table" explicitly; now that we have
"find_dissector_table()", have the IPv6 and IPSEC dissectors fetch the
IP dissector table by name.

svn path=/trunk/; revision=7600
2003-04-29 17:24:35 +00:00
Guy Harris e29579a74a Typo fix, from Laurent Rabret.
svn path=/trunk/; revision=7599
2003-04-29 16:57:05 +00:00
Ronnie Sahlberg e2366017eb Fix display bug for interval. Interval was displayed as seconds and not in
ms units.

Fix conversion bug when converting from float to integer.

svn path=/trunk/; revision=7598
2003-04-29 08:47:20 +00:00
Guy Harris b79fee5760 iSNS support, from Garth Bushell.
svn path=/trunk/; revision=7597
2003-04-29 02:55:14 +00:00
Gerald Combs a253aa6a7d Add entries for March.
svn path=/trunk/; revision=7596
2003-04-29 02:33:47 +00:00
Guy Harris 5c6ec9109d From Jean-Baptiste Marchand: fix typo in value_string table for LDAP
message types.

svn path=/trunk/; revision=7595
2003-04-29 02:15:32 +00:00
Guy Harris 8a100faa80 From Yaniv Kaul - remove the check for the SafeNet VID, as that's not
SafeNet's VID.

svn path=/trunk/; revision=7594
2003-04-28 20:03:37 +00:00
Guy Harris 22ad95955e From Yaniv Kaul: check a reserved field against 0 (the RFC specifies it
must be zero), and displays an indication of whether it's zero or not.

svn path=/trunk/; revision=7593
2003-04-28 19:24:48 +00:00
Ronnie Sahlberg be831f9845 dissect_nt_access_mask() sometimes ami is NULL.
check that it is non-NULL before we dereference it.

svn path=/trunk/; revision=7592
2003-04-28 10:42:14 +00:00
Tim Potter e3dabb27e2 Move the specific rights dissection function and name into a structure
instead of passing them around as separate parameters.  This is a
prelude to adding generic and standard mapping to the access mask
dissection.

svn path=/trunk/; revision=7591
2003-04-28 04:44:54 +00:00
Gerald Combs b2f936ff24 Fix several buffer and integer overflow issues discovered by Timo Sirainen.
tvbuff.c:

  Lots of existing code assumes that you can safely do the following:

    #define MAX_BUF 64
    guint8 *buf[MAX_BUF];
    ...

    tvb_get_nstringz0 (tvb, offset, MAX_BUF, buf, &bytes_copied);

  In reality, tvb_get_nstringz*() can potentially write one byte past
  "buf".  Modify _tvb_get_nstringz() not to do that.

packet-ppp.c:

  Check for a valid BAP suboption length.

packet-mount.c:

  Fix a possible integer overflow in dissect_group().

svn path=/trunk/; revision=7590
2003-04-28 04:03:26 +00:00
Guy Harris 4b4b030e51 From Matthijs Melchior: fix "asn1_bits_decode()", and make its API more
closely resemble that of other decode routines.

svn path=/trunk/; revision=7589
2003-04-28 00:31:26 +00:00
Guy Harris 4915f5e6a2 Note some weirdness seen in some captures, where the direction flag in
the SMB isn't set on replies.

svn path=/trunk/; revision=7588
2003-04-27 23:52:11 +00:00
Guy Harris 6c5fa1820b From Lars Roland: document the "mgcp,rtd" tap for Ethereal, and improve
the documentation for that tap for Tethereal.

svn path=/trunk/; revision=7587
2003-04-27 21:52:24 +00:00
Guy Harris 03446b0756 From Lars Roland: add routines to use when creating statistics windows
(at least with GTK+ 1.2[.x]), and make the MGCP statistics routine use
them.  The routines use a GtkCList and make it scrollable.

svn path=/trunk/; revision=7586
2003-04-27 21:50:59 +00:00
Guy Harris b27230342d Use "tvb_format_text()" to format the string in "cb_str_postprocess()",
to avoid problems with non-printable characters.

svn path=/trunk/; revision=7585
2003-04-27 21:48:46 +00:00
Laurent Deniel 4e9e699536 Replace some unchecked malloc calls by g_malloc.
svn path=/trunk/; revision=7584
2003-04-27 20:57:58 +00:00
Richard Sharpe 5f98b6206f Update some more names ...
svn path=/trunk/; revision=7583
2003-04-27 17:46:15 +00:00
Jörg Mayer 1032b043e8 Newer build tools generate the following warning:
Makefile.am:99: `YFLAGS' is a user variable, you should not override it;
Makefile.am:99: use `AM_YFLAGS' instead.

Fix it in the proposed way.

svn path=/trunk/; revision=7582
2003-04-27 09:16:36 +00:00
Richard Sharpe 1834fb882a Add support for level 102 info ...
svn path=/trunk/; revision=7581
2003-04-27 06:23:16 +00:00
Richard Sharpe dd570bd1fd Let's have the correct name for this sucker.
svn path=/trunk/; revision=7580
2003-04-27 06:16:57 +00:00
Richard Sharpe 127d506e0f Add mode info levels for NetWkstaGetInfo. Praise be for MSDN :-)
svn path=/trunk/; revision=7579
2003-04-27 06:11:45 +00:00
Ronnie Sahlberg 0ffdb95a21 Added decoding of EnumServicesStatus request packets
svn path=/trunk/; revision=7578
2003-04-27 06:05:43 +00:00
Ronnie Sahlberg 027bf69613 Added function QueryServiceLockStatus
svn path=/trunk/; revision=7577
2003-04-27 04:38:10 +00:00
Tim Potter fea3d754fd Call dissect_nt_status() instead of dissect_ndr_uint32() when dissecting
return status codes.

svn path=/trunk/; revision=7576
2003-04-27 04:33:10 +00:00