Commit Graph

9979 Commits

Author SHA1 Message Date
Guy Harris 727b913bbd Add an "open_failure_alert_box()" routine to pop up an alert box for a
failed attempt to open/create a file.

Fix one call to pass the right value for the "for_writing" flag.

svn path=/trunk/; revision=10026
2004-02-11 01:23:25 +00:00
Guy Harris c7fd1b2b13 Add a routine to be used to put up alert boxes for invalid display
filter expressions; use that in a number of places, so we use the same
alert box.  (More work is needed to figure out the right way to handle
some other "dfilter_compile()" failures.)

Use the error message from the display filter as the primary error, as
that's the message that tells you what the underlying problem is.  (The
GNOME HIG says "In most situations the user should only need the primary
text to make a quick decision", so the primary text should tell you
what's wrong with the filter, not just that it's invalid.  If there are
messages from the display filter code that don't give enough
information, or are a bit cryptic, such as "Unexpected end of filter
string," those should be fixed in the display filter code.)

Improve the error used if an empty filter is used for "find frame".

svn path=/trunk/; revision=10025
2004-02-11 00:55:28 +00:00
Guy Harris 1f657ec946 From Jaime Fournier: add a bunch of DCE RPC stub dissectors.
svn path=/trunk/; revision=10024
2004-02-10 23:38:34 +00:00
Guy Harris e6adbf5966 Add "tvb_strsize()".
svn path=/trunk/; revision=10023
2004-02-10 23:30:56 +00:00
Ulf Lamping 132c807e39 making the Modern UI the default
svn path=/trunk/; revision=10022
2004-02-10 18:12:40 +00:00
Ulf Lamping 99a49ce529 added help pages "Getting Started" and "Capturing"
svn path=/trunk/; revision=10021
2004-02-10 18:02:38 +00:00
Jörg Mayer f2cfcd15a2 Undo last change for cvsversion.h generation. It causes make to loop on some systems
svn path=/trunk/; revision=10020
2004-02-10 12:11:22 +00:00
Jörg Mayer 70539ced27 Run make-version.pl on every make (at least with gnu make)
svn path=/trunk/; revision=10019
2004-02-10 00:50:04 +00:00
Guy Harris b39b461927 From Anders Broman: fix the decoding of BAT ASE elements with more than
one octet.

svn path=/trunk/; revision=10018
2004-02-09 19:36:19 +00:00
Ulf Lamping 1987113fa6 bugfix: close capture file again, if empty after capturing
(bug appears only, if "update list of packets ..." not used)

svn path=/trunk/; revision=10017
2004-02-09 19:19:19 +00:00
Ulf Lamping 1b9bef2743 bugfix: init the toolbar's Save icons correctly
svn path=/trunk/; revision=10016
2004-02-09 18:32:41 +00:00
Ulf Lamping 1f15fc7bdc minor changes
svn path=/trunk/; revision=10015
2004-02-09 18:25:48 +00:00
Ulf Lamping c001aedfda typo fixed
svn path=/trunk/; revision=10014
2004-02-09 18:23:25 +00:00
Ulf Lamping 62e8b4836e two new help pages:
getting_started for the very first steps running Ethereal
capturing for some explanation how to capture data

svn path=/trunk/; revision=10013
2004-02-09 18:22:28 +00:00
Jörg Mayer a02d03c089 Forgot *.la
svn path=/trunk/; revision=10012
2004-02-09 17:23:59 +00:00
Jörg Mayer 96ad35f100 Ignore shared dll stuff
svn path=/trunk/; revision=10011
2004-02-09 16:49:00 +00:00
Guy Harris 31c636ff4a Cast the arguments to <ctype.h> macros to "guchar", to squelch
"subscript has type `char'" warnings and to make the code work correctly
if there are characters with the 8th bit set.

svn path=/trunk/; revision=10010
2004-02-09 00:06:30 +00:00
Guy Harris a2d69c6fae Add extra {} to "avoid ambiguous `else'", to quote the GCC warning that
this squelches.

svn path=/trunk/; revision=10009
2004-02-09 00:05:35 +00:00
Jörg Mayer 55af6c35c4 Move -pedantic back to extra-gcc-flags, as glib generates more warnings than our code
svn path=/trunk/; revision=10008
2004-02-08 14:11:48 +00:00
Jörg Mayer 5804f15164 Move -pedandic & co back into extra-flags (prepare for dissectors moving to epan/)
svn path=/trunk/; revision=10007
2004-02-08 01:15:53 +00:00
Ulf Lamping f992f12aa4 corrected links to the ethereal.exe for GTK2 version
svn path=/trunk/; revision=10006
2004-02-07 21:47:25 +00:00
Jörg Mayer 43e0297fb7 Put AM_DISABLE_STATIC into the same place as in epan and wiretap
svn path=/trunk/; revision=10005
2004-02-07 06:32:20 +00:00
Jörg Mayer 16970db9af Don't build as shared *and* static by default
svn path=/trunk/; revision=10004
2004-02-07 05:44:08 +00:00
Jörg Mayer 2a1cb9ce0f Ignore byproducts of shared lib compilation
svn path=/trunk/; revision=10003
2004-02-07 04:35:49 +00:00
Guy Harris 6d2f9e38dd Use G_DIR_SEPARATOR_S rather than "/" as the pathname separator when
constructing the pathname of a temporary file, so as not to frighten the
horses when they see an error message for a temporary capture file.

svn path=/trunk/; revision=10002
2004-02-07 04:25:16 +00:00
Guy Harris 75d7c8727b Whether frames in an AiroPeek V9 802.11 capture have 4 bytes of 0 or an
FCS at the end appears to depend on the network subtype value.

svn path=/trunk/; revision=10001
2004-02-06 20:50:44 +00:00
Jörg Mayer fae63fed56 From Lars Roland: Warning fixes
svn path=/trunk/; revision=10000
2004-02-06 20:04:48 +00:00
Ulf Lamping 5297f06717 replaced every appearance of gtk_scrolled_window_new() with
scrolled_window_new().
added gtk_scrolled_window_set_policy(AUTOMATIC,AUTOMATIC) to
scrolled_window_new()
added GTK2's gtk_scrolled_window_set_shadow(GTK_SHADOW_IN)
to every place needed

svn path=/trunk/; revision=9999
2004-02-06 19:19:12 +00:00
Ulf Lamping 610ff1ee37 renamed GTK2 version from ethereal2.exe to ethereal-gtk2.exe,
as this is *not* the Ethereal version 2 already.
Some other cleanup done

svn path=/trunk/; revision=9998
2004-02-06 18:47:45 +00:00
Jörg Mayer 348c83db8c Fix a few warnings
svn path=/trunk/; revision=9997
2004-02-06 14:59:52 +00:00
Ulf Lamping be0f616e58 simple_dialog now uses the stock_dialog_xy icons
svn path=/trunk/; revision=9996
2004-02-06 06:51:33 +00:00
Guy Harris 922c36ea57 A MediaSubType value of 1 also means 802.11. (Is that what indicates
whether there's an FCS or not?)

svn path=/trunk/; revision=9995
2004-02-06 05:23:46 +00:00
Guy Harris f23a8e64c0 Make sure a packet has one and only one length field, one and only one
timestamp lower field, and one and only one timestamp lower field.

svn path=/trunk/; revision=9994
2004-02-06 04:48:06 +00:00
Guy Harris 95ff961e2d The time stamps in *Peek V9 files appear to be in nanoseconds from the
Windows FILETIME epoch, i.e. midnight, January 1, 1601.

svn path=/trunk/; revision=9993
2004-02-06 04:27:19 +00:00
Guy Harris 649d6f5ff7 From Yaniv Kaul:
label each column of a results token;

	handle types 35, 38, and 104.

svn path=/trunk/; revision=9992
2004-02-06 03:25:26 +00:00
Guy Harris d5263942b5 Ethernet frames appear to have 4 bytes of 0 at the end, at least in the
captures I've seen.

svn path=/trunk/; revision=9991
2004-02-06 03:12:21 +00:00
Guy Harris 0875bf3afe V9 format appears to be used by some versions of EtherPeek, too.
The MediaType field seems to be 0 for the Ethernet captures; however,
the MediaSubType field is different.

The fields in the header are different - we can't use hard-coded offsets
for the fields, we have to process them as a sequence of tag/value
items.

Rename some routines to use the same naming convention as the V9 open
routine rather than the same convention as the V5/V6/V7 read and
seek/read routines.

svn path=/trunk/; revision=9990
2004-02-06 02:11:52 +00:00
Guy Harris 2cbe1a0bf5 Fix up a comment to note that this is also used for AiroPeek, and used
only for versions 5, 6, and 7 of the file format.

Add another comment explaining why this refers to "etherpeek" even
though it's also used for AiroPeek and probably also TokenPeek.

svn path=/trunk/; revision=9989
2004-02-06 02:09:11 +00:00
Olivier Biot ca5a28560d Add a new dissector table for multipart media encpsulation (similar to the
"media_type" dissector table defined in the HTTP dissector), allowing us
to make the distinction between dissecting a standaone media type and an
encapsulated media type (e.g., encapsulated in a multipart entity).

Provide separate dissectors for "standalone" and "encapsulated" MMSE, hence
fixing the needlessly clearing of the Info column when the MMSE is only part
of the encapsulated entity (e.g., in the PAP protocol for WAP Push).

svn path=/trunk/; revision=9988
2004-02-06 01:07:51 +00:00
Guy Harris f3a4c61c93 Sort the link-layer type values a little better.
svn path=/trunk/; revision=9987
2004-02-06 00:45:27 +00:00
Olivier Biot 3f1530d2d6 Add new col_append methods which will prepend the (format) string with the
provided separator (or a default ", ") if the column is not empty.

svn path=/trunk/; revision=9986
2004-02-05 23:57:15 +00:00
Olivier Biot d2d98c3891 From Martin Regner (patch from Anders Broman):
Calculate the correct offset for fastStart (bits, not bytes).

svn path=/trunk/; revision=9985
2004-02-05 19:19:05 +00:00
Olivier Biot d5325a89b0 From Holger Schurig: add two cipher strings.
svn path=/trunk/; revision=9984
2004-02-05 19:08:59 +00:00
Olivier Biot 9d1b12808c Spotted by Guy Harris: SyncML media type was not registered (it was lost
when we introduced the media dissector table and got rid of the WSP
binary content type dissector table).

svn path=/trunk/; revision=9983
2004-02-05 18:57:14 +00:00
Guy Harris 1b36210318 We can't test the GTK+ version in dissectors or libethereal code, as
they don't include any GTK+ headers (and shouldn't do so, as they can't
use GTK+); we use the GLib version as a proxy.

svn path=/trunk/; revision=9982
2004-02-05 09:42:26 +00:00
Guy Harris dbdea1617e Update a comment.
svn path=/trunk/; revision=9981
2004-02-05 08:16:01 +00:00
Guy Harris 046ec36540 The menu item for changing the state of name resolution for
network-layer addresses should call the callback for network name
resolution, not MAC name resolution.

svn path=/trunk/; revision=9980
2004-02-04 20:46:20 +00:00
Guy Harris 31167cebea From Magnus Hansson:
* Added decoding of Transport type/trigger
	* Updated service code's text to match specification
	* Added new vendor IDs from ODVA
	* Added service etc to info column, formatted info column for
	  easier overview
	* Added actual time out calculation for Forward close,
	  Unconnected send
	* Fixed bug, port not shown for extended addresses
	* Added Network Segment to EPATH decode
	* NOP packets not decoded as they contain Common data Format

svn path=/trunk/; revision=9979
2004-02-04 20:34:53 +00:00
Olivier Biot 9e5e893ea8 Use InterCapNotation on the protocol header field. Add the hex encoding
of the main PDU items displayed in the protocol header field.

Some small white space fixes.

svn path=/trunk/; revision=9978
2004-02-04 20:19:25 +00:00
Guy Harris 372e6b2da0 Add some comments about the types of alert boxes you get with the
simple_dialog routines (which are really just message box/alert box
routines).

Add some macros for combinations of buttons (corresponding to
combinations that some GUI toolkits, which only support some
combinations, allow).

svn path=/trunk/; revision=9977
2004-02-04 01:10:37 +00:00