Commit Graph

796 Commits

Author SHA1 Message Date
Luis Ontanon 184349063f - disable print
- add a log facility to lua (so far just prints to stderr)
- add settings to disable lua even if installed, to load or not to load user scripts when superuser
- create a default /usr/local/share/ethereal/init.lua that blocks all the io/system calls when running as superuser



svn path=/trunk/; revision=17290
2006-02-13 22:13:31 +00:00
Gerald Combs 80e5e0fb15 Copy over the file open/save code from the Win32 native branch.
The Windows-native routines were integrated by inserting

#if GTK_MAJOR_VERSION >= 2 && _WIN32
  win32_native_routine(GDK_WINDOW_HWND(top_level->window));
  return;
#endif

at the beginning of each GTK+ file routine.  There's probably a prettier
way to do this.

Some of the sizes need to be tweaked in win32-file-dlg.rc, but everything
seems to work.

Fix up whitespace.

svn path=/trunk/; revision=17285
2006-02-13 21:25:43 +00:00
Lars Roland db0a70d039 When using GTK 2.8, we need the cairo dlls, so add them to the install-gtk2-deps target
svn path=/trunk/; revision=17245
2006-02-10 14:13:06 +00:00
Guy Harris ad3cb359b6 From Paolo Abeni:
Set up to build on Windows if we have GNU TLS.

	Define "ssl_data_set()" regardless of whether we have GNU TLS or
	not, as it's used in either case.

	Get rid of an extra #include of epan/gnuc_format_check.h.

svn path=/trunk/; revision=17177
2006-02-06 09:09:06 +00:00
Gerald Combs 306fbc3fdb Update to Net-SNMP 5.2.2.
svn path=/trunk/; revision=16907
2005-12-27 18:33:58 +00:00
Gerald Combs 18abcfc988 If "CLIENTNAME" is set (which indicates that we're using RDP) use
"not tcp port 3389" instead of "not ip host $CLIENTNAME", since it
seems to be more reliable.

Make sure we remove dumpcap.obj when we clean.

This also tests the content-type "text/plain; charset=utf-8" for commit
messages.  Maybe Stig B's name will show up correctly now.

svn path=/trunk/; revision=16826
2005-12-16 17:53:44 +00:00
Gerald Combs 253b96e81f Add support for GLib/GTK+ 2.8. Point to the latest tag.
svn path=/trunk/; revision=16802
2005-12-14 21:19:39 +00:00
Ulf Lamping 00777013b5 the verify_tool target should check for /usr/bin/find (I errorneously did changed it a while ago)
add a comment why we should check for exactly that version

svn path=/trunk/; revision=16753
2005-12-10 11:14:36 +00:00
Ulf Lamping 08a727307c both the buildbot and I have problems with setargv.obj
trying to comment it out, so the build should work again.

don't know what this file is all about :-( 

I just don't have that file and it doesn't seem to be generated ... 

svn path=/trunk/; revision=16697
2005-12-06 08:40:17 +00:00
Guy Harris 4f7478f3a0 Make $(command_line_OBJECTS) a dependency of the stuff that links with
it.

Link dumpcap with mkstemp.obj, as it needs mkstemp().

Make dumpcap depend only on its resource file, as we do with other
programs, not on all of them.

svn path=/trunk/; revision=16695
2005-12-06 06:03:34 +00:00
Ulf Lamping 792584c211 no more usage of Ethereal.lib in dumpcap any longer :-)
use capture_opts_trim()
output of command line usage and version "enhanced"

svn path=/trunk/; revision=16684
2005-12-05 21:28:34 +00:00
Ulf Lamping fc61a1de25 first steps towards a separated capture tool, working title "dumpcap"
personal backup only, not meant for public testing!

I've copied main.c into dumpcap.c and carved out all things not needed

currently won't work as a command line tool, capture_loop.c wants an input pipe
console output is also very ugly and the whole code needs a lot of further cleanup

shouldn't break the unix build as I've only changed the nmake files so far, but who knows ...

svn path=/trunk/; revision=16615
2005-11-28 08:54:52 +00:00
Ulf Lamping ede79e4d3c Win32: first steps towards using GTK2.6, add zipfile and dir name definitions
svn path=/trunk/; revision=16282
2005-10-21 18:47:04 +00:00
Ulf Lamping e6f26721f4 replace WinPcap devel pack 3.0 with current 3.1 version
svn path=/trunk/; revision=15972
2005-09-22 23:18:34 +00:00
Gerald Combs 33cfe1725a Sort each conversation column numerically. Fix up whitespace.
It looks like we can't put "COPYCMD=/Y" in config.nmake and expect nmake
to do the right thing.  Add a comment, and set COPYCMD explicitly in the
root Makefile.nmake.  The rest of the occurrences of xcopy will have to
be taken care of at some point.

svn path=/trunk/; revision=15840
2005-09-16 16:25:53 +00:00
Gerald Combs adce5ed6a5 Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in order
to fix compilation under Windows NT.  This should fix bug 403.

The changes were made using "find . -name Makefile.nmake | xargs perl
-pi.bak -e 's: /y::i'".  They appear to work under XP, but if anything
broke I blame Larry Wall.

svn path=/trunk/; revision=15710
2005-09-07 13:26:23 +00:00
Gerald Combs 4ba88078f9 Move to the latest ethereal-win32-libs tag.
svn path=/trunk/; revision=15706
2005-09-06 19:48:57 +00:00
Gerald Combs 00f087b2f0 In doc/Makefile.nmake, use the "install-deps" target from the root
Makefile.nmake instead of doing our own XCOPYing.  Use the "clean-deps"
target when we're done instead of leaving DLLs lying around.

Normalize the use of underscores vs hyphens in the "clean-deps" target.

svn path=/trunk/; revision=15704
2005-09-06 18:41:25 +00:00
Ulf Lamping 2a2e994cb1 verify_tools:
- not only look for the cygwin tools, but also check the MSVC tools required like cl.exe, link.exe and nmake.exe

- I don't know why we should use /usr/bin/find but simply find, check for it instead. If there's a reason to use /usr/bin/find, we should use $(FIND) instead but I currently don't see a reason for this

svn path=/trunk/; revision=15220
2005-08-05 08:34:47 +00:00
Gerald Combs db5add1cc3 From Brice Augustin: Use the correct packet length in randpkt.
Build randpkt.exe by default under Windows.

svn path=/trunk/; revision=15092
2005-07-26 16:54:08 +00:00
Gerald Combs a64a4043c3 Revert back to GTK-Wimp 0.6.2. Move to WinPcap 3.1beta4.
svn path=/trunk/; revision=15091
2005-07-26 16:44:57 +00:00
Ulf Lamping d043a722ee Update to zlib 1.2.3
svn path=/trunk/; revision=15039
2005-07-24 13:54:19 +00:00
Gerald Combs e1c7558d93 Point to the latest Windows library tag and versions.
svn path=/trunk/; revision=14923
2005-07-15 20:50:34 +00:00
Gerald Combs 5b7df3128b Make sure "which" is present before we verify our tools. Add "env" to
the list of programs to check.  Make sure our python scripts start with
"#!/usr/bin/env python" as recommended at

  http://www.python.org/doc/faq/library.html#how-do-i-make-a-python-script-executable-on-unix

svn path=/trunk/; revision=14871
2005-07-07 21:26:09 +00:00
Lars Roland 692cd3d6db As suggested by Jaap Keuter:
Add generated files copied by "install-deps" to the
"clean" target

svn path=/trunk/; revision=14509
2005-05-31 20:42:15 +00:00
Ulf Lamping d817ddf513 win32 only: get interface details from WinPcap's packet.dll (direct access to NDIS specific driver information, lower first part)
svn path=/trunk/; revision=14406
2005-05-20 22:16:47 +00:00
Lars Roland 5bb4e926aa add the new target "install-plugins" to nmake makefile
in the plugins subdirectory. This target will copy all plugins to plugins/$(VERSION), thus (t)ethereal will
find and load the plugins when called from within the source tree.

call this target from the main nmake makefile after
installing other dependencies. call it from the nmake makefile
in the doc subdirectory before calling "tethereal -G".
This way "tethereal -G" will recognize the filterable
fields from the plugins, too.


svn path=/trunk/; revision=14284
2005-05-03 01:03:33 +00:00
Lars Roland 2f5fee9c99 Add an install-deps target to the nmake makefiles.
This target will copy all files, mainly dlls, which
are necessary to run (t)ethereal to the source tree.

After copying all necessary dlls to the source tree,
you can run (t)ethereal directly from the source tree.

svn path=/trunk/; revision=14259
2005-05-01 23:03:45 +00:00
Guy Harris 596a4f865b It doesn't matter whether, when building with WinPcap, we have
pcap_lib_version() in the WinPcap on the system on which we're building.

svn path=/trunk/; revision=13873
2005-03-23 01:55:11 +00:00
Guy Harris 46e1907f13 If we have "pcap_freecode()", use it to free the instructions for a BPF
filter after installing the filter.

Set HAVE_PCAP_LIB_VERSION if we're building with WinPcap 3.1; it's not
present in earlier versions, but is present in current 3.1 betas.

Check HAVE_PCAP_LIB_VERSION when building capture-wpcap.c.

svn path=/trunk/; revision=13872
2005-03-23 01:25:01 +00:00
Lars Roland af529a9fb0 Clean up.
Remove obsolete plugin address table and related files.
Remove related targets from various makefiles.

svn path=/trunk/; revision=13787
2005-03-17 00:10:23 +00:00
Guy Harris 6616a3770c Make the "maintainer-clean" rules get rid of some additional generated
files.  Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.

Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.

Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files.  In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).

Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.

svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
Lars Roland f3294ee49a change nmake makefiles in /trunk and /trunk/epan so that
object code for libethereal.dll isn't generated by the
makefile in /trunk.

Having no code in /trunk linked into libethereal.dll
anymore, the definition of the macro _NEED_VAR_IMPORT_
can be moved from various source files in /trunk to /trunk/Makefile.nmake .
So do that, too.

svn path=/trunk/; revision=13389
2005-02-13 00:10:15 +00:00
Lars Roland 338bda08bd clean up makefiles.
especially /trunk/Makefile.nmake doesn't have to include
/trunk/epan/Makefile.common anymore.

svn path=/trunk/; revision=13368
2005-02-10 01:26:19 +00:00
Gerald Combs db4f10408c Switch the Windows build environment to GTK 2.4.14. Enable GTK-Wimp by
default in the installer.

svn path=/trunk/; revision=13087
2005-01-17 16:45:15 +00:00
Gerald Combs 21e89ed1a4 Replace a "cp" with three "xcopy"s.
svn path=/trunk/; revision=12946
2005-01-04 17:25:38 +00:00
Gerald Combs 1007a85912 If bash is run as a non-login shell, it doesn't read /etc/profile. Under
Cygwin this has the side effect of making the Windows "find" command appear 
first in the path instead of Cygwin's "find" command.  Call /usr/bin/find
explicitly in win32-setup.sh.

svn path=/trunk/; revision=12639
2004-12-01 16:56:37 +00:00
Guy Harris ffebed7a16 From Francisco Alcoba: link with setargv.obj so that wildcards are
expanded in the command line.

svn path=/trunk/; revision=12635
2004-12-01 11:35:27 +00:00
Gerald Combs 236f1a9717 Update to GTK+ 2.4.13.
svn path=/trunk/; revision=12581
2004-11-23 17:31:16 +00:00
Gerald Combs 5c665d64a7 Update the Windows build to zlib 1.2.2.
Have win32-setup.sh download from "2004-11-02" tag directory.

svn path=/trunk/; revision=12474
2004-11-02 19:07:52 +00:00
Ulf Lamping 0f80fa5c7d renamed capinfo to capinfos, as the former name capinfo was already used in a program called tcprelay, so that might confuse packaging managers and users. Hopefully I got all the places need to be changed.
svn path=/trunk/; revision=12358
2004-10-20 18:50:58 +00:00
Guy Harris 7e1521119f From Graeme Hewson: make AUTHORS-SHORT not include formatting codes,
with AUTHORS-SHORT-FORMAT containing the formatting codes.

svn path=/trunk/; revision=12334
2004-10-17 23:03:11 +00:00
Ulf Lamping 8912ad524b update setup target to latest win32 libs
svn path=/trunk/; revision=12316
2004-10-16 11:17:57 +00:00
Gerald Combs 6c2fcd2c92 Updates to reflect revision 4 of ethereal-win32-libs.
svn path=/trunk/; revision=12305
2004-10-15 18:30:05 +00:00
Gerald Combs fee16ab377 Add support for decoding DES3/CBC/MD5 keys. Make it disabled by default.
Whitespace cleanup.

svn path=/trunk/; revision=12304
2004-10-15 15:36:12 +00:00
Ulf Lamping 86b776b46c update setup target to latest GTK library files
svn path=/trunk/; revision=12249
2004-10-09 07:48:13 +00:00
Guy Harris 981c68cd51 From Lars Roland: don't link EXTRA_OBJECTS unnecessarily with
ethereal.exe, tethereal.exe and dftest.exe.  Export mkstemp() from
libethereal.dll instead.

svn path=/trunk/; revision=12181
2004-10-02 01:54:35 +00:00
Guy Harris 444119dbcb From Lars Roland: add an option to link plugins with libethereal rather
than using the plugin address table.

svn path=/trunk/; revision=12139
2004-09-29 19:30:10 +00:00
Ulf Lamping 65f82a615f Use new win32 libs from anonsvn instead of webpage, including setup target. Use updated GTK 2.4.9 libraries. But still use wget.
svn path=/trunk/; revision=12086
2004-09-24 16:08:44 +00:00
Guy Harris 29753bf6b2 From Gisle Vanem: add support for pcap_datalink_val_to_name() for Win32.
Also add support for pcap_datalink_name_to_val(), and arrange that we
properly define HAVE_PCAP_DATALINK_NAME_TO_VAL and
HAVE_PCAP_DATALINK_VAL_TO_NAME for MSVC++ builds.

svn path=/trunk/; revision=12073
2004-09-23 17:54:49 +00:00
Ulf Lamping 0b30d8900b added a clean_setup target, to cleanup the unzipped files
svn path=/trunk/; revision=11977
2004-09-12 10:07:23 +00:00
Guy Harris 9c2ece3d96 From Graeme Hewson: translate accented UTF-8 characters to Pod E<>
escapes so they turn into *roff escapes and HTML entities in the output,
in case raw UTF-8 doesn't work.

svn path=/trunk/; revision=11975
2004-09-11 23:42:03 +00:00
Ulf Lamping 812bc6eade renamed REQUIRED_APPS to REQUIRED_TOOLS and verify_apps to verify_tools, as it seems much more appropriate
svn path=/trunk/; revision=11874
2004-09-01 11:53:28 +00:00
Gerald Combs 7d2c21e317 Bump the GTK+ 2.4 version up to 2.4.7, and bup GTK-Wimp up to 0.62.
svn path=/trunk/; revision=11842
2004-08-26 23:01:46 +00:00
Gerald Combs 490545d73f Update to GTK-Wimp 0.6.1.
svn path=/trunk/; revision=11721
2004-08-11 21:22:49 +00:00
Gerald Combs b1349d460d Change the "setup" target to download the updated GTK+ libraries described
at http://mail.gnome.org/archives/gtk-devel-list/2004-August/msg00058.html .

svn path=/trunk/; revision=11718
2004-08-11 20:34:42 +00:00
Gerald Combs 2cd81cb109 Update the "setup" target for GLib 2.4.5, GTK+ 2.4.4, and Pango-1.4.1.
svn path=/trunk/; revision=11612
2004-08-06 16:25:59 +00:00
Olivier Biot 26691ff1be From Lars Roland: MSVC make fixes.
Many people have recently reported many problems with the nmake build 
process. It seems that these problems come from using 
epan/makefile.nmake to compile the DISSECTOR_SUPPORT_SOURCES which are 
located in /trunk.

Nmake from MSVC6 puts the object code of the DISSECTOR_SUPPORT_SOURCES 
in /epan although Nmake expects the object code in /trunk when it 
checkes dependencies. Thus DISSECTOR_SUPPORT_OBJECTS are built every 
time even when they are already there.

Nmake Version 1.5 (MSVC 2003 Toolkit) puts the object code of the 
DISSECTOR_SUPPORT_SOURCES in /trunk instead.
This makes it impossible to use epan/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES and to make it work for both versions of nmake.

We have to use /trunk/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES to solve these issues.

It should also be possible to build ethereal without libethereal.dll again.

Once we have moved all DISSECTOR_SUPPORT_SOURCES into a subdirectory of 
epan we can get rid of this patchwork in the nmake makefiles.


svn path=/trunk/; revision=11562
2004-07-29 07:25:11 +00:00
Olivier Biot 028fd26a0e Add the MSWIN RC information for capinfo.
svn path=/trunk/; revision=11556
2004-07-28 21:13:27 +00:00
Olivier Biot cb6b29786b From Ian Schorr: capinfo - provides capture file information.
svn path=/trunk/; revision=11555
2004-07-28 20:51:29 +00:00
Guy Harris f28323ba39 From Graham Bloice: add resources to wiretap.dll.
svn path=/trunk/; revision=11476
2004-07-23 06:11:50 +00:00
Gerald Combs 83b366536a Add doxygen.cfg to the "clean" target.
svn path=/trunk/; revision=11464
2004-07-21 22:12:49 +00:00
Gerald Combs e20430f876 Fixes (and ugly hacks) for Windows compilation.
svn path=/trunk/; revision=11435
2004-07-19 21:18:40 +00:00
Ulf Lamping 5c008e38ba Fix the win32 nmake generation for now (it will compile/link/run again). This will need more cleanup if the movements of the dissector sources are finished. Hopefully this doesn't broke the unix build.
svn path=/trunk/; revision=11423
2004-07-18 23:46:07 +00:00
Ulf Lamping 4fdb830569 first attempt to make Win32 generation (nmake) ready for the dissector movings (but still incomplete)
svn path=/trunk/; revision=11415
2004-07-18 20:21:20 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Guy Harris 8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Ulf Lamping 31b5d74f55 Changed dependencies, so image dir will be generated before epan, otherwise the libethereal.res file will not be available when needed to link libethereal.dll
svn path=/trunk/; revision=11394
2004-07-17 12:49:34 +00:00
Guy Harris 506605d771 From Graham Bloice: add resource information to libethereal.dll.
svn path=/trunk/; revision=11388
2004-07-17 09:49:32 +00:00
Gerald Combs 8106dc0862 Convert make-version.pl and the associated cvsversion.h and CVSVERSION
definition to Subversion.  "svn info" prints out the last changed date
of the repository, so we don't have to go hunting through "CVS/Entries"
files anymore.


svn path=/trunk/; revision=11379
2004-07-15 21:09:33 +00:00
Gerald Combs 26da520614 Both epan/doxygen.cfg and gtk/doxygen.cfg depend on the root doxygen.cfg.
Build it before going into those directories.

svn path=/trunk/; revision=11375
2004-07-13 19:30:02 +00:00
Guy Harris 7737b1382d From Laurent Rabret: replace "lib" with "link /lib"; "lib" is just a
wrapper around "link /lib", and not all Microsoft C compiler
distributions provide "lib".

svn path=/trunk/; revision=11242
2004-06-26 02:16:16 +00:00
Ulf Lamping 2a6da1361c Add experimental feature of opening a webbrowser, to show some of the
webpages from http://www.ethereal.com. This functionality is copied from
the Gimp.
Win32 will use ShellExecute to use the system registered webbrowser.
On unix builds, currently the mozilla browser is hardcoded, we still need a
preference setting for this (I will add this later).

svn path=/trunk/; revision=11206
2004-06-21 17:27:35 +00:00
Gerald Combs c10d97d8e3 Change to GLib 2.4.2 and GTK+ 2.4.3.
svn path=/trunk/; revision=11204
2004-06-21 15:57:50 +00:00
Ulf Lamping 3e66de1895 add GTK2.4 and alike libs to the setup target,
depending on settings in config.nmake

svn path=/trunk/; revision=11200
2004-06-20 20:22:09 +00:00
Ulf Lamping a85e91903a add merge.obj to the linking of mergecap.exe
svn path=/trunk/; revision=11193
2004-06-20 09:49:36 +00:00
Ulf Lamping 86246e6851 convert AUTHORS file to a shorter version (without the tasks done)
for the about dialog

svn path=/trunk/; revision=10944
2004-05-21 17:25:32 +00:00
Ulf Lamping 3508e88563 GTK Wimp has it's own setting: GTK_WIMP_DIR,
the setup target should use it accordingly

svn path=/trunk/; revision=10894
2004-05-14 16:23:38 +00:00
Olivier Biot d5a08cdf9f Fix a typo (seperate should be separate).
svn path=/trunk/; revision=10878
2004-05-13 20:54:39 +00:00
Guy Harris 15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00
Olivier Biot 388aaadcb7 Get rid of epan/config.h.win32.
Fix a missing ZLIB_CFLAGS in epan/Makefile.nmake.

svn path=/trunk/; revision=10807
2004-05-06 20:48:36 +00:00
Guy Harris e2dbc02713 From Lars Roland:
"make distclean" now removes "cvsversion.h";

	new "update_plugin_api" which just builds the "xyzzy" target in
	the plugins subdirectory but makes sure that "config.h" has been
	generated, added.

svn path=/trunk/; revision=10672
2004-04-23 05:19:49 +00:00
Ulf Lamping 55c3178e95 Modify the "setup" target to download the packages we've defined, so that we
don't download the GTK1 packages unless we have GTK1_DIR defined.

svn path=/trunk/; revision=10579
2004-04-10 07:29:14 +00:00
Gerald Combs f1cb4f2f0a Modify the "setup" target to download the packages we've defined, so that we
don't download the GTK2 packages unless we have GTK2_DIR defined.

Fix some path checking in win32-setup.sh.

svn path=/trunk/; revision=10577
2004-04-09 16:54:07 +00:00
Ulf Lamping 6a597864f2 use the configured names from config.nmake for the required apps list
svn path=/trunk/; revision=10574
2004-04-09 07:38:38 +00:00
Gerald Combs a011fb14e2 Add a Makefile.nmake target called "setup" that uses the script
tools\win32-setup.sh to

  - Check for applications required to build Ethereal
  - Download and unpack required packages into $ETHEREAL_LIBS

Update ADNS to the latest version.

Make Python 2.3 the default.

svn path=/trunk/; revision=10567
2004-04-08 20:36:09 +00:00
Gerald Combs 233dadebd3 From Lars Roland: Fix a couple of MSVC build problems.
svn path=/trunk/; revision=10439
2004-03-22 20:35:07 +00:00
Ulf Lamping f1df01f866 from Lars Roland: fix Makefiles.nmake after changes from Joerg
svn path=/trunk/; revision=10277
2004-03-02 18:55:30 +00:00
Jörg Mayer 4a6e73c84a Move the dissectors into libethereal (no static/shared lib changes):
- Create epan/Makefile.common
- Move dissector_src and helper files from Makefile.common to
  epan/Makefile.common
- Create register.c in epan/
- link all the files into libethereal
- put plugin_src into epan/Makefile.am

Try to make rpms build with rpm v4 again (sorry, I've forgotten who to
attribute this to).

svn path=/trunk/; revision=10273
2004-03-02 01:21:56 +00:00
Gerald Combs 5de3a44126 MSVC doesn't like having header files in .c=.obj targets.
Fix dftest compiling under Windows.

svn path=/trunk/; revision=10208
2004-02-23 22:45:24 +00:00
Ulf Lamping d830fd0f90 make the Makefile.common really common between automake and nmake,
as lot's of definitions were used in the automake process only

svn path=/trunk/; revision=10176
2004-02-22 08:30:41 +00:00
Gerald Combs 037c2c12e4 From Lars Roland: Add support for a combined GTK1/2 Windows installer.
svn path=/trunk/; revision=10098
2004-02-18 20:45:54 +00:00
Guy Harris 1ca41683a0 Now that Ethereal *itself* (not just Wiretap) can use libz (the Soulseek
dissector can use it), we have to link Ethereal, Tethereal, and dftest
with libz, as well as linking Wiretap with it.

We also probably need to link dftest with the PCRE library, as the
display filter code uses PCRE.

svn path=/trunk/; revision=10057
2004-02-13 02:03:14 +00:00
Guy Harris b2a64dc261 The top-level Makefile.nmake doesn't yet get all the source files from
Makefile.common, so we have to add alert_box.obj to the list of object
files for Ethereal.

svn path=/trunk/; revision=10037
2004-02-11 09:58:13 +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 bcd907a23d The last commit was only half complete
svn path=/trunk/; revision=9942
2004-02-01 10:11:51 +00:00
Jörg Mayer 591edcfd03 Move sourcelists into Makefile.common
svn path=/trunk/; revision=9941
2004-02-01 10:07:20 +00:00
Ulf Lamping 893624498e use identical depencies for gtk1 also for gtk2 target
svn path=/trunk/; revision=9922
2004-01-31 12:19:58 +00:00
Ulf Lamping c6201489da updated NSIS generation to build GTK version 1 or 2,
added new target "packaging" to root Makefile.nmake,
which will generate version 1 or 2 or both,
depending on config.nmake GTK?_DIR setting

svn path=/trunk/; revision=9866
2004-01-26 21:12:41 +00:00
Ulf Lamping 064d5e5e07 Added the ability to compile both GTK versions 1 and 2 at the same time.
svn path=/trunk/; revision=9827
2004-01-24 20:01:36 +00:00
Jörg Mayer 5abba20365 Move the list of dissectors (DISSECTOR_SRC) out of Makefile.am and
Makefile.nmake into a shared file named Makefile.common

svn path=/trunk/; revision=9772
2004-01-21 21:46:59 +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
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
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
Jörg Mayer c66bbb0019 Try to genereate cvsversion.h
Note: I don't know anything about the limitations of nmake, so I don't know
whether the `find ...` will work and I can't test it, as I don't have a
Windows system with anything even remotely resembling a compiler on it.

svn path=/trunk/; revision=9687
2004-01-17 00:26:30 +00:00
Gerald Combs ba6b321e63 From Aaron Woo (via Jeff Weston): Optimized Link State Routing Protocol
(OLSR) support.

svn path=/trunk/; revision=9673
2004-01-16 04:37:54 +00:00
Olivier Biot 55f9271c3b Add support for MIME multipart dissection.
svn path=/trunk/; revision=9670
2004-01-16 01:32:20 +00:00
Guy Harris c66241700a From Yuriy Sidelnikov: ISO 8823 Presentation Protocol support.
svn path=/trunk/; revision=9649
2004-01-13 02:10:25 +00:00
Guy Harris 58f30e366e Fix a source file name that got added to the list of object files.
svn path=/trunk/; revision=9646
2004-01-12 08:55:38 +00:00
Guy Harris b97626862e Rename DISSECTOR_HELPER_{SRC,OBJECTS} to
DISSECTOR_SUPPORT_{SRC,OBJECTS}.

Add some additional files, required by dissectors, to those lists.

Extract the stuff to get version information strings for libraries and
the OS, which is *not* needed by dissectors, from "util.c", which
contains routines that *are* needed by dissectors, and put it into a
separate file.

Make "dftest" link only with the dissector support stuff, not with all
of the Ethereal common files.

svn path=/trunk/; revision=9645
2004-01-11 22:17:43 +00:00
Guy Harris 73d7a8e202 Move header files for stuff used by dissectors, and source files
containing helper routines, to DISSECTOR_HELPER_SRC.  Include
DISSECTOR_HELPER_SRC in ETHEREAL_COMMON_SRC, and include BUILT_SOURCES
in ETHEREAL_COMMON_SRC rather than repeating those headers directly.  Do
similar things with ETHEREAL_COMMON_OBJECTS and DISSECTOR_COMMON_OBJECTS
in Makefile.nmake.

Add "packet-x11-keysymdef.h" to "noinst_Headers", so it's built as part
of the tarball.

svn path=/trunk/; revision=9627
2004-01-10 04:09:14 +00:00
Olivier Biot f86edbffa1 Add support for a generic line-based text data dissector.
svn path=/trunk/; revision=9623
2004-01-10 02:38:39 +00:00
Olivier Biot d09e90c3b0 Add support for JFIF (JPEG File Interchange Format) media.
The JFIF dissector processes everything up to the start of scan as the data
thereafter is encoded and I didn't have the time to figure out how it is :)

TODO: fix the WTP dissector so it doesn't hand off unreassembled data to WSP.

svn path=/trunk/; revision=9541
2004-01-04 02:59:46 +00:00
Ulf Lamping dde0264c34 removed compilation of packet-slsk
svn path=/trunk/; revision=9499
2003-12-30 22:18:03 +00:00
Jörg Mayer f17f7e2937 New protocol: Enterasys Interswitch Message Protocol (ismp) and
edp (Enterasys Discovery Protocol)

svn path=/trunk/; revision=9496
2003-12-30 17:14:15 +00:00
Guy Harris d177c7d731 Nothing in "range.c" is GTK+-specific, so move it to the top-level
directory.

svn path=/trunk/; revision=9487
2003-12-29 22:43:33 +00:00
Olivier Biot 83b4a6158f Add support for GIF image dissection.
NOTE: I propose to use packet-MIME-TREE for future media types that will be
added to Ethereal (E.g., packet-image-png.c).

svn path=/trunk/; revision=9437
2003-12-24 02:06:26 +00:00
Guy Harris 75d6b95de1 Not all headers in HTTP, RTSP, SIP, etc. are entity headers; rename some
files, routines, data structures, etc..

svn path=/trunk/; revision=9428
2003-12-23 02:29:11 +00:00
Guy Harris 9ecc68568e Pull the code to do reassembly of the request/response line, entity
headers, and body into a separate routine, for use by other dissectors.

svn path=/trunk/; revision=9402
2003-12-22 00:57:34 +00:00
Guy Harris 2c531d5b0d From Ronnie Sahlberg: stub dissector for the Microsoft Distributed Link
Tracking Server Service (uuid and finction name from Jean-Baptiste
Marchand).

svn path=/trunk/; revision=9293
2003-12-16 05:07:49 +00:00
Guy Harris 6ded357e29 From Lars Roland: build the documentation at the end of the make
process.

svn path=/trunk/; revision=9286
2003-12-15 04:22:30 +00:00
Guy Harris 6892511e7f From Akira Endoh: IGAP support.
svn path=/trunk/; revision=9230
2003-12-10 19:21:55 +00:00
Guy Harris 15f863dc3c From Michael Lum:
new taps for GSM A-interface;

	fixes for ANSI A-interface taps.

svn path=/trunk/; revision=9220
2003-12-09 18:49:32 +00:00
Guy Harris 7e42113e2a Add a "doc" target, as per Ulf Lamping's comment.
svn path=/trunk/; revision=9212
2003-12-08 22:28:53 +00:00
Gerald Combs 409948eced Add PCRE support to the Windows build.
svn path=/trunk/; revision=9185
2003-12-07 00:04:32 +00:00
Gerald Combs c219943fc1 Switch over to Net-SNMP 5.1. A ZIP file of the Net-SNMP 5.1 sources plus
a static Windows library (netsnmp.lib) has been placed at

    http://www.ethereal.com/distribution/win32/development/

The Net-SNMP documentation recommends against using a DLL at the
present time.

svn path=/trunk/; revision=9177
2003-12-05 16:00:34 +00:00
Guy Harris 78191a09b5 From Felix Fei: GSM MAP support.
From Michael Lum:

	Modified for better TCAP separation, fixed EOC handling (a la
	TCAP).

	Added parameter parsing (although not dissection or naming).

svn path=/trunk/; revision=9160
2003-12-03 23:54:50 +00:00
Guy Harris ad0107ddf4 From Michael Lum:
add a message statistics tap for ANSI A interface for Tethereal;

	fix the BSSAP, BSMAP, and DTAP interface dissectors to call
	subdissectors even if no protocol tree is being built.

svn path=/trunk/; revision=9132
2003-12-01 23:05:09 +00:00
Guy Harris ff797aaf4a From Jamie Fournier: DCE RPC EPM version 4 support, and stub support for
BUDB, ICL RPC, and RS_PROP_ACCT DCE RPC-based protocols.

svn path=/trunk/; revision=9080
2003-11-25 08:10:57 +00:00
Ulf Lamping a24a6b7a37 bugfix: corrected clean and distclean targets
svn path=/trunk/; revision=9072
2003-11-24 17:41:33 +00:00
Guy Harris 0367782acf From Scott Hovis :CCSDS (Consultative Committee for Space Data Systems)
support.

svn path=/trunk/; revision=9071
2003-11-24 00:34:13 +00:00
Guy Harris 794858f6bf Include the BFD dissector when building with MSVC++.
svn path=/trunk/; revision=9069
2003-11-23 23:42:46 +00:00
Guy Harris 38ec601ae7 From Jamie Fournier: DCERPC RS_PLCY support.
svn path=/trunk/; revision=9053
2003-11-21 02:57:01 +00:00
Nathan Neulinger 403a9fd3f5 Add dissector for the SEBEK kernel read() data capture and/or rootkit tool
used as part of the HoneyNet project.

Info at:
http://project.honeynet.org/tools/sebek/

svn path=/trunk/; revision=9039
2003-11-19 22:13:29 +00:00
Guy Harris 374f0f1b93 From Dave Sclarsky: CPFI support.
svn path=/trunk/; revision=9028
2003-11-19 04:00:53 +00:00
Ulf Lamping 7cf8e7425d generate "static" help content
svn path=/trunk/; revision=9017
2003-11-18 23:40:12 +00:00
Ronnie Sahlberg 21313199e4 From Lars Roland Service Response times for H225 RAS
svn path=/trunk/; revision=8978
2003-11-16 23:11:20 +00:00
Guy Harris 979a02bbfa From Yuriy Sidelnikov: ISO 8327-1 Session Protocol support.
svn path=/trunk/; revision=8937
2003-11-11 08:29:34 +00:00
Guy Harris 4192ad9770 Let people configure whether to build with Zlib or not solely by
controlling whether ZLIB_DIR is defined or not in config.nmake.

svn path=/trunk/; revision=8911
2003-11-07 23:27:13 +00:00
Ronnie Sahlberg 482e9f24b3 New protocol: MS Kpasswd (RFC3244)
KPasswd is partially dissected for UDP.

It would be very useful if someone added dissection of the asn.1 encoded
AP_REQ and the KRB-PRIV blobs. I dont think I will add those.

svn path=/trunk/; revision=8905
2003-11-07 05:26:27 +00:00
Guy Harris 8e67a430e8 From Michael Lum:
GSM BSSMAP (GSM 08.08) support
	GSM DTAP (3GPP TS 24.008) support
	GSM SMS (3GPP TS 24.011) support
	GSM SS (3GPP TS 24.080) support
	GSM SMS TPDU (3GPP TS 23.040) support

svn path=/trunk/; revision=8826
2003-10-30 07:00:18 +00:00
Guy Harris c37d30442f From Dinesh Dutt:
- Dissector for FICON
	- Dissector for FC-SP (Security Protocol for Fibre Channel)
	- Patches to correct the reassembly of FC fragments.
	- Support for new MDS Port Analyzer Adapters that carry the
	  frame length for truncated frames.

svn path=/trunk/; revision=8823
2003-10-30 02:06:13 +00:00
Guy Harris 9c3e2720da From Giles Scott: Alteon/Nortel Transparent Proxy Control Protocol
support.

svn path=/trunk/; revision=8798
2003-10-28 06:44:21 +00:00
Guy Harris 1c5ed66f45 From Lars Roland: H.225 message and reason tag counter taps.
svn path=/trunk/; revision=8794
2003-10-28 00:31:17 +00:00
Guy Harris a1f7d525b7 From a suggestion by Jim McDonough: support for the INITSHUTDOWN service.
svn path=/trunk/; revision=8793
2003-10-27 23:31:54 +00:00
Guy Harris 8857c91a1d From Michael Lum:
BSSAP (GSM 08.06)/BSAP (IOS 4.0.1) support
	IOS 4.0.1 support
	Add Transport Layer support to ANSI IS-637-A dissector

svn path=/trunk/; revision=8751
2003-10-22 20:59:02 +00:00
Ronnie Sahlberg a3c545a45b From Jaime Fournier
New protocol DCERPC/RS_BIND

Added stub dissector for the RS_BIND protocol

svn path=/trunk/; revision=8747
2003-10-22 02:07:39 +00:00
Ronnie Sahlberg 26b0638b60 From Jaime Fournier
New protocol DCERPC BUTC
Stub dissector for the BUTC interface

svn path=/trunk/; revision=8746
2003-10-22 02:03:44 +00:00
Guy Harris 02e1d2680a Give every Makefile.nmake file a "distclean" rule, and have "distclean"
recurse into subdirectories doing "nmake -f Makefile.nmake distclean".

Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean"
doesn't remove (such as Flex/Bison output and config.h files) - and have
"nmake -f Makefile.nmake distclean" remove stuff that "make distclean"
removes, including "tethereal-tap-register.c" and
"ethereal-tap-register.c".

svn path=/trunk/; revision=8672
2003-10-10 21:31:53 +00:00
Guy Harris 04cd6b6074 From Akira Endoh: Diffserv MPLS signaling protocol support.
svn path=/trunk/; revision=8671
2003-10-10 21:16:24 +00:00
Guy Harris bd2ea47524 Configure whether we have WinPcap based on whether WINPCAP_VERSION is
set in the config.nmake file.

Configure whether we have pcap_findalldevs() based on whether
WINPCAP_VERSION is 2.3 (if so, we don't) or 3.0 or 3.1 (if so, we do).

WinPcap 3.0 has the new libpcap declarations of "pcap_lookupnet()" and
"pcap_open_live()" in which the first argument is a "const char *"
rather than a "char *"; declare the functions and pointers to them
appropriately based on the version of WinPcap.

If we don't have pcap_findalldevs(), don't declare a pointer to it, as
we don't have a declaration of pcap_if_t.

We also need to refer to "pcap_freealldevs()", so make a pointer for it.

"symbols[]" is a const array; make the pointer to elements in it a const
pointer.

Fix some typoes.

svn path=/trunk/; revision=8660
2003-10-10 09:48:54 +00:00
Guy Harris 7183be72b2 From Michael Lum:
IS-637-A (SMS) support
	IS-683-A (OTA) support
	ANSI MAP updates

Fix a typo in the previous checkin.

svn path=/trunk/; revision=8628
2003-10-06 19:25:21 +00:00
Guy Harris 1de3e07891 From Michael Lum: ALCAP (Q.2630.1) support.
svn path=/trunk/; revision=8624
2003-10-06 09:18:07 +00:00
Guy Harris 65ff0561a2 From Michael Lum: ANSI MAP support.
svn path=/trunk/; revision=8606
2003-10-03 23:10:00 +00:00
Guy Harris 860376a9ab From Samuel Qu, Michael Lum, and Jeff Morriss: TCAP support, and
"asn_id_decode1()" variant of "asn_id_decode()".

svn path=/trunk/; revision=8586
2003-10-02 06:13:29 +00:00
Guy Harris c2e71cb70b From Tomas Kukosa:
1) string tables for t35CountryCode, t35Extension and
	   h221ManufacturerCode were moved into the new file t35.c
	   because they are common for more dissectors

	2) the dissect_h245_NonStandardParameter_with_extension_marker()
	   was moved from h245 to h225 and renamed to
	   dissect_h225_NonStandardParameter() because the
	   NonStandardData type is different for H.225.0 and H.245

	3) type of the "h245.nsp.object" dissector table was changed from
	   FT_UINT32 to FT_STRING, so it can select a dissector based on
	   an OID rather than the Adler-32 hash of an OID

	4) the "h225.nsp.object" and "h225.nsp.h221" dissector tables
	   were created

svn path=/trunk/; revision=8550
2003-09-26 22:20:08 +00:00
Guy Harris d128a62ebb From Graeme Reid: H.450 support.
svn path=/trunk/; revision=8520
2003-09-23 18:40:54 +00:00
Guy Harris 211d446ce2 From Jean-Baptiste Marchand: initial DRSUAPI (Active Directory directory
replication) support.

svn path=/trunk/; revision=8505
2003-09-20 08:56:56 +00:00
Guy Harris 0c211a05e7 From Kevin A. Noll: RFC 2833 RTP Events support.
svn path=/trunk/; revision=8494
2003-09-19 04:16:23 +00:00
Ronnie Sahlberg e2311645e4 From Hans Viens :
T38 dissector

svn path=/trunk/; revision=8457
2003-09-11 13:36:04 +00:00
Guy Harris ee4931cefb From Josef Korelus: GPRS BSSGP support.
svn path=/trunk/; revision=8403
2003-09-06 06:55:57 +00:00
Guy Harris ea4ff6a749 From Josef Korelus <jkor [AT] quick.cz>: GPRS Network
Service-over-Frame-Relay support, including preference for Frame Relay
to select FRF 3.2/Cisco HDLC encapsulation or encapsulation of GPRS NS
PDUs.

svn path=/trunk/; revision=8362
2003-09-03 22:26:38 +00:00
Guy Harris 4815aadacf As with the Cisco OUI, so with the Nortel OUI.
svn path=/trunk/; revision=8352
2003-09-03 06:38:15 +00:00
Guy Harris 1721593973 Fix up the API for adding support for new OUI's to the LLC dissector.
Use that API to create the table for the Cisco OUI 00:00:0C.

svn path=/trunk/; revision=8351
2003-09-03 06:27:03 +00:00
Guy Harris e076cb925f Q.933 dissector. (Not complete.)
svn path=/trunk/; revision=8350
2003-09-03 05:39:21 +00:00
Guy Harris 75ae0e30c7 From Jean-Michel Fayard: BOOTP/DHCP, HTTP, and WSP statistics taps.
svn path=/trunk/; revision=8345
2003-09-02 22:47:59 +00:00
Guy Harris a42fd8fa50 From David Frascone: LWAPP support.
svn path=/trunk/; revision=8315
2003-08-29 22:27:14 +00:00
Gerald Combs 6fc18311a6 From Vincent Jardin: Add support for Teredo
(draft-huitema-v6ops-teredo-00.txt).

svn path=/trunk/; revision=8305
2003-08-29 02:27:31 +00:00
Guy Harris fadeb72b2e From Giles Scott: Nortel/SynOptics Network Management Protocol support.
svn path=/trunk/; revision=8290
2003-08-28 00:11:32 +00:00
Guy Harris 42fdef2ff4 Extract the CRC-32 code from the 802.11 dissector into a separate file,
and use it in the Ethernet dissector as well, to check the FCS in
Ethernet frames, if present.

svn path=/trunk/; revision=8265
2003-08-26 05:09:56 +00:00
Ronnie Sahlberg a3d8f21810 From Niklas Ogren
New Protocol: H.263   called and used by the RTP dissector

svn path=/trunk/; revision=8211
2003-08-23 04:18:18 +00:00
Guy Harris f695468fa2 From Tomas Kukosa: allow subdissectors to be registered for
NonStandardParameter data in the H.245 dissector.

svn path=/trunk/; revision=8206
2003-08-21 18:00:22 +00:00
Guy Harris add318fc93 From Shiang-Ming Huang: STUN (RFC 3489) support.
svn path=/trunk/; revision=8175
2003-08-17 00:54:25 +00:00
Guy Harris ddf6a8acf2 From Michael Lum: add the ability to have a preferences file containing
a list of disabled protocols, and to save that list from the Edit >
Protocols dialog box.

Add checks for read errors in "read_prefs()".

Clean up white space.

svn path=/trunk/; revision=8144
2003-08-07 00:41:28 +00:00
Ronnie Sahlberg 618fff963a Fix bug on how the H.225 CS routines were registered so that H225 CS over Q931 now works
Still something wrong with NonStandardParameter,   I cant find why ethereal is
wrong but it misses misses one bit in the decoding causing malformed frames.
I cant see what is wrong when looking at the packets.   need furhter investigations.

Make h225 compile in as default

svn path=/trunk/; revision=8119
2003-08-01 09:16:47 +00:00
Guy Harris c58b4e5fcb Initial Laplink support, from Brad Hards.
svn path=/trunk/; revision=8079
2003-07-24 20:22:50 +00:00
Guy Harris e8b54ff082 From Xuan Zhang: eDonkey support.
svn path=/trunk/; revision=8035
2003-07-16 21:13:49 +00:00
Ronnie Sahlberg 987d45a974 Add a new parameter to the constrained integer dissector so that it also handles
constrained integers with an extension marker.

Update all calls to the constrained integer dissector

Add dissection to the rfc_number type  which is a constrasined integer with an extension marker

Add H245 so that it builds by default in ethereal.
It has been tested extensively by a semi-large number of people with a lot of real and synthetic captures  and seems to work very well.

New protocol added to ethereal

svn path=/trunk/; revision=8032
2003-07-16 09:23:56 +00:00
Ronnie Sahlberg 6ffb0280ee Break out the PER functions from the alternative h245 dissector
and put them in their own file.

I had to put them im packet-per.c  instead of asn1-per.c  since othervise
i couldnt get it to invoke the register  routine from register.c

the per dissector is compiled into ethereal by default,  but there are no callers in ethereal until  the h245 dissector is added.

someone that knows the registry stuff better might consider renaming it to asn1-per.c instead of packet-per.c

svn path=/trunk/; revision=8017
2003-07-12 22:35:21 +00:00
Guy Harris 19e0e3dc85 From Brad Hards: Jabber client-to-server protocol support.
svn path=/trunk/; revision=7975
2003-07-07 22:48:55 +00:00
Laurent Deniel 4d94e1746f Echo packet dissector.
svn path=/trunk/; revision=7933
2003-06-25 13:42:18 +00:00
Ronnie Sahlberg 37a5bff0fd Added new stub dissector for MS Messenger Service.
Anyone that knows either where doc can be found or which API that can generate
such calls are welcome to email me.

svn path=/trunk/; revision=7929
2003-06-25 10:06:50 +00:00
Gerald Combs ad59ab2353 Properly escape the '#' character in the HAVE_GNU_ADNS definition.
svn path=/trunk/; revision=7924
2003-06-24 18:51:21 +00:00
Gerald Combs 0d7e581a03 From Markus Friedl: Add support for draft-ietf-ipsec-udp-encaps-06.txt.
svn path=/trunk/; revision=7900
2003-06-19 01:41:14 +00:00
Guy Harris 0bdb498bdb Do all the tests for whether ADNS_DIR is defined or not in
"config.nmake", and just use the variables set based on the results of
those tests in various "Makefile.nmake" files.

svn path=/trunk/; revision=7891
2003-06-15 23:04:47 +00:00
Guy Harris 8178db4980 Define GLIB_LIBS and GTK_LIBS variables in config.nmake (based on
variables the user configures - the user isn't expected to change
GLIB_LIBS or GTK_LIBS, and there's a comment nothing that users
shouldn't have to do so), which contain the appropriate libraries for
building stuff that requires only GLib, and stuff that required GTK+ and
GLib, respectively, and use those macros in the Makefile.nmake files.

svn path=/trunk/; revision=7885
2003-06-14 20:45:29 +00:00
Guy Harris 71424053cd Define GLIB_CFLAGS and GTK_CFLAGS variables in config.nmake (based on
variables the user configures - the user isn't expected to change
GLIB_CFLAGS or GTK_CFLAGS, and there's a comment nothing that users
shouldn't have to do so), which contain the appropriate "/I" flags for
building stuff that requires only GLib, and stuff that required GTK+ and
GLib, respectively, and use those macros in the Makefile.nmake files.

svn path=/trunk/; revision=7884
2003-06-14 20:36:04 +00:00
Guy Harris 3c6327720b From Jeff Rizzo: sFlow support.
svn path=/trunk/; revision=7879
2003-06-13 22:31:11 +00:00
Guy Harris ec5499613d Don't wire into "config.h.win32" files an indication of whether we have
GNU ADNS or not - set it based on whether ADNS_DIR is defined by
"config.nmake", and make "config.h.win32" files that specify whether we
have GNU ADNS dependent on "config.nmake".

Note in "config.nmake" that:

	if you have GNU ADNS, ADNS_DIR should be defined as the
	directory in which the ADNS .lib file resides;

	if you don't have GNU ADNS, ADNS_DIR shouldn't be defined.

svn path=/trunk/; revision=7860
2003-06-12 09:45:42 +00:00
Guy Harris 329fcc6750 From Joakim Wiberg: update to the CIP dissector, reverting to the
"EtherNet/IP" name in his original version ("IP" there is "Industrial
Protocol", not "Internet Protocol"), and to the original file name, and
getting rid of some unused variables.

svn path=/trunk/; revision=7851
2003-06-11 22:36:18 +00:00
Guy Harris f70cc6b9f1 From Joakim Wiberg: support for Common Industrial Protocol over IP.
svn path=/trunk/; revision=7838
2003-06-11 09:02:19 +00:00
Gerald Combs 3e993551ce Add a couple of missing line continuations.
svn path=/trunk/; revision=7836
2003-06-11 01:33:04 +00:00
Guy Harris 537710afee If ADNS_DIR isn't defined, don't link with the ADNS library; this lets
you build Ethereal without ADNS.  (It'd be nice if ADNS_DIR not being
defined caused the config.h file to have the appropriate #ifdefs turned
off; we can probably do that with another @xxx@ variable in
config.h.win32, and !IFDEFs in the rules to make the config.h files,
although we should then make config.h also depend on config.nmake.)

svn path=/trunk/; revision=7827
2003-06-10 07:20:06 +00:00
Ronnie Sahlberg 1630411d40 SID name mappings can now be presented in a table by tethereal
using the -z smb,sids  command argument.

svn path=/trunk/; revision=7816
2003-06-09 10:08:05 +00:00
Gerald Combs f755cf5034 Add GNU ADNS to the Windows build environment. A precompiled DLL can be
found at

	http://adns.jgaa.com/

and

	http://www.ethereal.com/distribution/win32/development/

The modifications to the root-level config.h.win32 and Makefile.nmake
may not be neccessary.

svn path=/trunk/; revision=7769
2003-06-02 18:40:02 +00:00
Guy Harris e43ca5a763 Add the MSRPC ATSVC interface.
svn path=/trunk/; revision=7762
2003-05-29 17:59:51 +00:00
Ronnie Sahlberg 74ed47db18 From Brad Hards, DISTCC protocol dissector.
Added TCP desegmentation to the dissector.

svn path=/trunk/; revision=7729
2003-05-24 12:22:52 +00:00
Guy Harris a445b09127 Incorporate the AODV6 dissector into the AODV dissector (AODV6 appears
to just be an extension to AODV - and the dissectors use the same port,
which doesn't work unless there's only one dissector).

svn path=/trunk/; revision=7616
2003-04-30 23:21:19 +00:00
Guy Harris b79fee5760 iSNS support, from Garth Bushell.
svn path=/trunk/; revision=7597
2003-04-29 02:55:14 +00:00
Tim Potter 6eca21154b New DCERPC pipe for Windows service control. Implemented only stubs so far.
svn path=/trunk/; revision=7567
2003-04-26 00:19:24 +00:00
Guy Harris bef46400df From Tony Schene: initial stub Kerberos kadmin support.
svn path=/trunk/; revision=7562
2003-04-25 21:09:37 +00:00
Guy Harris 733b96657b From Duncan Laurie: IPMI-over-LAN support.
svn path=/trunk/; revision=7538
2003-04-23 00:24:38 +00:00
Guy Harris 7ddca7ecaf From Lars Roland:
Add Response-Time statistics for each known mgcp message-type.

	Fix a few bugs and remove trailing whitespace.

	Use "gdouble" for printing time-values and calculating the
	average.  It is easier to use and shouldn't overflow on big
	trace files like "guint32".

	Move some functions for time statistics into the new file
	timestats.c in the main directory.  This code may be useful in
	the rpc and smb rtt-taps as well.

svn path=/trunk/; revision=7469
2003-04-16 07:25:12 +00:00
Guy Harris 6974083659 Add a dissector for the IPX WAN protocol. "IPX WAN 2" is just some
compatible additions to the RFC 1362 IPX WAN protocol, so call it "IPX
WAN", not "IPX WAN 2".

svn path=/trunk/; revision=7407
2003-04-06 02:32:38 +00:00
Guy Harris 19616a2b5f Add dissector for NetWare Link Services Protocol.
Socket 0x9001 is for NLSP - it supports LANs as well as WANs, at least
as I read the specification.

Socket 0x9004 is for "IPX WAN 2".

svn path=/trunk/; revision=7387
2003-03-31 08:10:08 +00:00
Guy Harris 1ca0a752aa From Brad Hards: ACAP support.
svn path=/trunk/; revision=7365
2003-03-25 22:30:19 +00:00
Ronnie Sahlberg cec5c81ac3 Added SMB option : sid_name_snooping.
This feature, when enabled through Edit/preferences/protocols/smb,
will look at certain SMB and CIFS related protocols to discover the
mapping between SIDs and their Names.

For those SIDs whose name has been snooped/discovered ethereal will
also add "(<name>)" to the end of the SID when printed in the tree pane
through the function dissect_nt_sid().

Currently the feature is not too exciting since the only thing that packet-smb-sidsnooping.c will look at to build this mapping table is
replies to the LSA/QueryInfoPolicy infolevel 3  packets and thus
discover mappings between a Domain SID and a Domain Name.
In the near future this future will be enhanced to also look at more interesting calls such as LSA/LookupSIDs2 and similar.

svn path=/trunk/; revision=7362
2003-03-25 09:41:42 +00:00
Gerald Combs 9e6bc56904 Add support for decoding Intel ANS probes. Thanks go to Intel for providing
protocol information.

svn path=/trunk/; revision=7359
2003-03-23 19:32:19 +00:00
Guy Harris 723612fe3e Make the DISSECTOR_SRC macro match the Makefile.am one, with the
dissectors for the OpenBSD enc(4) encapsulating interface and RFC 3378
Ethernet-over-IP.

svn path=/trunk/; revision=7311
2003-03-07 19:15:48 +00:00
Ronnie Sahlberg 05dad0c310 From Miha Jemec :
Functionality to reassemble a RTP stream and save it as a file.
Support for G.711 coded

svn path=/trunk/; revision=7297
2003-03-06 20:35:12 +00:00
Ronnie Sahlberg e00fb8c413 From Lars Ronald :
MGCP request/response matching and
MGCPSTAT RTT calculation.

For those with MGCP captures, try
-z mgcp,rtd[,filter]

svn path=/trunk/; revision=7294
2003-03-06 09:01:47 +00:00
Guy Harris 3b37905e24 From Jochen Friedrich: add support for:
HP extended 802.2 LLC

	HP-UX remote management over HP extended 802.2 LLC

	SNMP over HP extended 802.2 LLC.

svn path=/trunk/; revision=7253
2003-03-02 21:52:21 +00:00
Guy Harris e59e9b9bab Yahoo Messenger YMSG protocol support, from Wayne Parrott.
Pull "packet-yhoo.h" into "packet-yhoo.c".

svn path=/trunk/; revision=7226
2003-03-01 00:09:03 +00:00
Guy Harris 5408067454 From Akira Endoh: Wellfleet Breath of Life support.
svn path=/trunk/; revision=7210
2003-02-27 02:45:42 +00:00
Jörg Mayer 13c4434e9f Move packet-rsync.c into alphabetically correct posision in Makefile.*
Remove comma after last element in enum.

svn path=/trunk/; revision=7176
2003-02-20 12:04:11 +00:00
Guy Harris 91b8a7567f From Brad Hards: initial rsync support.
svn path=/trunk/; revision=7171
2003-02-18 21:47:56 +00:00
Guy Harris d48ec06a6a From Olivier Biot: WBXML/WMLC support.
svn path=/trunk/; revision=7084
2003-02-06 01:23:32 +00:00
Guy Harris 625d0088d4 From Teemu Rinta-aho: draft 20 MIPv6 support (now in a file of its own).
svn path=/trunk/; revision=7071
2003-02-04 20:17:01 +00:00
Guy Harris ee3449d08b From Chris Waters: MSN Messenger support.
svn path=/trunk/; revision=7045
2003-01-30 18:49:47 +00:00
Guy Harris ff9fece331 SSH dissector, from Huagang Xie.
svn path=/trunk/; revision=7001
2003-01-25 00:22:50 +00:00
Tim Potter 354a9a8018 packet-dcerpc-nt.c is no longer a dissector so adjust Makefiles
accordingly.

svn path=/trunk/; revision=6996
2003-01-24 05:41:33 +00:00
Guy Harris e120160577 From Dinesh Dutt:
- A new decoder called MDSHDR which decodes the internal header of the
      Cisco MDS switch (this is different from the Boardwalk header).
    - Support for some more new columns as part of FC support.
    - Fixed the decoding of the Special Frame in FCIP.
    - Fixed the decoding of credit management type field in FLOGI/PLOGI frame
      in FC-ELS.

svn path=/trunk/; revision=6974
2003-01-22 06:26:36 +00:00
Ronnie Sahlberg 96a18fb8cf TopTalkers feature for Ethernet/IP/TokenRing
IO-Users is a feature for tethereal that will print statistics on io usage
similar to top talkers in other tools.

It needs to be ported to ethereal with a nice graph sometime later.

try:
-z io,users,ip

see man-page

svn path=/trunk/; revision=6972
2003-01-22 01:24:06 +00:00
Ronnie Sahlberg 48d3d8eb26 SMB RTT statistics for tethereal and ethereal.
SMB RTT statistics are similar to the RTT statistics already supported by ONC-RPC and DCE-RPC.
It will present a table with all seen SMB commands and present the Min/Max and Avg response time in ms.

Transaction2 and NT-Transaction commands are broken out and presented in its own subtables.

tethereal feature is activated with -z smb,rtt    switch
and in ethereal it is activated either through -0z smb,rtt switch or through the Menu.

svn path=/trunk/; revision=6966
2003-01-22 00:40:36 +00:00
Guy Harris 96b2d60763 From Huagang Xie: dissector for MySQL protocol.
svn path=/trunk/; revision=6939
2003-01-19 21:29:10 +00:00
Guy Harris 6de6ff2fb8 From Dinesh Dutt:
- Decoders for the few remaining FC protocols not included in my first
  patch. Included in this list are decoders for FC-CT (common transport),
  Name Server (dNS), Fabric Configuration Server (FCS) and Zone Server
  (FZS).

- Decoder for MDS Debug Port Adapter. MDS Debug Port Adapter (internal
  name was   Boardwalk and this is the file name) is a piece of hardware
  that can be purchased with Cisco's MDS Fibre Channel switches that
  converts FC frames into Ethernet frames.  One end is connected to a
  port on a FC switch and the other end is connected to a FE/GE Ethernet
  port.  The decoder included here decodes the encapsulation header that
  carries information such as SOF/EOF of FC frames.

svn path=/trunk/; revision=6919
2003-01-14 01:17:44 +00:00
Guy Harris 94800ef0fb From Chris Waters: support Tazmen Sniffer Protocol and DLT_TZSP captures
from network-based libpcaps that use that protocol.

svn path=/trunk/; revision=6875
2003-01-08 05:03:54 +00:00
Guy Harris 0551b7030f Add an X.29 dissector.
The Q bit in X.25 doesn't mean "this is QLLC traffic", it's just a "this
packet is special" indication.  Have the X.25 dissector pass as the
"private_data" pointer a pointer to a gboolean indicating whether the Q
bit was set or not.  Replace the "decode non-Q-bit traffic as SNA"
option with a "decode traffic as QLLC/SNA if we didn't see the Call
Request packet and thus don't know what it is" option, which hands
traffic to the QLLC dissector for that traffic.  Have the QLLC dissector
hand traffic to the SNA dissector if the Q bit isn't set.

Arrange that we determine whether the Q bit is set regardless of whether
we're building the protocol tree or not.

If we don't just dissect traffic as QLLC/SNA if we didn't see the Call
Request packet, check not only for 0x45 (as an indication that it's
probably IP), check also for NLPID_ISO8473_CLNP and treat that as an
indication that it's probably OSI CLNP.

svn path=/trunk/; revision=6854
2003-01-06 02:24:57 +00:00
Guy Harris e56b77f4cd Add support for SDLC encapsulation in DOS Sniffer captures; that
includes adding an SDLC dissector.

svn path=/trunk/; revision=6848
2003-01-03 22:31:26 +00:00
Guy Harris 87ed53914b From Jeff Morriss:
make ANSI point codes filterable in MTP3;

	fix a bug in the ANSI SLS dissection;

	have MTP3 store the SI for use by subdissectors;

	add a new MTP3-Management dissector.

Fix Makefile.nmake to include the Wellfleet HDLC dissector.

svn path=/trunk/; revision=6837
2003-01-02 20:44:32 +00:00
Guy Harris 3a92530a52 From Devin Heitmueller: support for decrypting DCERPC conversations
using NTLMSSP version 1.

Show stub data as such for all requests and replies where we can't
dissect the stub data as a request or reply for some DCERPC-based
protocol.

svn path=/trunk/; revision=6825
2002-12-31 08:05:29 +00:00
Gerald Combs 3eec00a008 Fix a typo (cyrpt-md5.obj -> crypt-md5.obj).
svn path=/trunk/; revision=6798
2002-12-18 17:44:54 +00:00
Gerald Combs b287a6d3d9 Rename md5.[ch] to crypt-md5.[ch] to conform with our naming conventions.
svn path=/trunk/; revision=6793
2002-12-17 16:06:54 +00:00
Gerald Combs 9c0d1cbfb7 From James Harris: Decrypt RADIUS user passwords.
The MD5 is copyrighted by L. Peter Deutsch, and released under the same
license as zlib.  It is GPL-compatible, and should NOT have the GPL
applied to it.

svn path=/trunk/; revision=6790
2002-12-17 04:05:25 +00:00
Gerald Combs 1a2492c144 Add packet-ipfc.c to Makefile.nmake.
svn path=/trunk/; revision=6762
2002-12-08 03:59:03 +00:00
Gerald Combs b60b1414c3 From Dinesh Dutt: Add Fibre Channel support, including FCIP, Basic FC
header, Extended Link Service, Interswitch Link Service, FCP, and IPFC.

svn path=/trunk/; revision=6757
2002-12-08 02:32:36 +00:00
Guy Harris dd8f630768 From Devin Heitmueller:
add MD4 and RC4 crypto support;

	use it to decrypt the NT password encryption block in
	UnicodeChangePassword2.

svn path=/trunk/; revision=6727
2002-12-03 00:37:27 +00:00
Ronnie Sahlberg cf6ddd5b77 New protocol: Stub dissector for ClearCase NFS protocol
svn path=/trunk/; revision=6640
2002-11-15 22:45:52 +00:00
Guy Harris 81022063fc Make the list of dissectors match the one for UNIX builds.
svn path=/trunk/; revision=6628
2002-11-14 08:10:51 +00:00
Guy Harris bbb2129ab2 Make "tethereal-tap-register.c" and "ethereal-tap-register.c" depend on
the script that builds them.

svn path=/trunk/; revision=6627
2002-11-14 08:09:35 +00:00
Gerald Combs 2329ea1483 Add tethereal's tap objects to Makefile.nmake's "clean" target.
Instead of setting MIBDIRS in tethereal.c and gtk/main.c, set it in
packet-snmp.c.

svn path=/trunk/; revision=6606
2002-11-10 20:53:06 +00:00
Guy Harris 8ee4a65f76 From Solomon Peachy: support for new "wlancap" 802.11 extra-information
header.

Add overflow checks to "BYTES_ARE_IN_FRAME()", and cast all arguments to
unsigned values (negative values should never be passed) to squelch
compiler warnings.

svn path=/trunk/; revision=6567
2002-11-06 21:49:34 +00:00
Ronnie Sahlberg 7775a0bec5 New tap extension to tethereal: ProtoColInfo
Using this command line option you canb now place any arbitrary display-filter fields on the COL_INFO line.

Assume you want NFS dissector in tethereal to put ALL filehandle hashes (nfs.fh.hash) on COL_INFO.
No worries, just add

-z proto,colinfo,nfs.fh.hash,nfs.fh.hash

as a parameter to tethereal.

Never again do you need to hack tethereal and recompile just because you want some extra info on the COL_INFO line.

svn path=/trunk/; revision=6560
2002-11-04 12:11:01 +00:00
Ronnie Sahlberg b1c157b995 From Jochen Friedrich : Support for the RPL (Remote Program Load) protocol implemented on some NIC bootproms.
svn path=/trunk/; revision=6548
2002-11-02 22:23:16 +00:00
Guy Harris ad9ec1af37 Cygwin doesn't necessarily come with an "sh.exe", so use "$(SH)" rather
than "sh" to run a Bourne-compatible shell in "Makefile.nmake", and
define "SH" to be "bash" in "config.nmake".

svn path=/trunk/; revision=6540
2002-11-01 10:01:21 +00:00
Ronnie Sahlberg cdb4e6929c New tap extension for tethereal : ProtocolHierarchyStatistics.
Similar to what is available on ethereal:/Tools/ProtocolHierarchyStatistics
but this one can handle ALL protocols that tethereal has dissectors for.

Maybe a gtk/gtk2 version of this should replace the existing one in ethereal?


Try -z io,phs   or -z io,phs,<filter>  to test it.

svn path=/trunk/; revision=6532
2002-11-01 05:29:36 +00:00
Ronnie Sahlberg dcc95e010f New tap for tethereal: io statistics that provides frames/bytes counts for frames matching user specified filters.
Try it with
-z io,stat,1,nfs,smb,arp
on a capture containing both nfs, cifs and arp traffic.

svn path=/trunk/; revision=6531
2002-11-01 01:49:40 +00:00
Tim Potter f64906c9b3 Added support for a new DCERPC pipe supported by Windows 2000. It has
something to do with Active Directory and has been named LSA_DS by the
Samba Team.

svn path=/trunk/; revision=6527
2002-11-01 00:42:00 +00:00
Guy Harris 8442ad9a32 From Ronnie Sahlberg: have a registration interface for tap listeners,
and generate the table of stuff to register from tap source files, so
Tethereal doesn't need to know what tap listeners exist.

Get rid of "tap-xxx.h" files, as they're now empty.

Add "tethereal-tap-register.c" to the .cvsignore file, as it's a new
generated file.

Update "Makefile.nmake" to generate "tethereal-tap-register.c".

Clean up "Makefile.am" and "Makefile.nmake" a bit.

svn path=/trunk/; revision=6525
2002-10-31 22:16:01 +00:00
Guy Harris 56f644145e Discard the WTAP_ENCAP_LAPD encapsulation type in favor of a
WTAP_ENCAP_ISDN encapsulation type, which includes a pseudo-header
giving the direction (user-to-network or network-to-user) and the
channel number.

Add a new circuit type, using the ISDN channel number as the circuit ID.

Add an ISDN dissector to put the direction and channel number into the
protocol tree and to call the appropriate dissector for the payload
based on the channel (LAPD for the D channel; V.120, PPP, or data for B
channels, based on some heuristics).

svn path=/trunk/; revision=6521
2002-10-31 07:12:42 +00:00
Guy Harris a71d1d910e From Ronnie Sahlberg: add a tap for statistics for DCERPC interfaces.
svn path=/trunk/; revision=6479
2002-10-23 03:49:13 +00:00
Guy Harris 75ef739627 From Jamie Fournier: AFS 4 UPDATE server support.
Merge two CREDITS entries for Jamie.

svn path=/trunk/; revision=6472
2002-10-22 08:47:46 +00:00
Guy Harris 27df774d0b From Peter Fales: ARCNET support.
Sort the lists of dissectors in the DISSECTOR_SRC macros in
"Makefile.am" and "Makefile.nmake".

svn path=/trunk/; revision=6450
2002-10-18 21:00:01 +00:00
Gerald Combs e0cf132365 Add support for building randpkt under Windows.
svn path=/trunk/; revision=6433
2002-10-16 14:45:27 +00:00
Gerald Combs ec8fd2703a Link to libsnmp under Win32.
In gtk/main.c and tethereal.c set MIBDIRS to <get_program_path()>\snmp\mibs
so that we can drop the MIB files there, instead of the default c:\usr\...
path.

Add NET_SNMP_DIR to config.nmake and modify Makefile.nmake to adjust
CFLAGs, ethereal_LIBS and tethereal_LIBS accordingly.

Define HAVE_UCD_SNMP in config.h.win32.

I tested this by creating c:\program files\ethereal\snmp\mibs and
dropping in the MIB files that come with Net-SNMP.  Ethereal resolved
system.sysDescr.0 to "iso.3.6.1.2.1.1.1.0" under Windows.  Under Linux
it resolved to "SNMPv2-MIB::sysDescr.0".

Ethereal.nsi still needs to be updated.

A compiled version of the Net-SNMP library can be found at

    http://www.ethereal.com/distribution/win32/development/

svn path=/trunk/; revision=6385
2002-10-09 03:07:34 +00:00
Jörg Mayer 37c599b47d Dissector for Novell Distributed Print Services by Greg Morris.
NDPS runs on top of SPX and TCP.

svn path=/trunk/; revision=6323
2002-09-23 17:14:54 +00:00
Ronnie Sahlberg acf0825fdd From Jeff Morriss: New protocol SCCP-Management
svn path=/trunk/; revision=6309
2002-09-20 09:22:46 +00:00
Ronnie Sahlberg 4b82a0c5cb From Jaime Fournier, bugfix for dtsprovider and some error codes for dce122
svn path=/trunk/; revision=6299
2002-09-17 09:38:04 +00:00
Jörg Mayer 365a9e0224 New dissector for the FIX protocol by PC Drew
svn path=/trunk/; revision=6298
2002-09-16 17:49:20 +00:00
Ronnie Sahlberg a7aacfd4f9 From Jaime Fournier: DCE/RPC AFS4INT interface
svn path=/trunk/; revision=6294
2002-09-13 10:36:55 +00:00
Ronnie Sahlberg b0d021db49 From Jaime Fournier: DCE/RCP FLDB interface
svn path=/trunk/; revision=6293
2002-09-13 10:28:54 +00:00
Ronnie Sahlberg 6ee09ff5d8 From Jaime Fournier: DCE/RPC TKN4INT interface
svn path=/trunk/; revision=6292
2002-09-13 10:20:48 +00:00
Ronnie Sahlberg 5e0494b35e From Jaime Fournier: DCE/RPC SECIDMAP interface
svn path=/trunk/; revision=6291
2002-09-13 10:13:03 +00:00
Ronnie Sahlberg 06d24fa447 From Jaime Fournier: DCE/RPC REP_PROC interface
svn path=/trunk/; revision=6290
2002-09-13 10:06:45 +00:00
Ronnie Sahlberg 8abf24da99 From Jaime Fournier: DCE/RPC KRB5RPC interface
svn path=/trunk/; revision=6289
2002-09-13 09:59:21 +00:00
Ronnie Sahlberg ce704ecab3 From Jaime Fournier: DCE/RPC CDS_CLERKSERVER interface
svn path=/trunk/; revision=6285
2002-09-12 09:29:51 +00:00
Ronnie Sahlberg 1caef02b9e From Jaime Fournier: DCE/RPC FTSERVER interface
svn path=/trunk/; revision=6284
2002-09-12 09:19:32 +00:00
Ronnie Sahlberg 473040920f From Jaime Fournier: DCE/RPC BOSSVR interface
svn path=/trunk/; revision=6283
2002-09-12 09:12:26 +00:00
Ronnie Sahlberg be4bcf209d From Jaime Fournier: DCE/RPC UKIKVOTE interface
svn path=/trunk/; revision=6282
2002-09-12 09:06:23 +00:00
Ronnie Sahlberg c6803cb33c From Jaime Fournier: DCE/RPC UBIKDISK interface
svn path=/trunk/; revision=6281
2002-09-12 08:55:42 +00:00
Ronnie Sahlberg 8caf4d9754 From Jaime Fournier: DCE/RPC DTSPROVIDER interface
svn path=/trunk/; revision=6280
2002-09-12 08:48:40 +00:00
Ronnie Sahlberg 5a7aa902f7 From Jaime Fournier: DCE/RPC CPRPC_SERVER interface
svn path=/trunk/; revision=6279
2002-09-12 08:43:37 +00:00
Tim Potter cd69642ced Discovered a new pipe, \PIPE\DNSSERVER, when debugging a win2k DNS
problem.  The win2k DNS MMC snap-in generates calls to this pipe.

There appear to be three calls which have been implemented as stubs
for the moment.

svn path=/trunk/; revision=6277
2002-09-11 23:59:13 +00:00
Ronnie Sahlberg ceab65a086 From Jaime Fournier: DCE/RPC CDS_SOLICIT interface
svn path=/trunk/; revision=6273
2002-09-11 09:48:01 +00:00
Ronnie Sahlberg 8d76a9c222 From Jaime Fournier: DCE/RPC DTSSTIME_REQ interface
svn path=/trunk/; revision=6271
2002-09-11 09:40:33 +00:00
Ronnie Sahlberg 8d8a620186 From Jaime Fournier: DCE/RPC REPADMIN interface
svn path=/trunk/; revision=6270
2002-09-11 09:34:28 +00:00
Ronnie Sahlberg 4aae4382c6 From Jaime Fournier: DCE/RCP ROVERRIDE interface
svn path=/trunk/; revision=6269
2002-09-11 09:17:25 +00:00
Ronnie Sahlberg 14243464b9 From Jaime Fournier: DCE/RCP RPRIV interface
svn path=/trunk/; revision=6267
2002-09-11 09:05:22 +00:00
Ronnie Sahlberg 002669d3c5 From Jamie Fournier: DCE/RPC RSEC_LOGIN interface
svn path=/trunk/; revision=6255
2002-09-10 11:33:00 +00:00
Ronnie Sahlberg 5ac8abdffd From Jamie Fournier: DCE/RPC RS_REPLIST interface
svn path=/trunk/; revision=6254
2002-09-10 11:26:27 +00:00
Ronnie Sahlberg 4f835afed2 From Jamie Fournier: DCE/RPC RS_ATTR interface
svn path=/trunk/; revision=6253
2002-09-10 11:19:18 +00:00
Ronnie Sahlberg 98b7d83e72 From Jamie Fournier: DCE/RPC RS_ACCT interface
svn path=/trunk/; revision=6252
2002-09-10 11:13:19 +00:00
Ronnie Sahlberg 92bf23b19e From Jamie Fournier : DCE/RPC RS_MISC dissector
svn path=/trunk/; revision=6250
2002-09-10 11:00:36 +00:00
Ronnie Sahlberg 86dbc0b526 From Jamie Fournier DCE/RPC RS_PGO dissector
svn path=/trunk/; revision=6249
2002-09-10 10:48:36 +00:00
Ronnie Sahlberg c07c4e11bb From Jamie Fournier: DCE/RPC RS_UNIX interface
svn path=/trunk/; revision=6248
2002-09-10 10:28:45 +00:00
Guy Harris 1d5b83b842 Add "/I$(ZLIB_DIR)" to the list of "/I" flags in the top-level directory
and the "gtk" and "gtk2" directories, so that we find "zlib.h", as we
now define "HAVE_ZLIB" in the top-level "config.h.win32" and thus try to
include "zlib.h" on Windows.

svn path=/trunk/; revision=6246
2002-09-10 10:08:41 +00:00
Guy Harris 15e93136d1 From Ulf Lamping: add a "distclean" rule to get rid of all generated
files, and have it get rid of "x11-declarations.h" and
"x11-register-info.h".  Also, don't delete "packet-ncp2222.c" with "make
clean", just with "make distclean", and get rid of a duplicate
"register.c" in the list of files removed by "make clean".

svn path=/trunk/; revision=6244
2002-09-10 08:28:14 +00:00
Ronnie Sahlberg 429b24827b From Vassilii Khachaturov, cleanup of redundant code.
svn path=/trunk/; revision=6202
2002-09-06 22:45:44 +00:00
Ronnie Sahlberg e20ea63dd4 New type of onc-rpc statistics.
try: -z rpc,programs

svn path=/trunk/; revision=6190
2002-09-05 09:27:56 +00:00
Guy Harris 6f25d0da7c From Matthew Smart: Cisco NetFlow protocol support.
svn path=/trunk/; revision=6178
2002-09-04 20:23:55 +00:00
Ronnie Sahlberg 93a649db6f Tap api. tap is a simple api that can be used for arbitrary extensions.
One example extension is rpcstat.

Try -Z rpc,rtt,100003,3 as argument to tethereal when reading a capture
containing NFSv3 packets.

tap-rpcstat.[ch] is intended to demonstrate the api and can be used to
base other extensions on.

svn path=/trunk/; revision=6175
2002-09-04 09:40:29 +00:00
Uwe Girlich 8d810a21e5 packet-ib.c added
svn path=/trunk/; revision=6123
2002-08-29 12:25:42 +00:00
Guy Harris 4c71637b3c "packet-snego.c" was renamed "packet-spnego.c", but this file wasn't
updated to reflect that; do so.

svn path=/trunk/; revision=6097
2002-08-27 19:07:30 +00:00
Tim Potter e08c37f7ee Added GSS-API and SPNEGO dissectors to Makefiles
svn path=/trunk/; revision=6049
2002-08-21 21:00:32 +00:00
Jörg Mayer 6bad27d387 Add new dissector by Brian Bruns for the TDS protocol with the
following changes:

- Inserted packet-tds.h This is personal taste because of the many
  files in the toplevel directory. Whoever works on this next is
  free of course to separate it back out again.
- Removed unused includes sys/types.h, snprintf.h, netinet/in.h
- #if-0 unused function
- Removed duplicate define
- Declared all unused parameters as such
- Changed a // comment into /* */
- ifdef-DEBUG a printf statement

svn path=/trunk/; revision=6025
2002-08-19 21:33:29 +00:00
Guy Harris eada2368f4 CPHA support, from Yaniv Kaul.
svn path=/trunk/; revision=5994
2002-08-14 18:48:16 +00:00
Guy Harris ab5e55b841 From Randy McEoin: Xyplex terminal server protocol support.
svn path=/trunk/; revision=5975
2002-08-09 20:55:17 +00:00
Guy Harris 1882579b7e From Alfred Koebler: support for interpreting Ethernet captures as
CheckPoint FireWall-1 monitor files (those files look like snoop files
for Ethernet).

svn path=/trunk/; revision=5969
2002-08-08 09:28:11 +00:00
Guy Harris 5d929e0e8f From Motonori Shindo: support for reading CoSine L2 debug output.
svn path=/trunk/; revision=5922
2002-07-31 19:27:57 +00:00
Tim Potter 8d4650823d Dissector for DCERPC auth type == 10 (NTLMSSP) from
dheitmueller@netilla.com.

svn path=/trunk/; revision=5848
2002-07-09 20:49:27 +00:00
Gerald Combs 6181307c54 Add Apache JServ 1.3 dissector, from Christopher K. St. John.
svn path=/trunk/; revision=5782
2002-06-28 21:02:55 +00:00
Guy Harris 1fdab024c0 From Steve Housley: support for the IEEE 802.3ad Link Aggregation
Control Protocol.

svn path=/trunk/; revision=5663
2002-06-13 07:18:49 +00:00
Ronnie Sahlberg c9f2880cff Another small DCERPC interface from the winsows world implemented. TAPI.
svn path=/trunk/; revision=5608
2002-06-02 12:32:10 +00:00
Guy Harris f2880aad6b AODV6 support, from Antti Tuominen.
svn path=/trunk/; revision=5593
2002-05-29 21:32:23 +00:00
Guy Harris 0feb7affba Java RMI protocol support, from Michael Stiller.
svn path=/trunk/; revision=5590
2002-05-29 18:52:28 +00:00
Ronnie Sahlberg dbe5dc5fa7 Added skeleton dissector for DCERPC Browser protocol
svn path=/trunk/; revision=5578
2002-05-28 12:07:59 +00:00
Guy Harris 73ef38e5b7 Skeleton NSPI dissector, from Todd Sabin.
svn path=/trunk/; revision=5536
2002-05-23 23:45:22 +00:00
Guy Harris 18f75ae547 Get rid of the old MAPI dissector in favor of the new DCE RPC-based
dissector.

svn path=/trunk/; revision=5535
2002-05-23 23:37:49 +00:00
Ronnie Sahlberg c01a2aa70b Added stub for MS Exchange MAPI protocol.
If anyone has a better name they are welcome to change it.
Perhaps we can now remove the packet-mapi.c dissector.

svn path=/trunk/; revision=5530
2002-05-23 10:00:19 +00:00
Ronnie Sahlberg 0d0f5f486d Stubs for new dissector for SUN NFS AUTHentication protocol.
svn path=/trunk/; revision=5486
2002-05-16 08:50:00 +00:00
Guy Harris 5856584612 Check in stub dissectors for Sun's NFS ACL, remote statistics, and
Solstice administration daemon RPC services.

svn path=/trunk/; revision=5474
2002-05-15 07:21:41 +00:00
Gilbert Ramirez 41cc7f0707 Merge the work in Novell_NCP_branch into the mainline code.
A little work still needs to be done on the new NCP dissector -- make
some of the COL_INFO texts more useful, handle a Unicode issue, and
modify some of the cases that use "request conditions".
But the NCP dissector as it stands is very usable now.

Note: I didn't merge in the PROTO_LENGTH_UNTIL_END macro... I wanted
to think about the various possible macros and review an email conversation
I had with Guy on the subject.

svn path=/trunk/; revision=5432
2002-05-09 23:50:34 +00:00
Nathan Neulinger 699de0ebbc Add initial support for udp packets of the Distributed Checksum Clearhouse protocol
svn path=/trunk/; revision=5371
2002-05-03 15:50:11 +00:00
Guy Harris 9469b47866 ATP, ASP, and AFP support, from Didier Gautheron.
svn path=/trunk/; revision=5254
2002-04-25 23:58:02 +00:00
Guy Harris 10c5587bac AODV dissection support, from Erik Nordstr�m.
svn path=/trunk/; revision=5253
2002-04-25 23:35:52 +00:00
Guy Harris 92e27e03c1 Add a "proto_register_dcerpc_smb()" which registers ett_ values for
"packet-dcerpc-nt.c", and registers "dcerpc_smb_init()" as an
initialization routine.  Take the ett_ registration out of the latter
routine, and also take out the "do this only once" stuff.

Get rid of the initialization routines for netlogon, samr, and spoolss;
they just call "dcerpc_smb_init()", which is now an initialization
routine of its own.

The policy hash initialization should be done before every capture, so
it should be done in an initialization routine, and should not do any
"do this only once" stuff.  It should also be called only once before
every capture, rather than 3 times.

The ett_ initialization should, however, be done at the same time all
other ett_ initialization is done - at protocol registration time - so
it should be done in a "proto_register_" routine.

This fixes a bug I saw wherein

	1) the tree for Unicode strings was open by default

and

	2) if you closed one and then exited, Ethereal would crash.

The problem is that "proto_register_subtree_array()" doesn't expand the
array, it just bumps the number of registered ett_ values; the array is
allocated in "proto_init()".  As such, if you register ett_ values with
"proto_register_subtree_array()" *after* "proto_init()" is called - and,
even for the first capture, initialization routines are called after
"proto_init()" is called - you will get ett_ numbers that go past the
number of elements in the array.

Move the declaration of "ett_nt_unicode_string" to "packet-dcerpc-nt.h",
as it's exported from "packet-dcerpc-nt.c".

Get rid of the declaration of "dcerpc_smb_init()" in
"packet-dcerpc-nt.h", and make it static, as it's no longer called from
outside "packet-dcerpc-nt.c".

svn path=/trunk/; revision=5196
2002-04-18 00:29:17 +00:00
Guy Harris cec44f7274 ASAP support, from Michael Tuexen.
svn path=/trunk/; revision=5168
2002-04-15 21:47:59 +00:00
Guy Harris 21bb9c6d91 M2UA support, from Michael Tuexen.
svn path=/trunk/; revision=5160
2002-04-14 22:52:49 +00:00
Guy Harris b5ab8cd51d Update the Win32 nmakefile to include "packet-lmp.c".
svn path=/trunk/; revision=5141
2002-04-11 09:01:52 +00:00
Guy Harris b2c46086c3 Use WTAP_ENCAP_IEEE_802_11_WITH_RADIO for AiroPeek files, rather than
having a special encapsulation type for AiroPeek files.

svn path=/trunk/; revision=5123
2002-04-08 09:44:42 +00:00
Guy Harris 54fa1d944a XDMCP support, from Pasi Eronen.
svn path=/trunk/; revision=4951
2002-03-16 02:25:48 +00:00
Guy Harris 231011fbe5 SCCP support, from Jeff Morriss.
svn path=/trunk/; revision=4866
2002-03-04 22:39:22 +00:00
Guy Harris 56be333a81 From Andrew Feren: add ifdefs to the top-level Makefile.nmake to avoid
using Python if PYTHON isn't defined.

Fix up white space.

svn path=/trunk/; revision=4837
2002-03-01 06:52:14 +00:00
Guy Harris b4971b39bf From Joerg Mayer:
In the "configure.in" files, add

		-D_U_="__attribute__((unused))"

	to CFLAGS if we're using GCC, and add

		-D_U_=""

	otherwise, so _U_ can be used to mark arguments as unused.

Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works
with Microsoft Visual C++ as well.

Add comments and RCS IDs to the Makefile.nmake files that don't already
have them.

svn path=/trunk/; revision=4824
2002-02-27 09:42:52 +00:00
Guy Harris ac5a603cb7 Add support for SNA-over-Ethernet (Ethernet type 80d5).
svn path=/trunk/; revision=4747
2002-02-17 00:16:19 +00:00
Guy Harris 3929de0cc5 IAPP support, from Alfred Arnold.
svn path=/trunk/; revision=4679
2002-02-02 12:04:24 +00:00
Uwe Girlich c95560837a new dissector packet-tsp.c added
svn path=/trunk/; revision=4647
2002-01-31 07:51:32 +00:00
Gilbert Ramirez a8e66fb1c5 dftest needs wiretap library. Thanks to Alex Huetter <ahlx@aon.at>
svn path=/trunk/; revision=4634
2002-01-30 22:41:00 +00:00
Guy Harris a66d50bbf2 Untested support for AiroPeek captures.
svn path=/trunk/; revision=4619
2002-01-29 09:45:58 +00:00
Guy Harris c873f79156 Support for capturing on, and reading captures from, OpenBSD firewall
logging virtual interface, from Mike Frantzen.

svn path=/trunk/; revision=4616
2002-01-29 08:44:53 +00:00
Guy Harris 997ccee2e5 Include files from the "epan" directory and subdirectories thereof with
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).

Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").

svn path=/trunk/; revision=4588
2002-01-21 10:21:57 +00:00
Guy Harris aa36cec9df SCSI dissector, and changes to make the iSCSI dissector use it, from
Dinesh Dutt.

svn path=/trunk/; revision=4508
2002-01-10 01:28:45 +00:00
Guy Harris aa0459d3c2 Add DHCPv6 dissector to Windows build.
svn path=/trunk/; revision=4505
2002-01-09 02:55:38 +00:00
Guy Harris cb489a92bb From Hamish Moffatt:
Additional Windows Makefile dependencies, so more stuff gets
	built as needed.

	Additional stuff cleaned up by "make clean" (well, "nmake -f
	makefile.nmake clean", anyway)

	Make PDB_FILE be "vc*.pdb", so it referes to the PDB files
	either for VC++ 5.0 or VC++ 6.0.

svn path=/trunk/; revision=4481
2002-01-04 21:20:20 +00:00
Guy Harris 5027073407 From Hamish Moffatt:
Add some missing files in the "clean" targets.

	Use pod2html rather than man2html to build HTML man pages.

	Fix ethereal.nsi.in for recent versions of NSIS, and fix a typo.

svn path=/trunk/; revision=4475
2002-01-04 06:57:10 +00:00
Guy Harris 2a5c22e024 Add in the SliMP3 data protocol dissector.
svn path=/trunk/; revision=4454
2001-12-27 20:58:35 +00:00
Guy Harris c0ff48d6d0 DLSw support, from Paul Ionescu.
svn path=/trunk/; revision=4449
2001-12-26 21:17:49 +00:00
Guy Harris 6f0d79c0d7 From Ronnie Sahlberg: initial NDMPv3 support, and an update to his
e-mail address.

svn path=/trunk/; revision=4444
2001-12-23 21:36:58 +00:00
Guy Harris 3624071a79 Van Jacobson decompression support for PPP, from Irfan Khan.
svn path=/trunk/; revision=4427
2001-12-19 21:14:49 +00:00
Guy Harris 1e8ca8af4d From Motonori Shindo: don't put the PDB files into the release, as
they're not built and the executables already contain debugging
information, and update the README.win32 file appropriately and add
Text2Pcap and Mergecap to it.

svn path=/trunk/; revision=4425
2001-12-19 19:16:12 +00:00
Guy Harris c52144b652 M2TP support, from Heinz Prantner.
svn path=/trunk/; revision=4409
2001-12-16 22:30:11 +00:00
Guy Harris da82313eb3 From Tim Potter: dissect some of the LSA RPCs stub data.
svn path=/trunk/; revision=4407
2001-12-16 20:17:10 +00:00
Guy Harris 39362af814 From Motonori Shindo:
fix a bogus batch mode inference rule of make, so that
	"vc60.pdb" files are created in the proper directory;

	delete ".pdb" files in a "nmake -f Makefile.nmake clean";

	include the text2pcap and mergecap ".pdb" files in the Windows
	binary distribution.

svn path=/trunk/; revision=4385
2001-12-12 01:29:13 +00:00
Gilbert Ramirez ad43530063 Update mtp3 dissector. Add mtp2 dissector.
From ichael Tuexen <Michael.Tuexen@micmac.franken.de>

svn path=/trunk/; revision=4382
2001-12-11 03:04:26 +00:00
Guy Harris 421e391953 From Darren New: BXXP dissector modified to be a BEEP dissector.
Handle "bxxp." preferences as "beep." preferences.

svn path=/trunk/; revision=4357
2001-12-08 01:45:36 +00:00
Guy Harris 8032fa8a1b Make the bytes-written information from Wiretap a long, as we allow
files to get that big.

From Thomas Wittwer and Matthias Nyffenegger:

Support for "ring buffer mode", wherein there's a ring buffer of N
capture files; as each capture file reaches its maximum size (the ring
buffer works only with a maximum capture file size specified), Ethereal
rolls over to the next capture file in the ring buffer, replacing
whatever packets might be in it with new packets.

svn path=/trunk/; revision=4323
2001-12-04 08:26:00 +00:00
Guy Harris a1660d6d3a Support for stopping capture at specified capture file size or capture
duration, from Thomas Wittwer and Matthias Nyffenegger.

svn path=/trunk/; revision=4322
2001-12-04 07:32:05 +00:00
Guy Harris 51fe2ab58b SMPP support, from Tom Uijldert.
svn path=/trunk/; revision=4315
2001-12-03 20:18:29 +00:00
Guy Harris 56636f157a Support for 802.11+Prism II monitor-mode link-layer headers, from
Tim Newsham.

Add in missing item for WTAP_ENCAP_CISCO_IOS in the Wiretap
encapsulation type table.

svn path=/trunk/; revision=4290
2001-11-28 07:11:11 +00:00