Commit Graph

7557 Commits

Author SHA1 Message Date
Tim Potter f7c07ddbae Don't try and dissect a zero length NTLM response as a NTLMv2 response.
svn path=/trunk/; revision=7647
2003-05-07 04:32:59 +00:00
Tim Potter c7cf9a4207 Parse a NTLMv2 response blob as documented in
http://ubiqx.org/cifs/SMB.html#8, para 2.8.5.3

Convert some magic numbers to constants in dissect_ntlmssp_address_list()

svn path=/trunk/; revision=7646
2003-05-07 04:07:45 +00:00
Guy Harris f4119ebe85 From Yaniv Kaul: show MBZ flags as either OK if 0 or incorrect if not 0.
svn path=/trunk/; revision=7645
2003-05-07 03:00:32 +00:00
Guy Harris 48de87a3cd Declare "host_name_lookup_process()" regardless of whether HAVE_GNU_ADNS
is defined (as it's defined, and called, regardless of whether
HAVE_GNU_ADNS is defined), and get rid of the extra declarations of the
ADNS support routines.

svn path=/trunk/; revision=7644
2003-05-05 08:20:01 +00:00
Guy Harris b22ecdab25 From Yaniv Kaul: handle DNSSEC DO/OK bit in OPT pseudo-RR.
svn path=/trunk/; revision=7643
2003-05-05 08:14:31 +00:00
Guy Harris fe42cc9dd8 From Mark C. Brown:
Following fixes for nettl (HP-UX):

	1) Fixed 11.X timestamp issue
	      there is no difference in 10.X/11.X timestamps, so no
	      need to shift 11.X timestamps
	2) Fixed NS_LS_DRIVER trace record handling
	      now works rather than throwing "...network type that
	      Ethereal doesn't support" error
	3) Fixed handling of traces with sliced packets (nettl -m xx)
	      now uses correct packet and capture lengths
	4) Additional ethernet card support
	      now handles btlan[1,3-6],gelan,igelan,intl100 driver
	      trace records

svn path=/trunk/; revision=7642
2003-05-05 01:01:36 +00:00
Guy Harris 6d6a37b5d2 Provide stub versions of "host_name_lookup_init()",
"host_name_lookup_process()", and "host_name_lookup_cleanup()" if we
don't have GNU ADNS, so that Ethereal compiles without GNU ADNS.

Declare the argument lists of "host_name_lookup_init()" and
"host_name_lookup_cleanup()" as empty, C89-style, rather than as
unknown.

svn path=/trunk/; revision=7641
2003-05-05 00:53:06 +00:00
Gerald Combs 1d9b54fc07 Add support for asynchronous DNS updates using the GNU ADNS library.
Support can be enabled at configure time by using "--with-adns=DIR".
If support is enabled, async queries happen whenever host name resolution
is enabled.  Do we need a separate preference for async queries?

Currently, only IPv4 reverse queries are supported.  I can add IPv4 forward
lookup support, but I don't have any way to test IPv6 queries.

svn path=/trunk/; revision=7640
2003-05-04 18:50:56 +00:00
Michael Tüxen 5cc92eeb86 Updated the version 06 of the ID support to version 08. Therefore versions
02 and 08 are now supported.

svn path=/trunk/; revision=7639
2003-05-04 09:43:49 +00:00
Michael Tüxen 37c5fedb3f fixed a bug in te handling of the message type field for version 06 of the ID.
svn path=/trunk/; revision=7638
2003-05-04 09:33:15 +00:00
Laurent Deniel d896d69930 SNMP dissector enhancements:
- display OID in info column

- preference added to disable such a display

- add new function new_format_oid to retrieve both
  decoded and non decoded OID strings

- add OID display filter for both decoded and non decoded strings

- add Error Status display filter

svn path=/trunk/; revision=7637
2003-05-03 15:23:15 +00:00
Guy Harris 5105311cb1 Add a note about the "val_to_string_repr" and "string_repr_len" for
ftypes, and how to add them to more types and use them in more places.

svn path=/trunk/; revision=7636
2003-05-03 01:11:29 +00:00
Guy Harris ca318813a4 Rename "proto_alloc_dfilter_string()" to
"proto_construct_dfilter_string()", to more accurately reflect what it
does.

Give it, and "proto_can_match_selected()", an "epan_dissect_t *"
argument, which replaces the raw data pointer argument to
"proto_construct_dfilter_string()".

For fields that don't have a type we can directly filter on, we don't
support filtering on the field as raw data if:

	the "epan_dissect_t *" argument is null;

	the data source tvbuff for the field isn't the tvbuff for the
	"epan_dissect_t" in question (i.e., it's in the result of a
	reassembly, and "frame[N:M]" can't get at it).

Trim the length the raw data in the case of such a field to the length
of the tvbuff for the "epan_dissect_t" in question, so we don't go past
it.  Fetch the raw data bytes to match from that tvbuff.

Have "proto_construct_dfilter_string()" return a null pointer if it
can't construct the filter string, and have "protocolinfo_packet()" in
the tap-protocolinfo tap ignore a field if
"proto_construct_dfilter_string()" can't construct a filter string for
it - and have it pass NULL as the "epan_dissect_t *", for now.  If
somebody decides it makes sense to dump out a "frame[N:M] =" value for
non-registered fields, it can be changed to pass "edt".

svn path=/trunk/; revision=7635
2003-05-03 00:48:37 +00:00
Guy Harris a8f171f2ff From Tony Schene: AUTH_GSSAPI support.
Replace "proto_item_set_len()" with "proto_item_set_end()", and get rid
of the "old_offset" variables the "proto_item_set_len()" calls required.

svn path=/trunk/; revision=7634
2003-05-02 21:58:23 +00:00
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