metze/wireshark/wip.git
24 years agoRemove the reference to my old samples directory on the web server;
Gilbert Ramirez [Mon, 10 Jan 2000 23:43:15 +0000 (23:43 -0000)]
Remove the reference to my old samples directory on the web server;
the new ethereal web site contains a link to its own samples directory.

svn path=/trunk/; revision=1450

24 years agoUpdates to the L2TP parser, from Laurent Cazalet and Thomas Parvais.
Guy Harris [Mon, 10 Jan 2000 23:22:30 +0000 (23:22 -0000)]
Updates to the L2TP parser, from Laurent Cazalet and Thomas Parvais.

svn path=/trunk/; revision=1449

24 years agoSome initial changes for win32 support, but not all.
Gilbert Ramirez [Mon, 10 Jan 2000 17:33:17 +0000 (17:33 -0000)]
Some initial changes for win32 support, but not all.

Added lots of #ifdef HAVE_*_H wrappers.
Added some #defines in config.h.win32
Check for more headers in configure.in
Added prototype for inet_aton() in inet_v6defs.h.
Changed "BYTE" token (i.e., #define) in ascend-gramamr.y because it
conflicts with a windows definition. Use HEXBYTE instead.

svn path=/trunk/; revision=1448

24 years agoMove the code in "column.c" that implements the column preferences tab
Guy Harris [Mon, 10 Jan 2000 01:44:00 +0000 (01:44 -0000)]
Move the code in "column.c" that implements the column preferences tab
into "gtk/column_prefs.c".

Get rid of "get_column_width()" - instead, export
"get_column_longest_string()", and have "get_column_width()"'s callers
make the GDK call to get the width of that string, so that "column.c"
contains no GTK+/GDK code.

svn path=/trunk/; revision=1447

24 years agoAdd a man page for "editcap".
Guy Harris [Sun, 9 Jan 2000 20:28:26 +0000 (20:28 -0000)]
Add a man page for "editcap".

svn path=/trunk/; revision=1446

24 years agoMake "editcap" one of the standard targets, so it's built and installed
Guy Harris [Sun, 9 Jan 2000 20:05:37 +0000 (20:05 -0000)]
Make "editcap" one of the standard targets, so it's built and installed
by default.

Use the automake mechanisms for it, and, having done so, arrange that it
not be linked with GTK+ (which it doesn't need) - it currently links
with libpcap, but that should be fixed as well.  (It also needs a man
page.)

svn path=/trunk/; revision=1445

24 years agoAdd finaly news item.
Gilbert Ramirez [Sun, 9 Jan 2000 18:15:33 +0000 (18:15 -0000)]
Add finaly news item.

svn path=/trunk/; revision=1443

24 years agoAdd to some comments notes on the meaning of DLT types 15 and 16 on
Guy Harris [Sun, 9 Jan 2000 07:55:48 +0000 (07:55 -0000)]
Add to some comments notes on the meaning of DLT types 15 and 16 on
Linux systems with the isdn4linux patches; they help make DLT types even
less useful than they were after the various flavors of BSD proceeded to
add their own types past 14, with no coordination whatosever, so that
they overlapped, rendering it impossible to read a libpcap capture file
without knowing what particular OS generated it.

svn path=/trunk/; revision=1442

24 years agoDon't recompute "cf->count" when filtering packets - the recomputation
Guy Harris [Sat, 8 Jan 2000 23:49:33 +0000 (23:49 -0000)]
Don't recompute "cf->count" when filtering packets - the recomputation
will just give it the value it's always had, as packets are counted
regardless of whether they pass the filter or not (which is what we
want).

Given that, so there's no need for a separate "cf->unfiltered_count"
value, so get rid of it and use "cf->count" instead.

svn path=/trunk/; revision=1441

24 years agoAllow people to print packets if there are packets to print, even if
Guy Harris [Sat, 8 Jan 2000 23:34:50 +0000 (23:34 -0000)]
Allow people to print packets if there are packets to print, even if
we're in the middle of an "Update list of packets in real time" capture.

svn path=/trunk/; revision=1440

24 years agoFix my typo in a variable name.
Gilbert Ramirez [Sat, 8 Jan 2000 21:56:29 +0000 (21:56 -0000)]
Fix my typo in a variable name.

svn path=/trunk/; revision=1439

24 years agoI finally got autoconf, automake, and the plugins to behave together.
Gilbert Ramirez [Sat, 8 Jan 2000 19:37:11 +0000 (19:37 -0000)]
I finally got autoconf, automake, and the plugins to behave together.
The distro is buildable finally. I had to change "plugins/gryphon" from
a separately configured (i.e., "./configure") package to a member of
the main ethereal autoconf package so that PLUGIN_DIR could be passed
to plugins/gryphon/Makefile.am. In doing so, I had to get rid of
plugins/gryphon/config.h which had PACKAGE and VERSION #defined, the latter
of which was actually used in packet-gryphon.c. So I moved those two
#defines into a new file, plugins/gryphon/moduleinfo.h.

svn path=/trunk/; revision=1438

24 years agoFix Gerald's e-mail address.
Guy Harris [Fri, 7 Jan 2000 22:05:43 +0000 (22:05 -0000)]
Fix Gerald's e-mail address.

svn path=/trunk/; revision=1437

24 years agoIndicate the RFC that specifies L2TP.
Guy Harris [Fri, 7 Jan 2000 21:53:24 +0000 (21:53 -0000)]
Indicate the RFC that specifies L2TP.

Update Gerald's e-mail address.

Make some variables static.

Make some *other* variables auto, as they don't need to have static
storage duration.

svn path=/trunk/; revision=1436

24 years agoInclude L2TP support in the list of new features in 0.8.1.
Guy Harris [Fri, 7 Jan 2000 09:24:59 +0000 (09:24 -0000)]
Include L2TP support in the list of new features in 0.8.1.

svn path=/trunk/; revision=1435

24 years agoThe L2TP dissector is by John Thomes, not John Thomas.
Guy Harris [Fri, 7 Jan 2000 09:13:21 +0000 (09:13 -0000)]
The L2TP dissector is by John Thomes, not John Thomas.

svn path=/trunk/; revision=1434

24 years agoAdd John Thomas' L2TP dissector.
Guy Harris [Fri, 7 Jan 2000 09:10:22 +0000 (09:10 -0000)]
Add John Thomas' L2TP dissector.

svn path=/trunk/; revision=1433

24 years agoMove to version 0.8.1
Gilbert Ramirez [Fri, 7 Jan 2000 05:21:09 +0000 (05:21 -0000)]
Move to version 0.8.1

svn path=/trunk/; revision=1432

24 years agoDon't take strlen of TransactName if NULL. In fact, don't do *anything*
Gilbert Ramirez [Fri, 7 Jan 2000 04:27:06 +0000 (04:27 -0000)]
Don't take strlen of TransactName if NULL. In fact, don't do *anything*
and return if TransactName == NULL.

svn path=/trunk/; revision=1431

24 years ago"print_file()" is no longer used; nuke it.
Guy Harris [Fri, 7 Jan 2000 00:36:25 +0000 (00:36 -0000)]
"print_file()" is no longer used; nuke it.

svn path=/trunk/; revision=1430

24 years agoAdd README.vmware to list of deliverables.
Gilbert Ramirez [Thu, 6 Jan 2000 19:51:26 +0000 (19:51 -0000)]
Add README.vmware to list of deliverables.

svn path=/trunk/; revision=1429

24 years agoAdd info on how to get a patch for libpcap to sniff your virtual ethernet
Gilbert Ramirez [Thu, 6 Jan 2000 19:50:38 +0000 (19:50 -0000)]
Add info on how to get a patch for libpcap to sniff your virtual ethernet
hub when using VMware.

svn path=/trunk/; revision=1428

24 years agoFix the "Print" button in the window popped up by "Follow TCP Stream" to
Guy Harris [Thu, 6 Jan 2000 08:20:13 +0000 (08:20 -0000)]
Fix the "Print" button in the window popped up by "Follow TCP Stream" to
print only the actual stream data, not the address and port binary
information.

Fix it to handle the ASCII/EBCDIC selection as well.

svn path=/trunk/; revision=1427

24 years agoPrinting multiple pages of PostScript wasn't as tricky as I thought; add
Guy Harris [Thu, 6 Jan 2000 07:33:35 +0000 (07:33 -0000)]
Printing multiple pages of PostScript wasn't as tricky as I thought; add
support for printing in PostScript to the "Print..." dialog box.

svn path=/trunk/; revision=1426

24 years agoImprove the description of the packet-printing dialogs, and note that
Guy Harris [Thu, 6 Jan 2000 07:32:44 +0000 (07:32 -0000)]
Improve the description of the packet-printing dialogs, and note that
the Edit:Preferences dialog also lets you edit GUI preferences.

svn path=/trunk/; revision=1425

24 years agoDon't include "print.h" in "globals.h"; have the few files that need
Guy Harris [Thu, 6 Jan 2000 06:28:54 +0000 (06:28 -0000)]
Don't include "print.h" in "globals.h"; have the few files that need
stuff from it include it themselves.

svn path=/trunk/; revision=1424

24 years agoDon't bother checking whether the filter string is empty - just use it
Guy Harris [Thu, 6 Jan 2000 05:09:01 +0000 (05:09 -0000)]
Don't bother checking whether the filter string is empty - just use it
even if it's empty, rather than using an empty string instead of it if
it's empty.

Also, "gtk_entry_get_text()" appears, from the documentation, always to
return a non-null pointer (and it returned a non-null pointer when I
started a capture with an empty filter string); don't supply a null
string if it's null, just do a "g_assert()" to make sure it's non-null.

Put in a comment explaining why we aren't trying to be clever and
detecting an empty filter string and setting "cf.filter" to NULL if it's
empty.

svn path=/trunk/; revision=1423

24 years agoWhen initializing a capture filter, assign a pointer to an empty string
Gerald Combs [Wed, 5 Jan 2000 22:31:46 +0000 (22:31 -0000)]
When initializing a capture filter, assign a pointer to an empty string
instead of NULL.

svn path=/trunk/; revision=1422

24 years agoChange ports from guint16 to guint32
Gilbert Ramirez [Wed, 5 Jan 2000 21:48:16 +0000 (21:48 -0000)]
Change ports from guint16 to guint32

svn path=/trunk/; revision=1421

24 years agoWhen we select the row for the frame found by "Find Frame..." or "Go To
Guy Harris [Wed, 5 Jan 2000 07:22:47 +0000 (07:22 -0000)]
When we select the row for the frame found by "Find Frame..." or "Go To
Frame...", make it the focus row as well.

svn path=/trunk/; revision=1420

24 years agoAdd VMware's vendor ID to manufacturer list.
Gilbert Ramirez [Tue, 4 Jan 2000 23:42:17 +0000 (23:42 -0000)]
Add VMware's vendor ID to manufacturer list.

svn path=/trunk/; revision=1419

24 years agoSmall corrections :
Olivier Abad [Tue, 4 Jan 2000 21:29:43 +0000 (21:29 -0000)]
Small corrections :
- create ~/.ethereal if it doesn't exist
- use PF_DIR instead of .ethereal
- remove two memory leaks

svn path=/trunk/; revision=1418

24 years agoImplement plugins status save/restore :
Olivier Abad [Tue, 4 Jan 2000 20:37:18 +0000 (20:37 -0000)]
Implement plugins status save/restore :

Add a "Save status" button to the Plugins window which saves the status
(enabled/disabled) and the filter used by all the plugins in
~/.ethereal/plugins.status

Moved plugins_scan_dir() from gtk/plugins_dlg.c to plugins.c because it is
GUI independent. Read plugins.status in this function and restore the saved
status.

Add a init_plugins() function in plugins.c which calls plugins_scan_dir() in
order to build the plugin_list. It is called by ethereal_proto_init() in
gtk/main.c

svn path=/trunk/; revision=1417

24 years agoBefore adding a frame to the list of displayed frames, set its row
Guy Harris [Mon, 3 Jan 2000 22:53:34 +0000 (22:53 -0000)]
Before adding a frame to the list of displayed frames, set its row
number to 0, so that "select_packet()" will find it if a "select-row"
signal is emitted when it's added.

(The previous workaround for this problem worked when initially
constructing the list of all frames, but not when reconstructing the
list of displayed frames when filtering packets, as, in the latter case,
there could be more than one frame in the list of all frames, so we
couldn't just say "pick the one and only frame in the list".  The row
number is set to the correct value after the frame is added to the list
of displayed frames and we know the row number it was given.)

svn path=/trunk/; revision=1416

24 years agoAdd a "Default" button to reset the filter string to its default value.
Olivier Abad [Mon, 3 Jan 2000 20:18:25 +0000 (20:18 -0000)]
Add a "Default" button to reset the filter string to its default value.

svn path=/trunk/; revision=1415

24 years agoTake the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",
Guy Harris [Mon, 3 Jan 2000 06:59:25 +0000 (06:59 -0000)]
Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",
and move it to "simple_dialog.h" and "gtk/simple_dialog.c".

svn path=/trunk/; revision=1414

24 years agoDon't have "write_prefs()" display a dialog box if the attempt to open
Guy Harris [Mon, 3 Jan 2000 06:29:39 +0000 (06:29 -0000)]
Don't have "write_prefs()" display a dialog box if the attempt to open
the preferences file fails, have it return an error indication and the
path of the preferences file, and have its caller display the dialog
box.  That way you don't have to drag in the dialog box code if you're
going to use the preferences code in, say, a "line-mode" Ethereal.

svn path=/trunk/; revision=1413

24 years agoUse the right #define to control inclusion of "ui_util.h".
Guy Harris [Mon, 3 Jan 2000 06:28:44 +0000 (06:28 -0000)]
Use the right #define to control inclusion of "ui_util.h".

svn path=/trunk/; revision=1412

24 years agoMake "menus_init()", set_menu_sensitivity()", and "grp" static to
Guy Harris [Mon, 3 Jan 2000 04:06:09 +0000 (04:06 -0000)]
Make "menus_init()", set_menu_sensitivity()", and "grp" static to
"gtk/menu.c", as they're not used outside it.

Move the definition of "GTK_MENU_FUNC()" from "gtk/menu.h" to
"gtk/menu.c", as it's not used outside of "gtk/menu.c".

Get rid of the declaration of "menus_create()" in "gtk/menu.h", as that
routine doesn't exist.

svn path=/trunk/; revision=1411

24 years agoHave "gtk/menu.c" (and, in the future, code for other UIs) export a set
Guy Harris [Mon, 3 Jan 2000 03:57:04 +0000 (03:57 -0000)]
Have "gtk/menu.c" (and, in the future, code for other UIs) export a set
of routines to enable and disable various sets of menu items; call only
those routines, not routines to enable or disable particular menu items,
from files in the top-level directory, as other UIs may not refer to
menu items with path strings of the sort used in GTK+, and as this
buries knowledge of the menu items available in "gtk/menu.c" rather than
requiring stuff outside of "gtk/menu.c" to know what menu items exist.

svn path=/trunk/; revision=1410

24 years agoFix a nasty side-effect of running the packet list in
Guy Harris [Mon, 3 Jan 2000 03:46:36 +0000 (03:46 -0000)]
Fix a nasty side-effect of running the packet list in
GTK_SELECTION_BROWSE mode - that mode apparently always arranges that
there is (in a non-empty GtkCList) one row selected, which means that
when the first row is added, it selects it.

Unfortunately, that causes a "select-row" signal to be emitted, which
causes "select_packet()" to be called - but we haven't yet set "fd->row"
for the frame we're adding, so "select_packet()" can't find the frame
for the row being selected, and it aborts.

This causes a core dump when the first packet arrives during an "Update
list of packets in real time" capture.

For now, we handle this by, if we don't find the frame with the given
row number, checking that there's exactly one frame in our list of
frames and, if so, saying that frame is the frame for which we're
looking.

svn path=/trunk/; revision=1409

24 years agoAdd a "break;" statement to a "default:" clause - the AIX C compiler
Guy Harris [Sat, 1 Jan 2000 21:21:20 +0000 (21:21 -0000)]
Add a "break;" statement to a "default:" clause - the AIX C compiler
apparently doesn't like it when a case label is the last line in a
"switch()" statement.

Fix a spelling error.

svn path=/trunk/; revision=1408

24 years agoInclude <time.h> to declare "gmtime()".
Guy Harris [Sat, 1 Jan 2000 21:11:02 +0000 (21:11 -0000)]
Include <time.h> to declare "gmtime()".

svn path=/trunk/; revision=1407

24 years agoGet rid of the C++-style comments.
Guy Harris [Sat, 1 Jan 2000 21:05:02 +0000 (21:05 -0000)]
Get rid of the C++-style comments.

svn path=/trunk/; revision=1406

24 years agoA little hack for the really lazy (i.e., me). Allow users to type a
Gilbert Ramirez [Sat, 1 Jan 2000 04:28:45 +0000 (04:28 -0000)]
A little hack for the really lazy (i.e., me). Allow users to type a
directory name in the filename box in the file open dialoge box. If what
you type is a directory, the file selection gui chdir's to that diretory
and shows you the files in that directory.

svn path=/trunk/; revision=1405

24 years agoAdd relative timestamps. The Toshiba ISDN router has the same problem
Gilbert Ramirez [Sat, 1 Jan 2000 04:01:41 +0000 (04:01 -0000)]
Add relative timestamps. The Toshiba ISDN router has the same problem
as the Ascend routers; those little buggers don't remember time very well.
The only timestamp available in the trace is relative to the beginning
of the trace.

So, right now I'm just using this relative timestamp as the absoulte time.
All my times are in 1969 (my timezone is GMT - 6), but all I care about
for now is the relative time, which is preserved even if the absolute time
is in the wrong decade.

svn path=/trunk/; revision=1404

24 years agoFilter out a few more things.
Guy Harris [Fri, 31 Dec 1999 00:22:27 +0000 (00:22 -0000)]
Filter out a few more things.

Don't filter out some things that *are* in CVS.

svn path=/trunk/; revision=1403

24 years agoFilter out a few more things.
Guy Harris [Fri, 31 Dec 1999 00:18:55 +0000 (00:18 -0000)]
Filter out a few more things.

svn path=/trunk/; revision=1402

24 years agoFilter out a few more things.
Guy Harris [Fri, 31 Dec 1999 00:09:34 +0000 (00:09 -0000)]
Filter out a few more things.

svn path=/trunk/; revision=1401

24 years agoAllow user to modify appearance of lines and expanders in GUI protocol
Gilbert Ramirez [Thu, 30 Dec 1999 23:02:56 +0000 (23:02 -0000)]
Allow user to modify appearance of lines and expanders in GUI protocol
tree.

svn path=/trunk/; revision=1400

24 years agoAdd a check for "libtool".
Guy Harris [Thu, 30 Dec 1999 21:34:58 +0000 (21:34 -0000)]
Add a check for "libtool".

Add the minimum version of {autoconf,automake,libtool} required to the
message printed if it's not found (having it check to make sure you have
at least that version is a bit more work).

Update the paths for "ftp.gnu.org" to reflect the fact that they now give
each package its own subdirectory.

svn path=/trunk/; revision=1399

24 years agoDisallow multiple selections in the CTree and CList widgets.
Gilbert Ramirez [Thu, 30 Dec 1999 19:53:11 +0000 (19:53 -0000)]
Disallow multiple selections in the CTree and CList widgets.
In order to use GTK_SELECTION_BROWSE correctly, I had to set auto_resize
to TRUE for the GtkCTree column.

Yes, I'm using terminology that's opposite that of GTK+.

When I say the selection bar "browses", I mean that you can browse the rest
of the widget with an outline selection bar, without changing the
selection. This corresponds to mode GTK_SELECTION_SINGLE.

When I say "select", I mean that the arrow keys change the selection.
This corresponds to mode GTK_SELECTION_BROWSE.

Go figure. But I like my terminology better.

svn path=/trunk/; revision=1398

24 years agoUpdated for the upcoming release, codenamed "...and this time I really
Gerald Combs [Thu, 30 Dec 1999 02:05:44 +0000 (02:05 -0000)]
Updated for the upcoming release, codenamed "...and this time I really
mean it!"

svn path=/trunk/; revision=1396

24 years agoAdd sample strace output to illustrate the timeout problem.
Gerald Combs [Wed, 29 Dec 1999 21:33:06 +0000 (21:33 -0000)]
Add sample strace output to illustrate the timeout problem.

svn path=/trunk/; revision=1395

24 years agoIf there aren't any packets in the capture (which could be the case if,
Guy Harris [Wed, 29 Dec 1999 21:30:28 +0000 (21:30 -0000)]
If there aren't any packets in the capture (which could be the case if,
for example, you're doing a live capture with "Update list of packets in
real time" and none have arrived yet, or if you've read in a capture
file where there aren't actually any packets), don't look for the start
or stop time, and don't accumulate the number of captured bytes or the
number of packets that passed the display filter.

svn path=/trunk/; revision=1394

24 years agoChanged the protocol tree widget from a GtkTree to a GtkCTree. The two reasons
Gilbert Ramirez [Wed, 29 Dec 1999 20:10:12 +0000 (20:10 -0000)]
Changed the protocol tree widget from a GtkTree to a GtkCTree. The two reasons
I did this:

First, Havoc Pennington, in "GTK+/Gnome Application Development", in
Appendix seciton A.3.88, recommends using GtkCTree instead of GtkTree
because GtkCtree is faster, and GtkTree has limitation on its total row
height: since it must fit inside a GdkWindow, it is limited to 32,768
pixels of height. GtkTree is more flexible with regards to the types of
widgets that can be placed in the tree, but since we deal only with text,
that doesn't matter, at least for now.

Secondly, a GtkTree doesn't allow arrow-key navigation (at least as far
as I could tell). It always bothered me that the up and down arrow keys
worked in the packet list and in the hex dump, but no in the protocol tree.
GtkCTree does allow arrow-key navigation. In fact, GtkCTree is a subclass
of GtkCList (the packet list widget), so they behave a lot alike.

I went ahead and fixed the selection bar which has been bothering Richard
for a long time now. :) In the GUI preferences dialogue, you can now set
both the packet list selection bar and the protocol tree selection bar
to either "browse" or "select" mode. "browse" mode is what you're used to:
the arrow keys move an outline of the selection bar, but do not change
the selection. "select" mode does change the selection when the arrow keys
are pressed. The default behavior is set to "select", which seems more
natural for a first-time user.

svn path=/trunk/; revision=1393

24 years agoGet rid of the "(UDP)" and "(TCP)" in various NetBIOS-over-TCP protocol
Guy Harris [Wed, 29 Dec 1999 10:48:02 +0000 (10:48 -0000)]
Get rid of the "(UDP)" and "(TCP)" in various NetBIOS-over-TCP protocol
columns.

svn path=/trunk/; revision=1392

24 years agoGet rid of the "(UDP)" in the DNS protocol string.
Guy Harris [Wed, 29 Dec 1999 10:36:13 +0000 (10:36 -0000)]
Get rid of the "(UDP)" in the DNS protocol string.

If a DNS response got an error, include the error indication in the
summary line.

svn path=/trunk/; revision=1391

24 years agoUpdate a comment.
Guy Harris [Wed, 29 Dec 1999 07:39:51 +0000 (07:39 -0000)]
Update a comment.

svn path=/trunk/; revision=1390

24 years agoPut the frame number in the text for the top-level tree entry for the
Guy Harris [Wed, 29 Dec 1999 07:37:12 +0000 (07:37 -0000)]
Put the frame number in the text for the top-level tree entry for the
frame.

svn path=/trunk/; revision=1389

24 years agoMove the stuff to fill in those columns not filled in by dissectors from
Guy Harris [Wed, 29 Dec 1999 07:25:48 +0000 (07:25 -0000)]
Move the stuff to fill in those columns not filled in by dissectors from
"file.c" to "packet.c"; it's not really related to file access (or to
manipulating the packet list as a whole, which much of the stuff in
"file.c" is really for), but is more related to analyzing packets, and
moving it to "packet.c" lets me build an experimental "line-mode" flavor
of Ethereal (based on Gilbert's "tethereal" experiment) - "line-mode"
means "like tcpdump or snoop" - without having to drag in "file.c" and a
pile of GUI stuff.

svn path=/trunk/; revision=1388

24 years agoMove the definition of "prefs" from "gtk/prefs_dlg.c" to "prefs.c", so
Guy Harris [Wed, 29 Dec 1999 05:53:48 +0000 (05:53 -0000)]
Move the definition of "prefs" from "gtk/prefs_dlg.c" to "prefs.c", so
that you don't have to have "gtk/prefs_dlg.c" to get it defined - future
non-GTK (text mode, curses, etc.) programs wouldn't have it.

svn path=/trunk/; revision=1387

24 years agoGet rid of the commented-out GTK+ declarations.
Guy Harris [Wed, 29 Dec 1999 05:48:25 +0000 (05:48 -0000)]
Get rid of the commented-out GTK+ declarations.

svn path=/trunk/; revision=1386

24 years agoPut a list of known OUIs in "oui.h", along with a declaration of
Guy Harris [Wed, 29 Dec 1999 05:20:00 +0000 (05:20 -0000)]
Put a list of known OUIs in "oui.h", along with a declaration of
"value_string" array for OUIs.

Add the OUI for the ATM Forum to that list.

Handle the OUI for the ATM Forum in the layer 3 information for ISO TR
9577 in a Broadband Low Layer Information information element (for ATM
LANE).

Add an initial version of the dissection of TLV values in LANE LE
Control frames (I have no frames with TLV values against which to test
it, alas).

svn path=/trunk/; revision=1385

24 years agoYou shouldn't need to install "libtool" just to compile and install
Guy Harris [Tue, 28 Dec 1999 09:06:24 +0000 (09:06 -0000)]
You shouldn't need to install "libtool" just to compile and install
Ethereal (it didn't appear to be necessary when I tried it).  It may be
necessary if you're going to do development, but the same applies to
"automake" and "autoconf" - we should document that somewhere, giving
the minimum versions required.

svn path=/trunk/; revision=1384

24 years agoMake the default plugin directory "$(libdir)/ethereal/plugins/0.8",
Guy Harris [Tue, 28 Dec 1999 09:04:26 +0000 (09:04 -0000)]
Make the default plugin directory "$(libdir)/ethereal/plugins/0.8",
as was intended, rather than "$(libdir)/ethereal/0.8".

svn path=/trunk/; revision=1383

24 years agoAdd support for "--with-plugindir=<plugin install dir>" to configure.
Gerald Combs [Tue, 28 Dec 1999 04:40:24 +0000 (04:40 -0000)]
Add support for "--with-plugindir=<plugin install dir>" to configure.
Make the default plugindir $(libdir)/ethereal/plugins/0.8.  Ethereal now
looks for plugins in the following directories:
  /usr/lib/ethereal/plugins/0.8
  /usr/local/lib/ethereal/plugins/0.8
  $plugindir (if different from above)
  $HOME/.ethereal/plugins

svn path=/trunk/; revision=1382

24 years agolibtool 1.3.4 is required (1.3.3 did not work. i'm not sure what happens
Jun-ichiro itojun Hagino [Tue, 28 Dec 1999 03:03:20 +0000 (03:03 -0000)]
libtool 1.3.4 is required (1.3.3 did not work.  i'm not sure what happens
when 1.3.5 comes out).

svn path=/trunk/; revision=1381

24 years agoAdd some more items to the TODO list, and note that loadable modules are
Guy Harris [Sun, 26 Dec 1999 23:52:54 +0000 (23:52 -0000)]
Add some more items to the TODO list, and note that loadable modules are
currently in CVS and that we may no longer need a fancier widget for the
"About" box as we've removed the list of authors from that box.

svn path=/trunk/; revision=1380

24 years agoIntegrate libtool/libltdl with the plugin code. Add libtool and libltdl
Gerald Combs [Sun, 26 Dec 1999 22:38:07 +0000 (22:38 -0000)]
Integrate libtool/libltdl with the plugin code.  Add libtool and libltdl
to the distribution.

svn path=/trunk/; revision=1379

24 years agoFix up the additions to reflect the reality that, at least on HP-UX 10.x
Guy Harris [Fri, 24 Dec 1999 01:01:36 +0000 (01:01 -0000)]
Fix up the additions to reflect the reality that, at least on HP-UX 10.x
and 9.x, "libpcap-0.4" should, in theory, do the right thing; stuff may
be different on HP-UX 11.x, and "libpcap-0.4" may not do the right
thing, obliging you to use "dlpiN" devices in Ethereal.

svn path=/trunk/; revision=1378

24 years agoAdd a pile of additional information derived from Rick Jones' postings
Guy Harris [Fri, 24 Dec 1999 00:45:35 +0000 (00:45 -0000)]
Add a pile of additional information derived from Rick Jones' postings
and from the code I fetched from the URLs specified in the postings.

svn path=/trunk/; revision=1377

24 years agoPatch from Greg Kilfoyle to add some additional manufacturers.
Guy Harris [Thu, 23 Dec 1999 21:13:32 +0000 (21:13 -0000)]
Patch from Greg Kilfoyle to add some additional manufacturers.

svn path=/trunk/; revision=1376

24 years agoPatch from Greg Kilfoyle of Redback Networks:
Guy Harris [Thu, 23 Dec 1999 20:47:16 +0000 (20:47 -0000)]
Patch from Greg Kilfoyle of Redback Networks:

Don't use a global variable named "gmtime" - some versions of
NetBSD define it in <time.h> - use "_gmtime" instead, so we can
build on those NetBSD systems.

svn path=/trunk/; revision=1375

24 years agoCapitalize the "p" in "protocol" in "Internet Cache Protocol", to match
Guy Harris [Thu, 23 Dec 1999 09:53:53 +0000 (09:53 -0000)]
Capitalize the "p" in "protocol" in "Internet Cache Protocol", to match
other protocol names.

svn path=/trunk/; revision=1374

24 years agoI thought I'd seen a problem with the combo box in the "Capture:Start"
Guy Harris [Thu, 23 Dec 1999 09:31:09 +0000 (09:31 -0000)]
I thought I'd seen a problem with the combo box in the "Capture:Start"
dialog box if we hadn't found any interfaces on which we could capture,
but perhaps the problem was that "gtk_combo_set_popdown_strings()"
doesn't like it if you set the list of items to a NULL list - if you
don't set it at all, you get a combo box with only one blank entry in
the list, but you don't seem to get complaints from GTK+ 1.2.6, at
least.

Pop up the "Capture:Start" dialog box even if we don't find any
interfaces on which we could capture; at least this way, they won't just
get confronted with a

There are no network interfaces that can be opened.
Please check to make sure you have sufficient permission
to capture packets.

message box and no way to give us any more information other than "it
said 'There are no network interfaces that can be opened...'" - they can
at least try the interfaces that *should* work, and report the error
messages they get, giving us a better chance at figuring out what the
problem is.

Trim white space from the entry in that combo box, and, if there isn't
anything other than possibly white space, pop up a

You didn't specify an interface on which to capture packets.

message box and leave the dialog box up so that the user can supply an
interface name.

svn path=/trunk/; revision=1373

24 years agoBeef up the HP-UX README with some more information.
Guy Harris [Thu, 23 Dec 1999 01:48:15 +0000 (01:48 -0000)]
Beef up the HP-UX README with some more information.

svn path=/trunk/; revision=1372

24 years agoBeef up the AIX README with some more information.
Guy Harris [Thu, 23 Dec 1999 01:39:23 +0000 (01:39 -0000)]
Beef up the AIX README with some more information.

svn path=/trunk/; revision=1371

24 years agoFix some news items.
Guy Harris [Wed, 22 Dec 1999 20:19:00 +0000 (20:19 -0000)]
Fix some news items.

svn path=/trunk/; revision=1370

24 years agoFix a minor typo in a comment.
Guy Harris [Wed, 22 Dec 1999 20:12:38 +0000 (20:12 -0000)]
Fix a minor typo in a comment.

svn path=/trunk/; revision=1369

24 years agoAdd "editcap.c" to the list of "extra" files in the distribution.
Guy Harris [Wed, 22 Dec 1999 20:10:49 +0000 (20:10 -0000)]
Add "editcap.c" to the list of "extra" files in the distribution.

svn path=/trunk/; revision=1368

24 years agoPrep for the next release.
Gerald Combs [Wed, 22 Dec 1999 17:19:04 +0000 (17:19 -0000)]
Prep for the next release.

svn path=/trunk/; revision=1367

24 years agoFix bus error/alignment issues in ntp_fmt_ts.
Gerald Combs [Tue, 21 Dec 1999 17:21:22 +0000 (17:21 -0000)]
Fix bus error/alignment issues in ntp_fmt_ts.

svn path=/trunk/; revision=1366

24 years agoMove the code to raise a window into a "reactivate_window()" routine,
Guy Harris [Mon, 20 Dec 1999 06:05:15 +0000 (06:05 -0000)]
Move the code to raise a window into a "reactivate_window()" routine,
and have that routine also de-iconify the window.

svn path=/trunk/; revision=1365

24 years agoHave the "destroy" callback for the "Add colors to display" and "Edit
Guy Harris [Mon, 20 Dec 1999 03:45:02 +0000 (03:45 -0000)]
Have the "destroy" callback for the "Add colors to display" and "Edit
color filter" dialog boxes do all the destruction of dialog boxes popped
up from the dialog box being destroyed; have the callbacks for "OK" and
"Cancel" just destroy the dialog box in which they appear - the
"destroy" callback will then be called and do the rest of the cleanup.

svn path=/trunk/; revision=1364

24 years agoAssociate with each "Edit color filter" window pointers to any
Guy Harris [Sun, 19 Dec 1999 11:25:24 +0000 (11:25 -0000)]
Associate with each "Edit color filter" window pointers to any
foreground or background color selection dialogs and, if we're asked to
pop one of those dialogs up and there already is such a dialog, raise it
rather than popping a new one up.

Treat "destroy window" like "Cancel" - i.e., clean up any state, and
close any dialogs popped up from the window being destroyed.

svn path=/trunk/; revision=1363

24 years agoWhen a dialog box is closed (for whatever reason), close any dialogs
Guy Harris [Sun, 19 Dec 1999 10:39:35 +0000 (10:39 -0000)]
When a dialog box is closed (for whatever reason), close any dialogs
popped up from it ("Edit color filter" dialogs popped up from an "Add
colors to display" dialog box, color selection boxes popped up from an
"Edit color filter" dialog).

If the user presses "Edit" and there's already an "Edit color filter"
dialog box open for the filter in question, don't pop up another "Edit
color filter" dialog box for it, just raise the existing one.

If a color filter is deleted from the list of color filters, close any
"Edit color filter" dialog open for it.

svn path=/trunk/; revision=1362

24 years agoDon't keep the CList of color filters around; create it when the
Guy Harris [Sun, 19 Dec 1999 09:22:19 +0000 (09:22 -0000)]
Don't keep the CList of color filters around; create it when the
"Colorize Display" dialog box is created, and let it be destoryed when
that dialog box is destroyed.

When moving color filters up or down, update the (order of the elements
in the) list of color filters, as well as the CList that displays them.

If we have a "Colorize Display" dialog box open, and the user selects
"Display:Colorize Display", raise the existing window, rather than
creating a new window.  (Alas, GTK+ doesn't have a call to request that
the window be given the input focus, so we can't do that as well.)

Fix up some names to be more consistent and to better reflect what the
variables/routines are for.

svn path=/trunk/; revision=1361

24 years agoPut "{get,set}_color_filter_{name,string}" inline, and, for the "get"
Guy Harris [Sun, 19 Dec 1999 07:38:59 +0000 (07:38 -0000)]
Put "{get,set}_color_filter_{name,string}" inline, and, for the "get"
routines, fetch the name and string from the appropriate member of the
list of color filters, rather than from the CList.

svn path=/trunk/; revision=1360

24 years agoMake the color filter list global, and have the code that applies
Guy Harris [Sun, 19 Dec 1999 07:28:36 +0000 (07:28 -0000)]
Make the color filter list global, and have the code that applies
color filters check whether it's null to decide if there are any color
filters to apply.

Make "color_filter()" act on that list - there really aren't multiple
lists of color filters, there's only one list ("read_filters()" and
"write_filters()" acts only on one global list - and always has, as they
handled only one file).

svn path=/trunk/; revision=1359

24 years agoWhen writing the color filter list out, go through the list of
Guy Harris [Sun, 19 Dec 1999 07:11:26 +0000 (07:11 -0000)]
When writing the color filter list out, go through the list of
"color_filter_t" structures to find the filters.

svn path=/trunk/; revision=1358

24 years agoAdd to the "color_filter_t" structure members to store the name and
Guy Harris [Sun, 19 Dec 1999 07:01:30 +0000 (07:01 -0000)]
Add to the "color_filter_t" structure members to store the name and
filter string for the filter.

Maintain a list of the "color_filter_t" structures for all color
filters.

svn path=/trunk/; revision=1357

24 years agoLatest patches for SMB decodes ... This fixes the bug in large NetServerEnum2
Richard Sharpe [Sat, 18 Dec 1999 13:39:03 +0000 (13:39 -0000)]
Latest patches for SMB decodes ... This fixes the bug in large NetServerEnum2
responses and adds some more stuff.

I will have to decode NTcreateAndX requests and responses soon as well
as the MSRPC stuff ...

svn path=/trunk/; revision=1356

24 years agoAdd two 48x48 PNGs to the distribution.
Gilbert Ramirez [Fri, 17 Dec 1999 05:42:27 +0000 (05:42 -0000)]
Add two 48x48 PNGs to the distribution.

(I'm using -ko when checking in the PNGs... I hope I'm checking
these binary files into CVS correctly. I'll double check after
the commit).

svn path=/trunk/; revision=1355

24 years agoNew NFS v3 dissector (READDIR). 5 functions are still missing.
Uwe Girlich [Thu, 16 Dec 1999 08:38:12 +0000 (08:38 -0000)]
New NFS v3 dissector (READDIR). 5 functions are still missing.

svn path=/trunk/; revision=1354

24 years agoNew define NFS3_COOKIEVERFSIZE.
Uwe Girlich [Thu, 16 Dec 1999 08:34:10 +0000 (08:34 -0000)]
New define NFS3_COOKIEVERFSIZE.

svn path=/trunk/; revision=1353

24 years agoPut "Ethereal" in boldface everywhere it appears.
Guy Harris [Thu, 16 Dec 1999 08:05:46 +0000 (08:05 -0000)]
Put "Ethereal" in boldface everywhere it appears.

Reformat some (source) paragraphs, for the benefit of those with editors
that don't wrap lines in the display.

Delete some extra "=back" directives.

Fix the description of the "Preferences" dialog (it lets you control
various preferences, not just print preferences; it's the "Print" tab
that lets you control print preferences).

svn path=/trunk/; revision=1352

24 years agoAdd a new page to the Preferences notebook: a GUI page. The sole
Gilbert Ramirez [Thu, 16 Dec 1999 06:20:18 +0000 (06:20 -0000)]
Add a new page to the Preferences notebook: a GUI page. The sole
option right now is the placement of the vertical scrollbars in the 3 panes.
(it's one decision; you can't have the placement of the vertical scrollbar
in the packet list pane different than the placement in the protocol tree
pane, for example).

I did this because I find it convenient to have the vertical scrollbars
on the *left* side of the text. My mouse cursor is usually expanding and
collapsing the protocol tree widgets, and once the protocol tree changes
size, I usually have to scroll. I'd rather move my mouse cursor just a few
pixels over to find the vertical scrollbar.

svn path=/trunk/; revision=1351

24 years agoReduce the About box to a reasonable size. Gerald's name remains
Gilbert Ramirez [Thu, 16 Dec 1999 04:11:33 +0000 (04:11 -0000)]
Reduce the About box to a reasonable size. Gerald's name remains
with the copyright, and everyone else has been relegated to the
man page and AUTHORS file.

svn path=/trunk/; revision=1350

24 years agoFix segfault reported by Gregor Glomm <gg@seh.de> Really cleaned up LPD
Gilbert Ramirez [Wed, 15 Dec 1999 23:47:30 +0000 (23:47 -0000)]
Fix segfault reported by Gregor Glomm <gg@seh.de> Really cleaned up LPD
dissector.

svn path=/trunk/; revision=1349