Commit Graph

29027 Commits

Author SHA1 Message Date
Anders Broman 3421576de6 Fix for:
Columns Lazy initialization clobbers cinfo packet buffer. Open a file, goto packet 1000, menu View->Show packet in a new window, the wrong packet is decoded (it's the last displayed in the packet list pane). gtk/packet_win.c:new_window_cb() should call wtap_seek_reread().

svn path=/trunk/; revision=29997
2009-09-20 08:22:00 +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 f4e27f4549 Add a couple of g_asserts
svn path=/trunk/; revision=29992
2009-09-20 07:48:33 +00:00
Kovarththanan Rajaratnam 8767b75876 Use G_STRLOC
svn path=/trunk/; revision=29991
2009-09-20 07:46:12 +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
Anders Broman b809359c65 Try to fix:
Fedora 11/Gtk2.16.6: Get two Gtk-Critical messages each time a capture fie is opened: 
(lt-wireshark:15705): Gtk-CRITICAL **: gtk_tree_view_column_set_fixed_width: assertion `fixed_width > 0' failed 
gtk_tree_view_column_set_fixed_width is incompatible with variable width columns.

svn path=/trunk/; revision=29989
2009-09-20 07:35:55 +00:00
Kovarththanan Rajaratnam c285a1cd3a Remove 'type' formal parameter from tvb_new_with_subset()
svn path=/trunk/; revision=29988
2009-09-20 07:35:39 +00:00
Guy Harris 3e9738ac89 Add support for opening separate packet window when you double-click on
a row in the packet list.

svn path=/trunk/; revision=29987
2009-09-19 22:51:42 +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
Anders Broman 6e56815095 Set focus to packet list when a row is selected.
svn path=/trunk/; revision=29981
2009-09-18 14:01:10 +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
Bill Meier cf84f1840a Indicate if "with new_packet_list" in version info (for now to minimize any confusion).
svn path=/trunk/; revision=29978
2009-09-18 00:31:27 +00:00
Gerald Combs 76a108ab01 Install the CRT DLLs using the Visual C++ Redistributable Package
(vcredist_x64.exe) on Win64. This should fix bug 4024.

svn path=/trunk/; revision=29977
2009-09-17 21:54:52 +00:00
Anders Broman df321b5c5c Add new IANA registered AVP:s as comments.
svn path=/trunk/; revision=29976
2009-09-17 19:46:16 +00:00
Anders Broman f16502fdfb Minor ASN1 update.
svn path=/trunk/; revision=29975
2009-09-17 19:45:00 +00:00
Gerald Combs 988b882948 Remove a cast.
svn path=/trunk/; revision=29974
2009-09-17 16:52:42 +00:00
Gerald Combs 3996953787 Add some missing files to the distribution.
svn path=/trunk/; revision=29973
2009-09-17 16:39:23 +00:00
Gerald Combs f6bab49051 Fix the Freetype DLL name on Win64.
svn path=/trunk/; revision=29972
2009-09-17 15:33:34 +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
Anders Broman 35a62e44f9 Try to get the win64 build going.
svn path=/trunk/; revision=29967
2009-09-17 13:49:34 +00:00
Anders Broman ea43f2d906 Try to get the Solaris build going...
(Google is your friend)

svn path=/trunk/; revision=29966
2009-09-17 13:43:43 +00:00
Michael Tüxen 6cc71bfbd8 Fix handling of new-packet-list.
svn path=/trunk/; revision=29965
2009-09-17 09:41:59 +00:00
Anders Broman 5564468d40 Make the new packet list the default build choice.
svn path=/trunk/; revision=29964
2009-09-17 08:29:10 +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
Anders Broman a601aeed88 Use latest GTK suport libs.
svn path=/trunk/; revision=29962
2009-09-17 06:16:24 +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
Guy Harris aa33901ae3 We pass the file handle to snoop_read_shomiti_wireless_pseudoheader();
use that.

svn path=/trunk/; revision=29960
2009-09-17 03:00:20 +00:00
Guy Harris e1a486db4b We need an err_info argument to snoop_read_shomiti_wireless_pseudoheader,
as it might fill that in.

svn path=/trunk/; revision=29959
2009-09-17 02:59:26 +00:00
Guy Harris a5152449ab Do *NOT* skip the rest of the header by reading into a fixed-size buffer
on the stack! There is no guarantee that the header length won't cause a
buffer overflow - there could be a bug in some version of Surveyor
generating a bad file, there could be a future version of Surveyor that
has a really big pseudo-header, the file could've been written by
something other than Surveyor that has a bug in it, there could be a
file that's corrupted in transit, or there could be a deliberately
malformed packet trying to cause *Shark to execute arbitrary code.

Also, explicitly check for a too-short header length and fail with
WTAP_ERR_BAD_RECORD in that case.

Add some comments asking some questions about the header.

(The previous change was for bug 3856:

	https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3856

not bug 3865.)

svn path=/trunk/; revision=29958
2009-09-17 02:42:31 +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 e95fe37933 From Clay Jones via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3865 :
The Shomiti Wireless head was modified in a recent release such that wireshark
can no longer read Shomiti wireless capture files.

This new format is backwards compatible with the old format.

svn path=/trunk/; revision=29956
2009-09-17 02:12:08 +00:00
Guy Harris 3302631960 Fix typo in comment.
svn path=/trunk/; revision=29955
2009-09-17 02:02:21 +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
Gerald Combs fcaa314c61 Try to fix the build.
svn path=/trunk/; revision=29952
2009-09-17 01:18:51 +00:00
Bill Meier e9b9b83b49 Fix a typo.
svn path=/trunk/; revision=29951
2009-09-16 23:24:31 +00:00
Bill Meier bfd830ace8 Add info as to 32/64 bit and also if "Windows 7" to runtime version info.
svn path=/trunk/; revision=29950
2009-09-16 23:13:34 +00:00
Gerald Combs ccad8f74f5 Make sure we don't fetch too much data from the registry.
svn path=/trunk/; revision=29949
2009-09-16 20:29:00 +00:00
Gerald Combs 668723356a Check for TCP Chimney offloading as described at
http://support.microsoft.com/kb/912222. Print a warning on the welcome
page if it's present and enabled.

This hasn't yet been tested on a chimney-enabled machine, but it should
work.

svn path=/trunk/; revision=29948
2009-09-16 19:23:15 +00:00