Commit Graph

1135 Commits

Author SHA1 Message Date
Anders Broman c644b82279 Ethercat plugin
Author :
Richard Kuemmel <r.kuemmel[AT]beckhoff.de>

Updates and bugfixes:
Peter Johansson <peterjohansson73[AT]gmail.com>

svn path=/trunk/; revision=23174
2007-10-14 15:45:24 +00:00
Anders Broman 3238f6b87a Ethercat plugin
Author :
Richard Kuemmel <r.kuemmel[AT]beckhoff.de>

Updates and bugfixes:
Peter Johansson <peterjohansson73[AT]gmail.com>

svn path=/trunk/; revision=23173
2007-10-14 15:44:05 +00:00
Stephen Fisher 239f4e2ebb Fix Unix buildbots ("warning: 'msg_type' may be used uninitialized in this
function")


svn path=/trunk/; revision=23172
2007-10-14 00:56:53 +00:00
Anders Broman b5e2191dd6 Decode SDP inside Cisco SM messages(huge guesswork).
svn path=/trunk/; revision=23171
2007-10-13 21:59:33 +00:00
Gerald Combs ff5826a106 Fix wimaxasncp compilation under Windows. Rename a macro that's defined
by the platform SDK, cast an int, and use the top-level Makefile.nmake.inc
to build wimaxasncp_dict.{c|obj}.

svn path=/trunk/; revision=23165
2007-10-12 18:26:47 +00:00
Martin Mathieson 13bf6bc269 Another blind attempt to fix the Windows buildbot.
Could someone please review this (I'm leaving for the day soon)?

svn path=/trunk/; revision=23164
2007-10-12 16:51:42 +00:00
Jeff Morriss be55140415 Fix hex-pane byte highlighting for the PDU message type item
svn path=/trunk/; revision=23163
2007-10-12 15:41:53 +00:00
Martin Mathieson faffc473d1 Add targets for lex compilation.
svn path=/trunk/; revision=23162
2007-10-12 15:00:20 +00:00
Martin Mathieson 258eab8c26 Try to fix distcheck. Is this change appropriate?
svn path=/trunk/; revision=23161
2007-10-12 13:29:54 +00:00
Martin Mathieson 2c994a337f Added missing header file for distcheck.
svn path=/trunk/; revision=23160
2007-10-12 12:26:38 +00:00
Martin Mathieson 278271b8f7 Add missing file.
svn path=/trunk/; revision=23158
2007-10-12 10:44:49 +00:00
Martin Mathieson 358c4399ba TLVs now defined in XML (from Stephen Croll).
svn path=/trunk/; revision=23156
2007-10-12 09:59:10 +00:00
Ulf Lamping 5c901658e7 add FSParameterBlock and ARFSUDataAdjust blocks
svn path=/trunk/; revision=23140
2007-10-10 18:33:21 +00:00
Ulf Lamping 37d9fc37da - add DomainName fields for PDInterfaceMrpDataAdjust and PDInterfaceMrpDataReal
- lower expert info level if AR wasn't found

svn path=/trunk/; revision=23106
2007-10-09 05:39:48 +00:00
Richard van der Hoff 4d2920314d From Chris Maynard <christopher.maynard@gtech.com>:
With the exception of docsis's packet-tlv.c file, these are all simple problems
with the prefix not exactly set to PROTOABBREV.  For example, for
packet-bpkmattr.c, the field names are prefixed with "docsis.bpkmattr." instead
of "docsis_bpkmattr.".

packet-tlv.c had one mis-named field, namely "docsis.cos.sid".  It has been
changed to "docsis_tlv.cos.sid" in the patch to be attached, which includes
patches for 29 files in the plugins/docsis/ directory ...


svn path=/trunk/; revision=23088
2007-10-07 23:46:44 +00:00
Stig Bjørlykke 87cffefe2f Added parentheses to make the buildbot happy.
svn path=/trunk/; revision=23065
2007-10-03 19:35:32 +00:00
Ulf Lamping 2a8f9b4c99 check version of each block and don't try to dissect a block if the version is not as expected (to avoid "miss-dissections")
svn path=/trunk/; revision=23064
2007-10-03 18:02:27 +00:00
Ronnie Sahlberg 022aaeb39d make the sbus dissector nwe-style and make it check that the packet does
indeed look like sbus before taking it.


this fixes bug 1871


svn path=/trunk/; revision=23057
2007-10-02 22:04:07 +00:00
Ulf Lamping c3131594a8 update to latest IEC draft
svn path=/trunk/; revision=23041
2007-10-02 05:04:35 +00:00
Martin Mathieson 8e59e99b5c - show type (number) of unrecognised tlvs in the tlv root item
- also add this as an expert item
- tlv root item is now an FT_BYTES item (allowing filtering on whole tlv contents)

svn path=/trunk/; revision=22986
2007-09-26 14:47:22 +00:00
Ulf Lamping 33f27f437f slightly better summary of IODWriteRes and don't repeat AR info for each IODWriteRes_header
svn path=/trunk/; revision=22970
2007-09-25 21:56:43 +00:00
Stig Bjørlykke 19aa309fea From Don Newton:
added null termination to uftp and cleaned comments in packet-unistim.c

svn path=/trunk/; revision=22940
2007-09-24 19:56:17 +00:00
Jaap Keuter f2c1b7e8f0 From Chad Singer:
I fixed a bug in packet_unistim.c which was causing a 'malformed packet' to
appear when an open stream command is read with no endpoint ip (as is sometimes
done) I added a simple msg_len check to avoid this. 
I also added UFTP to the unistim dissector and adjusted the unistim call-detection 
in voip-info.c to start on an open stream as well as keypresses..

svn path=/trunk/; revision=22929
2007-09-24 06:19:56 +00:00
Jaap Keuter 816b438354 From Don Newton:
Added phone type using Nortel branded Polycom unistim conference phone.

svn path=/trunk/; revision=22910
2007-09-19 18:57:09 +00:00
Jaap Keuter bb983c053e Fix for bug 1687:
Add RFC 3807 defined V5 interface boundary primitives message class.

svn path=/trunk/; revision=22882
2007-09-16 14:22:06 +00:00
Jaap Keuter 0503c37133 Add RT(C)P conversation setup.
svn path=/trunk/; revision=22862
2007-09-13 18:47:10 +00:00
Jaap Keuter f0d360a48a Implement dissect_message loop i.s.o. recursive calls.
svn path=/trunk/; revision=22857
2007-09-12 21:46:55 +00:00
Jaap Keuter e1541263e4 From Chad Singer:
UNISTIM Tap interface plus call grapher.

svn path=/trunk/; revision=22834
2007-09-10 07:21:27 +00:00
Ulf Lamping 1366745e45 start an experiment to provide MS Visual Studio 2005 solution / project files for a lot easier debugging. They still use the underlying Makefile.nmake files for the actual build process.
svn path=/trunk/; revision=22831
2007-09-09 13:59:58 +00:00
Martin Mathieson 9d0e61f12c Replace remaining non-printable characters that looked like spaces with real spaces.
svn path=/trunk/; revision=22824
2007-09-07 15:58:24 +00:00
Martin Mathieson fe8b214d35 Small cleanup:
- remove unprintable chars (pasted from formatted spec doc?)
- use _U_ for unsused function argument
- remove accidental(?) assignment in function parameter
- make indentation consistent by removing the (few) tabs in the file

svn path=/trunk/; revision=22819
2007-09-07 13:53:49 +00:00
Martin Mathieson aef34dca35 Try Stephen Croll's workaround.
svn path=/trunk/; revision=22818
2007-09-07 09:56:19 +00:00
Anders Broman 01bd582bc0 Change it back...
Plus Temp change VALS(sminmpec_values) to NULL to let the buildbot do arun.

svn path=/trunk/; revision=22813
2007-09-06 21:33:57 +00:00
Anders Broman 83f7ac9f95 Add A11 RRQ-CVSE-Active Start Airlink Record-Subtype 108 is expressed to Subnet.
Plus Temp change VALS(sminmpec_values) to NULL to let the buildbot do arun.

svn path=/trunk/; revision=22812
2007-09-06 21:25:41 +00:00
Guy Harris 00ea6ee9fd Add .c.obj:: inference rule (to cause "batch compile")
svn path=/trunk/; revision=22809
2007-09-06 16:55:03 +00:00
Martin Mathieson 400f998e3b Fix the unsigned errors. Not sure about the other windows errors yet...
svn path=/trunk/; revision=22806
2007-09-06 14:14:09 +00:00
Martin Mathieson 0b04fe922b Build WiMAX ASN Control Plane dissector plugin
svn path=/trunk/; revision=22801
2007-09-06 10:14:49 +00:00
Martin Mathieson c4c6de35df Add wimaxasncp plugin folder contents (other changes will follow)
svn path=/trunk/; revision=22800
2007-09-06 10:05:41 +00:00
Ulf Lamping b57c83f6eb fix length calculation for 802.11 packets - the 802.11 dissector will strip off the 4 byte FCS at the end of a packet (while the Ethernet dissector does not).
svn path=/trunk/; revision=22759
2007-08-30 19:50:56 +00:00
Ulf Lamping b0f5c26ebf update to latest draft:
- add PDSyncData block with Version 1.2
- add IOXBlockReq/s ids 0x116, 0x117, 0x8116 and 0x8117

svn path=/trunk/; revision=22734
2007-08-30 02:14:36 +00:00
Jörg Mayer 659b175cd7 Disable unistim for now: it used port 5000 unconditionally
and that collied with tapa. Please add a check.

svn path=/trunk/; revision=22702
2007-08-28 10:37:21 +00:00
Bill Meier 516ca59b99 Add .c.obj:: inference rule (to cause "batch compile")
svn path=/trunk/; revision=22696
2007-08-27 22:56:27 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Gerald Combs a6d76c62a5 Clear out any remaining references to the h223 plugin. Replace the
references to h223 in README.plugins with agentx since it's small and
no one seems to be in a hurry to move it to epan/dissectors. 

svn path=/trunk/; revision=22641
2007-08-24 16:08:31 +00:00
Richard van der Hoff e184617c04 complete the death of the h223 plugin
svn path=/trunk/; revision=22635
2007-08-24 13:44:59 +00:00
Richard van der Hoff a312d7833c move packet-srp into the core (from the h223 plugin)
svn path=/trunk/; revision=22634
2007-08-24 13:08:21 +00:00
Jaap Keuter 13d050e9b6 List additional request for command presentation
svn path=/trunk/; revision=22605
2007-08-23 19:12:52 +00:00
Richard van der Hoff 27c71e90ba in preparation for de-pluginising h223, move golay code support into libwireshark
svn path=/trunk/; revision=22603
2007-08-23 17:25:22 +00:00
Jaap Keuter b65cc92385 Add the UNISTIM plugin to Wireshark.
svn path=/trunk/; revision=22558
2007-08-20 20:50:29 +00:00
Ulf Lamping 3a0c285065 fix return types, hopefully this will make the osx buildbot happy
svn path=/trunk/; revision=22531
2007-08-16 22:45:36 +00:00
Ulf Lamping 4b215597ae experimental feature: dissector filters
add the possibility, that a dissector writer can provide (usually non-trivial) display filters specific for the protocol in question (with an example in packet-dcerpc-pn-io.c), that will appear in the GUI


svn path=/trunk/; revision=22530
2007-08-16 22:03:10 +00:00
Guy Harris 5be4499ad1 Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o"
argument, and that it doesn't generate a header file to declare routines
the generated lexical analyzer defines.  Use that script when building
lexical analyzers, and, for each lexical analyzer, include the generated
header file in the generated analyzer.

svn path=/trunk/; revision=22446
2007-08-04 02:13:52 +00:00
Ulf Lamping 2d11b0813e mark some parameters as unused
svn path=/trunk/; revision=22445
2007-08-03 20:07:06 +00:00
Ulf Lamping 12aed7290c - add PDInterfaceFSUDataAdjust block
- start to implement an AR conversation handler

svn path=/trunk/; revision=22444
2007-08-03 19:29:34 +00:00
Guy Harris 46be54cee3 Add a Makefile.nmake.inc file, to hold rules etc. used by multiple
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a
.SUFFIXES pseudo-rule to add .l to the list of suffixes.  Have
Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get
that rule.

The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the
right names for the files in question.

Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate".

svn path=/trunk/; revision=22437
2007-08-01 22:20:38 +00:00
Guy Harris 159e795100 Add a Makefile.am.inc file, to hold rules etc. used by multiple
Makefile.am files; currently, it has the (F)lex-to-C rule.  Have
Makefile.am files with .l.c rules include Makefile.am.inc to get that
rule.

svn path=/trunk/; revision=22436
2007-08-01 20:35:05 +00:00
Jaap Keuter 6ab0bbb73c Clean up the WiMax Mac-to-Mac dissector code.
svn path=/trunk/; revision=22435
2007-08-01 17:42:43 +00:00
Guy Harris 61dd46fa9c Use a common .l.c rule for running Flex on .l files, just as is done on
UN*X.

svn path=/trunk/; revision=22434
2007-08-01 00:22:25 +00:00
Ulf Lamping f4cabf95a1 update PTCP dissection to latest specification draft
svn path=/trunk/; revision=22432
2007-07-31 19:01:15 +00:00
Ulf Lamping 6970aff017 add helper function dissect_pn_int32()
svn path=/trunk/; revision=22431
2007-07-31 18:57:51 +00:00
Guy Harris 968d363f11 Add comments to various %option items to explain what they're doing.
Move the %options to the beginning if they weren't already there, and
put them in the same order in all files.

Add "prefix=" options to .l files that don't already have them, so we
don't have to pass a "-P" option.

Add "never-interactive" and "noyywrap" options to our lexical analyzers,
to remove extra isatty() checks and to eliminate the need for yywrap()
from the Flex library.

Get rid of %option nostdinit - that's the default.

Add .l.c: rules to Makefile.am files, replacing the rules for specific
.l files.  Have those rules all check that $(LEX) is set.

Update the address for the FSF.

svn path=/trunk/; revision=22424
2007-07-30 20:22:37 +00:00
Jeff Morriss d363af82bf Initialize a couple of variables to prevent a couple (false, I think) "could be used uninitialized" warnings from GCC
svn path=/trunk/; revision=22401
2007-07-25 17:16:02 +00:00
Ulf Lamping 85e09ecdd5 fix unused parameter warning by adding _U_
svn path=/trunk/; revision=22400
2007-07-25 08:38:31 +00:00
Ulf Lamping 9f2478f46c from HPfrommer@hilscher.com:
I’ve fixed a bug in the Profinet-Dissector 
(plugins/profinet/packet-dcerpc-pn-io.c).

In PROFINET IO DCE RPC write-requests, only the first IR frame dataset 
in PDIRFrameData was dissected.

I’ve fixed the problem, now all IR frame datasets are dissected into 
individual sub-trees.

svn path=/trunk/; revision=22398
2007-07-24 21:15:34 +00:00
Ulf Lamping a5ba21acf8 remove ProvCRID from expert info output, so the composite view is more compact
svn path=/trunk/; revision=22386
2007-07-23 20:08:53 +00:00
Ulf Lamping 94b3dbf3f6 add dissection of blocks:
{ 0x021E, "CheckSyncDifference"},
	{ 0x021F, "CheckMAUTypeDifference"},

svn path=/trunk/; revision=22385
2007-07-23 20:07:51 +00:00
Bill Meier a6dab6d644 (Minor) Use _WIN32 (instead of WIN32) like the rest of Wireshark
svn path=/trunk/; revision=22030
2007-06-03 16:07:07 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Martin Mathieson 60b4275377 Add some casts to fix my build.
I'm not sure why no-one else saw those warnings and failed with -Werror...

svn path=/trunk/; revision=21980
2007-05-29 12:12:12 +00:00
Sebastien Tandel 76729e5d0f From David Howells :
Fix compilation failures when building wireshark-0.99.6-SVN-21916 on an
x86_64-unknown-linux-gnu target with gcc version 4.1.2 20070403 (Red Hat
4.1.2-8).

The failures fall into two categories:
  (1) Casts between pointers and 32-bit integers without an intermediary cast
via 'long' or 'unsigned long'.  This results in a compiler warning complaining
about casts between a pointer and an integer of a different size.
  (2) Passing values to "%lld" or similar printf-style format options that the
compiler thinks are a different size.  Such values need to be cast to 'long
long' or 'unsigned long long'.

svn path=/trunk/; revision=21975
2007-05-29 02:43:18 +00:00
Guy Harris a7c42e75e0 Use $(PLUGIN_LDFLAGS) for LDFLAGS.
svn path=/trunk/; revision=21963
2007-05-27 18:56:39 +00:00
Guy Harris 1c202d544c Clean up white space.
svn path=/trunk/; revision=21962
2007-05-27 18:44:22 +00:00
Guy Harris 9f2381e128 Get rid of trailing blank lines.
svn path=/trunk/; revision=21961
2007-05-27 18:35:55 +00:00
Guy Harris 01844e151a Use tvb_reported_length() to get the amount of data we should look at;
the number of bytes in the packet or subset of the packet is the
reported length, tvb_length() just gives you the amount of that data
that was actually captured.

Include <glib.h>, not <gmodule.h>, even in plugins.

Fix the version numbers in the rc files.

svn path=/trunk/; revision=21960
2007-05-27 18:33:13 +00:00
Guy Harris d99b6c0a8b Clean up white space.
svn path=/trunk/; revision=21959
2007-05-27 18:30:03 +00:00
Guy Harris 995493bb64 Include wimax_tlv.h the same way packet-m2m.c does.
svn path=/trunk/; revision=21958
2007-05-27 05:27:44 +00:00
Guy Harris 5d041e8839 wmxtypes.h is part of the m2m plugin, not the wimax plugin.
svn path=/trunk/; revision=21957
2007-05-27 02:01:00 +00:00
Guy Harris 75e07d214c Squelch some unused parameter warnings.
svn path=/trunk/; revision=21956
2007-05-26 20:07:53 +00:00
Guy Harris 614cdfcdba Flag some parameters as unused.
svn path=/trunk/; revision=21955
2007-05-26 19:31:50 +00:00
Guy Harris 2be10fe10b Get rid of unused parameter.
svn path=/trunk/; revision=21954
2007-05-26 18:59:56 +00:00
Guy Harris 62955d62fe Convert to the new style of building plugins; hopefully this'll fix the
rest of the distcheck issues.

svn path=/trunk/; revision=21953
2007-05-26 18:26:46 +00:00
Graeme Lunt 292543bc1c Missing bits and fixes to get the buildbot green again.
svn path=/trunk/; revision=21952
2007-05-26 10:17:08 +00:00
Guy Harris b30369bd09 Get rid of another item that's now handled automatically.
svn path=/trunk/; revision=21951
2007-05-26 03:26:20 +00:00
Guy Harris bc8357e204 Get rid of the old-style plugin registration stuff.
svn path=/trunk/; revision=21950
2007-05-26 03:15:51 +00:00
Guy Harris 4cfdd8ebb6 Go with a Makefile.common as other plugins have, and tweak the
Makefile.nmake and Makefile.am files to more closely resemble the ones
for other plugins.

(This should fix at least one of the distcheck problems, namely that
wmxtypes.h apparently wasn't getting put into the distribution.)

svn path=/trunk/; revision=21949
2007-05-26 03:12:25 +00:00
Gerald Combs a491fec183 From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
Add support for WiMAX and M2M to various makefiles and installer files.  Add
basic support for M2M to randpkt.

svn path=/trunk/; revision=21945
2007-05-25 23:40:42 +00:00
Jörg Mayer 21adfc3029 Trivial warning fixes:
opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

svn path=/trunk/; revision=21885
2007-05-22 13:17:24 +00:00
Guy Harris 6ea3d47e77 "make maintainer-clean" cleans up everything that "make distclean" does;
there's no need for files in DISTCLEANFILES to be in
MAINTAINERCLEANFILES as well.

In epan, split the generated source files into those that should be
cleaned by "make distclean" and those that shouldn't, and have
DISTCLEANFILES include only the ones that should be cleaned by "make
distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't
be cleaned by "make distclean".  This should fix bug 1595.

The generated source files don't need to be in EXTRA_DIST.

Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake.

svn path=/trunk/; revision=21882
2007-05-22 07:21:12 +00:00
Jaap Keuter 33cd736ce7 Make files more generic.
svn path=/trunk/; revision=21864
2007-05-21 18:08:47 +00:00
Ulf Lamping 872f29e293 from Gerhard Gappmeier (ULFL: only slightly changed the unused prevention):
I updated the files for the build process to fit the current wireshark
version.
I don't know much about it so a just copied the missing parts from
another module.
I'm not sure of it's right, so please have a look at it.

Modifications:
* added plugin.rc.in
* added moduleinfo.nmake
* updated Makefile.am/nmake/common
* removed unused variable from opcua_application_layer.c
* fixed unused parameter warning in opcua.c

I tested it on Windows with VC6 and on Gentoo linux with gcc 3.4.6.

svn path=/trunk/; revision=21802
2007-05-16 08:13:11 +00:00
Ulf Lamping bfa57bdb6d from Gerhard Gappmeier:
renamed prefix ua_ -> opcua_
remove unused code

svn path=/trunk/; revision=21784
2007-05-15 09:53:26 +00:00
Ulf Lamping 7dc6e7cf64 remove generated file
svn path=/trunk/; revision=21782
2007-05-15 09:12:39 +00:00
Ulf Lamping 44792f5dba add the list of DISSECTOR_INCLUDES
svn path=/trunk/; revision=21781
2007-05-15 09:10:16 +00:00
Ulf Lamping 12101aad61 add svn properties for dir and files
svn path=/trunk/; revision=21780
2007-05-15 09:05:53 +00:00
Gerald Combs aa19aa2326 Quote the path to make-dissector-reg.py.
svn path=/trunk/; revision=21769
2007-05-14 17:01:25 +00:00
Ulf Lamping dd8feca514 from Gerhard Gappmeier (ascolab):
new dissector for OPCUA protocol

svn path=/trunk/; revision=21760
2007-05-14 13:58:54 +00:00
Anders Broman 4c692a62b6 Start introducing actx to ber functions.
svn path=/trunk/; revision=21705
2007-05-06 22:34:05 +00:00
Anders Broman 1cf1f16391 Split out common asn1 stuff to asn1.h and include that where needed.
svn path=/trunk/; revision=21635
2007-05-01 22:05:11 +00:00
Sebastien Tandel 06deb19f7d move ipsec to DISSECTOR_SRC
fix some more MacOSX gcc warnings

svn path=/trunk/; revision=21433
2007-04-14 15:57:03 +00:00
Sebastien Tandel aa17869bf7 remove "treat warnings as errors" barrier for every repo containing code
generated by $(LEX) until a solution is found to compile them separately.


svn path=/trunk/; revision=21432
2007-04-14 14:07:46 +00:00