obnox/wireshark/wip.git
16 years agoAdd some missing files.
guy [Wed, 30 May 2007 01:50:08 +0000 (01:50 +0000)]
Add some missing files.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21999 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate a comment.
guy [Wed, 30 May 2007 00:36:32 +0000 (00:36 +0000)]
Update a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21998 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGive more detail on a captype of 6 for an Ethernet capture.
guy [Tue, 29 May 2007 23:35:45 +0000 (23:35 +0000)]
Give more detail on a captype of 6 for an Ethernet capture.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21997 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoIt's pretty clear that hdr.captype's interpretation depends on the
guy [Tue, 29 May 2007 23:31:03 +0000 (23:31 +0000)]
It's pretty clear that hdr.captype's interpretation depends on the
network type; there's no "presumably" about it.

Suggest that "realtick" might have the right time stamp in other cases
(if not, a comment should explicitly indicate that, so that in all cases
where we either know that realtick is wrong or have a lot of evidence to
show that it's right, we note that fact).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21996 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agowe dont link with g_snprintf in the configure for gtk1-2 so fall back to
sahlberg [Tue, 29 May 2007 23:29:20 +0000 (23:29 +0000)]
we dont link with g_snprintf in the configure for gtk1-2 so fall back to
snprintf instead

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21995 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix for bug #1530: Graph Analysis window misbehaves if Flow Window that
sfisher [Tue, 29 May 2007 23:09:09 +0000 (23:09 +0000)]
Fix for bug #1530: Graph Analysis window misbehaves if Flow Window that
created it is closed.

The fix is to close the graph analysis window when the flow graph setup
window is closed since closing the flow graph window first destroys all
of the data structures.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21994 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate the big time unit comment to reflect Bill Meier's recent changes.
guy [Tue, 29 May 2007 22:52:42 +0000 (22:52 +0000)]
Update the big time unit comment to reflect Bill Meier's recent changes.

Fix some other comments.

Add a suggestion for why the realtick values might correlate with
packets having an FCS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21993 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoClean up the .cnf file a bit.
etxrab [Tue, 29 May 2007 19:08:26 +0000 (19:08 +0000)]
Clean up the .cnf file a bit.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21992 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate to reflect the use of G_GINT64_MODIFIER, rather than PRI[douxX],
guy [Tue, 29 May 2007 18:59:50 +0000 (18:59 +0000)]
Update to reflect the use of G_GINT64_MODIFIER, rather than PRI[douxX],
with GLib routines and the routines that love them.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21991 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
guy [Tue, 29 May 2007 18:52:42 +0000 (18:52 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21990 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd missing calculated_delay_report_gap field to _rtcp_conversation_info
guy [Tue, 29 May 2007 17:27:59 +0000 (17:27 +0000)]
Add missing calculated_delay_report_gap field to _rtcp_conversation_info
structure.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21989 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdded standard ignore list to directory
grahamb [Tue, 29 May 2007 14:43:31 +0000 (14:43 +0000)]
Added standard ignore list to directory

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21988 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdded standard ignore list to directory
grahamb [Tue, 29 May 2007 14:41:49 +0000 (14:41 +0000)]
Added standard ignore list to directory

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21987 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoWork with isdn_l2.
martinm [Tue, 29 May 2007 14:38:40 +0000 (14:38 +0000)]
Work with isdn_l2.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21986 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoWhen reporting roundtrip delay, show delay since timestamp of LSR frame.
martinm [Tue, 29 May 2007 14:37:34 +0000 (14:37 +0000)]
When reporting roundtrip delay, show delay since timestamp of LSR frame.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21985 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- COMPONENTS OF implementation (can be used only inside one module or more modules...
kukosa [Tue, 29 May 2007 14:32:46 +0000 (14:32 +0000)]
- COMPONENTS OF implementation (can be used only inside one module or more modules compiled together, can not be done across exported/imported types)
- if protocol name contains dot '.' it is replaced with dash '-' for default output filename
- fix bug in more modules output handling if they are not merged together but output is done one by one
- new #.OPT option EXTERNAL_TYPE_CB for default EXTERNAL type callback
- start of X.880 support implementation

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21984 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago(fix comment)
wmeier [Tue, 29 May 2007 14:27:42 +0000 (14:27 +0000)]
(fix comment)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21983 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAnother sniffer timestamp display fix; addresses bug 866 and other reports.
wmeier [Tue, 29 May 2007 14:20:54 +0000 (14:20 +0000)]
Another sniffer timestamp display fix; addresses bug 866 and other reports.
(Also: change variable name to correctly reflect usage).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21982 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoexport dissect_ber_old_... functions
kukosa [Tue, 29 May 2007 14:13:33 +0000 (14:13 +0000)]
export dissect_ber_old_... functions
can be removed when migration to new BER is finished

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21981 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd some casts to fix my build.
martinm [Tue, 29 May 2007 12:12:12 +0000 (12:12 +0000)]
Add some casts to fix my build.
I'm not sure why no-one else saw those warnings and failed with -Werror...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21980 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate before new release
jmayer [Tue, 29 May 2007 09:23:36 +0000 (09:23 +0000)]
Update before new release

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21979 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoCheck for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.
guy [Tue, 29 May 2007 06:56:07 +0000 (06:56 +0000)]
Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.

In all the places where a cast to "long long" or "unsigned long long"
was done, use G_GINT64_MODIFIER and get rid of the cast, as

1) there's no guarantee that "%ll" works

and

2) there's no guarantee that "long long" works

(the latter definitely does *NOT* work with MSVC++; the former doesn't
work with regular printf in MSVC++, but it might work with the GLib
printf-based functions).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21978 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoDocument "-T fields".
guy [Tue, 29 May 2007 06:20:03 +0000 (06:20 +0000)]
Document "-T fields".

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21977 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoPrint a gint64 the right way.
guy [Tue, 29 May 2007 06:16:24 +0000 (06:16 +0000)]
Print a gint64 the right way.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21976 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom David Howells :
standel [Tue, 29 May 2007 02:43:18 +0000 (02:43 +0000)]
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'.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21975 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix warnings for gcc 4.2
standel [Tue, 29 May 2007 02:29:38 +0000 (02:29 +0000)]
fix warnings for gcc 4.2

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21974 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix SelectionType creation for export (if the type is only exported but not used...
kukosa [Mon, 28 May 2007 11:10:41 +0000 (11:10 +0000)]
fix SelectionType creation for export (if the type is only exported but not used in module)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21973 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agosupport of SelectionType
kukosa [Mon, 28 May 2007 10:55:03 +0000 (10:55 +0000)]
support of SelectionType

e.g. in TCAP
Component{...} ::= CHOICE {
  basicROS  ROS{...},
  returnResultNotLast [7] returnResult < ROS{..}
}

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21972 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoThrow in some casts to suppress warnings.
guy [Mon, 28 May 2007 08:31:18 +0000 (08:31 +0000)]
Throw in some casts to suppress warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21971 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoasn1/snmp/README.txt is gone.
guy [Mon, 28 May 2007 07:26:59 +0000 (07:26 +0000)]
asn1/snmp/README.txt is gone.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21970 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agosmall improvements in value handling, defined INTEGER value can be used in OID value
kukosa [Mon, 28 May 2007 07:10:09 +0000 (07:10 +0000)]
small improvements in value handling, defined INTEGER value can be used in OID value

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21969 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoChange the Wiretap code so that it doesn't dereference
guy [Mon, 28 May 2007 06:47:50 +0000 (06:47 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21968 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Joe Eykholt:
etxrab [Mon, 28 May 2007 06:38:30 +0000 (06:38 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21967 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Neil Ostroff:
etxrab [Mon, 28 May 2007 06:13:03 +0000 (06:13 +0000)]
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)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21966 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoRemove old readme file from snmp asn1 directory that says it isn't ready
sfisher [Mon, 28 May 2007 02:33:43 +0000 (02:33 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21965 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Metatech:
sfisher [Sun, 27 May 2007 23:34:55 +0000 (23:34 +0000)]
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

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21964 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse $(PLUGIN_LDFLAGS) for LDFLAGS.
guy [Sun, 27 May 2007 18:56:39 +0000 (18:56 +0000)]
Use $(PLUGIN_LDFLAGS) for LDFLAGS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21963 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoClean up white space.
guy [Sun, 27 May 2007 18:44:22 +0000 (18:44 +0000)]
Clean up white space.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21962 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGet rid of trailing blank lines.
guy [Sun, 27 May 2007 18:35:55 +0000 (18:35 +0000)]
Get rid of trailing blank lines.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21961 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse tvb_reported_length() to get the amount of data we should look at;
guy [Sun, 27 May 2007 18:33:13 +0000 (18:33 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21960 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoClean up white space.
guy [Sun, 27 May 2007 18:30:03 +0000 (18:30 +0000)]
Clean up white space.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21959 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoInclude wimax_tlv.h the same way packet-m2m.c does.
guy [Sun, 27 May 2007 05:27:44 +0000 (05:27 +0000)]
Include wimax_tlv.h the same way packet-m2m.c does.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21958 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agowmxtypes.h is part of the m2m plugin, not the wimax plugin.
guy [Sun, 27 May 2007 02:01:00 +0000 (02:01 +0000)]
wmxtypes.h is part of the m2m plugin, not the wimax plugin.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21957 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoSquelch some unused parameter warnings.
guy [Sat, 26 May 2007 20:07:53 +0000 (20:07 +0000)]
Squelch some unused parameter warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21956 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFlag some parameters as unused.
guy [Sat, 26 May 2007 19:31:50 +0000 (19:31 +0000)]
Flag some parameters as unused.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21955 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGet rid of unused parameter.
guy [Sat, 26 May 2007 18:59:56 +0000 (18:59 +0000)]
Get rid of unused parameter.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21954 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoConvert to the new style of building plugins; hopefully this'll fix the
guy [Sat, 26 May 2007 18:26:46 +0000 (18:26 +0000)]
Convert to the new style of building plugins; hopefully this'll fix the
rest of the distcheck issues.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21953 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMissing bits and fixes to get the buildbot green again.
gal [Sat, 26 May 2007 10:17:08 +0000 (10:17 +0000)]
Missing bits and fixes to get the buildbot green again.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21952 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGet rid of another item that's now handled automatically.
guy [Sat, 26 May 2007 03:26:20 +0000 (03:26 +0000)]
Get rid of another item that's now handled automatically.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21951 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGet rid of the old-style plugin registration stuff.
guy [Sat, 26 May 2007 03:15:51 +0000 (03:15 +0000)]
Get rid of the old-style plugin registration stuff.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21950 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGo with a Makefile.common as other plugins have, and tweak the
guy [Sat, 26 May 2007 03:12:25 +0000 (03:12 +0000)]
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.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21949 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Ville Nuorvala :
standel [Sat, 26 May 2007 01:01:27 +0000 (01:01 +0000)]
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

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21948 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix bug #1416: crash (stack smashing) on single DHCP packet
sfisher [Sat, 26 May 2007 00:38:53 +0000 (00:38 +0000)]
Fix bug #1416: crash (stack smashing) on single DHCP packet

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21947 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoinit_plugin_dir() is now just internal to epan/filesystem.c.
guy [Sat, 26 May 2007 00:12:28 +0000 (00:12 +0000)]
init_plugin_dir() is now just internal to epan/filesystem.c.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21946 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
gerald [Fri, 25 May 2007 23:40:42 +0000 (23:40 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21945 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd a cast to squelch an MSVC warning.
guy [Fri, 25 May 2007 21:50:12 +0000 (21:50 +0000)]
Add a cast to squelch an MSVC warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21944 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoThrow an exception instead of trying to add a 4GB fragment.
gerald [Fri, 25 May 2007 21:32:32 +0000 (21:32 +0000)]
Throw an exception instead of trying to add a 4GB fragment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21943 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoNo need to call init_plugin_dir() - it gets called, if necessary, by
guy [Fri, 25 May 2007 20:03:26 +0000 (20:03 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21942 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMake SND_SEQ an array of 2 guint32's, rather than an array of 8
guy [Fri, 25 May 2007 19:39:35 +0000 (19:39 +0000)]
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).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21941 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoThe libpcap callback "user" argument *should* have been a "void *", as
guy [Fri, 25 May 2007 19:31:13 +0000 (19:31 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21940 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoThe libpcap callback "user" argument *should* have been a "void *", as
guy [Fri, 25 May 2007 19:26:45 +0000 (19:26 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21939 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoSquelch some qualifier (const vs. non-const) warnings.
guy [Fri, 25 May 2007 19:13:49 +0000 (19:13 +0000)]
Squelch some qualifier (const vs. non-const) warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21938 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAs Martin pointed out, we were comparing the wrong variable against our
gerald [Fri, 25 May 2007 17:24:35 +0000 (17:24 +0000)]
As Martin pointed out, we were comparing the wrong variable against our
modifier mask (and using the wrong bitwise operator to boot).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21937 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago remove the never used wiretap/wtap-plugins.c
lego [Fri, 25 May 2007 17:23:46 +0000 (17:23 +0000)]
 remove the never used wiretap/wtap-plugins.c

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21936 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoHave editcap and capinfos loading the wiretap plugins.
lego [Fri, 25 May 2007 17:22:32 +0000 (17:22 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21935 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the dissector...
lego [Fri, 25 May 2007 16:47:22 +0000 (16:47 +0000)]
- 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

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21934 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoget rid of few warnings
kukosa [Fri, 25 May 2007 11:40:32 +0000 (11:40 +0000)]
get rid of few warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21933 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUpdate from samba tree revision 23054 to 23135
jmayer [Fri, 25 May 2007 08:34:15 +0000 (08:34 +0000)]
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 ==============

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21932 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory
kukosa [Fri, 25 May 2007 06:54:39 +0000 (06:54 +0000)]
UMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21931 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix for bug 1614:
jake [Fri, 25 May 2007 06:46:47 +0000 (06:46 +0000)]
Fix for bug 1614:
Output preamble and finale on live capture.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21930 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFrom Brian Vandenberg:
jake [Fri, 25 May 2007 06:35:21 +0000 (06:35 +0000)]
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21929 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoPrepare wireshark and tshark for wiretap plugins
lego [Thu, 24 May 2007 22:26:51 +0000 (22:26 +0000)]
Prepare wireshark and tshark for wiretap plugins

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21928 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoMake it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
etxrab [Thu, 24 May 2007 20:42:55 +0000 (20:42 +0000)]
Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
for SCTP.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21927 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoHelp for the SCTP Users Table
lego [Thu, 24 May 2007 20:40:42 +0000 (20:40 +0000)]
Help for the SCTP Users Table

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21926 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoNo longer needed as nothing is exported.
etxrab [Thu, 24 May 2007 19:11:04 +0000 (19:11 +0000)]
No longer needed as nothing is exported.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21925 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix a crash bug found through fuzz testing. The bug was introduced
gerald [Thu, 24 May 2007 17:36:07 +0000 (17:36 +0000)]
Fix a crash bug found through fuzz testing.  The bug was introduced
after the 0.99.5 release.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21924 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoGet rid of CR's, and add a newline at the end.
guy [Thu, 24 May 2007 17:02:06 +0000 (17:02 +0000)]
Get rid of CR's, and add a newline at the end.

Set svn:keywords and svn:eol-style appropriately.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21923 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoWhen computing average: use 0 as avg if divisor=0
wmeier [Thu, 24 May 2007 16:18:33 +0000 (16:18 +0000)]
When computing average: use 0 as avg if divisor=0

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21922 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix rrlp subdissector calling
kukosa [Thu, 24 May 2007 13:30:45 +0000 (13:30 +0000)]
fix rrlp subdissector calling

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21921 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofew BER dissectors regenerated
kukosa [Thu, 24 May 2007 12:36:41 +0000 (12:36 +0000)]
few BER dissectors regenerated

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21920 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- RNSAP calls RRC through dissector handle instead of direct function call
kukosa [Thu, 24 May 2007 12:30:38 +0000 (12:30 +0000)]
- RNSAP calls RRC through dissector handle instead of direct function call
- PER dissectors regenerated

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21919 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoBack out the previous change.
guy [Thu, 24 May 2007 12:00:55 +0000 (12:00 +0000)]
Back out the previous change.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21918 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoTemporarily turn on a bunch of warnings and turn off -Werror, to see
guy [Thu, 24 May 2007 11:43:53 +0000 (11:43 +0000)]
Temporarily turn on a bunch of warnings and turn off -Werror, to see
what the complete set of warnings we should either try to fix or, for
cases where it can't be fixed, turn off or or avoid -Werror for.  I'll
revert this change as soon as a complete set of buildbot builds start
with it.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21917 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- improvements in registering dissectors to OID table (value defined in ASN.1 can...
kukosa [Thu, 24 May 2007 07:19:21 +0000 (07:19 +0000)]
- improvements in registering dissectors to OID table (value defined in ASN.1 can be used)
- new #.END_OF_CNF directive

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21916 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoUse the same workaround for the absence of rint() in MSVC++ that's used
guy [Thu, 24 May 2007 02:10:49 +0000 (02:10 +0000)]
Use the same workaround for the absence of rint() in MSVC++ that's used
by the TCP graph code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21915 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoEmphasize that if you try to build on a system without GTK+ installed,
guy [Thu, 24 May 2007 02:08:49 +0000 (02:08 +0000)]
Emphasize that if you try to build on a system without GTK+ installed,
the configure script will fail unless you explicitly say you don't want
Wireshark built.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21914 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix 'Analyze ! Enabled_Protocols' search to search on correct column.
wmeier [Thu, 24 May 2007 01:05:08 +0000 (01:05 +0000)]
Fix 'Analyze ! Enabled_Protocols' search to search on correct column.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21913 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoPut in some forgotten actx.
etxrab [Wed, 23 May 2007 20:49:53 +0000 (20:49 +0000)]
Put in some forgotten actx.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21912 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agosmall fix in duplicate type warning
kukosa [Wed, 23 May 2007 19:35:29 +0000 (19:35 +0000)]
small fix in duplicate type warning

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21911 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoAdd shortcuts for expanding/collapsing the packet detail.
gerald [Wed, 23 May 2007 17:12:01 +0000 (17:12 +0000)]
Add shortcuts for expanding/collapsing the packet detail.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21910 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoCorrected dissection of read requests when no object indexes are supplied, i.e. index...
grahamb [Wed, 23 May 2007 16:35:42 +0000 (16:35 +0000)]
Corrected dissection of read requests when no object indexes are supplied, i.e. index field is 0

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21909 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agowarning fix: passing argument 2 of 'iconv' from incompatible pointer type
jmayer [Wed, 23 May 2007 15:42:48 +0000 (15:42 +0000)]
warning fix: passing argument 2 of 'iconv' from incompatible pointer type

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21908 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agofix warning
kukosa [Wed, 23 May 2007 14:31:12 +0000 (14:31 +0000)]
fix warning

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21907 f5534014-38df-0310-8fa8-9805f1628bb7

16 years ago- support of CONTAINING constraint in OCTET STRING and BIT STRING
kukosa [Wed, 23 May 2007 13:42:05 +0000 (13:42 +0000)]
- support of CONTAINING constraint in OCTET STRING and BIT STRING
- fix handling of tag for EXTERNAL type
- change automatic postfix for duplicate names from '...%d' to '..._%02d'

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21906 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agosupport of CONTAINING constraint in OCTET STRING and BIT STRING
kukosa [Wed, 23 May 2007 13:36:25 +0000 (13:36 +0000)]
support of CONTAINING constraint in OCTET STRING and BIT STRING

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21905 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoFix for bug 1601: handle zero length packets.
jake [Wed, 23 May 2007 06:03:48 +0000 (06:03 +0000)]
Fix for bug 1601: handle zero length packets.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21904 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoPut in some more, hopfully correct casts.
etxrab [Wed, 23 May 2007 05:27:17 +0000 (05:27 +0000)]
Put in some more, hopfully correct casts.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21903 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoHandle characters with the 8th bit set.
guy [Wed, 23 May 2007 01:27:57 +0000 (01:27 +0000)]
Handle characters with the 8th bit set.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21902 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoPut back some more missing casts.
guy [Wed, 23 May 2007 00:28:59 +0000 (00:28 +0000)]
Put back some more missing casts.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21901 f5534014-38df-0310-8fa8-9805f1628bb7

16 years agoPut back some casts, and don't use rint() on Windows, in the hopes of
guy [Tue, 22 May 2007 23:56:52 +0000 (23:56 +0000)]
Put back some casts, and don't use rint() on Windows, in the hopes of
clearing up at least some buildbot errors on Windows.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21900 f5534014-38df-0310-8fa8-9805f1628bb7