Commit Graph

9656 Commits

Author SHA1 Message Date
Ulf Lamping ef57df088f a.) saving GTK1 and GTK2 fontnames in different preference setting, to prevent problems when switching between GTK1 and GTK2 ethereal versions
b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items
c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items
This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size.
The value is stored inside the recent file.
d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows.
This makes the program make a *lot* more feel like a normal win32 program.

svn path=/trunk/; revision=9753
2004-01-20 18:47:25 +00:00
Olivier Biot 3172f21ea5 From Anders Broman:
Append "/ISUP(ITU)" to the protocol column.

svn path=/trunk/; revision=9752
2004-01-20 18:30:25 +00:00
Olivier Biot ddd040d989 From Chris Wilson:
Use tcp_dissect_pdus() for SMPP dissection over TCP.

Also:

	Get rid of the (broken) loop in dissect_smpp() which is called
	dissect_smpp_pdu() now.
	Add a preference to enable reassembly of SMPP over TCP.

NOTE:

	The SMPP dissector currently uses a global variable static to
	packet-smpp.c for distinguishing between the first PDU and subsequent
	PDUs so the summary line can be set correctly.

svn path=/trunk/; revision=9751
2004-01-20 17:58:37 +00:00
Guy Harris 618c0e5e8b Get rid of declaration of no-longer-extant routine.
svn path=/trunk/; revision=9750
2004-01-20 02:36:04 +00:00
Guy Harris 290edaadd4 Put in missing GTK_STOCK_STOP #define for GTK+ 1.2[.x].
svn path=/trunk/; revision=9749
2004-01-20 02:35:31 +00:00
Ulf Lamping 1b852172e2 minor tooltip changes
svn path=/trunk/; revision=9748
2004-01-20 02:26:00 +00:00
Ulf Lamping ef9d4ada2d code cleanup and added some more
application specific stock items in toolbar.c,
use them where appropriate

svn path=/trunk/; revision=9747
2004-01-20 02:21:17 +00:00
Guy Harris c33dd9c7a4 From David Fort: use the checksum algorithm when computing the key ID
for all algorithms other than RSAMD5.

Make "compute_key_id()" return a "guint16", as the key IDs are 16-bit
and as it can no longer return -1 meaning "I don't know how to compute
the key ID for that algorithm".

svn path=/trunk/; revision=9746
2004-01-20 00:11:59 +00:00
Guy Harris 956837bd3e From Yaniv Kaul: add Shoutcast's ICY as a response(?).
svn path=/trunk/; revision=9745
2004-01-19 23:57:11 +00:00
Guy Harris fc7bbdd8d5 Free "media_type_str" once we've made the lower-cased copy - and refer
only to the lower-cased copy in subsequent code.

svn path=/trunk/; revision=9744
2004-01-19 23:48:05 +00:00
Guy Harris e28a53d402 DCE RPC statistics are maintained only by major version, not by major
and minor version.

svn path=/trunk/; revision=9743
2004-01-19 23:43:29 +00:00
Olivier Biot bc8d20be32 From Lars Ruoff: temporarily comment out the code for the "refresh" button;
register and unregister the tap listener in a thread-safe manner.

svn path=/trunk/; revision=9742
2004-01-19 23:35:32 +00:00
Olivier Biot 5eb042b862 Fix a double free bug introduced by the previous patch.
svn path=/trunk/; revision=9741
2004-01-19 23:08:02 +00:00
Guy Harris d4ab584f0f Move "ts_type_text" out of "epan/timestamp.h into "gtk/recent.c", as
it's only used in the latter; that avoids lots of warnings about
"ts_type_text" being defined but not used in other source files that
include "epan/timestamp.h".  (If it's going to be used in more than one
file, make it non-static and declare it "extern" in "epan/timestamp.h".)

Define TS_NOT_SET as ((ts_type)-1), and use that when initializing
"timestamp_type" in Ethereal and when checking to see whether
"timestamp_type" was set, to avoid signed vs. unsigned comparison
warnings.

Clean up indentation.

svn path=/trunk/; revision=9740
2004-01-19 23:03:20 +00:00
Guy Harris 439159f73d Make the signatures of "dcerpcstat_reset()", "dcerpcstat_packet()", and
"dcerpcstat_draw()" match what "register_tap_listener()" expects, to
squelch warnings.

svn path=/trunk/; revision=9739
2004-01-19 23:00:12 +00:00
Guy Harris b70ed7093e Before checking for SASL security stuff, make sure the bytes you're
going to check exist.

Doing so arranges that "tvb_reported_length_remaining(tvb, offset) is >=
5 (unless the reported length is less than the data length, but that
"shouldn't happen").  Instead of comparing "tvb_get_ntohl(tvb, offset) -
4" against "tvb_reported_length_remaining(tvb, offset)", which runs the
risk of giving a bogus answer if "tvb_get_ntohl(tvb, offset)" is < 4,
compare "tvb_get_ntohl(tvb, offset) against
"tvb_reported_length_remaining(tvb, offset)-4", as the latter is
guaranteed to be > 0 (and cast the latter expression to get rid of the
signed/unsigned comparison warning that caused me to notice this issue
in the first place).

svn path=/trunk/; revision=9738
2004-01-19 22:58:59 +00:00
Guy Harris 109c9f6f5e Put $(srcdir) in front of "make-version.pl", as is done for other
scripts.

svn path=/trunk/; revision=9737
2004-01-19 22:26:37 +00:00
Guy Harris 6757c92acc We need "cvsversion.h" in order to build stuff in the "gtk" directory.
svn path=/trunk/; revision=9736
2004-01-19 21:00:13 +00:00
Jörg Mayer 3e2633a0f4 char *drep -> guint8 *drep
svn path=/trunk/; revision=9735
2004-01-19 20:10:37 +00:00
Jörg Mayer 6f6fc13e5b Trivial signed/unsigned warning fixes
svn path=/trunk/; revision=9734
2004-01-19 18:36:32 +00:00
Jörg Mayer 193ed36457 Trivial warning fixes: func(void), not func()
svn path=/trunk/; revision=9733
2004-01-19 18:28:14 +00:00
Jörg Mayer db29a705cb Trivial signed/unsigned warning fixes
svn path=/trunk/; revision=9732
2004-01-19 18:23:01 +00:00
Jörg Mayer da5f6f9472 The current year is 2004
svn path=/trunk/; revision=9731
2004-01-19 18:21:18 +00:00
Ronnie Sahlberg c270a9a035 Update to CLDAP
dissect the CLDAP netlogon rpc call

svn path=/trunk/; revision=9730
2004-01-19 10:54:06 +00:00
Ulf Lamping 0353c5823f move timestamp format options from "View->Options" dialog into
menuitems under "View->Time Display Format".
renamed timestamp enum items e.g. from ABSOLUTE to TS_ABSOLUTE,
to prevent conflicting definitions with MSVC

svn path=/trunk/; revision=9729
2004-01-19 03:46:43 +00:00
Guy Harris c19c7677fb It appears that, for ISDN captures, the rules for whether there's 4
bytes of extra stuff at the end of the packet or not are the same as for
Ethernet and 802.11.

svn path=/trunk/; revision=9728
2004-01-19 02:23:18 +00:00
Guy Harris 7909c22d49 Include <string.h> to declare "strcasecmp()".
svn path=/trunk/; revision=9727
2004-01-19 01:00:58 +00:00
Ulf Lamping 453309c0c6 added some menuitems "View->Show" including show/hide of all main widgets,
saving the states in the recent file

svn path=/trunk/; revision=9726
2004-01-19 00:42:12 +00:00
Olivier Biot d2a8b3d2cc From Anders Broman:
Convert content type to lowercase, and save pinfo->prvate_data before
	handing off to a subdissector.

svn path=/trunk/; revision=9725
2004-01-18 23:21:20 +00:00
Gerald Combs 0d2b82ba7c Note that Jeff Weston is now the maintainer.
svn path=/trunk/; revision=9724
2004-01-18 16:48:24 +00:00
Jörg Mayer 40b837c98d Add -Wstrict-prototypes to extra-gcc-checks
svn path=/trunk/; revision=9723
2004-01-18 16:24:58 +00:00
Jörg Mayer e68ca30d10 Fix warnings found by -Wstrict-prototypes
svn path=/trunk/; revision=9722
2004-01-18 16:21:12 +00:00
Jörg Mayer aa411b1861 Fix warnings found by -Wstrict-prototypes
svn path=/trunk/; revision=9721
2004-01-18 15:57:47 +00:00
Jörg Mayer 76c7e98449 Fix some of the warnings when compiling with -Wstrict-prototypes
svn path=/trunk/; revision=9720
2004-01-18 15:53:43 +00:00
Jörg Mayer fac68ec7a8 Warning fix when compiling with -strict-prototypes
../../epan/dfilter/drange.h:62: warning: function declaration isn't a prototype
../../epan/dfilter/drange.h:83: warning: function declaration isn't a prototype

svn path=/trunk/; revision=9719
2004-01-18 15:34:23 +00:00
Jörg Mayer ab37702076 Remove unused rule to build packet-asn1-static.o
svn path=/trunk/; revision=9718
2004-01-18 14:08:28 +00:00
Guy Harris eaf42827f3 Give the IrDA dissector its own private value_string table for the frame
type in the IrLAP control field - on most UNIXes the dissector should be
able to use the table from the main program, but that doesn't currently
work on Windows.

svn path=/trunk/; revision=9717
2004-01-18 14:03:37 +00:00
Guy Harris 49a7eb8e5f Add arguments to "dissect_xdlc_control()" to specify value_string
tables, for use in the top-level item for the control field, for
unnumbered frame function codes for commands and responses.  If the
argument is null, default to the standard tables.

Use "dissect_xdlc_control()" and the #defines from "xdlc.h" for IrDA.

Use the reported length rather than the data length in the IrDA
dissector when iterating over the data in an IrDA packet.

Make "dissect_xid()" update the column information as well as the
protocol tree.  Put the slot number into the protocol tree only for
command frames - "the slot number field is undefined in discovery XID
response frames", to quote the IrLAP spec.

svn path=/trunk/; revision=9716
2004-01-18 13:02:30 +00:00
Guy Harris 369528c769 Add arguments to "dissect_xdlc_control()" to specify value_string
tables, for use in the top-level item for the control field, for
unnumbered frame function codes for commands and responses.  If the
argument is null, default to the standard tables.

Use "dissect_xdlc_control()" and the #defines from "xdlc.h" for IrDA.

Use the reported length rather than the data length in the IrDA
dissector when iterating over the data in an IrDA packet.

Make "dissect_xid()" update the column information as well as the
protocol tree.  Put the slot number into the protocol tree only for
command frames - "the slot number field is undefined in discovery XID
response frames", to quote the IrLAP spec.

svn path=/trunk/; revision=9715
2004-01-18 12:57:25 +00:00
Guy Harris 4727c62cb3 Use a value_string for the message type field.
Do some checks for validity before dissecting the packet - reject as not
being OLSR packets that don't match.

Use "proto_tree_add_item()" in some places where the value of the field
isn't used.

Do some sanity checking on the message size field.

svn path=/trunk/; revision=9714
2004-01-18 11:10:02 +00:00
Guy Harris 5a751f6811 Add arguments to "dissect_xdlc_control()" to specify value_string
tables, for use in the top-level item for the control field, for
unnumbered frame function codes for commands and responses.  If the
argument is null, default to the standard tables.

Use "dissect_xdlc_control()" and the #defines from "xdlc.h" for IrDA.

Use the reported length rather than the data length in the IrDA
dissector when iterating over the data in an IrDA packet.

Make "dissect_xid()" update the column information as well as the
protocol tree.  Put the slot number into the protocol tree only for
command frames - "the slot number field is undefined in discovery XID
response frames", to quote the IrLAP spec.

svn path=/trunk/; revision=9713
2004-01-18 08:32:46 +00:00
Richard Sharpe 4e702f2b8d Fix a type that Jean-Baptiste Marchand found.
svn path=/trunk/; revision=9712
2004-01-18 06:38:14 +00:00
Jörg Mayer 4ea271b660 Add a few comments
svn path=/trunk/; revision=9711
2004-01-18 05:17:23 +00:00
Guy Harris 3b0fcb0dd0 From Anders Broman: fix some string output (and split some lines).
svn path=/trunk/; revision=9710
2004-01-18 04:26:20 +00:00
Guy Harris 6033a79387 Update the Win32 information given when we fail to open a capture device
to note that the 3.0 and later versions of WinPcap don't support PPP/WAN
captures even on Windows OT.

svn path=/trunk/; revision=9709
2004-01-18 04:13:44 +00:00
Guy Harris 40d5a78175 Put the list of generated source files (well, generated header files,
really) into a BUILD_SOURCES macro, as is done in Makefile.am, and use
that in the "distclean" rule.

svn path=/trunk/; revision=9708
2004-01-18 03:55:02 +00:00
Guy Harris faccc0b3cf Add README.capture to the list of files.
svn path=/trunk/; revision=9707
2004-01-18 03:49:16 +00:00
Guy Harris ae7fb39bd7 Give it an RCS ID.
svn path=/trunk/; revision=9706
2004-01-18 03:48:19 +00:00
Guy Harris bc21679c55 Add a Mac OS X icon file, for possible future use.
svn path=/trunk/; revision=9705
2004-01-18 02:47:43 +00:00
Guy Harris d4302c0001 Add a Mac OS X icon file, for possible future use.
svn path=/trunk/; revision=9704
2004-01-18 02:29:17 +00:00