Commit Graph

21380 Commits

Author SHA1 Message Date
Guy Harris e49fe5baec Change the Wiretap code so that it doesn't dereference
possibly-unaligned pointers, and turn on -Wcast-align so at least some
future code that does that will fail to compile.

svn path=/trunk/; revision=21968
2007-05-28 06:47:50 +00:00
Anders Broman 430a1de0c0 From Joe Eykholt:
Attached is a patch file and a new dissector for FCoE.   This protocol
is described at http://fcoe.com and has been submitted to T11. It is an encapsulation protocol that can be used to transport FC frames over raw Ethernet when the link is loss-free due to pause.  The Ethertype 0x8906 has been reserved through IEEE for this protocol.

svn path=/trunk/; revision=21967
2007-05-28 06:38:30 +00:00
Anders Broman b8d8f0ce1b From Neil Ostroff:
The enclosed patch updates the ansi isup dissector to support the following parameters:  

 

1. Generic Name  

2. Originating Line Info  

3. Jurisdiction  

4. Charge Number  

5. Forward Call Indicator (bits M and N are now being decoded)  

6. Cause Code (all values are now being decoded)

svn path=/trunk/; revision=21966
2007-05-28 06:13:03 +00:00
Stephen Fisher 2e6db8fc74 Remove old readme file from snmp asn1 directory that says it isn't ready
for use because it is already in use as the packet-snmp.c dissector.


svn path=/trunk/; revision=21965
2007-05-28 02:33:43 +00:00
Stephen Fisher 6aa0d47b38 From Metatech:
Here is a small patch of a dozen lines that extracts SQL statements from
the packet.
This allows to use the field "drda.sqlstatement" in coloring rules or in a
packet filter so that only SQL statements are dumped from a connection


svn path=/trunk/; revision=21964
2007-05-27 23:34:55 +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
Sebastien Tandel 028a7cf638 From Ville Nuorvala :
adds support for the following RFCs (and RFC-to-be):
  - RFC 3519 Mobile IP Traversal of Network Address Translation (NAT) Devices
  - RFC 3543 Registration Revocation in Mobile IPv4
  - RFC 4433 Mobile IPv4 Dynamic Home Agent (HA) Assignment (including the not
      yet published errata about the message extension using the short message
      extension format)
  - draft-ietf-mip4-message-string-ext Mobile IPv4 Message String Extension


svn path=/trunk/; revision=21948
2007-05-26 01:01:27 +00:00
Stephen Fisher 3f239a2fc7 Fix bug #1416: crash (stack smashing) on single DHCP packet
svn path=/trunk/; revision=21947
2007-05-26 00:38:53 +00:00
Guy Harris 85ab07f287 init_plugin_dir() is now just internal to epan/filesystem.c.
svn path=/trunk/; revision=21946
2007-05-26 00:12:28 +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
Guy Harris 1e7c1bc036 Add a cast to squelch an MSVC warning.
svn path=/trunk/; revision=21944
2007-05-25 21:50:12 +00:00
Gerald Combs a33ebc8d5c Throw an exception instead of trying to add a 4GB fragment.
svn path=/trunk/; revision=21943
2007-05-25 21:32:32 +00:00
Guy Harris ab5a09f4de No need to call init_plugin_dir() - it gets called, if necessary, by
get_plugin_dir().

Add checks for the success or failure of init_progfile_dir() in dftest.

svn path=/trunk/; revision=21942
2007-05-25 20:03:26 +00:00
Guy Harris 88f69b80c0 Make SND_SEQ an array of 2 guint32's, rather than an array of 8
guint8's, to squelch some compiler warnings (and clean up some
comparisons).

svn path=/trunk/; revision=21941
2007-05-25 19:39:35 +00:00
Guy Harris 4e008159c8 The libpcap callback "user" argument *should* have been a "void *", as
it's a pointer to an arbitrary object, assumed to be correctly aligned,
not a pointer to a not-necessarily-properly-aligned array of bytes. 
Cast it, so we won't get alignment warnings.

svn path=/trunk/; revision=21940
2007-05-25 19:31:13 +00:00
Guy Harris f2c8e0c0ba The libpcap callback "user" argument *should* have been a "void *", as
it's a pointer to an arbitrary object, assumed to be correctly aligned,
not a pointer to a not-necessarily-properly-aligned array of bytes. 
Cast it, so we won't get alignment warnings.

svn path=/trunk/; revision=21939
2007-05-25 19:26:45 +00:00
Guy Harris 944d2e5487 Squelch some qualifier (const vs. non-const) warnings.
svn path=/trunk/; revision=21938
2007-05-25 19:13:49 +00:00
Gerald Combs b6408d1673 As Martin pointed out, we were comparing the wrong variable against our
modifier mask (and using the wrong bitwise operator to boot).

svn path=/trunk/; revision=21937
2007-05-25 17:24:35 +00:00
Luis Ontanon 9e7615967b remove the never used wiretap/wtap-plugins.c
svn path=/trunk/; revision=21936
2007-05-25 17:23:46 +00:00
Luis Ontanon 11f06217ce Have editcap and capinfos loading the wiretap plugins.
epan/filesystem.c
   have get_plugin_dir() calling init_plugin_dir() if necessary

epan/epan.c and epan/report_err.c
   move the report_failure family into the new report_err.c file, have epan_init() calling the initializer

epan/plugins.h and epan/proto.c
   do not have init_plugins() calling the proto_reg functions instead do it in init_proto()

gtk/main.c and tshark.c
   init_plugin_dir() has become suprefluous

capinfos.c and editcap.c
   load the wiretap plugins

Makefiles
   do what's needed to build withe the above changes.




svn path=/trunk/; revision=21935
2007-05-25 17:22:32 +00:00
Luis Ontanon c22f70ec1b - epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the dissector and the handle
- packet-user_encap.c: use the new UAT_PROTO_DEF
- gtk/uat_gui.c:  change the order of "containment" of the widgets to have the clist fields sized to the scrolledwindow instead of the whole window


svn path=/trunk/; revision=21934
2007-05-25 16:47:22 +00:00
Tomas Kukosa 31e3747eab get rid of few warnings
svn path=/trunk/; revision=21933
2007-05-25 11:40:32 +00:00
Jörg Mayer 5c4151bb8f Update from samba tree revision 23054 to 23135
============================ Samba log start ============
------------------------------------------------------------------------
r23069 | metze | 2007-05-22 13:23:36 +0200 (Tue, 22 May 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm

print out the command, to find out the problem on host 'tridge'

metze
------------------------------------------------------------------------
r23071 | metze | 2007-05-22 14:45:58 +0200 (Tue, 22 May 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm

print the command on failure only

metze
------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=21932
2007-05-25 08:34:15 +00:00
Tomas Kukosa 6c5a299a55 UMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory
svn path=/trunk/; revision=21931
2007-05-25 06:54:39 +00:00
Jaap Keuter 7ecc588029 Fix for bug 1614:
Output preamble and finale on live capture.

svn path=/trunk/; revision=21930
2007-05-25 06:46:47 +00:00
Jaap Keuter 7178eb7aad From Brian Vandenberg:
I ran into a problem trying to debug some of my stuff yesterday that depends on the http dissector, and the server I'm working with defaults to ssl traffic; whenever I try to debug it, it always gets hung up on the lines I mentioned in the email quoted below (within the ssl dissector).

It seems the culprit is in the use of g_malloc within ssl_data_alloc, and free (instead of g_free) in  tls_prf. 

I've attached the diff for the fixes I made.

svn path=/trunk/; revision=21929
2007-05-25 06:35:21 +00:00
Luis Ontanon 869732d121 Prepare wireshark and tshark for wiretap plugins
svn path=/trunk/; revision=21928
2007-05-24 22:26:51 +00:00
Anders Broman cbb9271a0a Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
for SCTP.

svn path=/trunk/; revision=21927
2007-05-24 20:42:55 +00:00
Luis Ontanon 05973d7fc9 Help for the SCTP Users Table
svn path=/trunk/; revision=21926
2007-05-24 20:40:42 +00:00
Anders Broman 082c1718a7 No longer needed as nothing is exported.
svn path=/trunk/; revision=21925
2007-05-24 19:11:04 +00:00
Gerald Combs ad3702a7c2 Fix a crash bug found through fuzz testing. The bug was introduced
after the 0.99.5 release.

svn path=/trunk/; revision=21924
2007-05-24 17:36:07 +00:00
Guy Harris 4703ca6fc4 Get rid of CR's, and add a newline at the end.
Set svn:keywords and svn:eol-style appropriately.

svn path=/trunk/; revision=21923
2007-05-24 17:02:06 +00:00
Bill Meier eb61e72efd When computing average: use 0 as avg if divisor=0
svn path=/trunk/; revision=21922
2007-05-24 16:18:33 +00:00
Tomas Kukosa 3ecba48898 fix rrlp subdissector calling
svn path=/trunk/; revision=21921
2007-05-24 13:30:45 +00:00
Tomas Kukosa b20af30b48 few BER dissectors regenerated
svn path=/trunk/; revision=21920
2007-05-24 12:36:41 +00:00
Tomas Kukosa 062d80f7b8 - RNSAP calls RRC through dissector handle instead of direct function call
- PER dissectors regenerated

svn path=/trunk/; revision=21919
2007-05-24 12:30:38 +00:00