Commit Graph

4376 Commits

Author SHA1 Message Date
Guy Harris 4e013a44de Reassembly of fragmented NT Transaction responses, from Ronnie Sahlberg.
svn path=/trunk/; revision=4421
2001-12-18 08:55:49 +00:00
Guy Harris f370747531 From Ronnie Sahlberg: dissect security descriptor flags.
Clean up the display of the access control list entry flags.

Treat the access control list entry mask bits as NT permission bits (as
that's what they are).

svn path=/trunk/; revision=4420
2001-12-18 08:27:06 +00:00
Guy Harris 3ba6c2e708 Get rid of calls to "proto_is_protocol_enabled()" in heuristic
dissectors - the infrastructure for calling heuristic dissectors won't
call a heuristic dissector for a protocol if the protocol isn't enabled,
so there's no need for the dissector itself to check that.

svn path=/trunk/; revision=4419
2001-12-17 23:17:34 +00:00
Guy Harris 4eb3462238 Check whether the protocol for a DCERPC subdissector is enabled, and
don't call the subdissector (or even create a subtree for the protocol)
if it's not enabled.

Save the current protocol string, and set it to the string for the
subdissector's protocol, before calling the subdissector, and restore it
after the subdissector returns.

svn path=/trunk/; revision=4418
2001-12-17 23:08:51 +00:00
Guy Harris ee04f7826f Now that the GIOP dissector sets "pinfo->current_proto" before calling
subdissectors, the subdissectors don't have to set it themselves.

svn path=/trunk/; revision=4417
2001-12-17 22:51:42 +00:00
Guy Harris 3c2c59b9c9 Save the current protocol string, and set the current protocol string to
the string for the subdissector's protocol, before calling a GIOP
subdissector, and restore it before returning.

svn path=/trunk/; revision=4416
2001-12-17 22:45:18 +00:00
Guy Harris b2533029da From Frank Singleton: change ethereal_gen.py to match the current
calling sequence for "check_col()" and "col_add_str()".

While we're at it, change it to use "col_set_str()" rather than
"col_add_str()", and to clear the Info column as well.

svn path=/trunk/; revision=4415
2001-12-17 22:31:42 +00:00
Guy Harris 2953cd1a97 From Irfan Khan: fix a couple of bugs in the pppdump reader.
svn path=/trunk/; revision=4414
2001-12-17 22:22:42 +00:00
Guy Harris 1409de29e4 Put in a note about labels requiring statements following them.
svn path=/trunk/; revision=4413
2001-12-17 08:35:09 +00:00
Guy Harris d0e97c05e8 Get rid of some more "goto"s with the same problem.
svn path=/trunk/; revision=4412
2001-12-17 08:31:26 +00:00
Guy Harris 9f92391a51 Get rid of a "goto"; the problem was found by Motonori Shindo, as it was
another case of a goto label with no statement after it, but it's a
little bit cleaner without the goto.

svn path=/trunk/; revision=4411
2001-12-17 08:27:00 +00:00
Gerald Combs 9c4f798996 The low color KDE icons were actually XPM-formatted files with a .png
extension.  Oops.

svn path=/trunk/; revision=4410
2001-12-17 01:18:57 +00:00
Guy Harris c52144b652 M2TP support, from Heinz Prantner.
svn path=/trunk/; revision=4409
2001-12-16 22:30:11 +00:00
Guy Harris 794f0c04f4 Add an extra argument to "epan_dissect_new()" that indicates whether the
display representation should be put into protocol tree items if a
protocol tree is to be constructed; have it set "proto_tree_is_visible"
from that argument.

svn path=/trunk/; revision=4408
2001-12-16 22:16:14 +00:00
Guy Harris da82313eb3 From Tim Potter: dissect some of the LSA RPCs stub data.
svn path=/trunk/; revision=4407
2001-12-16 20:17:10 +00:00
Guy Harris 8d3bd64e6c More MSRPC->DCERPC, from Tim Potter.
svn path=/trunk/; revision=4406
2001-12-16 20:08:22 +00:00
Guy Harris 0ff9471830 NT ACL structure dissection, from Ronnie Sahlberg.
svn path=/trunk/; revision=4405
2001-12-15 23:59:23 +00:00
Guy Harris e939751070 Rename "ethereal.desktop" to "Ethereal.desktop", so that it'll show up
on a desktop as "Ethereal".

Add a "BinaryPattern" entry; I think this is KDE-specific, and causes
KFM (and Konqueror, I suspect) to tag any executable file that matches
the pattern as being an Ethereal binary (or, at least, to tag some
executable files in that fashion), so make it match both "ethereal" and
"ethereal-static".

svn path=/trunk/; revision=4404
2001-12-15 23:56:04 +00:00
Guy Harris c7a0fd23e9 Add a ".desktop" file, based on the Red Hat one for KDE; it includes
some fields not in the current version of the Free Desktop Group's
Desktop Entry Standard.

Update "Makefile.am" so that the ".desktop" file and the new image files
are in the release tarball.

svn path=/trunk/; revision=4403
2001-12-15 22:29:50 +00:00
Guy Harris a6bdbed3f1 Note that "ethereal48x48-trans.png" has a transparent background and
"ethereal48x48.png" has a white background.

svn path=/trunk/; revision=4402
2001-12-15 21:55:43 +00:00
Guy Harris 47ba93139e Support for LOCATION_FORWARD, LOCATION_FORWARD_PERM and
NEEDS_ADDRESSING_MODE replies in GIOP, from Bernd Becker.

svn path=/trunk/; revision=4401
2001-12-15 20:40:19 +00:00
Gerald Combs 0fc14ecf1f Add KDE Icon Factory Styleguide-compliant icons, along with a text file
describing the files in the "image" directory.

svn path=/trunk/; revision=4400
2001-12-15 20:29:45 +00:00
Ed Warnicke f6fac5be80 Added handling for all of the subfields of SDP.
svn path=/trunk/; revision=4399
2001-12-15 20:22:47 +00:00
Guy Harris c139b9138a From Ronnie Sahlberg: new infrastructure to reassemble packets where
fragments are identified by block sequence numbers and not byte offsets.

svn path=/trunk/; revision=4398
2001-12-15 05:40:32 +00:00
Guy Harris 7286bb4c0e Fix an incorrect entry for the "Media Attribute" item.
Clean up the entry for the protocol version item.

svn path=/trunk/; revision=4397
2001-12-15 05:37:43 +00:00
Guy Harris 3ccae74e5e NT security descriptor dissection, from Ronnie Sahlberg.
svn path=/trunk/; revision=4396
2001-12-15 04:35:50 +00:00
Ed Warnicke 73469b8528 Added hf fields for all of the top level field types.
svn path=/trunk/; revision=4395
2001-12-13 21:49:22 +00:00
Guy Harris f589b96f81 Fix up the comment on "set_main_window_name()" (I'm not sure why I put
that note in about KWM, unless I was noting that the title bar entry for
a window has the window title rather than the icon title, but, as we're
setting both, I'm not sure it's relevant), and change the name of its
argument, as it's used to set both the window and icon titles.

Add some more information to the comments for "reactivate_window()" and
"window_icon_realize_cb()".

svn path=/trunk/; revision=4394
2001-12-13 09:26:15 +00:00
Gilbert Ramirez f7b8847a38 Plug a really bad memory leak. The GPtrArrays of field_info's that
are created for every tested field for every tested packet during
a dfilter run were not being destroyed.

svn path=/trunk/; revision=4393
2001-12-13 05:55:23 +00:00
Gilbert Ramirez d11f1dd6fb Get rid of newly-introduced signed/unsigned comparison warning.
svn path=/trunk/; revision=4392
2001-12-13 05:50:51 +00:00
Gilbert Ramirez 82380ce2c4 Don't leak memory when closing a pppdump trace file.
The second argument to g_ptr_array_free() does not indicate to
glib to free the objects that the pointers in the GPtrArray refer to,
but simply whether or not the free the block of pointers.  We have
to free the objects ourselves.

svn path=/trunk/; revision=4391
2001-12-13 05:49:13 +00:00
Gerald Combs 7e092f2dd8 Go nuts with the 3D logo.
Add a routine to ui_util.c that sets a window's icon pixmap to a 16x16
version of the 3D logo.  Call the routine for each window that is created.
This has been tested with kwm and Sawfish (which expect a 16x16 icon), but
we may have to come up with a better solution for other window managers
(e.g. olwm and mwm).

Add a 3D exclamation point image.  Replace the exclamation point and
Ethereal logo images used in simple_dialog() with their 3D counterparts.

Remove the old icons from the source distribution.

svn path=/trunk/; revision=4390
2001-12-12 21:39:01 +00:00
Guy Harris a93f4f8515 Add the Diameter dictionary stuff to the list of installed files.
Also mark those files as configuration files; "dictionary.xml" should
definitely be one, as it could be modified by the administrator if other
XML dictionary files are added to the list at the end, and the other
ones might be modified if there are any protocol changes.

svn path=/trunk/; revision=4389
2001-12-12 08:00:35 +00:00
Guy Harris df152c2a22 From Motonori Shindo: delete installed data files on a Windows
uninstallation.

svn path=/trunk/; revision=4388
2001-12-12 07:52:23 +00:00
Gerald Combs 3dedae14f9 Work around changes made to recent Red Hat ucd-snmp packages. See
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=57421

for details.

svn path=/trunk/; revision=4387
2001-12-12 05:26:53 +00:00
Guy Harris 8bae6e2e3d From Motonori Shindo: add "*.pdb" to the ".cvsignore" files in
directories in which PDB files are generated and in which it wasn't
already present.

svn path=/trunk/; revision=4386
2001-12-12 01:39:44 +00:00
Guy Harris 39362af814 From Motonori Shindo:
fix a bogus batch mode inference rule of make, so that
	"vc60.pdb" files are created in the proper directory;

	delete ".pdb" files in a "nmake -f Makefile.nmake clean";

	include the text2pcap and mergecap ".pdb" files in the Windows
	binary distribution.

svn path=/trunk/; revision=4385
2001-12-12 01:29:13 +00:00
Guy Harris c5b1e310e3 From Motonori Shindo: add a cast of "ip" to "guint8 *" so pointer
arithmetic can be done on it.

svn path=/trunk/; revision=4384
2001-12-12 01:19:28 +00:00
Jeff Foster 0d43503a56 Fixed the response code display for version 5 socks per Mark S. Allen.
Fixed some of the filter fields.

svn path=/trunk/; revision=4383
2001-12-11 21:35:01 +00:00
Gilbert Ramirez ad43530063 Update mtp3 dissector. Add mtp2 dissector.
From ichael Tuexen <Michael.Tuexen@micmac.franken.de>

svn path=/trunk/; revision=4382
2001-12-11 03:04:26 +00:00
Guy Harris 975be62d24 Put in a comment indicating that even loading a one-byte field from an
unaligned data structure could get an unaligned load fault on Alpha.

svn path=/trunk/; revision=4381
2001-12-10 23:27:25 +00:00
Guy Harris be4179a865 Test the link-layer type of the frame being looked at, not the
currently-selected frame - they're not necessarily the same.

svn path=/trunk/; revision=4380
2001-12-10 21:42:02 +00:00
Guy Harris b2d9276356 Use the encapsulation type of the current frame to decide what
link-layer header it has.

svn path=/trunk/; revision=4379
2001-12-10 21:26:25 +00:00
Guy Harris 3e55e6702f Get rid of the stuff to use bitfields to dissect IP and TCP headers -
bitfields are a pain to use when dealing with structures with a fixed
layout in memory (you have to worry about bit order, for example).

Don't assume that the Ethernet header is aligned on a 2-byte boundary -
use "pntohs()" to extract stuff from it.  (Perhaps C will force it onto
a 2-byte boundary, but why take chances, and why leave the code
vulnerable to changes outside this module?)

Don't assume that the pointers to the IP and TCP headers are nicely
aligned - use "memcpy()", not structure assignment, to copy the headers.
(They're probably *not* nicely aligned on platforms that require 4-byte
alignment of 4-byte integral quantities; the code was dumping core on
SPARC with an alignment error.)

Don't even make those pointers be pointers to structures, as that may
cause the C compiler to generate in-line 4-byte loads and stores for
"memcpy()" (in fact, it *did* do so with GCC 2.95.1 on SPARC), which has
the same problem as structure assignment.

Don't test the IP protocol number twice when handling PPP.

svn path=/trunk/; revision=4378
2001-12-10 21:19:13 +00:00
Gilbert Ramirez 156abcce61 Change a printf() error message to a simple_dialog() error message.
svn path=/trunk/; revision=4377
2001-12-10 20:34:52 +00:00
Guy Harris fcda4ee579 Get rid of all mentions of old-style dissectors, and fix up an example
to reflect tvbuff-based access to packet data.

Update calls that deal with columns to pass "pinfo->cinfo" rather than
"pinfo->fd".

Update the example of preference registration to reflect the replacement
of the BXXP dissector with the BEEP dissector.

svn path=/trunk/; revision=4376
2001-12-10 06:31:49 +00:00
Guy Harris 3658c6ce7e Add some additional comments.
svn path=/trunk/; revision=4375
2001-12-10 03:25:58 +00:00
Guy Harris 0fab2ae6d5 Remove some extra blank lines.
svn path=/trunk/; revision=4374
2001-12-10 02:16:59 +00:00
Guy Harris 0823c63775 The packet length is an unsigned quantity; print it with "%u".
If we get an illegal column type in "fill_in_columns()", crash.

svn path=/trunk/; revision=4373
2001-12-10 02:15:54 +00:00
Guy Harris dca6cf394f Don't fill in the columns if we're writing to a capture file.
Don't fill in the columns if we're in verbose mode.

svn path=/trunk/; revision=4372
2001-12-10 02:12:53 +00:00