Commit Graph

9641 Commits

Author SHA1 Message Date
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
Jörg Mayer 5972f31427 Output the result of -h to stdout, not stderr
svn path=/trunk/; revision=9703
2004-01-18 02:19:07 +00:00
Jörg Mayer 82cf1b015d Output the result of -h to stdout, not stderr
svn path=/trunk/; revision=9702
2004-01-18 02:12:59 +00:00
Olivier Biot 8db6fb47cd Nice rendering of the CVS version as "(cvs 200401181200003000)".
The make-version.pl script only defines CVSVERSION if this was a build
from CVS.

svn path=/trunk/; revision=9701
2004-01-18 01:41:14 +00:00
Jörg Mayer be6e7afc4e Update to Jan 16th
svn path=/trunk/; revision=9700
2004-01-18 01:33:52 +00:00
Ulf Lamping 0c34d1105a make the column preferences page look a bit more like the color rules dialog
svn path=/trunk/; revision=9699
2004-01-18 00:53:57 +00:00
Ulf Lamping 59125a7304 no more differences, wether display filter dialog is called from
menu "Analyze->Display Filter" or statusbar "Filter:" button.

svn path=/trunk/; revision=9698
2004-01-18 00:40:39 +00:00
Ulf Lamping 993b096e21 complete redesign of color dialog
svn path=/trunk/; revision=9697
2004-01-18 00:33:03 +00:00
Olivier Biot 5f9158dea0 From Chris Wilson:
Support for dissection of concatenated SMPP PDUs.

Also:

	Add more information to the protocol tree summary.
	Clean up the white space so it's in-line with the conventions
	of the original author (8-space tabs, 4-space indentations).

svn path=/trunk/; revision=9696
2004-01-18 00:07:03 +00:00
Ulf Lamping c8598a3057 cvsversion.h: added distclean target and dependencies
svn path=/trunk/; revision=9695
2004-01-17 18:52:07 +00:00
Jörg Mayer 1ae6e43f5d Integrate the "find . -name Entries" into make-version.pl, to make this
work with nmake too.

svn path=/trunk/; revision=9694
2004-01-17 13:09:00 +00:00
Ulf Lamping 8020cdf176 splitted some of the preferences texts into more than one line,
to reduce the size of the preferences dialog.
This becoming necessary, as some of the texts were huge

svn path=/trunk/; revision=9693
2004-01-17 12:51:00 +00:00
Ulf Lamping 116bb3c25e Select first row in column list by default,
fixed sensitivity of option_menu

svn path=/trunk/; revision=9692
2004-01-17 12:12:57 +00:00
Ulf Lamping 74dc0a97b5 First attempt to make a description of the capturing things
svn path=/trunk/; revision=9691
2004-01-17 11:10:59 +00:00
Ulf Lamping 31530d92ba precompiled wpdpack.zip file is now at the website
svn path=/trunk/; revision=9690
2004-01-17 11:05:35 +00:00
Guy Harris ae92ea0b12 Clean up some compiler warnings.
Clean up white space.

Have "font_fetch()" return a Boolean indicating whether it succeeded or
not.  If it failed, don't use "new_font_name", as it hasn't been set.

svn path=/trunk/; revision=9689
2004-01-17 03:09:24 +00:00