Commit Graph

27479 Commits

Author SHA1 Message Date
Anders Broman 49f89b580c Try to fix more unused code warnings.
svn path=/trunk/; revision=28133
2009-04-22 19:38:04 +00:00
Guy Harris d8ea851867 Fix a warning in the RANAP dissector.
There don't seem to be any more RANAP warning, so put it back with the
clean dissectors.

svn path=/trunk/; revision=28132
2009-04-22 19:21:43 +00:00
Anders Broman 3d9c861c60 Use #.OMIT_ASSIGNMENT
svn path=/trunk/; revision=28131
2009-04-22 18:34:22 +00:00
Anders Broman 88fc3fb09b Try to fix unused code warnings.
svn path=/trunk/; revision=28130
2009-04-22 18:13:57 +00:00
Anders Broman 55e3541e7f Try to fix unused code warnings.
svn path=/trunk/; revision=28129
2009-04-22 18:03:53 +00:00
Gerald Combs 180852ed7c From Mark Cave-Ayland: Fix a crash in the PCNFSD dissector.
From me: Apply Mark's fix to the ident string. Add public #defines for
the special strings that dissect_rpc_* might return and use them in
PCNFSD.  Replace a manual buffer allocation with ep_strdup_printf.

svn path=/trunk/; revision=28128
2009-04-22 17:42:47 +00:00
Anders Broman 1913c70d1a Fix a typo.
svn path=/trunk/; revision=28127
2009-04-22 16:19:06 +00:00
Anders Broman 749d40700c - Dissect transportlayeraddress
- Don't add nbap to protocols in framelist for every IE.

svn path=/trunk/; revision=28126
2009-04-22 16:11:53 +00:00
Anders Broman 2c8d44d3e6 - Try to get rid of the unused code warnings.
- GTP-TEI as hex and dec.

svn path=/trunk/; revision=28125
2009-04-22 16:10:31 +00:00
Bill Meier ee180aec41 smpp: Fix potential crash(es): Mark hf[] entries with a range_string[] with BASE_RANGE_STRING in 'display' field;
svn path=/trunk/; revision=28124
2009-04-22 16:06:14 +00:00
Jeff Morriss bf1e65fac0 From Anders: add the OPCUA plugin to the Windows distribution
svn path=/trunk/; revision=28123
2009-04-22 12:19:59 +00:00
Guy Harris bea4b58ec5 More file-offset fixes.
svn path=/trunk/; revision=28122
2009-04-22 04:33:49 +00:00
Guy Harris c7d09027df ssize_t is UN*X-only; don't use it.
The header length, as processed by airopeekv9_process_header(), is never
0, so use 0, not -1, as the error return.

svn path=/trunk/; revision=28121
2009-04-22 03:57:37 +00:00
Guy Harris 0293e07437 LLP64 fix.
svn path=/trunk/; revision=28120
2009-04-22 03:50:13 +00:00
Guy Harris 5c224bdd74 Signed vs. unsigned fix.
svn path=/trunk/; revision=28119
2009-04-22 03:49:45 +00:00
Guy Harris 96e3a6c6ac Bleah, some dissectors still insist on using structures and sizeof and
offsetof, so turn off 64-to-32 warnings for now.

svn path=/trunk/; revision=28118
2009-04-22 03:10:24 +00:00
Guy Harris ad33ca6c2f Clean up some 64-bit issues.
svn path=/trunk/; revision=28117
2009-04-22 03:07:37 +00:00
Guy Harris 043b2b20ac More float-constant-not-double-constant fixes.
svn path=/trunk/; revision=28116
2009-04-22 00:49:00 +00:00
Guy Harris 5e5c6be098 Get rid of trailing tab.
svn path=/trunk/; revision=28115
2009-04-21 22:29:47 +00:00
Bill Meier 866eb54ad4 checkAPIs: check for 'const' in value_string definition.
svn path=/trunk/; revision=28114
2009-04-21 22:26:34 +00:00
Bill Meier e7a2df6290 Replace some non-ascii characters in comment
svn path=/trunk/; revision=28113
2009-04-21 22:22:35 +00:00
Bill Meier 5394178980 infiniband.h: Verify addt'l fields against spec; reformat
svn path=/trunk/; revision=28112
2009-04-21 21:48:38 +00:00
Anders Broman 58afb623c9 Move ranap to dirty dissectors for now.
svn path=/trunk/; revision=28111
2009-04-21 21:42:25 +00:00
Gerald Combs 7573d2215f From Artem Tamazov: Fix compilation for Visual C++ 7.1.
svn path=/trunk/; revision=28110
2009-04-21 21:15:52 +00:00
Anders Broman 526bc91680 - Reintroduce heuristic dissector
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3426
- Dissect TransportLayerAddress as IPv4 or IPv6 address
  https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3427
- Use call dissector_try_port_new()
- Update ASN1 descriptions.

svn path=/trunk/; revision=28109
2009-04-21 16:58:13 +00:00
Guy Harris 54c159cb41 Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Anders Broman 85f8b0d87d Fix a typo.
svn path=/trunk/; revision=28107
2009-04-21 16:53:34 +00:00
Anders Broman 3ab0c21cbc Introduce call dissector_try_port_new() to be used when no protocol entry is to be made in the protocols list. Used by asn2wrs dissectors to avoid multiple entrys as calls are made
multiple times for the same PDU.

svn path=/trunk/; revision=28106
2009-04-21 16:53:00 +00:00
Bill Meier c5783e32df infiniband: Fix various issues mostly relating to protocol field display:
- Conform display of fields to Infiniband spec (1.2.1): E.G.: use correct bitmasks in hf[];
  (The verification/correction process is not complete: see packet-inifiniband.h);
- Comment out unused hf[] & related elements;
- hf[]: FT_BOOLEAN entries with bitmask: "BASE" should be "bitwidth of parent bitfield";
- packet-infiniband.c: Use consistent indentation;
-                      Move proto_register & proto_reg_handoff to the end of the file.

svn path=/trunk/; revision=28105
2009-04-21 13:52:00 +00:00
Martin Mathieson 9efe4d12f1 Also show number of RAR bodies/entries in stats.
svn path=/trunk/; revision=28104
2009-04-21 12:35:50 +00:00
Jaap Keuter 750467d7d4 Simplify headerfields a bit.
svn path=/trunk/; revision=28103
2009-04-21 05:59:01 +00:00
Jaap Keuter 2df522609e Constify some more value_strings.
svn path=/trunk/; revision=28102
2009-04-21 05:58:31 +00:00
Jaap Keuter b751e5367c Constify some more value_strings.
svn path=/trunk/; revision=28101
2009-04-21 05:33:32 +00:00
Gerald Combs db297df99a Remove some backslashes that were inadvertently continuing lines.
svn path=/trunk/; revision=28100
2009-04-20 21:20:47 +00:00
Guy Harris 81011582be Squelch some warnings.
svn path=/trunk/; revision=28099
2009-04-20 21:03:46 +00:00
Anders Broman c0a6cd8d16 More IE decoding, expect messages to be integrity protected.
svn path=/trunk/; revision=28098
2009-04-20 20:31:33 +00:00
Jaap Keuter 55a1bf9af6 Fix build without HAVE_LIBGCRYPT.
svn path=/trunk/; revision=28097
2009-04-20 20:27:16 +00:00
Guy Harris e48a2dec01 More constification to fix warnings.
svn path=/trunk/; revision=28096
2009-04-20 19:20:49 +00:00
Jaap Keuter 6b23b1fa69 Add Naoyoshi Ueda to authors list.
svn path=/trunk/; revision=28095
2009-04-20 18:53:12 +00:00
Guy Harris 7979be1dfe More constification, fewer warnings.
svn path=/trunk/; revision=28094
2009-04-20 18:45:02 +00:00
Guy Harris 4ab2ca8891 Constify some items to squelch some compiler warnings in the Windows
buildbot; based on a patch from Chris Maynard, with some additional
changes to squelch GCC warnings on UN*X.

svn path=/trunk/; revision=28093
2009-04-20 18:34:06 +00:00
Martin Mathieson be42013858 Add a preference for allowing transparent RRC data (BCH, PCH, CCCH) to be decoded as such.
svn path=/trunk/; revision=28092
2009-04-20 16:46:46 +00:00
Jaap Keuter 83d7f21cd5 Remove code duplication.
svn path=/trunk/; revision=28091
2009-04-20 05:49:26 +00:00
Jaap Keuter a6f9c55480 From Chris A:
Right now with DESEGMENT_UNTIL_FIN, the TCP dissector doesn't display the
fragment tree (the "Reassembled TCP segments" with links to the frames that
were reassembled).

Attached is one possible patch to packet-tcp.c to display the fragment tree.
Because DESEGMENT_UNTIL_FIN dissects the FIN packet as the high-level PDU, the
fragment tree also contains the FIN packet. It has 0 bytes of PDU data. Ugly but logical..

svn path=/trunk/; revision=28090
2009-04-20 05:48:04 +00:00
Jaap Keuter 03f2402950 From Naoyoshi Ueda:
Currently wireshark has ability to decrypt ISAKMP IKEv1 packets, but not IKEv2
packets. With attached patch decryption of IKEv2 packets is now passible. 

svn path=/trunk/; revision=28089
2009-04-20 05:40:58 +00:00
Sake Blok 3219e30599 When a frame contains the remainder of a previous PDU and a new PDU, the
protocol tree would show two "Secure Socket Layer" branches and the INFO
column would fail to show the content type of the second PDU. Don't give
control back to TCP for the second PDU by just fetching the remaining bytes
of the first PDU, but ask for a whole new segment so that all processing
will be done within the SSL dissector itself.


svn path=/trunk/; revision=28088
2009-04-19 20:28:18 +00:00
Gerald Combs 19c7457d3c [Automatic manuf and enterprise-numbers update for 2009-04-19]
svn path=/trunk/; revision=28086
2009-04-19 15:03:35 +00:00
Martin Mathieson a931d7a9d5 Try to speed up lookup of LTE mac/rlc/pdcp dissectors
svn path=/trunk/; revision=28085
2009-04-18 08:03:09 +00:00
Jaap Keuter 23143c2580 From rspmn:
Wireshark considers an Activate PDP Context Request which contains a
DNS Server Address Request parameter according to section 10.5.6.3 of
TS 24.008 to be a malformed packet.
The attached patch (against SVN revision 28067) fixes the problem for
the parameters DNS Server Address Request and P-CSCF Address Request.

svn path=/trunk/; revision=28084
2009-04-18 06:34:58 +00:00
Balint Reczey f7cad3e5ef Removed obsolete color legend.
This fixes bug 2957.

svn path=/trunk/; revision=28083
2009-04-17 22:26:43 +00:00