Commit Graph

8674 Commits

Author SHA1 Message Date
Guy Harris 7cff735ffb From Michael Lum: get rid of an unused value_string table.
svn path=/trunk/; revision=8768
2003-10-24 00:38:34 +00:00
Guy Harris 4d6e4cebc5 From Jim McDonough: add one more nt status code to
packet-dcerpc-smb.c that is often returned from the winreg abortshutdown
operation.

svn path=/trunk/; revision=8767
2003-10-24 00:36:06 +00:00
Guy Harris 4b2d927feb From Jim McDonough: add dissection of the shutdown, shutdownex, and
abortshutdown commands within the winreg pipe.

svn path=/trunk/; revision=8766
2003-10-24 00:35:29 +00:00
Ashok Narayanan 880564ef36 Added support for LMP draft version -09. Support for older draft
versions -02 and -03 is still present (since they are in use),
selectable by a protocol preference.

svn path=/trunk/; revision=8765
2003-10-23 18:49:50 +00:00
Ronnie Sahlberg 2f211fd8fb The ACL revision field is one byte, not 2 bytes.
svn path=/trunk/; revision=8764
2003-10-23 08:40:56 +00:00
Guy Harris 23f6549441 Non-NCP_SERVICE_REQUEST packets don't have a subfunction.
The group for a request isn't part of the packet, so give it an offset
and length of 0, so if you select it we doesn't highlight some part of
the packet.

svn path=/trunk/; revision=8763
2003-10-23 08:16:50 +00:00
Guy Harris b8f177df4b Treat NCP 0x5555 packets as NCP requests, so we store them in the hash
table and can identify replies to them.

Clean up white space.

Note that the "is_signed" hack doesn't work with Ethereal.

svn path=/trunk/; revision=8762
2003-10-23 07:52:56 +00:00
Guy Harris 81d8b5dcf2 Fix a call to "dissect_dcerpc_cn()" to handle the new return value.
svn path=/trunk/; revision=8761
2003-10-23 07:14:21 +00:00
Guy Harris ab536b6af8 Catch exceptions in "dissect_dcerpc_cn_bs()", so that if we get an
exception dissecting stuff past the DCE RPC header, we still drive on
and dissect the next PDU, if any.

svn path=/trunk/; revision=8760
2003-10-23 05:58:57 +00:00
Guy Harris a6aa843aa5 Get rid of the "offset" argument to "dcerpc_try_handoff()" - it's always
0.

In "dcerpc_try_handoff()", remove the authentication padding from the
stub data handed to the subdissector - that's not really stub data for
the subdissector, and it should throw an exception if the request or
response would go into the authentication padding.  Don't even try to
dissect the remaining stub data if the authentication padding value
consumes all the stub data or would consume even more than that.

Show any "Long frame" data before the authentication padding, and show
the authentication padding as the stuff at the very end of the stub
data, after the "Long frame" data.

Catch all exceptions when dissecting authentication information, so that
even if it's bad or we don't have all of it, we still dissect the stub
data.

Try dissecting authentication trailer information even if we don't have
all of it in the tvbuff - we want an exception to be thrown if we don't.
Don't try to dissect it if it eats into the stub data, however.

Don't bother catching exceptions in "dissect_auth_verf()" - we now
always catch exceptions in above it in the DCE RPC dissector call tree.

Use CATCH_ALL and "show_exception()" when calling the sub-dissector for
a connection-oriented PDU; that means we won't have to worry about
adding new exception types unless they're types that we should rethrow.

svn path=/trunk/; revision=8759
2003-10-23 05:23:41 +00:00
Guy Harris 78e089fa99 Add a "show_exception()" routine that takes an exception code as an
argument, and puts the appropriate exception indication into the tree.

In "dissect_frame()", do a CATCH_ALL for exceptions, and pass the
exception code to "show_exception()".

svn path=/trunk/; revision=8758
2003-10-23 05:01:39 +00:00
Guy Harris b60dec2b52 Add a new EXCEPT_CODE macro to get the exception code for the current
exception, for use in CATCH_ALL handlers, so you can catch all
exceptions and then pass the exception code on to a routine that handles
different exceptions differently.

svn path=/trunk/; revision=8757
2003-10-23 04:59:46 +00:00
Guy Harris 1052d5a2b5 Use -1 rather than "tvb_length(tvb)" to specify a length that covers the
entire tvbuff for Secure Channel bind credentials.

Use -1 rather than 0 to have the top-level item for Secure Channel ACK
credentials cover the entire tvbuff.

svn path=/trunk/; revision=8756
2003-10-23 04:57:46 +00:00
Guy Harris d3c1ad3d9c From Michael Lum: register with the ANSI A-interface dissector.
svn path=/trunk/; revision=8755
2003-10-23 00:16:20 +00:00
Guy Harris 44a967d7e6 From Ulf Lamping: add a preference to control whether to show or hide
the main toolbar (currently no GUI to set it; that's in progress).

svn path=/trunk/; revision=8754
2003-10-22 22:13:13 +00:00
Guy Harris 83980ea4ff From Yaniv Kaul: if there's more than one context item in a BIND PDU, show
the number of context items before showing the first one.

svn path=/trunk/; revision=8753
2003-10-22 21:26:40 +00:00
Guy Harris c95ce5ff45 From Yaniv Kaul:
remove the check on 3 ports only - since Yahoo! Messenger can
	stream on any port;

	remove the check that will not dissect if the packet is not big
	enough - as partial dissection is also helpful sometimes;

	the version is 2 bytes, not 4 bytes.

svn path=/trunk/; revision=8752
2003-10-22 21:21:05 +00:00
Guy Harris 8857c91a1d From Michael Lum:
BSSAP (GSM 08.06)/BSAP (IOS 4.0.1) support
	IOS 4.0.1 support
	Add Transport Layer support to ANSI IS-637-A dissector

svn path=/trunk/; revision=8751
2003-10-22 20:59:02 +00:00
Guy Harris 0d2ca9cd2b From Michael Lum: add new SSN values for RANAP, IOS, and BSSAP/BSAP, and
add a heuristic subdissector list.

svn path=/trunk/; revision=8750
2003-10-22 20:12:02 +00:00
Guy Harris 17ec0f5d19 Get rid of C++ comment.
svn path=/trunk/; revision=8749
2003-10-22 02:24:14 +00:00
Guy Harris c852ea1536 Get rid of carriage returns.
svn path=/trunk/; revision=8748
2003-10-22 02:22:21 +00:00
Ronnie Sahlberg a3c545a45b From Jaime Fournier
New protocol DCERPC/RS_BIND

Added stub dissector for the RS_BIND protocol

svn path=/trunk/; revision=8747
2003-10-22 02:07:39 +00:00
Ronnie Sahlberg 26b0638b60 From Jaime Fournier
New protocol DCERPC BUTC
Stub dissector for the BUTC interface

svn path=/trunk/; revision=8746
2003-10-22 02:03:44 +00:00
Ronnie Sahlberg 036dbb0859 From Jean-Baptiste Marchand
add function names for the TAPI interface

svn path=/trunk/; revision=8745
2003-10-22 01:55:04 +00:00
Ronnie Sahlberg 01d8f44de9 Fix to dissection of Mike's problem reported on ethereal-users
We did align to byte a bit too frequently inside dissect_per_octet_string

Also change GroupIP.group from being a FT_BYTES into being FT_STRING

svn path=/trunk/; revision=8744
2003-10-22 01:28:12 +00:00
Guy Harris 04674dc949 Catch exceptions when dissecting a verifier, so we still dissect the
stub data even if there's a problem dissecting the verifier.

Show stub data as "Encrypted stub data" if it's encrypted, "Decrypted
stub data" if it was encrypted but we decrypted it, and "Stub data" if
it wasn't encrypted.

Don't attempt to decrypt data unless it was encrypted (i.e., the
authentication level is "Packet privacy".

Get rid of "decrypted_data" member of "packet_info" structure - we don't
need it any more.

svn path=/trunk/; revision=8743
2003-10-21 07:17:16 +00:00
Guy Harris d4fcd2d0a9 Warn about Yet Another GCCism.
svn path=/trunk/; revision=8742
2003-10-20 23:07:43 +00:00
Guy Harris 86259d5a9e From Jesper Peterson: get rid of GCCism/C++ism - C89 doesn't allow
variables to be declared in the middle of executable code.

svn path=/trunk/; revision=8741
2003-10-20 23:05:41 +00:00
Guy Harris ef74a0b574 If a tap menu item doesn't have a "selected_packet_enabled()" or
"selected_tree_row_enabled()" routine, enable it by default, so that
tap windows can be popped up even if you have no capture file.

Assorted code cleanups.

svn path=/trunk/; revision=8740
2003-10-20 22:28:22 +00:00
Guy Harris e6251ad712 From Jim McDonough: add the text sservice name for a UUID/version string
at the top level of a floor, falling back to the UUID/version strings
themselves if the service isn't found.

Use #defines for protocol IDs.

svn path=/trunk/; revision=8739
2003-10-20 20:18:52 +00:00
Guy Harris b399d30883 From Brad Hards: support TCP desegmentation.
svn path=/trunk/; revision=8738
2003-10-20 19:25:48 +00:00
Guy Harris a3c157f00e From Anders Broman:
added decoding of Element IWFA(NSAP address) in IANA ICP format;

	fixed decoding of CODEC LIST.

svn path=/trunk/; revision=8737
2003-10-20 19:13:17 +00:00
Guy Harris 2f34cc8e1f From Ulf Lamping:
put toolbar separators in the right places;

	get rid of the "Capture Stop" button in Win32.

svn path=/trunk/; revision=8736
2003-10-20 19:07:18 +00:00
Olivier Abad 3b90e2f177 In fileopen_dir_changed_cb() :
- return FALSE immediately if the text entry is empty ;
- return FALSE at the end of the function so that the signal is sent to
  the entry. It avoids a Gtk-ERROR (and an abort) :
file: gtkentry.c: line 4338 (blink_cb): assertion failed:
GTK_WIDGET_HAS_FOCUS(entry))

svn path=/trunk/; revision=8735
2003-10-20 06:06:26 +00:00
Guy Harris 770604ccfa From Emanuele Caratti:
add support for multiple encryption keys, one per conversation,
	in a single capture;

	add some fields in the accounting dissection.

svn path=/trunk/; revision=8734
2003-10-19 17:30:43 +00:00
Guy Harris ec14e0e013 From Emanuele Caratti:
add the dissection of RIPv2 packets with Keyed Message Disest
	Authentication (RFC2082);

	fix a small bug - the Auth entry must be the first of the RTE in
	a RIP packet.

svn path=/trunk/; revision=8733
2003-10-18 18:46:37 +00:00
Guy Harris 3f279b85cb Fix a URL.
svn path=/trunk/; revision=8732
2003-10-17 23:44:06 +00:00
Guy Harris a64894be20 Fix up some comments.
svn path=/trunk/; revision=8731
2003-10-17 23:43:21 +00:00
Guy Harris 7e5234d842 From Greg Morris: don't add zero-length items to the tree, add some
missing alignment adjustments, fix a call to "address_item()" to set the
offset to its return value rather than adding its return value to the
offset, handle an object type of 2 (counted list of objects) in an event
handling profile, advance the offset past length values after processing
the length value.

Fix some additional "address_item()" calls, and put the aforementioned
length values into the protocol tree.

svn path=/trunk/; revision=8730
2003-10-17 22:59:18 +00:00
Guy Harris 2158c2b0e3 Update credits for Shinsuke Suzuki.
svn path=/trunk/; revision=8729
2003-10-17 21:28:02 +00:00
Guy Harris 13e68d3d27 From Shinsuke Suzuki: support Address List Option, newly introduced in
draft-ietf-pim-sm-v2-new-08.txt.

svn path=/trunk/; revision=8728
2003-10-17 21:27:34 +00:00
Guy Harris 406401ce6d From Shinsuke Suzuki:
- support RFC3319
        - update the RFC/i-d name
        - change the DHCPv6 option numbers to catch up with the
          latest IANA's assignment status

svn path=/trunk/; revision=8727
2003-10-17 21:26:56 +00:00
Olivier Abad daea60d65c From Olivier Biot : remove packet capture code when compiling without
libpcap.

svn path=/trunk/; revision=8726
2003-10-17 17:28:38 +00:00
Olivier Abad 3711ff5a7f Use gtk_tree_view_expand_to_path() in gtk2 code to expand a node, as it
also expands parent nodes if necessary.

svn path=/trunk/; revision=8725
2003-10-17 17:20:32 +00:00
Guy Harris 078d0e15c7 Further expand a comment.
svn path=/trunk/; revision=8724
2003-10-17 08:14:19 +00:00
Ronnie Sahlberg 9b3ff4fced destinationType is an EndPointType and NOT an EndPoint
svn path=/trunk/; revision=8723
2003-10-17 08:01:51 +00:00
Ronnie Sahlberg 4d97ee8e1e change the h225 emailid from a sequence of bytes to a string
svn path=/trunk/; revision=8722
2003-10-17 07:45:20 +00:00
Olivier Abad 121f855b6c Change the comments about toolbar elements resizing as it is not
necessary in GTK+ 2.x

svn path=/trunk/; revision=8721
2003-10-17 06:06:04 +00:00
Guy Harris ee5c9ff5b8 From Ulf Lamping: add a GUI preference item to control the toolbar
style.

Make the style text arrays static, as nobody uses them outside prefs.c.

Use FALSE and TRUE for the values for the Boolean controlling the
highlighting style.

Note that we're now using stock icons in the toolbar in GTK+ 2.x.

Put back the resizing of elements in the top-level container, at least
for GTK+ 1.2[.x]; otherwise, the toolbar's height never gets smaller,
even if you change the style in such a way as to reduce the height of
the elements (icons+text -> icons or text, icons -> text).

Make some routines and variables not used outside gtk/toolbar.c static.

svn path=/trunk/; revision=8720
2003-10-16 21:19:12 +00:00
Olivier Abad 106c1cea8b Put back Guy's changes from r1.3 (print callback, and "Find frame..."
tooltip).

svn path=/trunk/; revision=8719
2003-10-16 21:04:20 +00:00