Commit Graph

56 Commits

Author SHA1 Message Date
Anders Broman 764e3ac167 New rutine tvb_format_text_wsp() which will change "whiite space" characters to space
before output.

svn path=/trunk/; revision=18519
2006-06-19 15:53:03 +00:00
Anders Broman 0eb577e17b From Eugene Tarlovskij:
After synchronization with wireshark repository I see that the patch is applied in the incorrect way. 
I send you another patch to fix this issue.

svn path=/trunk/; revision=18518
2006-06-19 15:43:17 +00:00
Anders Broman eb83c826ca From Tarlovskij Eugene:
- MEGACO dissector fails to decode observedevents descriptor 
- BoundsError exception in text MEGACO packets

svn path=/trunk/; revision=18504
2006-06-17 16:13:25 +00:00
Jörg Mayer 299ac5e8bc remove plugin.c in distlclean
svn path=/trunk/; revision=18312
2006-06-02 06:53:30 +00:00
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris 5199671441 Convert most other plugin dissectors to use the make-dissector-reg
scripts.

svn path=/trunk/; revision=17961
2006-04-22 20:26:16 +00:00
Anders Broman 6cb8d805f0 Fix Bug http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=677 megaco.dll can not handle lowcase descriptor
svn path=/trunk/; revision=17900
2006-04-18 21:08:14 +00:00
Anders Broman 8f7a6edca8 Add some missing commands.
svn path=/trunk/; revision=17868
2006-04-15 18:41:39 +00:00
Jaap Keuter 48f6c25460 Fix for bug 756. Handle CR as part of separator as well.
svn path=/trunk/; revision=17359
2006-02-21 11:48:40 +00:00
Anders Broman 4148750110 Fix bug #343 Parsing Problem - TransactionResponseAck (MEGACO).
svn path=/trunk/; revision=15902
2005-09-20 18:45:21 +00:00
Guy Harris b7b80d94be Move a pile of protocol-related headers from the top-level source
directory to the epan directory.  Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.

Fix Gerald's e-mail address in files we're moving.

svn path=/trunk/; revision=15844
2005-09-17 00:02:31 +00:00
Gerald Combs 7743ecf3c9 Break out of another infinite loop. Fixes bug 293.
svn path=/trunk/; revision=15047
2005-07-24 21:02:40 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Anders Broman 349d377a75 From Karl Knoebl
Accept SP as separator and * provide info to COL_INFO and some "prettification"
 Cleaned up some comments as well.

svn path=/trunk/; revision=14824
2005-06-30 19:17:46 +00:00
Gerald Combs b133b98f15 Break out of an infinite loop. Fixes bugs 213 & 214.
svn path=/trunk/; revision=14487
2005-05-30 15:51:03 +00:00
Lars Roland cca89430e4 add another lenght check in the megaco dissector.
Fixes bug 150.

svn path=/trunk/; revision=14283
2005-05-03 00:19:08 +00:00
Gerald Combs 9f61403c0b Break out of another infinite loop. Found during fuzz testing.
svn path=/trunk/; revision=14250
2005-05-01 13:36:00 +00:00
Gerald Combs e5af03f331 Fix a buffer overflow. Fixes bug 96.
svn path=/trunk/; revision=14207
2005-04-27 20:25:37 +00:00
Gerald Combs b979f69c0c Break out of an infinite loop. Fixes bug 95.
svn path=/trunk/; revision=14204
2005-04-27 19:09:55 +00:00
Gerald Combs caf66bb8dd Add a length check.
svn path=/trunk/; revision=14030
2005-04-08 19:14:05 +00:00
Guy Harris 802859d3fd Call the "new-style init" routine for plugins a "register" routine, as
it serves the same purpose as the register routine in a built-in
dissector, and don't require all dissectors to have one, as they might
just be taps.

Get rid of the stats tree's init routine, as it's just a tap, and as it
doesn't do anything.

Update the idl2eth Python script to generate plugins with register routines.

svn path=/trunk/; revision=13644
2005-03-07 02:44:41 +00:00
Lars Roland 00273300e7 Preparations for dropping the old plugin api.
Introduce a new init routine for plugins, 
which does not take the plugin api table as an 
argument and allows etheral to distinguish 
between plugins using the old and the new api.

Update README.plugins accordingly

Change all g_warnings() in epan/plugins.c to report_failue().
On windows we do not have a log console open while
loading the plugins, because a log console cannot be opened before the prefs have been read. Thus g_warnings()
does not work for reporting problems with plugins.

svn path=/trunk/; revision=13596
2005-03-05 06:28:10 +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
Anders Broman e44fae7226 From Tomer Shani :register_dissector call
svn path=/trunk/; revision=13004
2005-01-12 06:00:31 +00:00
Guy Harris 017d788da0 From Lars Roland: we need to define _NEED_VAR_IMPORT_ in plugins if we
link the plugins with libethereal, so do so.

svn path=/trunk/; revision=12176
2004-10-01 19:50:03 +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
Guy Harris bbe7f89742 Move prefs.c and prefs.h into the epan subdirectory.
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Anders Broman 790e524443 Fix dissection of MEGACO over TCP, there will be a TPKT header included.
svn path=/trunk/; revision=12043
2004-09-18 21:28:28 +00:00
Anders Broman dbec88f562 Fix a problem where MEGACO not fully RFC complient wasn't dissected, change some indentations,
and a problem where transaction ID wasn't put in the info columb correctly.

svn path=/trunk/; revision=11997
2004-09-15 19:59:53 +00:00
Guy Harris 3a583aeb59 From Albert Chin: rename resolv.{ch} to addr_resolv.{ch}, so that an
include of <resolv.h> in any system header file gets the system
<resolv.h> (needed for builds on Tru64 with GTK+ 1.2[.x]).

svn path=/trunk/; revision=11615
2004-08-06 19:57:49 +00:00
Jörg Mayer fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer 56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +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
Olivier Biot 93751c8e32 Replace the plugin linkage libs into PLUGIN_LIBS which is generated from the
top-level configure.in when running configure.

svn path=/trunk/; revision=10699
2004-04-25 21:10:20 +00:00
Guy Harris 9bff3255f9 Get rid of bogus extra "proto_tree_add_text()" arguments.
svn path=/trunk/; revision=10668
2004-04-23 03:20:58 +00:00
Anders Broman 4aca73e9b4 Skipp leading spaces in front of MEGACO and fix dissection of TransactionResponseAck
svn path=/trunk/; revision=10658
2004-04-21 19:58:14 +00:00
Olivier Biot 4459d9f0a9 Add support for plugin dissectors on cygwin builds, by adding the following
line to every Makefile.am file for a given plugin XXX:

	XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

This way symbols defined in libethereal and GLib are resolved when linking
the plugin dissector modules.

svn path=/trunk/; revision=10601
2004-04-14 22:13:28 +00:00
Jörg Mayer 3a60501750 Change msg from guint8* to gchar* (because of tvb_format_text change)
svn path=/trunk/; revision=9802
2004-01-23 09:47:39 +00:00
Guy Harris cbfc93b82e Use "$(OBJECTS)" whenever a complete list of .obj files appears, rather
than repeating the list from the setting of OBJECTS.

svn path=/trunk/; revision=8893
2003-11-06 09:05:14 +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 30265de991 From Anders Broman: fix a crash, and fix trailing whitespace on
Transaction ID.

svn path=/trunk/; revision=8533
2003-09-24 18:41:37 +00:00
Jörg Mayer 10b364c56d - Make --enable-static work again (configure.in, Makefile.am)
- get rid of ...-static.o files in the build process (now done via
  config.h instead of compiler flag)
- make packet-rtnet link statically (remove one unused function, rename
  another one)

svn path=/trunk/; revision=8389
2003-09-05 07:44:50 +00:00
Guy Harris 50a0e0a834 From Anders Broman: use a value_string table rather than a switch to
translate MEGACO error codes to descriptions, and show the media
descriptor differently.

"tvb_new_subset(tvb,0,tvb_length(tvb),-1)" returns a tvbuff equivalent
to "tvb"; don't bother calling "tvb_new_subset()".

svn path=/trunk/; revision=8353
2003-09-03 06:48:45 +00:00
Ronnie Sahlberg ec660f2051 From Anders Broman, updates and fixes to MEGACO
svn path=/trunk/; revision=8276
2003-08-26 21:36:17 +00:00
Guy Harris f5ecf9a22f Crude workaround for a deficiency in the MEGACO parser - it assumes that
all packets have an "=" in them, which TransactionResponseAcks do not.
Check some of the "tvb_find_guint8()" replies and give up if they return
-1.

svn path=/trunk/; revision=8102
2003-07-30 06:28:55 +00:00
Ronnie Sahlberg 1eb4be4dc2 Updates to the MEGACO plugin so that it will call the H.245 dissector for some
instancews where megaco encapsulates h.245

svn path=/trunk/; revision=8087
2003-07-26 04:51:08 +00:00
Guy Harris b1dd70cb3e Make the top-level protocol tree entry cover all the data being
dissected, rather than none of it.

Clean up white space.

svn path=/trunk/; revision=7992
2003-07-08 17:42:24 +00:00
Guy Harris 176d16241b From Christoph Wiest: redo MEGACO dissector to more fully parse
text-format messages.

svn path=/trunk/; revision=7957
2003-07-01 08:00:06 +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