Commit graph

7643 commits

Author SHA1 Message Date
Guy Harris
bf10523c44 From Greg Morris: change the endianness of CCFilehandle to match other
NCP's.

svn path=/trunk/; revision=7633
2003-05-02 21:26:47 +00:00
Gerald Combs
057716942d Final changes for 0.9.12.
svn path=/trunk/; revision=7631
2003-05-02 00:46:18 +00:00
Guy Harris
f159d43773 From Jeff Morriss: clean up some column setting calls (as a result of
the recent changes to use the column fence stuff?).

svn path=/trunk/; revision=7630
2003-05-01 21:42:56 +00:00
Guy Harris
6ebe97393b From Jeff Morriss: fetch both bytes of the message type in V2 and V6
headers.

svn path=/trunk/; revision=7629
2003-05-01 21:38:43 +00:00
Guy Harris
f9037afd44 From Matthijs Melchior: don't export functions also implemented as
macros, and do export "except_pop()" and "except_setup_try()".

svn path=/trunk/; revision=7628
2003-05-01 21:10:43 +00:00
Richard Sharpe
687128c3f0 Fix up the name of NetWkstaUserEnum and add NetWkstaTransportEnum
svn path=/trunk/; revision=7627
2003-05-01 19:51:37 +00:00
Guy Harris
72cc048ae1 From Olivier Biot:
* Support correct processing of code page switches
* Provide a new datatype containing scarce array of
  const value_string arrays (value_valuestring)
  allowing an efficient support for WBXML code pages.
* Minor fix (XML PI was always decoded without
  mapping known tokens)
* Add support for decoding of more WBXML content
  types (SyncML 1.0, SyncML 1.1, CHANNEL 1.0, EMN 1.0).

svn path=/trunk/; revision=7626
2003-05-01 18:18:20 +00:00
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