Commit graph

8627 commits

Author SHA1 Message Date
Anders Broman
2cacda1823 From Vincent Helfre:
MS network capability enhancement.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4039

svn path=/trunk/; revision=30075
2009-09-22 19:15:30 +00:00
Anders Broman
b8af7c77c8 From Gerasimos Dimitriadis:
Change of IEs in DTAP MODIFY msg.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4032

svn path=/trunk/; revision=30064
2009-09-22 06:42:10 +00:00
Jaap Keuter
f4b9554a27 From Julian Fielding:
Function dissect_epath() expects path_length in bytes, but the value from the 
packet is in words, so there's lots of *2 and /2 in those parts of the code.
In this invocation dissect_epath( tvbIOI, pi, 0, preq_info->IOILen, TRUE );
preq_info->IOILen is in words.

In six places proto_tree_add_item is used with tvb NULL and size 0 to add an
FT_UINT8/16/32 item. I think it should be replaced with proto_tree_add_uint().

svn path=/trunk/; revision=30061
2009-09-22 05:49:15 +00:00
Kovarththanan Rajaratnam
3ea9409792 Store 'color_filter' as const in 'frame_data'
svn path=/trunk/; revision=30051
2009-09-21 18:48:53 +00:00
Michael Tüxen
5879399609 Add initial support for DNS/SCTP.
svn path=/trunk/; revision=30035
2009-09-21 12:00:03 +00:00
Anders Broman
c9dcf6c415 From Gerasimos Dimitriadis:
DTAP decoding of Notification Indicator IE.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4029

svn path=/trunk/; revision=30028
2009-09-20 21:54:39 +00:00
Jaap Keuter
1da709093c From Kjell Hultman:
IEC104 Signal dissection added - not complete (only implemented what I needed for the moment).

svn path=/trunk/; revision=30026
2009-09-20 21:08:04 +00:00
Kovarththanan Rajaratnam
ebaaada382 Only duplicate string the first time around, i.e. 'pinfo->fd->flags.visited == FALSE' or else we end up leaking memory
svn path=/trunk/; revision=30013
2009-09-20 13:36:16 +00:00
Kovarththanan Rajaratnam
a569e8d5b8 Use tvb_get_ephemeral_string() to avoid memleak (should have been part of r29994.
svn path=/trunk/; revision=30003
2009-09-20 08:42:51 +00:00
Kovarththanan Rajaratnam
9441e9b344 Use tvb_get_ephemeral_stringz() instead of tvb_get_stringz()
svn path=/trunk/; revision=30002
2009-09-20 08:40:01 +00:00
Kovarththanan Rajaratnam
57659e8133 Use tvb_get_ephemeral_string() to avoid memleak.
svn path=/trunk/; revision=30001
2009-09-20 08:35:49 +00:00
Kovarththanan Rajaratnam
47bdc0fda3 Use tvb_get_ephemeral_string() instead of tvb_get_string()
svn path=/trunk/; revision=30000
2009-09-20 08:31:24 +00:00
Kovarththanan Rajaratnam
6ec8e0ced3 Use tvb_get_ephemeral_string() instead of tvb_get_string()
svn path=/trunk/; revision=29999
2009-09-20 08:28:04 +00:00
Kovarththanan Rajaratnam
acf0f2cdb4 Use ep_alloc() instead of g_malloc() for packet scoped allocations
svn path=/trunk/; revision=29998
2009-09-20 08:24:35 +00:00
Kovarththanan Rajaratnam
323e784022 Use tvb_get_ephemeral_string() to avoid memleak.
svn path=/trunk/; revision=29996
2009-09-20 08:15:51 +00:00
Kovarththanan Rajaratnam
47db27fcc1 Use ep_alloc() instead of g_malloc() for packet scoped allocations
svn path=/trunk/; revision=29995
2009-09-20 08:09:40 +00:00
Kovarththanan Rajaratnam
09c02f7118 Use tvb_get_ephemeral_string() to avoid memleak.
svn path=/trunk/; revision=29994
2009-09-20 08:06:20 +00:00
Kovarththanan Rajaratnam
d256315e74 Use tvb_get_ephemeral_string() instead of tvb_get_string()
svn path=/trunk/; revision=29993
2009-09-20 07:56:16 +00:00
Kovarththanan Rajaratnam
4d0d37ed6f Use tvb_get_ephemeral_string() to avoid memleak.
svn path=/trunk/; revision=29990
2009-09-20 07:44:34 +00:00
Bill Meier
6f004d3f46 From yami<yamisoe At ...>: Fix Bug #3542: get_dfs_referral referral entry is not dissected corectly.
(See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3542)

The current get_dfs_referral response code is based on old protocol specs,
which are unofficial, erroneous. 

I modify packet-smb.c to be confirm to protocol's official spec. Some
changes are:

  1. handle referral entry version 2, 3, 4 separately. The current code does
not distinguish v3 from v2, however they are not same.
  2. change server type, referral flags etc.
  3. refactor some code, such as string dissecting.

Also: From me: a small change to handle possible overflow
when subtracting from a guint16.


svn path=/trunk/; revision=29986
2009-09-18 22:41:04 +00:00
Martin Mathieson
d8726d2a01 Try again...
svn path=/trunk/; revision=29985
2009-09-18 22:01:30 +00:00
Martin Mathieson
66e8e24373 Change type to try to fix win64 build breakage.
svn path=/trunk/; revision=29984
2009-09-18 17:10:35 +00:00
Martin Mathieson
b6acfd804e Use a UAT table to map from LCIDs 3-10 to RLC drb channel.
Call RLC dissector for mapped LCIDs.

svn path=/trunk/; revision=29983
2009-09-18 16:27:02 +00:00
Anders Broman
76f596fa1e Add coments.
svn path=/trunk/; revision=29982
2009-09-18 14:03:45 +00:00
Jaap Keuter
e60027351b From Thomas Dreibholz:
Added support for decoding the Info field in the SSP Ready message.

svn path=/trunk/; revision=29980
2009-09-18 06:32:43 +00:00
Jaap Keuter
fe03355556 From Harald Welte:
Errors occur which means decrypted_len - esp_iv len will render a negative value and thus
cause the problem. This patch prevents the crash. Not sure if this is a proper fix. At least it 
looks like a sane check to do.

svn path=/trunk/; revision=29979
2009-09-18 06:29:00 +00:00
Anders Broman
f16502fdfb Minor ASN1 update.
svn path=/trunk/; revision=29975
2009-09-17 19:45:00 +00:00
Anders Broman
aa31a963c4 Change ENUM:s
svn path=/trunk/; revision=29971
2009-09-17 15:09:26 +00:00
Anders Broman
968019022a Use a value_string for Mobility options, update the value string with values from IANA.
svn path=/trunk/; revision=29970
2009-09-17 13:54:54 +00:00
Anders Broman
a90865ff66 Fix bug in IE decoding.
svn path=/trunk/; revision=29969
2009-09-17 13:53:52 +00:00
Anders Broman
d9a86550c2 Remove debug printout.
svn path=/trunk/; revision=29968
2009-09-17 13:53:06 +00:00
Jaap Keuter
79241dc331 From Gerasimos Dimitriadis:
Add decoding support for the codec bitmap in DTAP Supported Codec List IE.

svn path=/trunk/; revision=29963
2009-09-17 06:41:44 +00:00
Jeff Morriss
3b2c741db6 From Steve via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3781 :
In ntp_fmt_ts() in packet-ntp.c time stamps are displayed to 4 digits (0.1
msec).   More digits may be significant (e.g., if GPS local clocks are used).

Change time stamp format in g_snprintf() from
  %07.4f
to
  %09.6f


svn path=/trunk/; revision=29961
2009-09-17 03:01:26 +00:00
Jeff Morriss
6ea2688f23 From zeemon via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3848 :
epan\dissectors\packet-edonkey.c
In the fuction dissect_emule_sourceOBFU(): the line

ti = proto_tree_add_item(tree, hf_emule_sourceOBFU, tvb, offset, 7 + ((settings & 0x08) ? 16 : 0), FALSE);

should be

ti = proto_tree_add_item(tree, hf_emule_sourceOBFU, tvb, offset, 7 + ((settings & 0x80) ? 16 : 0), FALSE);

and, the line:

if (settings & 0x08)

should be:

if (settings & 0x80)

That is, 0x08 should be revised to 0x80.

reference: the eMule0.49c source code, file PartFile.cpp, line 2730, in the
function CPartFile::AddSources().

svn path=/trunk/; revision=29957
2009-09-17 02:37:57 +00:00
Jeff Morriss
2eea452ccb From Don Chirieleison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3914 :
SDNVs are theoretically unlimited in size.  The value of most SDNVs in the
Bundle Protocol is practically limited to far less than a 32 bit number. The
initial dissector included only 1 SDNV evaluation routine which returned a 32
bit number. SDNV fields that evaluated to greater than a 32 bit number were
considered in error. One BP implementation chose to add some syntax to one of
the SDNV fields that extends it to more than 32 bits. The patch included here
adds an evaluation routine that will return a 64 bit number. That routine is
called to evaluate the field where it makes sense to have a value in excess of
32 bits.

svn path=/trunk/; revision=29954
2009-09-17 01:49:55 +00:00
Jeff Morriss
b76ef141d0 From Gregor Jasny via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3921 :
Improved AIM protocol dissector:

* Decodes more values acording to official Oscar spec
* Renamed clientautoresp to client_err (as written in spec)
* Fix decoding orror on rendezvous channel
* Other small improvements

svn path=/trunk/; revision=29953
2009-09-17 01:39:15 +00:00
Jaap Keuter
7afe46bf86 From Florian Forster:
Version 4.8.0 of collectd introduced two new data source types: DERIVE and ABSOLUTE. 
With this patch support for the new data source types is added so they are displayed correctly.

svn path=/trunk/; revision=29947
2009-09-16 19:02:51 +00:00
Jeff Morriss
3f5d86d86b From Gerasimos Dimitriadis via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4020 :
Associated Radio Capability 1 should not be added to a subtree, but to the IE
tree.

svn path=/trunk/; revision=29945
2009-09-16 13:45:58 +00:00
Jeff Morriss
88e7e2725c Add a couple of new hf_ entries to deal with the different bit positions
for the MS Power Level and FPC in the L1 Information and MS Power IEs.

This should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4017

(though I don't have a sample capture to verify the fix and that I didn't
break anything.)

svn path=/trunk/; revision=29944
2009-09-16 13:39:37 +00:00
Martin Mathieson
8c9d77f0cd Add more summary to top-level item.
svn path=/trunk/; revision=29931
2009-09-15 17:49:58 +00:00
Bill Meier
6c545e0d79 Save some memory: Don't statically allocate ett[] arrays used "dynamically".
svn path=/trunk/; revision=29929
2009-09-15 17:37:54 +00:00
Martin Mathieson
9467ccee2c Also mark tree as an unmarked parameter.
svn path=/trunk/; revision=29928
2009-09-15 17:07:54 +00:00
Bill Meier
7cf8d42fff if (proto_... == -1) not req'd.
svn path=/trunk/; revision=29926
2009-09-15 16:52:07 +00:00
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
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