Commit Graph

1598 Commits

Author SHA1 Message Date
Guy Harris dd3c88c1ff Update the Win32 Nmakefiles to reflect the move of the color code into
the "gtk" directory and the split of that code into "colors.c" and
"color_dlg.c".

svn path=/trunk/; revision=1624
2000-02-12 08:44:43 +00:00
Guy Harris 258da28261 Remove some unnecessary includes from "gtk/color_dlg.c" and
"gtk/colors.c", and make "gtk/color_dlg.c" include "gtk/color_dlg.h" to
make sure compilation checks the declaration of the routines with their
definitions.

svn path=/trunk/; revision=1623
2000-02-12 08:42:28 +00:00
Guy Harris 55c8a368b8 Split the color manipulation stuff into "color_dlg.[ch]", containing the
dialog boxes for editing color filtes, and "colors.[ch]", containing the
toolkit-dependent code to manipulate colors.

svn path=/trunk/; revision=1622
2000-02-12 08:31:49 +00:00
Guy Harris c80a7fd1d5 The color stuff is almost completely toolkit-dependent (this isn't just
the color-selection and color-filter-editing GUI stuff; different
toolkits, and different windows systems, have their own notions of color
objects - they may have nothing in common other than the notion that
colors have red, green, and blue values); move it all to the "gtk"
subdirectory for now, and, as we discover stuff stuff that can be made
platform-independent, drag it up to the top-level directory.

svn path=/trunk/; revision=1621
2000-02-12 08:15:31 +00:00
Guy Harris 80de78aaad Move the declarations of the routines in "gtk/file_dlg.c" out of
"gtk/main.h" and into a new "gtk/file_dlg.h" file.

svn path=/trunk/; revision=1620
2000-02-12 06:58:42 +00:00
Guy Harris 2cad7bc346 Make the routines internal to the filter-editing dialog box static.
Declare the one routine exported by "gtk/filter_prefs.c" in
"gtk/filter_prefs.h" rather than in "gtk/main.h".  Declare
"E_FILT_TE_PTR_KEY" there, as well, rather than in "prefs_dlg.h", as the
filter-editing dialog box is no longer a preference tab.

Don't include "prefs_dlg.h" unless the stuff declared therein is of
interest.

Fix "gtk/find_dlg.c" to fire up the filter-editing dialog box, not the
no-longer-extant preferences tab for filters, if the "Filter:" button is
clicked.

svn path=/trunk/; revision=1619
2000-02-12 06:46:54 +00:00
Guy Harris cb669105c3 Fix from Nick Amato for a typo - "Link", in "Link State", shouldn't have
an "e" in it.

svn path=/trunk/; revision=1618
2000-02-11 22:35:49 +00:00
Guy Harris 7c4a6c5e21 Say "Tethereal", rather than "Ethereal", in messages from Tethereal.
svn path=/trunk/; revision=1617
2000-02-11 06:53:31 +00:00
Gilbert Ramirez a2ab3f8c5a Add Peter Kjellerstedt <peter.kjellerstedt@axis.com>'s patches
to add Axis ethernet vendor ID, use libtoolize in autogen.sh, and
provide the very dangerous option of installing ethereal setuid.

I've added a "DANGEROUS" comment to the description of the
--enable-setuid-install option which displays in "./configure --help".

Removed generated files tha old libltdl/.cvsignore brought to my
attention by Peter.

svn path=/trunk/; revision=1616
2000-02-11 03:17:58 +00:00
Gerald Combs 92512bb4a0 Sean Walmsley <sean.p.walmsley@Hydro.ON.CA> caught a typo in Makefile.am.
svn path=/trunk/; revision=1615
2000-02-10 22:54:50 +00:00
Gilbert Ramirez 2d430c1f8d Change LT_LIB_EXT to ".so" for non-Win32 platforms.
svn path=/trunk/; revision=1614
2000-02-09 19:37:47 +00:00
Gilbert Ramirez f0fdcecac6 Initialize *p_pi solely to get rid of compiler warning.
svn path=/trunk/; revision=1613
2000-02-09 19:32:28 +00:00
Gilbert Ramirez f9a8a11ef5 Integrate Ed Meaney's <emeaney@altiga.com> changes for using libpcap
from WinDump with Ethereal. We now have packet capturing on Win32. :)

svn path=/trunk/; revision=1612
2000-02-09 19:18:42 +00:00
Guy Harris ae1f986db1 The time protocol is a simple request-response protocol, and doesn't end
up involving two ports neither of which is the official port; remove the
comment saying a dynamic call is added, as the code wasn't adding such a
call.

svn path=/trunk/; revision=1611
2000-02-09 19:09:02 +00:00
Gilbert Ramirez 74f3d6dbf8 I forgot to add Dietmar's new file, packet-time.c.
svn path=/trunk/; revision=1610
2000-02-09 17:17:00 +00:00
Gilbert Ramirez c08f671988 Dietmar Petras provided:
* fix a bug in packet-tftp.c dissecting TFTP Option Acknowledgement
  packets. The is no Block-Id in TFTP Option Acknowledgements, as it is
  in TFTP Acknowledgements.
* Extension of manuf by ethernet addresses from ELSA (my company), a german
  vendor of ISDN routers, cable modems, etc.
* New dissector for Time Protocol [RFC 0868]. That protocol works on port
  37 of UDP and TCP. The implementation in this patch only dissects the
  more usual UDP version. It could print the time in a more fashion way,
  but thats for a later version.

svn path=/trunk/; revision=1609
2000-02-09 17:15:59 +00:00
Gilbert Ramirez 41f0a2c5e6 Update Makefiles for win32. Move local configuration to config.nmake,
have top-level Makefile.nmake call Makefile.nmake's in subdirectories.
Build plugins, and build generated source (lex, yacc). The only thing we
can't build is register.c; I need to re-work the top-level Makefile.nmake
because it lists object files, not C files, which make-reg-dotc needs.

svn path=/trunk/; revision=1608
2000-02-09 00:41:57 +00:00
Olivier Abad a6a7b2af48 In debian/changelog :
Changes from Frederic Peters to avoid conflicts with official debian
packages (I used a version scheme attributed to non-maintainer uploads).

In debian/control :
Add missing build dependencies (only useful for debian build daemons).

svn path=/trunk/; revision=1607
2000-02-08 19:41:50 +00:00
Gilbert Ramirez 07a7268c83 Change "unsigned gint64" to "guint64", and add GPL header to plugin_api.[ch]
svn path=/trunk/; revision=1606
2000-02-07 17:23:53 +00:00
Gilbert Ramirez c4fa7c87df Code changes, but not Makefile changes, for enabling plugins for Win32.
svn path=/trunk/; revision=1605
2000-02-07 17:08:27 +00:00
Guy Harris 5da490dab2 Note the document that specified the PIDs for VTP and DRiP that go along
with Cisco's "wacky proprietary protocols atop LLC/SNAP" OUI, and put in
"#if 0"ed out code for Cisco's DRiP.

svn path=/trunk/; revision=1604
2000-02-05 09:34:33 +00:00
Guy Harris 101bc1a007 Dissector for Cisco's Virtual Trunking Protocol.
svn path=/trunk/; revision=1603
2000-02-05 09:19:06 +00:00
Guy Harris f035694705 Allow filtering on 24-bit integral fields.
svn path=/trunk/; revision=1602
2000-02-05 06:07:16 +00:00
Guy Harris 4b81b2dbc9 Cisco Group Management Protocol dissector.
svn path=/trunk/; revision=1601
2000-02-05 05:54:17 +00:00
Olivier Abad 1d03243542 In init_plugins() :
If std_plug_dir AND local_plug_dir don't exist, the code doesn't scan
PLUGIN_DIR. Reported by Eric Lassauge.

svn path=/trunk/; revision=1600
2000-02-03 21:31:03 +00:00
Guy Harris a30c9d9979 Change from Ed Meaney - when doing a "Save" or "Save As" that saves all
packets and doesn't change the capture file format, i.e. that's done by
a raw copy, read the file in binary.  (XXX - does "creat()", on Win32,
open the file in ASCII or binary mode?  If ASCII, we may have to use

	open(fname, O_CREAT|O_TRUNC|O_WRONLY|O_BINARY, 0644)

rather than

	creat(fname, 0644)

so that the output file is written in binary as well.)

svn path=/trunk/; revision=1599
2000-02-03 06:35:27 +00:00
Guy Harris a82c49732b Change from Ed Meaney - write capture files in binary, rather than ASCII
("w" and "wb" are the same on UNIX, but not on Win32).

svn path=/trunk/; revision=1598
2000-02-03 06:31:30 +00:00
Guy Harris 58f1df6a34 Change from Ed Meaney - write capture files in binary, rather than ASCII
("w" and "wb" are the same on UNIX, but not on Win32).

Also, give Gilbert credit for the Win32 changes he's made.

svn path=/trunk/; revision=1597
2000-02-03 06:30:47 +00:00
Olivier Abad c2943128fc In dissect_ipopt_timestamp() :
Correct a bug reported by Paul Ionescu when dissecting a timestamp IP
option. The offsets where not correct.

svn path=/trunk/; revision=1596
2000-02-02 22:07:38 +00:00
Gilbert Ramirez 16fbabe46f Also listen for GDK_INPUT_EXCEPTION on the sync pipe. On Solaris 2.6
this is needed to get the last message from the pipe.

svn path=/trunk/; revision=1595
2000-02-02 18:38:52 +00:00
Guy Harris 9b937a183a Add a note about many Linux libpcaps turning promiscuous mode off only
when the program using libpcap exits, and perhaps not doing so even
then, and indicating how to check whether an interface is in promiscuous
mode and how to take it out of promiscuous mode if it is in promiscuous
mode.

svn path=/trunk/; revision=1593
2000-02-01 21:52:22 +00:00
Guy Harris 6e8ab029fc Note that capture filters don't work on Linux loopback devices with the
current version of libpcap.

svn path=/trunk/; revision=1592
2000-02-01 21:21:47 +00:00
Gilbert Ramirez 1c751dbe7b Move to version 0.8.3.
svn path=/trunk/; revision=1591
2000-02-01 14:12:20 +00:00
Gilbert Ramirez ac833a257b Remove libltdl sources.
svn path=/trunk/; revision=1590
2000-02-01 14:03:47 +00:00
Guy Harris 67c78197e3 Dissect packets to or from port 162 as SNMP packets - that's the port to
which SNMP traps are sent.  Thanks and a tip of the Hatlo Hat to Craig
Rodrigues for discovering this.

svn path=/trunk/; revision=1589
2000-02-01 04:13:47 +00:00
Olivier Abad fa8b170ac9 In init_plugins(), before scanning PLUGIN_DIR :
do a "stat" on PLUGIN_DIR, /usr/lib/ethereal/plugins/0.8 and
/usr/local/lib/ethereal/plugins/0.8 and compare st_dev and st_ino to be
sure that PLUGIN_DIR is different from the others (and not a symlink which
would cause a "plugin found in multiple directories" warning).

svn path=/trunk/; revision=1588
2000-01-31 19:50:58 +00:00
Gilbert Ramirez 7e49f55670 Add a semicolon in a win32 block of code.
svn path=/trunk/; revision=1587
2000-01-31 19:34:25 +00:00
Nathan Neulinger f44e0c9b9d added support for clicking capture window's close box to stop capture
svn path=/trunk/; revision=1586
2000-01-30 17:10:29 +00:00
Nathan Neulinger 53db0d5587 Added ethereal_static extra target in Makefile.am. Did not add the updates
to configure.in. This should allow someone to do 'make ethereal_static' and
get a staticly built copy of ethereal w/o plugin support on platforms that
support -Wl,-static for static linking.

svn path=/trunk/; revision=1585
2000-01-30 16:57:20 +00:00
Guy Harris 4494fa53a8 Dissect the user data of an incoming CALL REQUEST/INCOMING CALL packet
as per X.224 and X.264.

svn path=/trunk/; revision=1584
2000-01-30 05:58:02 +00:00
Guy Harris 31ff2ea5f1 Add a bunch of additional NLPIDs from ISO 9577.
svn path=/trunk/; revision=1583
2000-01-30 05:50:02 +00:00
Guy Harris 0c57cfd820 Just pass the return value of "getuid()" directly on to "getpwuid()";
don't stuff it into a variable.

svn path=/trunk/; revision=1582
2000-01-29 20:04:23 +00:00
Guy Harris 8e5f407346 Fix #ifndef line whose symbol had been omitted.
svn path=/trunk/; revision=1581
2000-01-29 19:08:12 +00:00
Guy Harris f292c583bf Don't put "get_home_dir()" inside #ifdef HAVE_LIBPCAP/#endif.
On UNIX, if "$HOME" isn't set, try getting the user ID and the password
entry for that user ID, and, if that succeeds, get the home directory
from the password entry, otherwise use "/tmp".  On NT, it may be
possible to do something similar (get the user name, and append that to
"C:\winnt\profiles\"); I'm not sure whether there's anything that can be
done on Windows 9x.

svn path=/trunk/; revision=1580
2000-01-29 19:06:59 +00:00
Gilbert Ramirez ea8136cd8e Remove instances of getenv("HOME") and provide a get_home_dir() function
which provides a default value if "HOME" is not set.

svn path=/trunk/; revision=1579
2000-01-29 16:41:28 +00:00
Gilbert Ramirez 18d8686647 I forgot to toggle the data_out_file "semaphore" (well, we us it like one)
at the end of follow_read_stream(), which causes a segfault if you change
the TCP Follow screen to EBCDIC, and then go back and select a TCP packet.

svn path=/trunk/; revision=1578
2000-01-29 13:30:08 +00:00
Guy Harris 1a9d19e2b0 The user data in an X.25 call request packet is - at least for IP and,
if I correctly read the Windows NT DDK documentation on WAN drivers, for
PPP as well - an ISO NLPID, so use the "nlpid.h" values where they
exist.

Currently doesn't treat NLPID_PPP as PPP, but if we get a PPP-over-X.25
capture, we may find that it should do so.

svn path=/trunk/; revision=1577
2000-01-29 09:19:02 +00:00
Gilbert Ramirez 65b4006f46 Support for NetXray 3.03 (the program version, not file version) PPP
traces. The trace we got from Tom Poe (tomp@intrex.net) contains PPP
data which NetXRay has transformed into looking like Ethernet frames.
The hardware addresses are the bytes for the ASCII reprsentation of
"SRC" and "DEST", with null pad bytes at the end. Interesting.

svn path=/trunk/; revision=1576
2000-01-29 05:10:06 +00:00
Gilbert Ramirez ecd8d95e09 Fix a bug in the extraction of the sequence number.
svn path=/trunk/; revision=1575
2000-01-29 04:47:34 +00:00
Gilbert Ramirez 15ccb155f8 If a file is opened, and then closed, the File|Open option doesn't
show up any more (nor does the Capture option). Fixed.

svn path=/trunk/; revision=1574
2000-01-27 09:53:50 +00:00