Commit Graph

11250 Commits

Author SHA1 Message Date
Anders Broman 70fabd5881 Remove now unused variables.
svn path=/trunk/; revision=29925
2009-09-15 16:46:30 +00:00
Anders Broman 6a5a9b2174 Bearer Context not dissected correctly.
Use the built in IE decoding by calling dissect_gtpv2_ie_common() for
the grouped IE:s.

svn path=/trunk/; revision=29924
2009-09-15 15:54:06 +00:00
Jeff Morriss 7a91a5b053 Don't call check_col(). Add a space at the end of each COL_INFO entry to make the column more readable when SCTP bundles multiple messages together.
svn path=/trunk/; revision=29922
2009-09-15 15:16:15 +00:00
Jörg Mayer 24fb135ffe Build the asn1 plugin. The only problem(?) is, that it is
name libasn1.so instead of asn1.so

svn path=/trunk/; revision=29919
2009-09-15 12:22:13 +00:00
Anders Broman 58614ba420 From Vladimir Kazansky:
Misspell in mcc_mnc codes in packet-e212.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3996

svn path=/trunk/; revision=29917
2009-09-15 05:39:33 +00:00
Jeff Morriss e64df56967 From Didier Gautheron via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3995
There's a copy and paste error in hf_afp_vol_attribute_CaseSensitive
declaration and add kSupportsTMLockSteal

svn path=/trunk/; revision=29916
2009-09-15 01:49:01 +00:00
Jeff Morriss 6e7a37fe34 From Florian Forster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3185
This patch adds statistics information to the collectd dissector.

Changes by me:
  - use ep_alloc for structures being handed to the tap(s) (instead of se_alloc)
  - Capitalize the Statistics menu item to get it in the sorted list

svn path=/trunk/; revision=29915
2009-09-15 01:34:01 +00:00
Jeff Morriss 44ea4b1494 ssl_association_remove(): free assoc->info too
svn path=/trunk/; revision=29914
2009-09-15 01:08:58 +00:00
Jeff Morriss 623b634080 From Florian Forster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4002
Version 4.7 of collectd introduces cryptographic features for the network
protocol. The current version of the collectd dissector does not know how to
handle these segments and flags them as unknown.

The following two patches add simple support for the TYPE_SIGN_SHA256 and
TYPE_ENCR_AES256 segments. They display the plain text components of
these segments but do not try to verify the signatures or decrypt the encrypted
payload.

Changes by me:
	- replace tvb_length_remaining() with tvb_reported_length_remaining()
	- replace proto_tree_add_protocol_format() with tvb_tree_add_text()

svn path=/trunk/; revision=29913
2009-09-15 00:18:40 +00:00
Jaap Keuter 01e559bb2f Fix for bug 4008:
Crash on TLSv1.2 packets, caused by ssl_short_name array overrun.

svn path=/trunk/; revision=29906
2009-09-14 21:24:24 +00:00
Jeff Morriss 5acb182178 Revert 29889 to stop the fuzz failures.
svn path=/trunk/; revision=29902
2009-09-14 17:36:15 +00:00
Bill Meier 8b251e382c (Trivial) Fix a typo in a comment.
svn path=/trunk/; revision=29901
2009-09-14 16:38:06 +00:00
Bill Meier 38dae2ab74 (Trivial) Fix a typo in a comment
svn path=/trunk/; revision=29899
2009-09-14 16:04:54 +00:00
Bill Meier 24ff1bfb41 Remove unneeded #includes (stdio.h & friends);
Remove a call to checkcol();
Use tfs_set_notset instead of a local true_false_string defintion;
Use consistent indentation;
Adjust some spacing.

svn path=/trunk/; revision=29896
2009-09-14 14:59:08 +00:00
Bill Meier 121563dc20 Remove unneeded #includes (stdio.h & etc);
Remove a bunch calls to of check_cols();
Use tfs_set_notset from tfs.c instead of a locally defined tfs struct;
Use consistent indentation;
Adjust spacing on some lines and reformat a few long lines.

svn path=/trunk/; revision=29895
2009-09-14 14:03:32 +00:00
Jeff Morriss f2c8d78562 Put the parenthesis in the right place
svn path=/trunk/; revision=29894
2009-09-14 13:11:26 +00:00
Jeff Morriss 87cb19aa15 Change proto_tree_add_protocol_format() to proto_tree_add_text() since all that is being added is text.
svn path=/trunk/; revision=29893
2009-09-14 11:26:03 +00:00
Martin Mathieson 261a938bac Show UEId in info column for CCCH frames.
svn path=/trunk/; revision=29892
2009-09-14 10:26:53 +00:00
Jörg Mayer 56f0de4b66 Sync to autofoo
svn path=/trunk/; revision=29890
2009-09-14 06:48:45 +00:00
Anders Broman 120b410ac4 From Didier Gautheron:
optimizations patch http://wiki.wireshark.org/Development/Optimization
'patch.29854.diff.gz"

Use "g_realloc".

svn path=/trunk/; revision=29889
2009-09-14 06:00:53 +00:00
Anders Broman a591c7a074 Add casts to make it compile on Windows.
svn path=/trunk/; revision=29888
2009-09-14 05:59:38 +00:00
Jeff Morriss d642dc9f41 From Bruno and Florian Forster via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3170
This patch adds support to Wireshark for dissecting UDP packets used by
collectd's network plugin in order to transmit data from ones host to another
host (e.g. centralized storage of statistics while data is collectd on
individual systems)

The current dissector understands the part types supported by collectd-4.5
series and gracefully processes future part types (flagging them as unknown).

In regard to protocol errors or bad packets checks are based on the various
length fields used, parts are marked with warning when length is unexpected;
marked with error when length breaks minimal rules.

svn path=/trunk/; revision=29887
2009-09-14 01:36:26 +00:00
Jeff Morriss 95251d8f46 From Didier Gautheron via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3417
Don't scale the window if the SYN flag is set.

svn path=/trunk/; revision=29885
2009-09-13 23:10:11 +00:00
Jeff Morriss 1daf990897 From Stephane Bryant via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2815
but (since the patch no longer applied cleanly) essentially manually
re-implemented by me:

Rename "stun" to "classic stun" and "stun2" to "stun", to follow the usage
defined in draft-ietf-behave-rfc3489bis-18 section 2.

svn path=/trunk/; revision=29884
2009-09-13 23:03:38 +00:00
Jeff Morriss 4661aad9a4 Run checkapi on the dissector header files
svn path=/trunk/; revision=29883
2009-09-13 19:48:22 +00:00
Jeff Morriss 9f29cca534 s/g_strdown/g_ascii_strdown
svn path=/trunk/; revision=29882
2009-09-13 19:23:07 +00:00
Anders Broman b61ea82d55 From Didier Gautheron:
optimizations patch http://wiki.wireshark.org/Development/Optimization
'patch.29854.diff.gz"

Clean up addr_resolv.c

svn path=/trunk/; revision=29880
2009-09-13 17:24:51 +00:00
Jörg Mayer 525442b66a ncp2222.py has moved
svn path=/trunk/; revision=29877
2009-09-13 15:17:26 +00:00
Gerald Combs 78d1894085 [Automatic manuf and enterprise-numbers update for 2009-09-13]
svn path=/trunk/; revision=29874
2009-09-13 15:03:31 +00:00
Anders Broman 3a13c1a2a4 Modified extarct from Didier Gautheron:
optimizations patch http://wiki.wireshark.org/Development/Optimization
'patch.29854.diff.gz"

- ei->protocol is a constant.
- Don't setup expert tap data if there's no tap.

svn path=/trunk/; revision=29873
2009-09-13 13:39:09 +00:00
Jeff Morriss 522ecdd018 Try to get the paths right
svn path=/trunk/; revision=29872
2009-09-13 02:12:03 +00:00
Jeff Morriss ee8f078374 Move all of the scripts in epan/dissectors/ to tools/ .
Add a target ("x11-dissector") to build the X11 dissector.

Put the X11-related files (back) in the source distribution.

svn path=/trunk/; revision=29871
2009-09-12 23:02:34 +00:00
Jörg Mayer 7eed375f9d Make building with GeoIP, Python, Capabilities and c-ares
actually work.

svn path=/trunk/; revision=29870
2009-09-12 17:20:08 +00:00
Jeff Morriss c6261aee41 From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2981 :
Put the git version of mesa and xcbproto in the generated header files.

From me: Don't use 'which' to find git--it wouldn't work on Windows.

svn path=/trunk/; revision=29865
2009-09-11 18:06:50 +00:00
Jaap Keuter d764400291 From Jean-François Wauthy:
Dissect the Auxiliary Security Header for IEEE 802.15.4-2006 only.
Also Auxiliary Security Header dissection endianness bugfix.

svn path=/trunk/; revision=29864
2009-09-11 16:58:21 +00:00
Martin Mathieson d69ac7dc4a Add more useful summary info to RLC root. Useful mostly for when called from MAC.
svn path=/trunk/; revision=29862
2009-09-11 15:16:53 +00:00
Kovarththanan Rajaratnam 8d802d414c Make sure that we point the current column to a constant string if we have no address.
Fixes http://wiki.wireshark.org/Development/OptimizePacketList?action=diff&rev1=20&rev2=21

svn path=/trunk/; revision=29860
2009-09-11 14:21:04 +00:00
Kovarththanan Rajaratnam 129f907f0c Move some CHECK_COL to our public functions, allowing us to bail our more quickly
svn path=/trunk/; revision=29859
2009-09-11 14:00:36 +00:00
Jörg Mayer 3a100b0cd8 - Update README.cmake: The stuff now build without
running autofoo first.
- Add a comment how to change the name of a generated target

svn path=/trunk/; revision=29858
2009-09-11 13:30:01 +00:00
Jeff Morriss 72a86ea5c5 When pre-declaring variables, use the right type.
svn path=/trunk/; revision=29856
2009-09-11 11:22:23 +00:00
Jörg Mayer 107c3b70b4 Update generating the x11 stuff to follow configure
svn path=/trunk/; revision=29855
2009-09-11 10:46:53 +00:00
Jeff Morriss 961cd3c6ce From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2981 :
This patch adds extension support to the X11 dissector.

I've removed the perl script from the make file, since the new one depends on
perl 5.10, xcbproto (at least git as of today), and mesa (at least the
mesa/src/mesa/glapi directory). It seemed easier to just add the generated
header files to svn directly.

svn path=/trunk/; revision=29854
2009-09-11 01:57:59 +00:00
Guy Harris b75a84dd4f Get rid of trailing space in string.
svn path=/trunk/; revision=29853
2009-09-11 00:00:45 +00:00
Martin Mathieson e09d89e145 Add the option to call RLC dissector for LCID 1&2.
These should be srb1 & srb2 (AM).

svn path=/trunk/; revision=29852
2009-09-10 22:53:57 +00:00
Jaap Keuter 85cfb2d98c From Jean-François Wauthy:
Implementation of the IEEE 802.15.4 dissector ignores the Auxiliary Security
Header of the MHR (see IEEE 802.15.4-2006 specs p.138). 
The attached patch, add two things :
 1) Support for dissecting the Auxiliary Security Header
 2) Add a preference option to force the dissection of 
    the FCS field as being in the TI CC24xx format

svn path=/trunk/; revision=29849
2009-09-10 20:42:17 +00:00
Jaap Keuter c4ab58dd42 From Jean-François Wauthy:
This patch fixes a bug in the dissection of the TI CC24xx FCS where the
endianness of the bitmasks used was wrong.

svn path=/trunk/; revision=29847
2009-09-10 18:54:12 +00:00
Kovarththanan Rajaratnam 56b8d36e03 Introduce a few FT_XXX lengths defines and use those instead of hard coding constants
svn path=/trunk/; revision=29846
2009-09-10 18:22:33 +00:00
Martin Mathieson 019625d876 Re-arrange dissection of UL/DL-SCH so easier to test for ommitted SDUs.
svn path=/trunk/; revision=29845
2009-09-10 18:12:41 +00:00
Kovarththanan Rajaratnam b97cfa22fd offset_from_real_beginning() is only called with 0 as second argument, so remove the argument completely. It seems that the second argument only acts as an accumulator allowing offset_from_real_beginning() to call itself recursively. To be consistent offset_from_real_beginning() is renamed to tvb_offset_from_real_beginning().
svn path=/trunk/; revision=29844
2009-09-10 16:54:02 +00:00
Gerald Combs 22dcdd3f9a WPA decryption fix from Greg Schwendimann via bug 3890:
I'm reasonably sure that I introduced this bug and I apologize for the problems
with my previous patch.  The problem is that I did not use all of the seen
keys,  I used all except the first key, which in a case of one key is none. 
The attached patch fixes the error.

svn path=/trunk/; revision=29843
2009-09-10 16:50:25 +00:00